Class BcTlsEd448Verifier
java.lang.Object
org.bouncycastle.tls.crypto.impl.bc.BcTlsVerifier
org.bouncycastle.tls.crypto.impl.bc.BcTlsEd448Verifier
- All Implemented Interfaces:
TlsVerifier
-
Field Summary
Fields inherited from class org.bouncycastle.tls.crypto.impl.bc.BcTlsVerifier
crypto, publicKey
-
Constructor Summary
ConstructorsConstructorDescriptionBcTlsEd448Verifier
(BcTlsCrypto crypto, org.bouncycastle.crypto.params.Ed448PublicKeyParameters publicKey) -
Method Summary
Modifier and TypeMethodDescriptiongetStreamVerifier
(DigitallySigned signature) boolean
verifyRawSignature
(DigitallySigned signature, byte[] hash) Return true if the passed in signature and hash represent a real signature.
-
Constructor Details
-
BcTlsEd448Verifier
public BcTlsEd448Verifier(BcTlsCrypto crypto, org.bouncycastle.crypto.params.Ed448PublicKeyParameters publicKey)
-
-
Method Details
-
verifyRawSignature
Description copied from interface:TlsVerifier
Return true if the passed in signature and hash represent a real signature.- 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.
- Throws:
IOException
- in case of an exception verifying signature.
-
getStreamVerifier
- Specified by:
getStreamVerifier
in interfaceTlsVerifier
- Overrides:
getStreamVerifier
in classBcTlsVerifier
-