Top Methods
org.bouncycastle.eac.operator

public Interface EACSignatureVerifier

Imports
java.io.OutputStream, org.bouncycastle.asn1.ASN1ObjectIdentifier

Method Summary

Modifier and TypeMethod and Description
public OutputStream

Returns:

an OutputStream
getOutputStream
()

Returns a stream that will accept data for the purpose of calculating a signature for later verification.

public ASN1ObjectIdentifier

Returns:

algorithm oid.
getUsageIdentifier
()

Return the usage OID specifying the signature type.

public boolean

Returns:

true if the signature verifies, false otherwise
verify
(byte[]
expected value of the signature on the data.
expected
)

Method Detail

getOutputStreamback to summary
public OutputStream getOutputStream()

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

Returns:OutputStream

an OutputStream

getUsageIdentifierback to summary
public ASN1ObjectIdentifier getUsageIdentifier()

Return the usage OID specifying the signature type.

Returns:ASN1ObjectIdentifier

algorithm oid.

verifyback to summary
public boolean verify(byte[] expected)
Parameters
expected:byte[]

expected value of the signature on the data.

Returns:boolean

true if the signature verifies, false otherwise