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