Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SymmetricProofDescriptor Class

.NET Framework 4.6 and 4.5

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

System.Object
  System.IdentityModel.Tokens.ProofDescriptor
    System.IdentityModel.Tokens.SymmetricProofDescriptor

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public class SymmetricProofDescriptor : ProofDescriptor

The SymmetricProofDescriptor type exposes the following members.

  NameDescription
Public methodSymmetricProofDescriptor(EncryptingCredentials)Initializes a new instance of the SymmetricProofDescriptor class with the specified encrypting credentials.
Public methodSymmetricProofDescriptor(Byte[], EncryptingCredentials)Initializes a new instance of the SymmetricProofDescriptor class with the specified key material.
Public methodSymmetricProofDescriptor(Int32, EncryptingCredentials)Initializes a new instance of the SymmetricProofDescriptor class with an auto-generated key.
Public methodSymmetricProofDescriptor(Int32, EncryptingCredentials, EncryptingCredentials)Initializes a new instance of the SymmetricProofDescriptor class with an auto-generated key.
Public methodSymmetricProofDescriptor(Int32, EncryptingCredentials, EncryptingCredentials, Byte[])Initializes a new instance of the SymmetricProofDescriptor class to use for sending combined entropy.
Public methodSymmetricProofDescriptor(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
Public methodSymmetricProofDescriptor(Int32, EncryptingCredentials, EncryptingCredentials, Byte[], String)Initializes a new instance of the SymmetricProofDescriptor class to use for sending combined entropy.
Top

  NameDescription
Public propertyKeyIdentifierGets 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; (Overrides ProofDescriptor.KeyIdentifier.)
Protected propertyRequestorEncryptingCredentialsGets the requestor's encrypting credentials, which may be used to encrypt the requested proof token or the entropy in the response.
Protected propertyTargetEncryptingCredentialsGets the relying party encrypting credentials, which may be used to encrypt the requested security token in the response.
Top

  NameDescription
Public methodApplyToModifies the specified RSTR based on the settings in this proof descriptor. (Overrides ProofDescriptor.ApplyTo(RequestSecurityTokenResponse).)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetKeyBytesGets the key material.
Protected methodGetSourceEntropyGets the source entropy in plain bytes.
Protected methodGetTargetEntropyGets the target entropy in plain bytes
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

.NET Framework

Supported in: 4.6, 4.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft