PublicKey Constructors

Definition

Overloads

PublicKey(AsymmetricAlgorithm)
PublicKey(Oid, AsnEncodedData, AsnEncodedData)

Initializes a new instance of the PublicKey class using an object identifier (OID) object of the public key, an ASN.1-encoded representation of the public key parameters, and an ASN.1-encoded representation of the public key value.

PublicKey(AsymmetricAlgorithm)

public:
 PublicKey(System::Security::Cryptography::AsymmetricAlgorithm ^ key);
public PublicKey (System.Security.Cryptography.AsymmetricAlgorithm key);
new System.Security.Cryptography.X509Certificates.PublicKey : System.Security.Cryptography.AsymmetricAlgorithm -> System.Security.Cryptography.X509Certificates.PublicKey
Public Sub New (key As AsymmetricAlgorithm)

Parameters

Applies to

PublicKey(Oid, AsnEncodedData, AsnEncodedData)

Initializes a new instance of the PublicKey class using an object identifier (OID) object of the public key, an ASN.1-encoded representation of the public key parameters, and an ASN.1-encoded representation of the public key value.

public:
 PublicKey(System::Security::Cryptography::Oid ^ oid, System::Security::Cryptography::AsnEncodedData ^ parameters, System::Security::Cryptography::AsnEncodedData ^ keyValue);
public PublicKey (System.Security.Cryptography.Oid oid, System.Security.Cryptography.AsnEncodedData parameters, System.Security.Cryptography.AsnEncodedData keyValue);
new System.Security.Cryptography.X509Certificates.PublicKey : System.Security.Cryptography.Oid * System.Security.Cryptography.AsnEncodedData * System.Security.Cryptography.AsnEncodedData -> System.Security.Cryptography.X509Certificates.PublicKey
Public Sub New (oid As Oid, parameters As AsnEncodedData, keyValue As AsnEncodedData)

Parameters

oid
Oid

An object identifier (OID) object that represents the public key.

parameters
AsnEncodedData

An ASN.1-encoded representation of the public key parameters.

keyValue
AsnEncodedData

An ASN.1-encoded representation of the public key value.

Applies to