Class BcTlsRsaPssVerifier
Operator supporting the verification of RSASSA-PSS signatures using the BC light-weight API.
public class BcTlsRsaPssVerifier : BcTlsVerifier, TlsVerifier
- Inheritance
-
BcTlsRsaPssVerifier
- Implements
- Inherited Members
Constructors
BcTlsRsaPssVerifier(BcTlsCrypto, RsaKeyParameters, int)
public BcTlsRsaPssVerifier(BcTlsCrypto crypto, RsaKeyParameters publicKey, int signatureScheme)
Parameters
cryptoBcTlsCryptopublicKeyRsaKeyParameterssignatureSchemeint
Methods
VerifyRawSignature(DigitallySigned, byte[])
Return true if the passed in signature and hash represent a real signature.
public override bool VerifyRawSignature(DigitallySigned digitallySigned, byte[] hash)
Parameters
digitallySignedDigitallySignedthe signature object containing the signature to be verified.
hashbyte[]the hash calculated for the signature.
Returns
- bool
true if signature verifies, false otherwise.
Exceptions
- IOException
in case of an exception verifying signature.