Class JcaTlsECDSA13Verifier
java.lang.Object
org.bouncycastle.tls.crypto.impl.jcajce.JcaTlsECDSA13Verifier
- All Implemented Interfaces:
TlsVerifier
Implementation class for verification of ECDSA signatures in TLS 1.3+ using the JCA.
-
Constructor Summary
ConstructorsConstructorDescriptionJcaTlsECDSA13Verifier(JcaTlsCrypto crypto, PublicKey publicKey, int signatureScheme) -
Method Summary
Modifier and TypeMethodDescriptiongetStreamVerifier(DigitallySigned signature) booleanverifyRawSignature(DigitallySigned signature, byte[] hash) Return true if the passed in signature and hash represent a real signature.
-
Constructor Details
-
JcaTlsECDSA13Verifier
-
-
Method Details
-
getStreamVerifier
- Specified by:
getStreamVerifierin interfaceTlsVerifier
-
verifyRawSignature
Description copied from interface:TlsVerifierReturn true if the passed in signature and hash represent a real signature.- Specified by:
verifyRawSignaturein interfaceTlsVerifier- Parameters:
signature- the signature object containing the signature to be verified.hash- the hash calculated for the signature.- Returns:
- true if signature verifies, false otherwise.
-