Package org.bouncycastle.tls.crypto
Interface TlsVerifier
- All Known Implementing Classes:
BcTlsDSAVerifier
,BcTlsDSSVerifier
,BcTlsECDSAVerifier
,BcTlsRSAPSSVerifier
,BcTlsRSAVerifier
,BcTlsVerifier
,JcaTlsDSAVerifier
,JcaTlsDSSVerifier
,JcaTlsECDSAVerifier
,JcaTlsRSAPSSVerifier
,JcaTlsRSAVerifier
,LegacyTls13Verifier
public interface TlsVerifier
Base interface for a TLS verifier that works with signatures and either raw message digests, or
entire messages.
-
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.
-
Method Details
-
getStreamVerifier
- Throws:
IOException
-
verifyRawSignature
Return true if the passed in signature and hash represent a real signature.- 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.
-