Top Methods
org.bouncycastle.openpgp.operator

public Interface PGPContentVerifier

Imports
java.io.OutputStream

Method Summary

Modifier and TypeMethod and Description
public int
public int
public long
public OutputStream
public boolean

Returns:

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

Method Detail

getHashAlgorithmback to summary
public int getHashAlgorithm()
getKeyAlgorithmback to summary
public int getKeyAlgorithm()
getKeyIDback to summary
public long getKeyID()
getOutputStreamback to summary
public OutputStream getOutputStream()
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