public final class JkGpgVerifier
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.nio.file.Path |
getDefaultGpgPublicRingPath()
Returns the default path for the pubring.gpg file.
|
java.nio.file.Path |
getPublicRingPath()
Returns the public ring of this object.
|
static JkGpgVerifier |
of(java.nio.file.Path pubRing)
Creates a new instance of JkGpg with the specified public ring.
|
boolean |
verify(java.nio.file.Path fileToVerify,
java.nio.file.Path signature)
Verifies the specified file against the specified signature.
|
public static JkGpgVerifier of(java.nio.file.Path pubRing)
public static java.nio.file.Path getDefaultGpgPublicRingPath()
public java.nio.file.Path getPublicRingPath()
public boolean verify(java.nio.file.Path fileToVerify, java.nio.file.Path signature)