Show / Hide Table of Contents

Class EcDsaSignatureDescriptions.EcDsaSignatureDeformatter

Deformats EC DSA signatures.

Inheritance
object
AsymmetricSignatureDeformatter
EcDsaSignatureDescriptions.EcDsaSignatureDeformatter
Inherited Members
AsymmetricSignatureDeformatter.VerifySignature(HashAlgorithm, byte[])
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: ComponentSpace.Saml2.XmlSecurity.Signature
Assembly: ComponentSpace.Saml2.dll
Syntax
public class EcDsaSignatureDescriptions.EcDsaSignatureDeformatter : AsymmetricSignatureDeformatter

Methods

SetHashAlgorithm(string)

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

Declaration
public override void SetHashAlgorithm(string algorithmName)
Parameters
Type Name Description
string algorithmName

The hash algorithm name.

Overrides
AsymmetricSignatureDeformatter.SetHashAlgorithm(string)

SetKey(AsymmetricAlgorithm)

Sets the key used to verify the signature.

Declaration
public override void SetKey(AsymmetricAlgorithm key)
Parameters
Type Name Description
AsymmetricAlgorithm key

The key.

Overrides
AsymmetricSignatureDeformatter.SetKey(AsymmetricAlgorithm)

VerifySignature(byte[], byte[])

Verifies the signature from the specified hash value.

Declaration
public override bool VerifySignature(byte[] hash, byte[] signature)
Parameters
Type Name Description
byte[] hash

The hash.

byte[] signature

The signature.

Returns
Type Description
bool

true if the signature verifies; otherwise false.

Overrides
AsymmetricSignatureDeformatter.VerifySignature(byte[], byte[])
In this article
Back to top Copyright © ComponentSpace Pty Ltd 2017-2025. All rights reserved.