The PgpPublicKey type exposes the following members.

Constructors

  NameDescription
Public methodPgpPublicKey
Create a PgpPublicKey from the passed in lightweight one.

Methods

  NameDescription
Public methodStatic memberAddCertification(PgpPublicKey, PgpSignature)
Add a revocation or some other key certification to a key.
Public methodStatic memberAddCertification(PgpPublicKey, PgpUserAttributeSubpacketVector, PgpSignature)
Add a certification for the given UserAttributeSubpackets to the given public key.
Public methodStatic memberAddCertification(PgpPublicKey, String, PgpSignature)
Add a certification for an id to the given public key.
Public methodEncode
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEncoded
Public methodGetFingerprint
The fingerprint of the key
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetKey
The public key contained in the object.
Public methodGetSignatures
Allows enumeration of all signatures/certifications associated with this key.
Public methodGetSignaturesForId
Allows enumeration of any signatures associated with the passed in id.
Public methodGetSignaturesForUserAttribute
Allows enumeration of signatures associated with the passed in user attributes.
Public methodGetSignaturesOfType
Allows enumeration of signatures of the passed in type that are on this key.
Public methodGetTrustData
Return the trust data associated with the public key, if present.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUserAttributes
Allows enumeration of any user attribute vectors associated with the key.
Public methodGetUserIds
Allows enumeration of any user IDs associated with the key.
Public methodGetValidSeconds
The number of valid seconds from creation time - zero means no expiry.
Public methodIsRevoked
Check whether this (sub)key has a revocation signature on it.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberRemoveCertification(PgpPublicKey, PgpSignature)
Remove a certification from the key.
Public methodStatic memberRemoveCertification(PgpPublicKey, PgpUserAttributeSubpacketVector)
Remove any certifications associated with a user attribute subpacket on a key.
Public methodStatic memberRemoveCertification(PgpPublicKey, String)
Remove any certifications associated with a given ID on a key.
Public methodStatic memberRemoveCertification(PgpPublicKey, PgpUserAttributeSubpacketVector, PgpSignature)
Remove a certification associated with a given user attributes on a key.
Public methodStatic memberRemoveCertification(PgpPublicKey, String, PgpSignature)
Remove a certification associated with a given ID on a key.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyAlgorithm
The algorithm code associated with the public key.
Public propertyBitStrength
The strength of the key in bits.
Public propertyCreationTime
The creation time of this key.
Public propertyIsEncryptionKey
Check if this key has an algorithm type that makes it suitable to use for encryption.
Public propertyIsMasterKey
True, if this is a master key.
Public propertyKeyId
The keyId associated with the public key.
Public propertyValidDays
The number of valid days from creation time - zero means no expiry.
Public propertyVersion
The version of this key.

See Also