Package | Description |
---|---|
com.android.apksig | |
com.android.apksig.apk | |
com.android.apksig.util |
Modifier and Type | Method and Description |
---|---|
void |
DefaultApkSignerEngine.inputApkSigningBlock(DataSource apkSigningBlock) |
void |
ApkSignerEngine.inputApkSigningBlock(DataSource apkSigningBlock)
Indicates to this engine that the input APK contains the provided APK Signing Block.
|
ApkSignerEngine.OutputApkSigningBlockRequest |
DefaultApkSignerEngine.outputZipSections(DataSource zipEntries,
DataSource zipCentralDirectory,
DataSource zipEocd) |
ApkSignerEngine.OutputApkSigningBlockRequest |
ApkSignerEngine.outputZipSections(DataSource zipEntries,
DataSource zipCentralDirectory,
DataSource zipEocd)
Indicates to this engine that the ZIP sections comprising the output APK have been output.
|
ApkSigner.Builder |
ApkSigner.Builder.setInputApk(DataSource inputApk)
Sets the APK to be signed.
|
ApkSigner.Builder |
ApkSigner.Builder.setOutputApk(DataSink outputApkOut,
DataSource outputApkIn)
Sets the sink which will receive the output (signed) APK.
|
Constructor and Description |
---|
Builder(DataSource apk)
Constructs a new
Builder for verifying the provided APK. |
Modifier and Type | Method and Description |
---|---|
static ApkUtils.ZipSections |
ApkUtils.findZipSections(DataSource apk)
Finds the main ZIP sections of the provided APK.
|
Modifier and Type | Method and Description |
---|---|
static DataSource |
DataSources.asDataSource(ByteBuffer buffer)
Returns a
DataSource backed by the provided ByteBuffer . |
static DataSource |
DataSources.asDataSource(RandomAccessFile file)
Returns a
DataSource backed by the provided RandomAccessFile . |
static DataSource |
DataSources.asDataSource(RandomAccessFile file,
long offset,
long size)
Returns a
DataSource backed by the provided region of the RandomAccessFile . |
DataSource |
DataSource.slice(long offset,
long size)
Returns a data source representing the specified region of data of this data source.
|
Copyright © 2016. All rights reserved.