Επεξεργασία

Κοινή χρήση μέσω


LocalIdKeyIdentifierClause Class

Definition

Represents a key identifier clause that identifies a security tokens specified in the security header of the SOAP message.

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

Remarks

Typically, the LocalIdKeyIdentifierClause does not need to be 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 tokens Attached references refer to security tokens that are contained within the security header of the SOAP message and unattached references are security tokens that are not included within the security header of the SOAP message. These references typically affirm the authenticity of the issued security token.

The LocalIdKeyIdentifierClause key identifier is placed within an <SecurityTokenReference> element.

Constructors

LocalIdKeyIdentifierClause(String, Byte[], Int32, Type)

Initializes a new instance of the LocalIdKeyIdentifierClause class using the specified identifier, nonce, derived key length an owner security token type.

LocalIdKeyIdentifierClause(String, Type)

Initializes a new instance of the LocalIdKeyIdentifierClause class using the specified identifier an owner security token type.

LocalIdKeyIdentifierClause(String)

Initializes a new instance of the LocalIdKeyIdentifierClause class using the specified identifier and array of types.

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)
LocalId

Gets the value of the wsu:Id attribute for an XML element within the current SOAP message.

OwnerType

Gets the type of security token that is referred to by the LocalId property.

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 is equivalent to the specified key identifier clause.

Matches(String, Type)

Returns a value that indicates whether the key identifier for this instance is equivalent to the specified reference and type.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

Applies to