Muokkaa

Jaa


WrappedKeySecurityToken Class

Definition

Represents a security token whose key is wrapped inside another token.

public ref class WrappedKeySecurityToken : System::IdentityModel::Tokens::SecurityToken
public class WrappedKeySecurityToken : System.IdentityModel.Tokens.SecurityToken
type WrappedKeySecurityToken = class
    inherit SecurityToken
Public Class WrappedKeySecurityToken
Inherits SecurityToken
Inheritance
WrappedKeySecurityToken

Remarks

This class represents an encrypted key that comes over the wire. The encrypted key is a symmetric key that is encrypted for the receiving party using the receiving party's public key. When such a key is received, the receiver's security token is resolved, the symmetric key is decrypted, and an instance of this class is created that contains these two pieces of information.

Constructors

WrappedKeySecurityToken(String, Byte[], String, SecurityToken, SecurityKeyIdentifier)

Initializes a new instance of the WrappedKeySecurityToken class.

Properties

Id

Gets the token ID.

SecurityKeys

Gets a collection of security keys.

ValidFrom

Gets the token effective start date.

ValidTo

Gets the token expiration date.

WrappingAlgorithm

Gets the wrapping algorithm.

WrappingToken

Gets the wrapping token.

WrappingTokenReference

Gets the wrapping token reference.

Methods

CanCreateKeyIdentifierClause<T>()

Gets a value that indicates whether the token can create a key identifier clause.

CreateKeyIdentifierClause<T>()

Create a key identifier clause.

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)
GetWrappedKey()

Gets the wrapped key.

MatchesKeyIdentifierClause(SecurityKeyIdentifierClause)

Compares the current security key identifier clause to a specified one for equality.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ResolveKeyIdentifierClause(SecurityKeyIdentifierClause)

Gets the key for the specified key identifier clause.

(Inherited from SecurityToken)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to