public class BcTlsRSAVerifier extends BcTlsVerifier
crypto, publicKey| Constructor and Description |
|---|
BcTlsRSAVerifier(BcTlsCrypto crypto,
org.bouncycastle.crypto.params.RSAKeyParameters publicKey) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
verifyRawSignature(DigitallySigned digitallySigned,
byte[] hash)
Return true if the passed in signature and hash represent a real signature.
|
getStreamVerifierpublic BcTlsRSAVerifier(BcTlsCrypto crypto, org.bouncycastle.crypto.params.RSAKeyParameters publicKey)
public boolean verifyRawSignature(DigitallySigned digitallySigned, byte[] hash)
TlsVerifierdigitallySigned - the signature object containing the signature to be verified.hash - the hash calculated for the signature.