Package org.bouncycastle.tls.crypto.impl
Class LegacyTls13Verifier
- java.lang.Object
-
- org.bouncycastle.tls.crypto.impl.LegacyTls13Verifier
-
- All Implemented Interfaces:
TlsVerifier
public final class LegacyTls13Verifier extends java.lang.Object implements TlsVerifier
-
-
Constructor Summary
Constructors Constructor Description LegacyTls13Verifier(int signatureScheme, Tls13Verifier tls13Verifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TlsStreamVerifiergetStreamVerifier(DigitallySigned digitallySigned)booleanverifyRawSignature(DigitallySigned digitallySigned, byte[] hash)Return true if the passed in signature and hash represent a real signature.
-
-
-
Constructor Detail
-
LegacyTls13Verifier
public LegacyTls13Verifier(int signatureScheme, Tls13Verifier tls13Verifier)
-
-
Method Detail
-
getStreamVerifier
public TlsStreamVerifier getStreamVerifier(DigitallySigned digitallySigned) throws java.io.IOException
- Specified by:
getStreamVerifierin interfaceTlsVerifier- Throws:
java.io.IOException
-
verifyRawSignature
public boolean verifyRawSignature(DigitallySigned digitallySigned, byte[] hash) throws java.io.IOException
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:
java.io.IOException- in case of an exception verifying signature.
-
-