//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace System.IdentityModel.Tokens { using System; using RSTR = System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse; /// /// Base class for SymmetricProofDescriptor and AsymmetricProofDescriptor. /// public abstract class ProofDescriptor { /// /// Sets the appropriate things, such as requested proof token, inside the RSTR /// based on what is inside the proof descriptor instance. /// /// The RSTR object that this proof descriptor needs to modify. public abstract void ApplyTo(RSTR response); /// /// Gets the key identifier that can be used inside issued to define the key /// either symmetric or assymetric. If the key is symmetric, it is usually the binary secret /// or encrypted key; if it is asymmetric it is usually the key identifier from the RST/UseKey /// i.e. the public key. /// public abstract SecurityKeyIdentifier KeyIdentifier { get; } } }