Class EncKeyWithID
- Namespace
- Org.BouncyCastle.Asn1.Crmf
- Assembly
- BouncyCastle.Cryptography.dll
public class EncKeyWithID : Asn1Encodable, IAsn1Convertible
- Inheritance
-
EncKeyWithID
- Implements
-
- Inherited Members
-
Constructors
EncKeyWithID(PrivateKeyInfo)
public EncKeyWithID(PrivateKeyInfo privKeyInfo)
Parameters
privKeyInfo PrivateKeyInfo
EncKeyWithID(PrivateKeyInfo, DerUtf8String)
public EncKeyWithID(PrivateKeyInfo privKeyInfo, DerUtf8String str)
Parameters
privKeyInfo PrivateKeyInfo
str DerUtf8String
EncKeyWithID(PrivateKeyInfo, GeneralName)
public EncKeyWithID(PrivateKeyInfo privKeyInfo, GeneralName generalName)
Parameters
privKeyInfo PrivateKeyInfo
generalName GeneralName
Properties
HasIdentifier
public virtual bool HasIdentifier { get; }
Property Value
- bool
Identifier
public virtual Asn1Encodable Identifier { get; }
Property Value
- Asn1Encodable
IsIdentifierUtf8String
public virtual bool IsIdentifierUtf8String { get; }
Property Value
- bool
PrivateKey
public virtual PrivateKeyInfo PrivateKey { get; }
Property Value
- PrivateKeyInfo
Methods
GetInstance(Asn1TaggedObject, bool)
public static EncKeyWithID GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)
Parameters
taggedObject Asn1TaggedObject
declaredExplicit bool
Returns
- EncKeyWithID
GetInstance(object)
public static EncKeyWithID GetInstance(object obj)
Parameters
obj object
Returns
- EncKeyWithID
GetTagged(Asn1TaggedObject, bool)
public static EncKeyWithID GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)
Parameters
taggedObject Asn1TaggedObject
declaredExplicit bool
Returns
- EncKeyWithID
ToAsn1Object()
public override Asn1Object ToAsn1Object()
Returns
- Asn1Object