T
- the parameters type for the verifier.public interface OutputVerifier<T extends Parameters>
Modifier and Type | Method and Description |
---|---|
T |
getParameters()
Return the parameters for this output verifier.
|
UpdateOutputStream |
getVerifyingStream()
Returns a stream that will accept data for the purpose of verifying a previously calculated signature.
|
boolean |
isVerified(byte[] signature)
Return true if the data written to the verifying stream matches the data the signature was calculated against.
|
T getParameters()
UpdateOutputStream getVerifyingStream()
boolean isVerified(byte[] signature) throws InvalidSignatureException
signature
- the signature to be confirmed.InvalidSignatureException