gmime.signature

Module for [Signature] class

Types 3

An object containing useful information about a signature.

Methods
GType _gType() @property
Signature self()Returns `this`, for use in `with` statements.
SignatureGidBuilder builder()Get builder for [gmime.signature.Signature] Returns: New builder object
gmime.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.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new #GMimeSignature object. Returns: a new #GMimeSignature object.

Fluent builder for [gmime.signature.Signature]

Methods