The PgpSecretKey type exposes the following members.

Constructors

Methods

  NameDescription
Public methodStatic memberCopyWithNewPassword
Return a copy of the passed in secret key, encrypted using a new password and the passed in algorithm.
Public methodEncode
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExtractPrivateKey
Extract a PgpPrivateKey from this secret key's encrypted contents.
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 methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberReplacePublicKey
Replace the passed the public key on the passed in secret key.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyIsMasterKey
True, if this is a master key.
Public propertyIsSigningKey
Check if this key has an algorithm type that makes it suitable to use for signing.
Public propertyKeyEncryptionAlgorithm
The algorithm the key is encrypted with.
Public propertyKeyId
The key ID of the public key associated with this key.
Public propertyPublicKey
The public key associated with this key.
Public propertyUserAttributes
Allows enumeration of any user attribute vectors associated with the key.
Public propertyUserIds
Allows enumeration of any user IDs associated with the key.

See Also