public abstract class BcTlsDSSVerifier extends BcTlsVerifier
crypto, publicKey
Modifier | Constructor and Description |
---|---|
protected |
BcTlsDSSVerifier(BcTlsCrypto crypto,
org.bouncycastle.crypto.params.AsymmetricKeyParameter publicKey) |
Modifier and Type | Method and Description |
---|---|
protected abstract org.bouncycastle.crypto.DSA |
createDSAImpl(int cryptoHashAlgorithm) |
protected abstract short |
getSignatureAlgorithm() |
boolean |
verifyRawSignature(DigitallySigned signedParams,
byte[] hash)
Return true if the passed in signature and hash represent a real signature.
|
getStreamVerifier
protected BcTlsDSSVerifier(BcTlsCrypto crypto, org.bouncycastle.crypto.params.AsymmetricKeyParameter publicKey)
protected abstract org.bouncycastle.crypto.DSA createDSAImpl(int cryptoHashAlgorithm)
protected abstract short getSignatureAlgorithm()
public boolean verifyRawSignature(DigitallySigned signedParams, byte[] hash)
TlsVerifier
signedParams
- the signature object containing the signature to be verified.hash
- the hash calculated for the signature.