gmime.signature

Module for [Signature] class

Types 3

An object containing useful information about a signature.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
Signature self() nothrowReturns `this`, for use in `with` statements.
SignatureGidBuilder builder() static nothrowGet builder for [gmime.signature.Signature] Returns: New builder object
gmime.certificate.Certificate getCertificate() nothrowGet the signature's certificate. Returns: the signature's certificate.
long getCreated() nothrowGet the creation date of the signature. Returns: the creation date of the signature or %-1 if unknown.
long getCreated64() nothrowGet 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() nothrowGet 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() nothrowGet 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() nothrowGet the signature status as a bitfield of #GMimeSignatureStatus flags. Returns: the signature status.
void setCertificate(gmime.certificate.Certificate cert) nothrowSet the signature's certificate.
void setCreated(long created) nothrowSet the creation date of the signature.
void setExpires(long expires) nothrowSet the expiration date of the signature. A value of `0` means the signature never expires.
void setStatus(gmime.types.SignatureStatus status) nothrowSet 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
Signature build() nothrowCreate object from builder. Returns: New object