SigningCredentials Class
Represents the cryptographic key and security algorithms that are used to generate a digital signature.
System.IdentityModel.Tokens.SigningCredentials
System.IdentityModel.Tokens.X509SigningCredentials
Assembly: System.IdentityModel (in System.IdentityModel.dll)
The SigningCredentials type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | SigningCredentials(SecurityKey, String, String) | Initializes a new instance of the SigningCredentials class. |
![]() | SigningCredentials(SecurityKey, String, String, SecurityKeyIdentifier) | Initializes a new instance of the SigningCredentials class. |
| Name | Description | |
|---|---|---|
![]() | DigestAlgorithm | Gets the cryptographic algorithm that is used to compute the digest for the portion of the SOAP message that is to be digitally signed. |
![]() | SignatureAlgorithm | Gets the cryptographic algorithm that is used to generate the digital signature. |
![]() | SigningKey | Gets the cryptographic key that is used to generate the digital signature. |
![]() | SigningKeyIdentifier | Gets the identifier that represents the key that is used to create a digital signature. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | 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.) |
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.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
