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
algorithmNamestringThe hash algorithm name.
SetKey(AsymmetricAlgorithm)
Sets the key used to verify the signature.
public override void SetKey(AsymmetricAlgorithm key)
Parameters
keyAsymmetricAlgorithmThe key.
VerifySignature(byte[], byte[])
Verifies the signature from the specified hash value.
public override bool VerifySignature(byte[] hash, byte[] signature)
Parameters
Returns
- bool
trueif the signature verifies; otherwisefalse.