Table of Contents

Class EcDsaSignatureDescriptions.EcDsaSignatureDeformatter

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

Deformats EC DSA signatures.

public class EcDsaSignatureDescriptions.EcDsaSignatureDeformatter : AsymmetricSignatureDeformatter
Inheritance
EcDsaSignatureDescriptions.EcDsaSignatureDeformatter
Inherited Members

Methods

SetHashAlgorithm(string)

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

public override void SetHashAlgorithm(string algorithmName)

Parameters

algorithmName string

The hash algorithm name.

SetKey(AsymmetricAlgorithm)

Sets the key used to verify the signature.

public override void SetKey(AsymmetricAlgorithm key)

Parameters

key AsymmetricAlgorithm

The key.

VerifySignature(byte[], byte[])

Verifies the signature from the specified hash value.

public override bool VerifySignature(byte[] hash, byte[] signature)

Parameters

hash byte[]

The hash.

signature byte[]

The signature.

Returns

bool

true if the signature verifies; otherwise false.