SymmetricProofDescriptor Class

Definition

This class can be used for issuing the symmetric key based token.

public ref class SymmetricProofDescriptor : System::IdentityModel::Tokens::ProofDescriptor
public class SymmetricProofDescriptor : System.IdentityModel.Tokens.ProofDescriptor
type SymmetricProofDescriptor = class
    inherit ProofDescriptor
Public Class SymmetricProofDescriptor
Inherits ProofDescriptor
Inheritance
SymmetricProofDescriptor

Constructors

SymmetricProofDescriptor(Byte[], EncryptingCredentials)

Initializes a new instance of the SymmetricProofDescriptor class with the specified key material.

SymmetricProofDescriptor(EncryptingCredentials)

Initializes a new instance of the SymmetricProofDescriptor class with the specified encrypting credentials.

SymmetricProofDescriptor(Int32, EncryptingCredentials)

Initializes a new instance of the SymmetricProofDescriptor class with an auto-generated key.

SymmetricProofDescriptor(Int32, EncryptingCredentials, EncryptingCredentials)

Initializes a new instance of the SymmetricProofDescriptor class with an auto-generated key.

SymmetricProofDescriptor(Int32, EncryptingCredentials, EncryptingCredentials, Byte[])

Initializes a new instance of the SymmetricProofDescriptor class to use for sending combined entropy.

SymmetricProofDescriptor(Int32, EncryptingCredentials, EncryptingCredentials, Byte[], String)

Initializes a new instance of the SymmetricProofDescriptor class to use for sending combined entropy.

SymmetricProofDescriptor(Int32, EncryptingCredentials, EncryptingCredentials, String)

Use this constructor to have the STS autogenerate a key and send it in the proof token as encrypted key. Two cases are covered here 1. client sends the entropy, but server rejects it 2. client did not send a entropy, so just use server's entropy.

Properties

KeyIdentifier

Gets the key identifier that can be used inside the issued token to define the key. It is usually the binary secret or the encrypted key.

RequestorEncryptingCredentials

Gets the requestor's encrypting credentials, which may be used to encrypt the requested proof token or the entropy in the response.

TargetEncryptingCredentials

Gets the relying party encrypting credentials, which may be used to encrypt the requested security token in the response.

Methods

ApplyTo(RequestSecurityTokenResponse)

Modifies the specified RSTR based on the settings in this proof descriptor.

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

Gets the key material.

GetSourceEntropy()

Gets the source entropy in plain bytes.

GetTargetEntropy()

Gets the target entropy in plain bytes.

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