GMime.Signature¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
cert |
r |
The |
|
created |
r |
The creation date of the signature. |
|
expires |
r |
The expiration date of the signature. |
|
parent_object |
r |
parent |
|
status |
r |
A bitfield of |
Class Details¶
- class GMime.Signature(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
An object containing useful information about a signature.
- classmethod new()¶
- Returns:
a new
GMime.Signatureobject.- Return type:
Creates a new
GMime.Signatureobject.
- get_certificate()¶
- Returns:
the signature’s certificate.
- Return type:
Get the signature’s certificate.
- get_created()¶
- Returns:
the creation date of the signature or %-1 if unknown.
- Return type:
Get the creation date of the signature.
- get_created64()¶
- Returns:
the creation date of the signature or %-1 if unknown.
- Return type:
Get the creation date of the signature in seconds since the UNIX epoch, represented as a 64-bit signed integer.
- get_expires()¶
- Returns:
the expiration date of the signature or %-1 if unknown.
- Return type:
Get the expiration date of the signature. A value of %0 means the signature never expires.
- get_expires64()¶
- Returns:
the expiration date of the signature or %-1 if unknown.
- Return type:
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.
- get_status()¶
- Returns:
the signature status.
- Return type:
Get the signature status as a bitfield of
GMime.SignatureStatusflags.
- set_certificate(cert)¶
- Parameters:
cert (
GMime.Certificate) – aGMime.Certificate
Set the signature’s certificate.
- set_created(created)¶
- Parameters:
created (
int) – creation date
Set the creation date of the signature.
- set_expires(expires)¶
- Parameters:
expires (
int) – expiration date
Set the expiration date of the signature. A value of %0 means the signature never expires.
- set_status(status)¶
- Parameters:
status (
GMime.SignatureStatus) – aGMime.SignatureStatus
Set the status on the signature.