Top Description Constructors Methods
org.bouncycastle.crypto.fips

public abstract Class FipsOutputVerifier<T extends Parameters>

extends Object
implements OutputVerifier<T extends Parameters>
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.OutputVerifier
Known Direct Subclasses
org.bouncycastle.crypto.fips.DSAOutputVerifier
Type Parameters
<T>
The parameters class for this verifier.
Imports
org.bouncycastle.crypto.InvalidSignatureException, .OutputVerifier, .Parameters

Base class for a FIPS signature verifier.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public abstract T
getParameters()

Redeclares org.bouncycastle.crypto.OutputVerifier.getParameters.

Return the parameters for this output verifier.
public abstract UpdateOutputStream
getVerifyingStream()

Redeclares org.bouncycastle.crypto.OutputVerifier.getVerifyingStream.

Returns a stream that will accept data for the purpose of verifying a previously calculated signature.
public abstract boolean
isVerified(byte[]
the signature to be confirmed.
signature
)

Redeclares org.bouncycastle.crypto.OutputVerifier.isVerified.

Return true if the data written to the verifying stream matches the data the signature was calculated against.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

FipsOutputVerifierback to summary
pack-priv FipsOutputVerifier()

Method Detail

getParametersback to summary
public abstract T getParameters()

Redeclares org.bouncycastle.crypto.OutputVerifier.getParameters.

Doc from org.bouncycastle.crypto.OutputVerifier.getParameters.

Return the parameters for this output verifier.

Returns:T

the verifier's parameters.

getVerifyingStreamback to summary
public abstract UpdateOutputStream getVerifyingStream()

Redeclares org.bouncycastle.crypto.OutputVerifier.getVerifyingStream.

Doc from org.bouncycastle.crypto.OutputVerifier.getVerifyingStream.

Returns a stream that will accept data for the purpose of verifying a previously calculated signature. Use org.bouncycastle.util.io.TeeOutputStream if you want to accumulate the data on the fly as well.

Returns:UpdateOutputStream

an UpdateOutputStream

isVerifiedback to summary
public abstract boolean isVerified(byte[] signature) throws InvalidSignatureException

Redeclares org.bouncycastle.crypto.OutputVerifier.isVerified.

Doc from org.bouncycastle.crypto.OutputVerifier.isVerified.

Return true if the data written to the verifying stream matches the data the signature was calculated against.

Parameters
signature:byte[]

the signature to be confirmed.

Returns:boolean

true if the data verifies against the signature, false otherwise.