Interface PGPContentVerifier
-
public interface PGPContentVerifier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetHashAlgorithm()intgetKeyAlgorithm()longgetKeyID()java.io.OutputStreamgetOutputStream()booleanverify(byte[] expected)
-
-
-
Method Detail
-
getOutputStream
java.io.OutputStream getOutputStream()
-
getHashAlgorithm
int getHashAlgorithm()
-
getKeyAlgorithm
int getKeyAlgorithm()
-
getKeyID
long getKeyID()
-
verify
boolean verify(byte[] expected)
- Parameters:
expected- expected value of the signature on the data.- Returns:
- true if the signature verifies, false otherwise
-
-