Package | Description |
---|---|
com.android.apksig |
Modifier and Type | Method and Description |
---|---|
ApkSigner.Builder |
ApkSigner.Builder.setCreatedBy(String createdBy)
Sets the value of the
Created-By field in JAR signature files. |
ApkSigner.Builder |
ApkSigner.Builder.setInputApk(DataSource inputApk)
Sets the APK to be signed.
|
ApkSigner.Builder |
ApkSigner.Builder.setInputApk(File inputApk)
Sets the APK to be signed.
|
ApkSigner.Builder |
ApkSigner.Builder.setMinSdkVersion(int minSdkVersion)
Sets the minimum Android platform version (API Level) on which APK signatures produced
by the signer being built must verify.
|
ApkSigner.Builder |
ApkSigner.Builder.setOtherSignersSignaturesPreserved(boolean preserved)
Sets whether signatures produced by signers other than the ones configured in this engine
should be copied from the input APK to the output APK.
|
ApkSigner.Builder |
ApkSigner.Builder.setOutputApk(DataSink outputApkOut,
DataSource outputApkIn)
Sets the sink which will receive the output (signed) APK.
|
ApkSigner.Builder |
ApkSigner.Builder.setOutputApk(File outputApk)
Sets the location of the output (signed) APK.
|
ApkSigner.Builder |
ApkSigner.Builder.setV1SigningEnabled(boolean enabled)
Sets whether the APK should be signed using JAR signing (aka v1 signature scheme).
|
ApkSigner.Builder |
ApkSigner.Builder.setV2SigningEnabled(boolean enabled)
Sets whether the APK should be signed using APK Signature Scheme v2 (aka v2 signature
scheme).
|
Copyright © 2016. All rights reserved.