SigningCredentials Class

Definition

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

public ref class SigningCredentials
public class SigningCredentials
type SigningCredentials = class
Public Class SigningCredentials
Inheritance
SigningCredentials
Derived

Remarks

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.

Constructors

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.

Properties

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.

Methods

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