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() |
protected abstract short |
getSignatureAlgorithm() |
boolean |
verifyRawSignature(DigitallySigned digitallySigned,
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()
protected abstract short getSignatureAlgorithm()
public boolean verifyRawSignature(DigitallySigned digitallySigned, byte[] hash)
TlsVerifier
digitallySigned
- the signature object containing the signature to be verified.hash
- the hash calculated for the signature.