Class APKSigSchemeV3Block

java.lang.Object
com.pnfsoftware.jeb.core.units.code.android.APKSigSchemeV2Block
com.pnfsoftware.jeb.core.units.code.android.APKSigSchemeV3Block

@Ser public class APKSigSchemeV3Block extends APKSigSchemeV2Block
The APK signature scheme version 3 is an extension of version 2. Note that this parser should also be able to parse versions 3.1 and version 4 of the signature scheme.

Reference: https://source.android.com/docs/security/features/apksigning/v3

  • Field Details

    • PROOF_OF_ROTATION_ATTR_ID

      public static final int PROOF_OF_ROTATION_ATTR_ID
      See Also:
    • ROTATION_MIN_SDK_VERSION_ATTR_ID

      public static final int ROTATION_MIN_SDK_VERSION_ATTR_ID
      See Also:
    • ROTATION_ON_DEV_RELEASE_ATTR_ID

      public static final int ROTATION_ON_DEV_RELEASE_ATTR_ID
      See Also:
  • Constructor Details

    • APKSigSchemeV3Block

      public APKSigSchemeV3Block(ByteBuffer b)
    • APKSigSchemeV3Block

      public APKSigSchemeV3Block(ByteBuffer b, int minorVersion)
  • Method Details

    • getMinorVersion

      public int getMinorVersion()
      Returns:
      the minor version: 0 for a 3.0 signing block, 1 for a 3.1 signing block
    • parse

      protected void parse(int available)
      Overrides:
      parse in class APKSigSchemeV2Block