public static class ApkUtils.ApkSigningBlock
extends java.lang.Object
| Constructor and Description |
|---|
ApkSigningBlock(long startOffsetInApk,
DataSource contents)
Constructs a new
ApkSigningBlock. |
| Modifier and Type | Method and Description |
|---|---|
DataSource |
getContents()
Returns the data source which provides the full contents of the APK Signing Block,
including its footer.
|
long |
getStartOffset()
Returns the start offset (in bytes, relative to start of file) of the APK Signing Block.
|
public ApkSigningBlock(long startOffsetInApk,
DataSource contents)
ApkSigningBlock.startOffsetInApk - start offset (in bytes, relative to start of file) of the APK
Signing Block inside the APK filecontents - contents of the APK Signing Blockpublic long getStartOffset()
public DataSource getContents()