Uses of Class jdk.security.jarsigner.JarSigner.Builder (Java SE 25 & JDK 25)
Description: use: module: jdk.jartool, package: jdk.security.jarsigner, class: JarSigner, class: Builder

# Uses of Class
jdk.security.jarsigner.JarSigner.Builder

Packages that use 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 a `JarEntry` 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).