- getAdditionalJarEntries() - Method in interface com.android.apksig.ApkSignerEngine.OutputJarSignatureRequest
-
Returns JAR entries that must be added to the output APK.
- getApkSigningBlock() - Method in interface com.android.apksig.ApkSignerEngine.OutputApkSigningBlockRequest
-
Returns the APK Signing Block.
- getByteBuffer(long, int) - Method in interface com.android.apksig.util.DataSource
-
Returns a buffer holding the contents of the specified chunk of data from this data source.
- getCertificate() - Method in class com.android.apksig.ApkVerifier.Result.V1SchemeSignerInfo
-
Returns this signer's signing certificate or null
if not available.
- getCertificate() - Method in class com.android.apksig.ApkVerifier.Result.V2SchemeSignerInfo
-
Returns this signer's signing certificate or null
if not available.
- getCertificateChain() - Method in class com.android.apksig.ApkVerifier.Result.V1SchemeSignerInfo
-
Returns the certificate chain for the signer's public key.
- getCertificates() - Method in class com.android.apksig.ApkSigner.SignerConfig
-
Returns the certificate(s) of this signer.
- getCertificates() - Method in class com.android.apksig.ApkVerifier.Result.V2SchemeSignerInfo
-
Returns this signer's certificates.
- getCertificates() - Method in class com.android.apksig.DefaultApkSignerEngine.SignerConfig
-
Returns the certificate(s) of this signer.
- getCodename() - Method in exception com.android.apksig.apk.CodenameMinSdkVersionException
-
Returns the codename.
- getData() - Method in class com.android.apksig.ApkSignerEngine.OutputJarSignatureRequest.JarEntry
-
Returns the uncompressed data of this JAR entry.
- getDataSink() - Method in interface com.android.apksig.ApkSignerEngine.InspectJarEntryRequest
-
Returns the data sink into which the entry's uncompressed data should be sent.
- getEntryName() - Method in interface com.android.apksig.ApkSignerEngine.InspectJarEntryRequest
-
Returns the name of the JAR entry.
- getErrors() - Method in class com.android.apksig.ApkVerifier.Result
-
Returns errors encountered while verifying the APK's signatures.
- getErrors() - Method in class com.android.apksig.ApkVerifier.Result.V1SchemeSignerInfo
-
Returns errors encountered while verifying this signer's JAR signature.
- getErrors() - Method in class com.android.apksig.ApkVerifier.Result.V2SchemeSignerInfo
-
- getIndex() - Method in class com.android.apksig.ApkVerifier.Result.V2SchemeSignerInfo
-
Returns this signer's 0
-based index in the list of signers contained in the
APK's APK Signature Scheme v2 signature.
- getInspectJarEntryRequest() - Method in class com.android.apksig.ApkSignerEngine.InputJarEntryInstructions
-
Returns the request to inspect the JAR entry or null
if there is no need to
inspect the entry.
- getIssue() - Method in class com.android.apksig.ApkVerifier.IssueWithParams
-
Returns the type of this issue.
- getMinSdkVersionFromBinaryAndroidManifest(ByteBuffer) - Static method in class com.android.apksig.apk.ApkUtils
-
Returns the lowest Android platform version (API Level) supported by an APK with the
provided AndroidManifest.xml
.
- getName() - Method in class com.android.apksig.ApkSigner.SignerConfig
-
Returns the name of this signer.
- getName() - Method in class com.android.apksig.ApkSignerEngine.OutputJarSignatureRequest.JarEntry
-
Returns the name of this ZIP entry.
- getName() - Method in class com.android.apksig.ApkVerifier.Result.V1SchemeSignerInfo
-
Returns a user-friendly name of the signer.
- getName() - Method in class com.android.apksig.DefaultApkSignerEngine.SignerConfig
-
Returns the name of this signer.
- getOutputPolicy() - Method in class com.android.apksig.ApkSignerEngine.InputJarEntryInstructions
-
Returns the output policy for this entry.
- getParams() - Method in class com.android.apksig.ApkVerifier.IssueWithParams
-
Returns the parameters of this issue.
- getPrivateKey() - Method in class com.android.apksig.ApkSigner.SignerConfig
-
Returns the signing key of this signer.
- getPrivateKey() - Method in class com.android.apksig.DefaultApkSignerEngine.SignerConfig
-
Returns the signing key of this signer.
- getSignatureBlockFileName() - Method in class com.android.apksig.ApkVerifier.Result.V1SchemeSignerInfo
-
Returns the name of the JAR entry containing this signer's JAR signature block file.
- getSignatureFileName() - Method in class com.android.apksig.ApkVerifier.Result.V1SchemeSignerInfo
-
Returns the name of the JAR entry containing this signer's JAR signature file.
- getSignerCertificates() - Method in class com.android.apksig.ApkVerifier.Result
-
Returns the verified signers' certificates, one per signer.
- getV1SchemeIgnoredSigners() - Method in class com.android.apksig.ApkVerifier.Result
-
Returns information about JAR signers ignored by the APK's signature verification
process.
- getV1SchemeSigners() - Method in class com.android.apksig.ApkVerifier.Result
-
Returns information about JAR signers associated with the APK's signature.
- getV2SchemeSigners() - Method in class com.android.apksig.ApkVerifier.Result
-
Returns information about APK Signature Scheme v2 signers associated with the APK's
signature.
- getWarnings() - Method in class com.android.apksig.ApkVerifier.Result
-
Returns warnings encountered while verifying the APK's signatures.
- getWarnings() - Method in class com.android.apksig.ApkVerifier.Result.V1SchemeSignerInfo
-
Returns warnings encountered while verifying this signer's JAR signature.
- getWarnings() - Method in class com.android.apksig.ApkVerifier.Result.V2SchemeSignerInfo
-
- getZipCentralDirectoryOffset() - Method in class com.android.apksig.apk.ApkUtils.ZipSections
-
Returns the start offset of the ZIP Central Directory.
- getZipCentralDirectoryRecordCount() - Method in class com.android.apksig.apk.ApkUtils.ZipSections
-
Returns the number of records in the ZIP Central Directory.
- getZipCentralDirectorySizeBytes() - Method in class com.android.apksig.apk.ApkUtils.ZipSections
-
Returns the size (in bytes) of the ZIP Central Directory.
- getZipEndOfCentralDirectory() - Method in class com.android.apksig.apk.ApkUtils.ZipSections
-
Returns the contents of the ZIP End of Central Directory.
- getZipEndOfCentralDirectoryOffset() - Method in class com.android.apksig.apk.ApkUtils.ZipSections
-
Returns the start offset of the ZIP End of Central Directory record.
- setCreatedBy(String) - Method in class com.android.apksig.ApkSigner.Builder
-
Sets the value of the Created-By
field in JAR signature files.
- setCreatedBy(String) - Method in class com.android.apksig.DefaultApkSignerEngine.Builder
-
Sets the value of the Created-By
field in JAR signature files.
- setInputApk(File) - Method in class com.android.apksig.ApkSigner.Builder
-
Sets the APK to be signed.
- setInputApk(DataSource) - Method in class com.android.apksig.ApkSigner.Builder
-
Sets the APK to be signed.
- setMaxCheckedPlatformVersion(int) - Method in class com.android.apksig.ApkVerifier.Builder
-
Sets the newest Android platform version for which the APK is verified.
- setMinCheckedPlatformVersion(int) - Method in class com.android.apksig.ApkVerifier.Builder
-
Sets the oldest Android platform version for which the APK is verified.
- setMinSdkVersion(int) - Method in class com.android.apksig.ApkSigner.Builder
-
Sets the minimum Android platform version (API Level) on which APK signatures produced
by the signer being built must verify.
- setOtherSignersSignaturesPreserved(boolean) - Method in class com.android.apksig.ApkSigner.Builder
-
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.
- setOtherSignersSignaturesPreserved(boolean) - Method in class com.android.apksig.DefaultApkSignerEngine.Builder
-
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.
- setOutputApk(File) - Method in class com.android.apksig.ApkSigner.Builder
-
Sets the location of the output (signed) APK.
- setOutputApk(DataSink, DataSource) - Method in class com.android.apksig.ApkSigner.Builder
-
Sets the sink which will receive the output (signed) APK.
- setV1SigningEnabled(boolean) - Method in class com.android.apksig.ApkSigner.Builder
-
Sets whether the APK should be signed using JAR signing (aka v1 signature scheme).
- setV1SigningEnabled(boolean) - Method in class com.android.apksig.DefaultApkSignerEngine.Builder
-
Sets whether the APK should be signed using JAR signing (aka v1 signature scheme).
- setV2SigningEnabled(boolean) - Method in class com.android.apksig.ApkSigner.Builder
-
Sets whether the APK should be signed using APK Signature Scheme v2 (aka v2 signature
scheme).
- setV2SigningEnabled(boolean) - Method in class com.android.apksig.DefaultApkSignerEngine.Builder
-
Sets whether the APK should be signed using APK Signature Scheme v2 (aka v2 signature
scheme).
- setZipEocdCentralDirectoryOffset(ByteBuffer, long) - Static method in class com.android.apksig.apk.ApkUtils
-
Sets the offset of the start of the ZIP Central Directory in the APK's ZIP End of Central
Directory record.
- sign() - Method in class com.android.apksig.ApkSigner
-
Signs the input APK and outputs the resulting signed APK.
- size() - Method in interface com.android.apksig.util.DataSource
-
Returns the amount of data (in bytes) contained in this data source.
- slice(long, long) - Method in interface com.android.apksig.util.DataSource
-
Returns a data source representing the specified region of data of this data source.