Interface PGPContentVerifier
-
public interface PGPContentVerifier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getHashAlgorithm()
int
getKeyAlgorithm()
long
getKeyID()
java.io.OutputStream
getOutputStream()
boolean
verify(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
-
-