gmime.signature
Module for [Signature] class
Types 3
An object containing useful information about a signature.
Methods
SignatureGidBuilder builder()Get builder for [gmime.signature.Signature] Returns: New builder objectgmime.certificate.Certificate getCertificate()Get the signature's certificate. Returns: the signature's certificate.long getCreated()Get the creation date of the signature. Returns: the creation date of the signature or %-1 if unknown.long getCreated64()Get the creation date of the signature in seconds since the UNIX epoch, represented as a 64-bit signed integer. Returns: the creation date of the signature or %-1 if unknown.long getExpires()Get the expiration date of the signature. A value of `0` means the signature never expires. Returns: the expiration date of the signature or %-1 if unknown.long getExpires64()Get the expiration date of the signature in seconds since the UNIX epoch, represented as a 64-bit signed integer. A value of `0` means the signature never expires. Returns: the expiration date of t...gmime.types.SignatureStatus getStatus()Get the signature status as a bitfield of #GMimeSignatureStatus flags. Returns: the signature status.void setCertificate(gmime.certificate.Certificate cert)Set the signature's certificate.void setCreated(long created)Set the creation date of the signature.void setExpires(long expires)Set the expiration date of the signature. A value of `0` means the signature never expires.void setStatus(gmime.types.SignatureStatus status)Set the status on the signature.