Redigera

Dela via


X509IssuerSerialKeyIdentifierClause Class

Definition

Represents a key identifier clause that identifies a X509SecurityToken security tokens using the distinguished name of the certificate issuer and the X.509 certificate's serial number.

public ref class X509IssuerSerialKeyIdentifierClause : System::IdentityModel::Tokens::SecurityKeyIdentifierClause
public class X509IssuerSerialKeyIdentifierClause : System.IdentityModel.Tokens.SecurityKeyIdentifierClause
type X509IssuerSerialKeyIdentifierClause = class
    inherit SecurityKeyIdentifierClause
Public Class X509IssuerSerialKeyIdentifierClause
Inherits SecurityKeyIdentifierClause
Inheritance
X509IssuerSerialKeyIdentifierClause

Remarks

Typically, the X509IssuerSerialKeyIdentifierClause is not used, other than when a custom security token service is created. When a security token service returns a security token, the issued security token contains references to attached and unattached security. Attached references refer to security tokens that are contained within the security header of a SOAP message and unattached references are security tokens that are not included within the security header of a SOAP message. These references typically affirm the authenticity of the issued security token. Use the X509IssuerSerialKeyIdentifierClause class to reference a X509SecurityToken security token using the distinguished name of the certificate issuer and the X.509 certificate's serial number. The IssuerName and IssuerSerialNumber properties represent the distinguished name of the certificate issuer and the X.509 certificate's serial number, respectively.

Windows Communication Foundation supports the following types of security token references for X509SecurityToken security tokens.

X509ThumbprintKeyIdentifierClause

Constructors

X509IssuerSerialKeyIdentifierClause(String, String)

Initializes a new instance of the X509IssuerSerialKeyIdentifierClause class using the specified distinguished name of the certificate issuer and the serial number of the X.509 certificate.

X509IssuerSerialKeyIdentifierClause(X509Certificate2)

Initializes a new instance of the X509IssuerSerialKeyIdentifierClause class using the specified X.509 certificate.

Properties

CanCreateKey

Gets a value that indicates whether a key can be created.

(Inherited from SecurityKeyIdentifierClause)
ClauseType

Gets the key identifier clause type.

(Inherited from SecurityKeyIdentifierClause)
DerivationLength

Gets the size of the derived key.

(Inherited from SecurityKeyIdentifierClause)
Id

Gets or sets the key identifier clause ID.

(Inherited from SecurityKeyIdentifierClause)
IssuerName

Gets the distinguished name of the certificate authority that issued the X.509 certificate.

IssuerSerialNumber

Gets the serial number of the X.509 certificate.

Methods

CreateKey()

Creates a key based on the parameters passed into the constructor.

(Inherited from SecurityKeyIdentifierClause)
Equals(Object)

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

(Inherited from Object)
GetDerivationNonce()

Gets the nonce that was used to generate the derived key.

(Inherited from SecurityKeyIdentifierClause)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
Matches(SecurityKeyIdentifierClause)

Returns a value that indicates whether the key identifier for this instance matches the specified key identifier.

Matches(String, String)

Returns a value that indicates whether the key identifier for this instance is equivalent to the specified issuer name and issuer serial number.

Matches(X509Certificate2)

Returns a value that indicates whether the key identifier for this instance matches the specified X.509 certificate.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns the current object.

Applies to