Uređivanje

Dijeli putem


UseKey Class

Definition

Represents the contents of the wst:UseKey element.

public ref class UseKey
public class UseKey
type UseKey = class
Public Class UseKey
Inheritance
UseKey

Remarks

This optional element enables the client to request the identity provider to issue a token containing its public key which is specified under the wst:UseKey element. However, the client has to prove possession of the key. In a WS-Security-based SOAP message, the client can add its certificate as an endorsing token to the Security header to prove possession of the key.

For more information about the element that this class represents, see the version of the WS-Trust specification that applies to your scenario.

Constructors

UseKey()

Initializes a new instance of the UseKey class.

UseKey(SecurityKeyIdentifier, SecurityToken)

Initializes a new instance of the UseKey class using the specified security key identifier and security token.

UseKey(SecurityKeyIdentifier)

Initializes a new instance of the UseKey class using the specified security key identifier.

UseKey(SecurityToken)

Initializes a new instance of the UseKey class using the specified security token.

Properties

SecurityKeyIdentifier

Gets the security key identifier.

Token

Gets the security token if the serializer cannot convert it to the security key identifier.

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to