PGPSignature Type
A container for PGP signature properties.
Remarks
PGPSignature contains details and validation information for a PGP signature.
Fields
CertificationType TsbxPGPCertificationTypes |
Specifies the type of a UserID signature.
| ||||||||||||||||||||||||||||||||||||||||||||||||
CreationTime String |
The time when the signature was created, in Universal Coordinated Time (UTC). | ||||||||||||||||||||||||||||||||||||||||||||||||
ExpirationTime Integer |
Specifies signature expiration time, in seconds since its creation time (CreationTime). Ths property set to 0 indicates that the signature never expires. | ||||||||||||||||||||||||||||||||||||||||||||||||
Exportable Boolean |
Specifies whether a certification signature is "exportable", meaning it can be used by entities other than the signature's issuer. | ||||||||||||||||||||||||||||||||||||||||||||||||
Handle Int64 |
Allows to get or set a 'handle', a unique identifier of the underlying property object. Use this property to assign objects of the same type in a quicker manner, without copying them fieldwise. When you pass a handle of one object to another, the source object is copied to the destination rather than assigned. It is safe to get rid of the original object
after such operation.
pdfSigner.setSigningCertHandle(certMgr.getCertHandle()); | ||||||||||||||||||||||||||||||||||||||||||||||||
HashAlgorithm String |
Specifies the hash algorithm used in the signature. | ||||||||||||||||||||||||||||||||||||||||||||||||
KeyExpirationTime Integer |
The number of seconds after which the signed key will expire. | ||||||||||||||||||||||||||||||||||||||||||||||||
LegacyFormat Boolean |
Indicates whether signature uses PGP 2.6.x-compatible packet format. The signature is fully compatible with the 'old' format only if it has version 3, uses MD5 hash algorithm, RSA public key algorithm, and its key length is not greater than 1024 bits. | ||||||||||||||||||||||||||||||||||||||||||||||||
PolicyURL String |
Contains the URL of the signature policy. | ||||||||||||||||||||||||||||||||||||||||||||||||
PrimaryUserID Boolean |
Indicates whether the UserID covered by the signature is the main user id for this key. | ||||||||||||||||||||||||||||||||||||||||||||||||
ReasonForRevocation String |
Describes the reason why the key or the certificate was revoked. | ||||||||||||||||||||||||||||||||||||||||||||||||
Revocable Boolean |
Specifies whether the signature can be revoked. | ||||||||||||||||||||||||||||||||||||||||||||||||
Revocation Boolean |
Indicates whether or not the signature is a revocation signature. | ||||||||||||||||||||||||||||||||||||||||||||||||
SignatureClass TsbxPGPSignatureClasses |
Indicates the signature class.
| ||||||||||||||||||||||||||||||||||||||||||||||||
SignerKeyID String |
Indicates the KeyID of the signing key. | ||||||||||||||||||||||||||||||||||||||||||||||||
SignerUserID String |
Indicates the UserID associated with the signing key. | ||||||||||||||||||||||||||||||||||||||||||||||||
StrictlyValid Boolean |
Returns True if this signature is valid in a strict way (no compatibility relaxations). | ||||||||||||||||||||||||||||||||||||||||||||||||
TextSignature Boolean |
Indicates whether or not the signature is made over a text document. | ||||||||||||||||||||||||||||||||||||||||||||||||
TrustAmount Integer |
Specifies the amount of trust assigned by this signature. Specifies the amount of trust, in range 0-255, interpreted such that values less than 120 indicate partial trust and values of 120 or greater indicate complete trust. | ||||||||||||||||||||||||||||||||||||||||||||||||
TrustLevel Integer |
The trust level assigned by this signature. Level 1 means that the signed key is asserted to be a valid trusted introducer, with the 2nd octet of the body specifying the degree of trust. Level n means that the signed key is asserted to be trusted to issue level (n-1)-trust signatures. | ||||||||||||||||||||||||||||||||||||||||||||||||
Validated Boolean |
Whether the signature has been validated. | ||||||||||||||||||||||||||||||||||||||||||||||||
Validity TsbxPGPSignatureValidities |
Provides the validity status of the signature if the signature has been validated.
| ||||||||||||||||||||||||||||||||||||||||||||||||
Version Integer |
Indicates the signature version. RFC 4880 defines two versions for PGP signatures: 3 and 4. |
Constructors
constructor Create();
Creates an empty PGPSignature object.