public class BcTlsECDSA13Verifier extends BcTlsVerifier
crypto, publicKey
Constructor and Description |
---|
BcTlsECDSA13Verifier(BcTlsCrypto crypto,
org.bouncycastle.crypto.params.ECPublicKeyParameters publicKey,
int signatureScheme) |
Modifier and Type | Method and Description |
---|---|
boolean |
verifyRawSignature(DigitallySigned signature,
byte[] hash)
Return true if the passed in signature and hash represent a real signature.
|
getStreamVerifier
public BcTlsECDSA13Verifier(BcTlsCrypto crypto, org.bouncycastle.crypto.params.ECPublicKeyParameters publicKey, int signatureScheme)
public boolean verifyRawSignature(DigitallySigned signature, byte[] hash)
TlsVerifier
signature
- the signature object containing the signature to be verified.hash
- the hash calculated for the signature.