@FunctionalInterface
public interface JkFileSigner
Modifier and Type | Method and Description |
---|---|
default java.nio.file.Path |
sign(java.nio.file.Path fileToSign)
Signs the specified file producing a signature file at standard location.
|
void |
sign(java.nio.file.Path fileToSgn,
java.nio.file.Path targetSignatureFile)
Signs the specified file and writes the signature to the target signature file.
|
void sign(java.nio.file.Path fileToSgn, java.nio.file.Path targetSignatureFile)
fileToSgn
- the path of the file to be signedtargetSignatureFile
- the path of the signature file to be createdjava.io.UncheckedIOException
- if an I/O error occurs while signing the filedefault java.nio.file.Path sign(java.nio.file.Path fileToSign)
fileToSign
- the file to be signed