Uses of Class
jdk.security.jarsigner.JarSigner.Builder
Package | Description |
---|---|
jdk.security.jarsigner |
This package defines APIs for signing jar files.
|
-
Uses of JarSigner.Builder in jdk.security.jarsigner
Methods in jdk.security.jarsigner that return JarSigner.Builder Modifier and Type Method Description JarSigner.Builder
JarSigner.Builder. digestAlgorithm(String algorithm)
Sets the digest algorithm.JarSigner.Builder
JarSigner.Builder. digestAlgorithm(String algorithm, Provider provider)
Sets the digest algorithm from the specified provider.JarSigner.Builder
JarSigner.Builder. eventHandler(BiConsumer<String,String> handler)
Sets en event handler that will be triggered when aJarEntry
is to be added, signed, or updated during the signing process.JarSigner.Builder
JarSigner.Builder. setProperty(String key, String value)
Sets an additional implementation-specific property indicated by the specified key.JarSigner.Builder
JarSigner.Builder. signatureAlgorithm(String algorithm)
Sets the signature algorithm.JarSigner.Builder
JarSigner.Builder. signatureAlgorithm(String algorithm, Provider provider)
Sets the signature algorithm from the specified provider.JarSigner.Builder
JarSigner.Builder. signerName(String name)
Sets the signer name.JarSigner.Builder
JarSigner.Builder. tsa(URI uri)
Sets the URI of the Time Stamping Authority (TSA).