public static class ApkSigner.SignerConfig.Builder extends Object
ApkSigner.SignerConfig
instances.Constructor and Description |
---|
Builder(String name,
PrivateKey privateKey,
List<X509Certificate> certificates)
Constructs a new
Builder . |
Modifier and Type | Method and Description |
---|---|
ApkSigner.SignerConfig |
build()
Returns a new
SignerConfig instance configured based on the configuration of
this builder. |
public Builder(String name, PrivateKey privateKey, List<X509Certificate> certificates)
Builder
.name
- signer's name. The name is reflected in the name of files comprising the
JAR signature of the APK.privateKey
- signing keycertificates
- list of one or more X.509 certificates. The subject public key of
the first certificate must correspond to the privateKey
.public ApkSigner.SignerConfig build()
SignerConfig
instance configured based on the configuration of
this builder.Copyright © 2016. All rights reserved.