Class BcTlsRsaVerifier
Operator supporting the verification of RSASSA-PKCS1-v1_5 signatures using the BC light-weight API.
public class BcTlsRsaVerifier : BcTlsVerifier, TlsVerifier
- Inheritance
-
BcTlsRsaVerifier
- Implements
- Inherited Members
Constructors
BcTlsRsaVerifier(BcTlsCrypto, RsaKeyParameters)
public BcTlsRsaVerifier(BcTlsCrypto crypto, RsaKeyParameters publicKey)
Parameters
cryptoBcTlsCryptopublicKeyRsaKeyParameters
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.