Compartir a través de


KeyInfo Class

Definition

Represents a XmlDsig KeyInfo element as per: https://www.w3.org/TR/2001/PR-xmldsig-core-20010820/#sec-KeyInfo

public class KeyInfo : Microsoft.IdentityModel.Xml.DSigElement
type KeyInfo = class
    inherit DSigElement
Public Class KeyInfo
Inherits DSigElement
Inheritance

Remarks

Only a single 'X509Certificate' is supported. Multiples that include intermediate and root certs are not supported.

Constructors

KeyInfo()

Initializes an instance of KeyInfo.

KeyInfo(SecurityKey)

Initializes an instance of KeyInfo.

KeyInfo(X509Certificate2)

Initializes an instance of KeyInfo.

Properties

Id

Gets or sets the Id.

(Inherited from DSigElement)
KeyName

Gets or sets the 'KeyName' that can be used as a key identifier.

Prefix

Gets or sets the prefix associated with the element.

(Inherited from DSigElement)
RetrievalMethodUri

Gets or sets the Uri associated with the RetrievalMethod

RSAKeyValue

Gets or sets the RSAKeyValue.

X509Data

Gets the 'X509Data' value.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

Applies to