PgpPublicKey
The algorithm code associated with the public key.
The strength of the key in bits.
The creation time of this key.
Check if this key has an algorithm type that makes it suitable to use for encryption.
True, if this could be a master key.
The key ID associated with the public key.
The version of this key.
Create a PgpPublicKey from the passed in lightweight one.
public static PgpPublicKey AddCertification(PgpPublicKey key, string id, PgpSignature certification)
Add a certification for an id to the given public key.
public static PgpPublicKey AddCertification(PgpPublicKey key, PgpUserAttributeSubpacketVector userAttributes, PgpSignature certification)
Add a certification for the given UserAttributeSubpackets to the given public key.
Add a revocation or some other key certification to a key.
public static PgpPublicKey Join(PgpPublicKey key, PgpPublicKey copy, bool joinTrustPackets, bool allowSubkeySigsOnNonSubkey)
Merge the given local public key with another, potentially fresher copy. The resulting public key
contains the sum of both keys' user-ids and signatures.
public static PgpPublicKey RemoveCertification(PgpPublicKey key, PgpUserAttributeSubpacketVector userAttributes)
Remove any certifications associated with a user attribute subpacket on a key.
Remove any certifications associated with a given ID on a key.
Remove any certifications associated with a given ID on a key.
public static PgpPublicKey RemoveCertification(PgpPublicKey key, byte[] id, PgpSignature certification)
Remove a certification associated with a given ID on a key.
public static PgpPublicKey RemoveCertification(PgpPublicKey key, string id, PgpSignature certification)
Remove a certification associated with a given ID on a key.
public static PgpPublicKey RemoveCertification(PgpPublicKey key, PgpUserAttributeSubpacketVector userAttributes, PgpSignature certification)
Remove a certification associated with a given user attributes on a key.
Remove a certification from the key.
The fingerprint of the public key
The public key contained in the object.
Return any userIDs associated with the key in raw byte form.
Allows enumeration of all signatures/certifications associated with this key.
Allows enumeration of any signatures associated with the passed in id.
Return any signatures associated with the passed in key identifier keyID.
public IEnumerable<PgpSignature> GetSignaturesForUserAttribute(PgpUserAttributeSubpacketVector userAttributes)
Allows enumeration of signatures associated with the passed in user attributes.
Allows enumeration of signatures of the passed in type that are on this key.
Return the trust data associated with the public key, if present.
Allows enumeration of any user attribute vectors associated with the key.
Allows enumeration of any user IDs associated with the key.
The number of valid seconds from creation time - zero means no expiry.
Check whether this (sub)key has a revocation signature on it.