l.s.m.s.SignedMessage(Message) : class documentation

Part of lp.services.mail.signedmessage View In Hierarchy

Provides easy access to signed content and the signature
Method signedMessage Returns the PGP signed content as a message.
Method signedContent Returns the PGP signed content as a string.
Method signature Returns the PGP signature used to sign the message.
Method raw_length Return the length in bytes of the underlying raw form.
Method _getSignatureAndSignedContent Returns the PGP signature and the content that's signed.
def _getSignatureAndSignedContent(self):
Returns the PGP signature and the content that's signed.

The signature is returned as a string, and the content is returned as a string.

If the message isn't signed, both signature and the content is None.

@property
def signedMessage(self):
Returns the PGP signed content as a message.

Returns None if the message wasn't signed.

@property
def signedContent(self):
Returns the PGP signed content as a string.

Returns None if the message wasn't signed.

@property
def signature(self):
Returns the PGP signature used to sign the message.

Returns None if the message wasn't signed.

@property
def raw_length(self):
Return the length in bytes of the underlying raw form.
API Documentation for Launchpad, generated by pydoctor at 2018-10-21 00:00:10.