public static interface ApkSignerEngine.OutputApkSigningBlockRequest2
The APK Signing Block returned by getApkSigningBlock() must be placed into the
output APK such that the block is immediately before the ZIP Central Directory. Immediately
before the APK Signing Block must be padding consists of the number of 0x00 bytes returned by
getPaddingSizeBeforeApkSigningBlock(). The offset of ZIP Central Directory in the
ZIP End of Central Directory record must be adjusted accordingly, and then done()
must be invoked.
If the output contains an APK Signing Block, that block must be replaced by the block contained in this request.
| Modifier and Type | Method and Description |
|---|---|
void |
done()
Indicates that the APK Signing Block was output as requested.
|
byte[] |
getApkSigningBlock()
Returns the APK Signing Block.
|
int |
getPaddingSizeBeforeApkSigningBlock()
Returns the number of 0x00 bytes the caller must place immediately before APK Signing
Block.
|
byte[] getApkSigningBlock()
void done()
int getPaddingSizeBeforeApkSigningBlock()