Pkcs8EncryptedPrivateKeyInfo Class

A holding class for a PKCS#8 encrypted private key info object that allows for its decryption.

Definition

Namespace: Org.BouncyCastle.Pkcs
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
public class Pkcs8EncryptedPrivateKeyInfo
Inheritance
Object    Pkcs8EncryptedPrivateKeyInfo

Constructors

Pkcs8EncryptedPrivateKeyInfo(Byte) Base constructor from a BER encoding of a PKCS#8 EncryptedPrivateKeyInfo object.
Pkcs8EncryptedPrivateKeyInfo(EncryptedPrivateKeyInfo) Base constructor from a PKCS#8 EncryptedPrivateKeyInfo object.

Methods

DecryptPrivateKeyInfo Get a decryptor from the passed in provider and decrypt the encrypted private key info, returning the result.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetEncoded Return a binary ASN.1 encoding of the EncryptedPrivateKeyInfo structure in this object.
GetEncryptedData Returns a copy of the encrypted data in this structure.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToAsn1Structure Returns the underlying ASN.1 structure inside this object.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also