public class BcTlsRSAPSSVerifier extends BcTlsVerifier
crypto, publicKey
Constructor and Description |
---|
BcTlsRSAPSSVerifier(BcTlsCrypto crypto,
org.bouncycastle.crypto.params.RSAKeyParameters publicKey,
int signatureScheme) |
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.
|
getStreamVerifier
public BcTlsRSAPSSVerifier(BcTlsCrypto crypto, org.bouncycastle.crypto.params.RSAKeyParameters publicKey, int signatureScheme)
public boolean verifyRawSignature(DigitallySigned digitallySigned, byte[] hash) throws java.io.IOException
TlsVerifier
digitallySigned
- the signature object containing the signature to be verified.hash
- the hash calculated for the signature.java.io.IOException
- in case of an exception verifying signature.