Class JcaTlsRSAPSSVerifier
java.lang.Object
org.bouncycastle.tls.crypto.impl.jcajce.JcaTlsRSAPSSVerifier
- All Implemented Interfaces:
TlsVerifier
Operator supporting the verification of RSASSA-PSS signatures.
-
Constructor Summary
ConstructorsConstructorDescriptionJcaTlsRSAPSSVerifier(JcaTlsCrypto crypto, PublicKey publicKey, int signatureScheme) -
Method Summary
Modifier and TypeMethodDescriptiongetStreamVerifier(DigitallySigned digitallySigned) booleanverifyRawSignature(DigitallySigned digitallySigned, byte[] hash) Return true if the passed in signature and hash represent a real signature.
-
Constructor Details
-
JcaTlsRSAPSSVerifier
-
-
Method Details
-
verifyRawSignature
Description copied from interface:TlsVerifierReturn true if the passed in signature and hash represent a real signature.- Specified by:
verifyRawSignaturein interfaceTlsVerifier- Parameters:
digitallySigned- the signature object containing the signature to be verified.hash- the hash calculated for the signature.- Returns:
- true if signature verifies, false otherwise.
- Throws:
IOException- in case of an exception verifying signature.
-
getStreamVerifier
- Specified by:
getStreamVerifierin interfaceTlsVerifier- Throws:
IOException
-