PgpSignatureSubpacketGenerator
public PgpSignatureSubpacketGenerator()
Base constructor, creates an empty generator.
Constructor for pre-initialising the generator from an existing one.
Sets issuer key sub packet
Set the number of seconds a key is valid for after the time of its creation.
A value of zero means the key never expires.
public void SetNotationData(bool isCritical, bool isHumanReadable, string notationName, string notationValue)
public void SetRevocationKey(bool isCritical, PublicKeyAlgorithmTag keyAlgorithm, byte[] fingerprint)
Sets revocation key sub packet
Sets revocation reason sub packet
Set the creation time for the signature.
Note: this overrides the generation of a creation time when the signature
is generated.
Set the number of seconds a signature is valid for after the time of its creation.
A value of zero means the signature never expires.
Add a TrustSignature packet to the signature. The values for depth and trust are largely
installation dependent but there are some guidelines in RFC 4880 - 5.2.3.13.