Class RsaPssSignatureDescriptions.RsaPssSignatureDeformatter
Deformats RSA PSS signatures.
Inheritance
RsaPssSignatureDescriptions.RsaPssSignatureDeformatter
Inherited Members
Namespace: ComponentSpace.Saml2.XmlSecurity.Signature
Assembly: ComponentSpace.Saml2.dll
Syntax
public class RsaPssSignatureDescriptions.RsaPssSignatureDeformatter : 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
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
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 |
|