PrivateKeyInfo Class

Definition

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

Constructors

PrivateKeyInfo(AlgorithmIdentifier, Asn1Encodable)Initializes a new instance of the PrivateKeyInfo class
PrivateKeyInfo(AlgorithmIdentifier, Asn1Encodable, Asn1Set)Initializes a new instance of the PrivateKeyInfo class
PrivateKeyInfo(AlgorithmIdentifier, Asn1Encodable, Asn1Set, Byte)Initializes a new instance of the PrivateKeyInfo class

Properties

Attributes 
HasPublicKeyReturn true if a public key is present, false otherwise.
PrivateKey 
PrivateKeyAlgorithm 
PrivateKeyDataObsolete.
PrivateKeyLength 
PublicKey 
PublicKeyDataReturn the public key as a raw bit string.
Obsolete.
Version 

Methods

EncodeTo(Stream)
(Inherited from Asn1Encodable)
EncodeTo(Stream, String)
(Inherited from Asn1Encodable)
Equals
(Inherited from Asn1Encodable)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetDerEncoded
(Inherited from Asn1Encodable)
GetEncoded
(Inherited from Asn1Encodable)
GetEncoded(String)
(Inherited from Asn1Encodable)
GetHashCode
(Inherited from Asn1Encodable)
GetInstance(Object) 
GetInstance(Asn1TaggedObject, Boolean) 
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ParsePrivateKey 
ParsePublicKeyFor when the public key is an ASN.1 encoding.
ToAsn1Object
(Overrides Asn1EncodableToAsn1Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also