public class JcaTlsECDSA13Verifier extends java.lang.Object implements TlsVerifier
Constructor and Description |
---|
JcaTlsECDSA13Verifier(JcaTlsCrypto crypto,
java.security.PublicKey publicKey,
int signatureScheme) |
Modifier and Type | Method and Description |
---|---|
TlsStreamVerifier |
getStreamVerifier(DigitallySigned signature) |
boolean |
verifyRawSignature(DigitallySigned signature,
byte[] hash)
Return true if the passed in signature and hash represent a real signature.
|
public JcaTlsECDSA13Verifier(JcaTlsCrypto crypto, java.security.PublicKey publicKey, int signatureScheme)
public TlsStreamVerifier getStreamVerifier(DigitallySigned signature)
getStreamVerifier
in interface TlsVerifier
public boolean verifyRawSignature(DigitallySigned signature, byte[] hash)
TlsVerifier
verifyRawSignature
in interface TlsVerifier
signature
- the signature object containing the signature to be verified.hash
- the hash calculated for the signature.