The PgpPublicKey type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | PgpPublicKey |
Create a PgpPublicKey from the passed in lightweight one.
|
Methods
Name | Description | |
---|---|---|
![]() ![]() | AddCertification(PgpPublicKey, PgpSignature) | Add a revocation or some other key certification to a key. |
![]() ![]() | AddCertification(PgpPublicKey, PgpUserAttributeSubpacketVector, PgpSignature) | Add a certification for the given UserAttributeSubpackets to the given public key. |
![]() ![]() | AddCertification(PgpPublicKey, String, PgpSignature) | Add a certification for an id to the given public key. |
![]() | Encode | |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() | GetEncoded | |
![]() | GetFingerprint | The fingerprint of the key |
![]() | GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() | GetKey | The public key contained in the object. |
![]() | GetSignatures | Allows enumeration of all signatures/certifications associated with this key. |
![]() | GetSignaturesForId | Allows enumeration of any signatures associated with the passed in id. |
![]() | GetSignaturesForUserAttribute | Allows enumeration of signatures associated with the passed in user attributes. |
![]() | GetSignaturesOfType | Allows enumeration of signatures of the passed in type that are on this key. |
![]() | GetTrustData | Return the trust data associated with the public key, if present. |
![]() | GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() | GetUserAttributes | Allows enumeration of any user attribute vectors associated with the key. |
![]() | GetUserIds | Allows enumeration of any user IDs associated with the key. |
![]() | GetValidSeconds | The number of valid seconds from creation time - zero means no expiry. |
![]() | IsRevoked | Check whether this (sub)key has a revocation signature on it. |
![]() | MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() ![]() | RemoveCertification(PgpPublicKey, PgpSignature) | Remove a certification from the key. |
![]() ![]() | RemoveCertification(PgpPublicKey, PgpUserAttributeSubpacketVector) |
Remove any certifications associated with a user attribute subpacket on a key.
|
![]() ![]() | RemoveCertification(PgpPublicKey, String) | Remove any certifications associated with a given ID on a key. |
![]() ![]() | RemoveCertification(PgpPublicKey, PgpUserAttributeSubpacketVector, PgpSignature) | Remove a certification associated with a given user attributes on a key. |
![]() ![]() | RemoveCertification(PgpPublicKey, String, PgpSignature) | Remove a certification associated with a given ID on a key. |
![]() | ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() | Algorithm | The algorithm code associated with the public key. |
![]() | BitStrength | The strength of the key in bits. |
![]() | CreationTime | The creation time of this key. |
![]() | IsEncryptionKey |
Check if this key has an algorithm type that makes it suitable to use for encryption.
|
![]() | IsMasterKey | True, if this is a master key. |
![]() | KeyId | The keyId associated with the public key. |
![]() | ValidDays | The number of valid days from creation time - zero means no expiry. |
![]() | Version | The version of this key. |