Class EcdsaSignatureDeformatter
- Namespace
- Fdyay.IdentityServer.Saml.Xml
- Assembly
- Fdyay.IdentityServer.Saml.dll
Verifies an ECDSA signature over an already-computed hash.
public sealed class EcdsaSignatureDeformatter : AsymmetricSignatureDeformatter
- Inheritance
-
EcdsaSignatureDeformatter
- Inherited Members
Methods
SetHashAlgorithm(string)
When overridden in a derived class, sets the hash algorithm to use for verifying the signature.
public override void SetHashAlgorithm(string strName)
Parameters
strNamestringThe name of the hash algorithm to use for verifying the signature.
SetKey(AsymmetricAlgorithm)
When overridden in a derived class, sets the public key to use for verifying the signature.
public override void SetKey(AsymmetricAlgorithm key)
Parameters
keyAsymmetricAlgorithmThe instance of an implementation of AsymmetricAlgorithm that holds the public key.
VerifySignature(byte[], byte[])
When overridden in a derived class, verifies the signature for the specified data.
public override bool VerifySignature(byte[] rgbHash, byte[] rgbSignature)
Parameters
rgbHashbyte[]The data signed with
rgbSignature.rgbSignaturebyte[]The signature to be verified for
rgbHash.