Share via


KeyInfo Constructors

Definition

Overloads

KeyInfo()

Initializes an instance of KeyInfo.

KeyInfo(SecurityKey)

Initializes an instance of KeyInfo.

KeyInfo(X509Certificate2)

Initializes an instance of KeyInfo.

KeyInfo()

Initializes an instance of KeyInfo.

public KeyInfo ();
Public Sub New ()

Applies to

KeyInfo(SecurityKey)

Initializes an instance of KeyInfo.

public KeyInfo (Microsoft.IdentityModel.Tokens.SecurityKey key);
new Microsoft.IdentityModel.Xml.KeyInfo : Microsoft.IdentityModel.Tokens.SecurityKey -> Microsoft.IdentityModel.Xml.KeyInfo
Public Sub New (key As SecurityKey)

Parameters

key
SecurityKey

the SecurityKeyto populate the KeyInfo.

Applies to

KeyInfo(X509Certificate2)

Initializes an instance of KeyInfo.

public KeyInfo (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
new Microsoft.IdentityModel.Xml.KeyInfo : System.Security.Cryptography.X509Certificates.X509Certificate2 -> Microsoft.IdentityModel.Xml.KeyInfo
Public Sub New (certificate As X509Certificate2)

Parameters

certificate
X509Certificate2

the X509Certificate2to populate the X509Data.

Applies to