Table of Contents

Class SubjectPublicKeyInfo

Namespace
Enterprises.Org.BouncyCastle.Asn1.X509
Assembly
Enterprises.BouncyCastle.Crypto.dll
public class SubjectPublicKeyInfo : Asn1Encodable, IAsn1Convertible
Inheritance
SubjectPublicKeyInfo
Implements
Inherited Members

Constructors

SubjectPublicKeyInfo(AlgorithmIdentifier, Asn1Encodable)

public SubjectPublicKeyInfo(AlgorithmIdentifier algID, Asn1Encodable publicKey)

Parameters

algID AlgorithmIdentifier
publicKey Asn1Encodable

SubjectPublicKeyInfo(AlgorithmIdentifier, byte[])

public SubjectPublicKeyInfo(AlgorithmIdentifier algID, byte[] publicKey)

Parameters

algID AlgorithmIdentifier
publicKey byte[]

Properties

AlgorithmID

public AlgorithmIdentifier AlgorithmID { get; }

Property Value

AlgorithmIdentifier

PublicKeyData

public DerBitString PublicKeyData { get; }

Property Value

DerBitString

Methods

GetInstance(Asn1TaggedObject, bool)

public static SubjectPublicKeyInfo GetInstance(Asn1TaggedObject obj, bool explicitly)

Parameters

obj Asn1TaggedObject
explicitly bool

Returns

SubjectPublicKeyInfo

GetInstance(object)

public static SubjectPublicKeyInfo GetInstance(object obj)

Parameters

obj object

Returns

SubjectPublicKeyInfo

GetPublicKey()

public Asn1Object GetPublicKey()

Returns

Asn1Object

ToAsn1Object()

public override Asn1Object ToAsn1Object()

Returns

Asn1Object