Bouncy Castle Cryptography Library 1.79

org.bouncycastle.openpgp.operator
Interface PGPContentVerifier


public interface PGPContentVerifier


Method Summary
 int getHashAlgorithm()
           
 int getKeyAlgorithm()
           
 long getKeyID()
           
 java.io.OutputStream getOutputStream()
           
 boolean verify(byte[] expected)
           
 

Method Detail

getOutputStream

public java.io.OutputStream getOutputStream()

getHashAlgorithm

public int getHashAlgorithm()

getKeyAlgorithm

public int getKeyAlgorithm()

getKeyID

public long getKeyID()

verify

public boolean verify(byte[] expected)
Parameters:
expected - expected value of the signature on the data.
Returns:
true if the signature verifies, false otherwise

Bouncy Castle Cryptography Library 1.79