Table of Contents

Class EcDsaSignatureDescriptions.EcDsaSignatureFormatter

Namespace
ComponentSpace.Saml2.XmlSecurity.Signature
Assembly
ComponentSpace.Saml2.dll

Formats EC DSA signatures.

public class EcDsaSignatureDescriptions.EcDsaSignatureFormatter : AsymmetricSignatureFormatter
Inheritance
EcDsaSignatureDescriptions.EcDsaSignatureFormatter
Inherited Members

Methods

CreateSignature(byte[])

Creates the signature from the specified hash value.

public override byte[] CreateSignature(byte[] hash)

Parameters

hash byte[]

Returns

byte[]

SetHashAlgorithm(string)

Sets the name of the hash algorithm used to create the signature.

public override void SetHashAlgorithm(string algorithmName)

Parameters

algorithmName string

The hash algorithm name.

SetKey(AsymmetricAlgorithm)

Sets the key used to create the signature.

public override void SetKey(AsymmetricAlgorithm key)

Parameters

key AsymmetricAlgorithm

The key.