KeyInfo Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
KeyInfo() |
Initializes an instance of KeyInfo. |
KeyInfo(SecurityKey) |
Initializes an instance of KeyInfo. |
KeyInfo(X509Certificate2) |
Initializes an instance of KeyInfo. |
KeyInfo()
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.