SigningCredentials Class
TOC
Collapse the table of content
Expand the table of content

SigningCredentials Class

 

Represents the cryptographic key and security algorithms that are used to generate a digital signature.

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

System.Object
  System.IdentityModel.Tokens.SigningCredentials
    System.IdentityModel.Tokens.X509SigningCredentials

public class SigningCredentials

NameDescription
System_CAPS_pubmethodSigningCredentials(SecurityKey, String, String)

Initializes a new instance of the SigningCredentials class.

System_CAPS_pubmethodSigningCredentials(SecurityKey, String, String, SecurityKeyIdentifier)

Initializes a new instance of the SigningCredentials class.

NameDescription
System_CAPS_pubpropertyDigestAlgorithm

Gets the cryptographic algorithm that is used to compute the digest for the portion of the SOAP message that is to be digitally signed.

System_CAPS_pubpropertySignatureAlgorithm

Gets the cryptographic algorithm that is used to generate the digital signature.

System_CAPS_pubpropertySigningKey

Gets the cryptographic key that is used to generate the digital signature.

System_CAPS_pubpropertySigningKeyIdentifier

Gets the identifier that represents the key that is used to create a digital signature.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Use the SigningCredentials class to specify the signing key, signing key identifier, and security algorithms that are used by WCF to generate the digital signature for a SamlAssertion. To set the digital signature details, set the SigningCredentials property of the SamlAssertion class.

.NET Framework
Available since 3.0

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

Return to top
Show:
© 2016 Microsoft