Class EcDsaSignatureDescriptions.EcDsaSignatureFormatter
Formats EC DSA signatures.
Inherited Members
Namespace: ComponentSpace.Saml2.XmlSecurity.Signature
Assembly: ComponentSpace.Saml2.dll
Syntax
public class EcDsaSignatureDescriptions.EcDsaSignatureFormatter : AsymmetricSignatureFormatter
Methods
CreateSignature(byte[])
Creates the signature from the specified hash value.
Declaration
public override byte[] CreateSignature(byte[] hash)
Parameters
Type | Name | Description |
---|---|---|
byte[] | hash |
Returns
Type | Description |
---|---|
byte[] |
Overrides
SetHashAlgorithm(string)
Sets the name of the hash algorithm used to create the signature.
Declaration
public override void SetHashAlgorithm(string algorithmName)
Parameters
Type | Name | Description |
---|---|---|
string | algorithmName | The hash algorithm name. |
Overrides
SetKey(AsymmetricAlgorithm)
Sets the key used to create the signature.
Declaration
public override void SetKey(AsymmetricAlgorithm key)
Parameters
Type | Name | Description |
---|---|---|
AsymmetricAlgorithm | key | The key. |