- ANDROID_MANIFEST_ZIP_ENTRY_NAME - Static variable in class com.android.apksig.apk.ApkUtils
-
Name of the Android manifest ZIP entry in APKs.
- ApkFormatException - Exception in com.android.apksig.apk
-
Indicates that an APK is not well-formed.
- ApkFormatException(String) - Constructor for exception com.android.apksig.apk.ApkFormatException
-
- ApkFormatException(String, Throwable) - Constructor for exception com.android.apksig.apk.ApkFormatException
-
- ApkSigner - Class in com.android.apksig
-
APK signer.
- ApkSigner.Builder - Class in com.android.apksig
-
- ApkSigner.SignerConfig - Class in com.android.apksig
-
Configuration of a signer.
- ApkSigner.SignerConfig.Builder - Class in com.android.apksig
-
- ApkSignerEngine - Interface in com.android.apksig
-
APK signing logic which is independent of how input and output APKs are stored, parsed, and
generated.
- ApkSignerEngine.InputJarEntryInstructions - Class in com.android.apksig
-
Instructions about how to handle an input APK's JAR entry.
- ApkSignerEngine.InputJarEntryInstructions.OutputPolicy - Enum in com.android.apksig
-
Output policy for an input APK's JAR entry.
- ApkSignerEngine.InspectJarEntryRequest - Interface in com.android.apksig
-
Request to inspect the specified JAR entry.
- ApkSignerEngine.OutputApkSigningBlockRequest - Interface in com.android.apksig
-
- ApkSignerEngine.OutputApkSigningBlockRequest2 - Interface in com.android.apksig
-
Request to add the specified APK Signing Block to the output APK.
- ApkSignerEngine.OutputJarSignatureRequest - Interface in com.android.apksig
-
Request to add JAR signature (aka v1 signature) to the output APK.
- ApkSignerEngine.OutputJarSignatureRequest.JarEntry - Class in com.android.apksig
-
JAR entry.
- ApkSigningBlock(long, DataSource) - Constructor for class com.android.apksig.apk.ApkUtils.ApkSigningBlock
-
Constructs a new ApkSigningBlock.
- ApkSigningBlockNotFoundException - Exception in com.android.apksig.apk
-
Indicates that no APK Signing Block was found in an APK.
- ApkSigningBlockNotFoundException(String) - Constructor for exception com.android.apksig.apk.ApkSigningBlockNotFoundException
-
- ApkSigningBlockNotFoundException(String, Throwable) - Constructor for exception com.android.apksig.apk.ApkSigningBlockNotFoundException
-
- ApkUtils - Class in com.android.apksig.apk
-
APK utilities.
- ApkUtils.ApkSigningBlock - Class in com.android.apksig.apk
-
Information about the location of the APK Signing Block inside an APK.
- ApkUtils.ZipSections - Class in com.android.apksig.apk
-
Information about the ZIP sections of an APK.
- ApkVerifier - Class in com.android.apksig
-
APK signature verifier which mimics the behavior of the Android platform.
- ApkVerifier.Builder - Class in com.android.apksig
-
- ApkVerifier.Issue - Enum in com.android.apksig
-
Error or warning encountered while verifying an APK's signatures.
- ApkVerifier.IssueWithParams - Class in com.android.apksig
-
- ApkVerifier.Result - Class in com.android.apksig
-
Result of verifying an APKs signatures.
- ApkVerifier.Result.V1SchemeSignerInfo - Class in com.android.apksig
-
Information about a JAR signer associated with the APK's signature.
- ApkVerifier.Result.V2SchemeSignerInfo - Class in com.android.apksig
-
Information about an APK Signature Scheme v2 signer associated with the APK's signature.
- ApkVerifier.Result.V3SchemeSignerInfo - Class in com.android.apksig
-
Information about an APK Signature Scheme v3 signer associated with the APK's signature.
- asDataSink(OutputStream) - Static method in class com.android.apksig.util.DataSinks
-
Returns a
DataSink which outputs received data into the provided
OutputStream.
- asDataSink(RandomAccessFile) - Static method in class com.android.apksig.util.DataSinks
-
Returns a
DataSink which outputs received data into the provided file, sequentially,
starting at the beginning of the file.
- asDataSink(MessageDigest...) - Static method in class com.android.apksig.util.DataSinks
-
Returns a
DataSink which forwards data into the provided
MessageDigest
instances via their
update method.
- asDataSource(ByteBuffer) - Static method in class com.android.apksig.util.DataSources
-
Returns a
DataSource backed by the provided
ByteBuffer.
- asDataSource(RandomAccessFile) - Static method in class com.android.apksig.util.DataSources
-
Returns a
DataSource backed by the provided
RandomAccessFile.
- asDataSource(RandomAccessFile, long, long) - Static method in class com.android.apksig.util.DataSources
-
Returns a
DataSource backed by the provided region of the
RandomAccessFile.
- build() - Method in class com.android.apksig.ApkSigner.Builder
-
Returns a new ApkSigner instance initialized according to the configuration of
this builder.
- build() - Method in class com.android.apksig.ApkSigner.SignerConfig.Builder
-
Returns a new SignerConfig instance configured based on the configuration of
this builder.
- build() - Method in class com.android.apksig.ApkVerifier.Builder
-
Returns an
ApkVerifier initialized according to the configuration of this
builder.
- build() - Method in class com.android.apksig.DefaultApkSignerEngine.Builder
-
Returns a new DefaultApkSignerEngine instance configured based on the
configuration of this builder.
- build() - Method in class com.android.apksig.DefaultApkSignerEngine.SignerConfig.Builder
-
Returns a new SignerConfig instance configured based on the configuration of
this builder.
- build() - Method in class com.android.apksig.SigningCertificateLineage.Builder
-
- build() - Method in class com.android.apksig.SigningCertificateLineage.SignerCapabilities.Builder
-
Returns a new SignerConfig instance configured based on the configuration of
this builder.
- build() - Method in class com.android.apksig.SigningCertificateLineage.SignerConfig.Builder
-
Returns a new SignerConfig instance configured based on the configuration of
this builder.
- Builder(List<ApkSigner.SignerConfig>) - Constructor for class com.android.apksig.ApkSigner.Builder
-
Constructs a new Builder for an ApkSigner which signs using the provided
signer configurations.
- Builder(ApkSignerEngine) - Constructor for class com.android.apksig.ApkSigner.Builder
-
Constructs a new Builder for an ApkSigner which signs using the
provided signing engine.
- Builder(String, PrivateKey, List<X509Certificate>) - Constructor for class com.android.apksig.ApkSigner.SignerConfig.Builder
-
Constructs a new Builder.
- Builder(File) - Constructor for class com.android.apksig.ApkVerifier.Builder
-
Constructs a new Builder for verifying the provided APK file.
- Builder(DataSource) - Constructor for class com.android.apksig.ApkVerifier.Builder
-
Constructs a new Builder for verifying the provided APK.
- Builder(List<DefaultApkSignerEngine.SignerConfig>, int) - Constructor for class com.android.apksig.DefaultApkSignerEngine.Builder
-
Constructs a new Builder.
- Builder(String, PrivateKey, List<X509Certificate>) - Constructor for class com.android.apksig.DefaultApkSignerEngine.SignerConfig.Builder
-
Constructs a new Builder.
- Builder(SigningCertificateLineage.SignerConfig, SigningCertificateLineage.SignerConfig) - Constructor for class com.android.apksig.SigningCertificateLineage.Builder
-
Constructs a new Builder.
- Builder() - Constructor for class com.android.apksig.SigningCertificateLineage.SignerCapabilities.Builder
-
Constructs a new Builder.
- Builder(int) - Constructor for class com.android.apksig.SigningCertificateLineage.SignerCapabilities.Builder
-
Constructs a new Builder with the initial capabilities set to the provided
flags.
- Builder(PrivateKey, X509Certificate) - Constructor for class com.android.apksig.SigningCertificateLineage.SignerConfig.Builder
-
Constructs a new Builder.
- ByteRange(long, long) - Constructor for class com.android.apksig.Hints.ByteRange
-
- generateV3SignerAttribute() - Method in class com.android.apksig.SigningCertificateLineage
-
- getAdditionalJarEntries() - Method in interface com.android.apksig.ApkSignerEngine.OutputJarSignatureRequest
-
Returns JAR entries that must be added to the output APK.
- getAndroidManifest(DataSource) - Static method in class com.android.apksig.apk.ApkUtils
-
Returns the contents of the APK's AndroidManifest.xml.
- getApkSigningBlock() - Method in interface com.android.apksig.ApkSignerEngine.OutputApkSigningBlockRequest
-
Deprecated.
Returns the APK Signing Block.
- getApkSigningBlock() - Method in interface com.android.apksig.ApkSignerEngine.OutputApkSigningBlockRequest2
-
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.
- getCertificate() - Method in class com.android.apksig.ApkVerifier.Result.V3SchemeSignerInfo
-
Returns this signer's signing certificate or null if not available.
- getCertificate() - Method in class com.android.apksig.SigningCertificateLineage.SignerConfig
-
Returns the certificate(s) of this signer.
- 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.ApkVerifier.Result.V3SchemeSignerInfo
-
Returns this signer's certificates.
- getCertificates() - Method in class com.android.apksig.DefaultApkSignerEngine.SignerConfig
-
Returns the certificate(s) of this signer.
- getCertificatesInLineage() - Method in class com.android.apksig.SigningCertificateLineage
-
Returns a list containing all of the certificates in the lineage.
- getCodename() - Method in exception com.android.apksig.apk.CodenameMinSdkVersionException
-
Returns the codename.
- getContents() - Method in class com.android.apksig.apk.ApkUtils.ApkSigningBlock
-
Returns the data source which provides the full contents of the APK Signing Block,
including its footer.
- 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.
- getDebuggableFromBinaryAndroidManifest(ByteBuffer) - Static method in class com.android.apksig.apk.ApkUtils
-
Returns true if the APK is debuggable according to its AndroidManifest.xml.
- 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
-
- getErrors() - Method in class com.android.apksig.ApkVerifier.Result.V3SchemeSignerInfo
-
- 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.
- getIndex() - Method in class com.android.apksig.ApkVerifier.Result.V3SchemeSignerInfo
-
Returns this signer's 0-based index in the list of signers contained in the
APK's APK Signature Scheme v3 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.
- getPackageNameFromBinaryAndroidManifest(ByteBuffer) - Static method in class com.android.apksig.apk.ApkUtils
-
Returns the package name of the APK according to its AndroidManifest.xml or
null if package name is not declared.
- getPaddingSizeBeforeApkSigningBlock() - Method in interface com.android.apksig.ApkSignerEngine.OutputApkSigningBlockRequest2
-
Returns the number of 0x00 bytes the caller must place immediately before APK Signing
Block.
- 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.
- getPrivateKey() - Method in class com.android.apksig.SigningCertificateLineage.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.
- getSignerCapabilities(SigningCertificateLineage.SignerConfig) - Method in class com.android.apksig.SigningCertificateLineage
-
Returns the SignerCapabilities for the signer in the lineage that matches the provided
config.
- getSignerCapabilities(X509Certificate) - Method in class com.android.apksig.SigningCertificateLineage
-
Returns the SignerCapabilities for the signer in the lineage that matches the provided
certificate.
- getSignerCertificates() - Method in class com.android.apksig.ApkVerifier.Result
-
Returns the verified signers' certificates, one per signer.
- getSigningCertificateLineage() - Method in class com.android.apksig.ApkVerifier.Result
-
Returns the combined SigningCertificateLineage associated with this APK's APK Signature
Scheme v3 signing block.
- getStartOffset() - Method in class com.android.apksig.apk.ApkUtils.ApkSigningBlock
-
Returns the start offset (in bytes, relative to start of file) of the APK Signing Block.
- getSubLineage(X509Certificate) - Method in class com.android.apksig.SigningCertificateLineage
-
Returns a new SigingCertificateLineage which terminates at the node corresponding to the
given certificate.
- 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.
- getV3SchemeSigners() - Method in class com.android.apksig.ApkVerifier.Result
-
Returns information about APK Signature Scheme v3 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
-
- getWarnings() - Method in class com.android.apksig.ApkVerifier.Result.V3SchemeSignerInfo
-
- 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.
- initWith(byte[], Set<String>) - Method in interface com.android.apksig.ApkSignerEngine
-
Initializes the signer engine with the data already present in the apk (if any).
- initWith(byte[], Set<String>) - Method in class com.android.apksig.DefaultApkSignerEngine
-
Initializes DefaultApkSignerEngine with the existing MANIFEST.MF.
- inputApkSigningBlock(DataSource) - Method in interface com.android.apksig.ApkSignerEngine
-
Indicates to this engine that the input APK contains the provided APK Signing Block.
- inputApkSigningBlock(DataSource) - Method in class com.android.apksig.DefaultApkSignerEngine
-
- inputJarEntry(String) - Method in interface com.android.apksig.ApkSignerEngine
-
Indicates to this engine that the specified JAR entry was encountered in the input APK.
- inputJarEntry(String) - Method in class com.android.apksig.DefaultApkSignerEngine
-
- InputJarEntryInstructions(ApkSignerEngine.InputJarEntryInstructions.OutputPolicy) - Constructor for class com.android.apksig.ApkSignerEngine.InputJarEntryInstructions
-
Constructs a new InputJarEntryInstructions instance with the provided entry
output policy and without a request to inspect the entry.
- InputJarEntryInstructions(ApkSignerEngine.InputJarEntryInstructions.OutputPolicy, ApkSignerEngine.InspectJarEntryRequest) - Constructor for class com.android.apksig.ApkSignerEngine.InputJarEntryInstructions
-
Constructs a new InputJarEntryInstructions instance with the provided entry
output mode and with the provided request to inspect the entry.
- inputJarEntryRemoved(String) - Method in interface com.android.apksig.ApkSignerEngine
-
Indicates to this engine that the specified JAR entry was removed from the input.
- inputJarEntryRemoved(String) - Method in class com.android.apksig.DefaultApkSignerEngine
-
- isCertificateInLineage(X509Certificate) - Method in class com.android.apksig.SigningCertificateLineage
-
Returns true if the specified certificate is in the lineage.
- isSignerInLineage(SigningCertificateLineage.SignerConfig) - Method in class com.android.apksig.SigningCertificateLineage
-
Returns true if the specified config is in the lineage.
- IssueWithParams(ApkVerifier.Issue, Object[]) - Constructor for class com.android.apksig.ApkVerifier.IssueWithParams
-
Constructs a new IssueWithParams of the specified type and with provided
parameters.
- isVerified() - Method in class com.android.apksig.ApkVerifier.Result
-
Returns true if the APK's signatures verified.
- isVerifiedUsingV1Scheme() - Method in class com.android.apksig.ApkVerifier.Result
-
Returns true if the APK's JAR signatures verified.
- isVerifiedUsingV2Scheme() - Method in class com.android.apksig.ApkVerifier.Result
-
Returns true if the APK's APK Signature Scheme v2 signatures verified.
- isVerifiedUsingV3Scheme() - Method in class com.android.apksig.ApkVerifier.Result
-
Returns true if the APK's APK Signature Scheme v3 signature verified.
- setAuth(boolean) - Method in class com.android.apksig.SigningCertificateLineage.SignerCapabilities.Builder
-
Set the PAST_CERT_AUTH flag in this capabilities object.
- setCallerConfiguredCapabilities(SigningCertificateLineage.SignerCapabilities) - Method in class com.android.apksig.SigningCertificateLineage.SignerCapabilities.Builder
-
Applies the capabilities that were explicitly set in the provided capabilities object
to this builder.
- 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.
- setDebuggableApkPermitted(boolean) - Method in class com.android.apksig.ApkSigner.Builder
-
Sets whether the APK should be signed even if it is marked as debuggable
(android:debuggable="true" in its AndroidManifest.xml).
- setDebuggableApkPermitted(boolean) - Method in class com.android.apksig.DefaultApkSignerEngine.Builder
-
Sets whether the APK should be signed even if it is marked as debuggable
(android:debuggable="true" in its AndroidManifest.xml).
- setExecutor(RunnablesExecutor) - Method in interface com.android.apksig.ApkSignerEngine
-
- setExecutor(RunnablesExecutor) - Method in class com.android.apksig.DefaultApkSignerEngine
-
- 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.
- setInstalledData(boolean) - Method in class com.android.apksig.SigningCertificateLineage.SignerCapabilities.Builder
-
Set the PAST_CERT_INSTALLED_DATA flag in this capabilities object.
- 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.
- setMinSdkVersion(int) - Method in class com.android.apksig.SigningCertificateLineage.Builder
-
Sets the minimum Android platform version (API Level) on which this lineage is expected
to validate.
- setNewCapabilities(SigningCertificateLineage.SignerCapabilities) - Method in class com.android.apksig.SigningCertificateLineage.Builder
-
Sets capabilities to give mNewSignerConfig.
- setOriginalCapabilities(SigningCertificateLineage.SignerCapabilities) - Method in class com.android.apksig.SigningCertificateLineage.Builder
-
Sets capabilities to give mOriginalSignerConfig.
- 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(ReadableDataSink) - Method in class com.android.apksig.ApkSigner.Builder
-
Sets the readable data sink which will receive 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.
- setPermission(boolean) - Method in class com.android.apksig.SigningCertificateLineage.SignerCapabilities.Builder
-
Set the PAST_CERT_PERMISSION flag in this capabilities object.
- setRollback(boolean) - Method in class com.android.apksig.SigningCertificateLineage.SignerCapabilities.Builder
-
Set the PAST_CERT_ROLLBACK flag in this capabilities object.
- setSharedUid(boolean) - Method in class com.android.apksig.SigningCertificateLineage.SignerCapabilities.Builder
-
Set the PAST_CERT_SHARED_USER_ID flag in this capabilities object.
- setSigningCertificateLineage(SigningCertificateLineage) - Method in class com.android.apksig.ApkSigner.Builder
-
- setSigningCertificateLineage(SigningCertificateLineage) - Method in class com.android.apksig.DefaultApkSignerEngine.Builder
-
- 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).
- setV3SigningEnabled(boolean) - Method in class com.android.apksig.ApkSigner.Builder
-
Sets whether the APK should be signed using APK Signature Scheme v3 (aka v3 signature
scheme).
- setV3SigningEnabled(boolean) - Method in class com.android.apksig.DefaultApkSignerEngine.Builder
-
Sets whether the APK should be signed using APK Signature Scheme v3 (aka v3 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.
- SigningCertificateLineage - Class in com.android.apksig
-
APK Signer Lineage.
- SigningCertificateLineage.Builder - Class in com.android.apksig
-
- SigningCertificateLineage.SignerCapabilities - Class in com.android.apksig
-
Representation of the capabilities the APK would like to grant to its old signing
certificates.
- SigningCertificateLineage.SignerCapabilities.Builder - Class in com.android.apksig
-
- SigningCertificateLineage.SignerConfig - Class in com.android.apksig
-
Configuration of a signer.
- SigningCertificateLineage.SignerConfig.Builder - Class in com.android.apksig
-
- SINGLE_THREADED - Static variable in interface com.android.apksig.util.RunnablesExecutor
-
- size() - Method in class com.android.apksig.SigningCertificateLineage
-
The number of signing certificates in the lineage, including the current signer, which means
this value can also be used to V2determine the number of signing certificate rotations by
subtracting 1.
- 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.
- sortSignerConfigs(List<DefaultApkSignerEngine.SignerConfig>) - Method in class com.android.apksig.SigningCertificateLineage
-
- spawnDescendant(SigningCertificateLineage.SignerConfig, SigningCertificateLineage.SignerConfig) - Method in class com.android.apksig.SigningCertificateLineage
-
Add a new signing certificate to the lineage.
- spawnDescendant(SigningCertificateLineage.SignerConfig, SigningCertificateLineage.SignerConfig, SigningCertificateLineage.SignerCapabilities) - Method in class com.android.apksig.SigningCertificateLineage
-
Add a new signing certificate to the lineage.