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.BuilderJarSigner.Builder. digestAlgorithm(String algorithm)Sets the digest algorithm.JarSigner.BuilderJarSigner.Builder. digestAlgorithm(String algorithm, Provider provider)Sets the digest algorithm from the specified provider.JarSigner.BuilderJarSigner.Builder. eventHandler(BiConsumer<String,String> handler)Sets en event handler that will be triggered when aJarEntryis to be added, signed, or updated during the signing process.JarSigner.BuilderJarSigner.Builder. setProperty(String key, String value)Sets an additional implementation-specific property indicated by the specified key.JarSigner.BuilderJarSigner.Builder. signatureAlgorithm(String algorithm)Sets the signature algorithm.JarSigner.BuilderJarSigner.Builder. signatureAlgorithm(String algorithm, Provider provider)Sets the signature algorithm from the specified provider.JarSigner.BuilderJarSigner.Builder. signerName(String name)Sets the signer name.JarSigner.BuilderJarSigner.Builder. tsa(URI uri)Sets the URI of the Time Stamping Authority (TSA).