Package org.bouncycastle.tls.crypto.impl
Class LegacyTls13Verifier
java.lang.Object
org.bouncycastle.tls.crypto.impl.LegacyTls13Verifier
- All Implemented Interfaces:
TlsVerifier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetStreamVerifier
(DigitallySigned digitallySigned) boolean
verifyRawSignature
(DigitallySigned digitallySigned, byte[] hash) Return true if the passed in signature and hash represent a real signature.
-
Constructor Details
-
LegacyTls13Verifier
-
-
Method Details
-
getStreamVerifier
- Specified by:
getStreamVerifier
in interfaceTlsVerifier
- Throws:
IOException
-
verifyRawSignature
Description copied from interface:TlsVerifier
Return true if the passed in signature and hash represent a real signature.- Specified by:
verifyRawSignature
in 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.
-