Searched refs:V3SchemeConstants (Results 1 – 14 of 14) sorted by relevance
64 V3SchemeConstants.APK_SIGNATURE_SCHEME_V3_BLOCK_ID;65 public static final int PROOF_OF_ROTATION_ATTR_ID = V3SchemeConstants.PROOF_OF_ROTATION_ATTR_ID;168 .setBlockId(V3SchemeConstants.APK_SIGNATURE_SCHEME_V3_BLOCK_ID) in generateApkSignatureSchemeV3Block()184 result.putInt(V3SchemeConstants.PROOF_OF_ROTATION_ATTR_ID); in generateV3SignerAttribute()199 result.putInt(V3SchemeConstants.ROTATION_MIN_SDK_VERSION_ATTR_ID); in generateV3RotationMinSdkVersionStrippingProtectionAttribute()213 result.putInt(V3SchemeConstants.ROTATION_ON_DEV_RELEASE_ATTR_ID); in generateV31RotationTargetsDevReleaseAttribute()386 || mBlockId != V3SchemeConstants.APK_SIGNATURE_SCHEME_V31_BLOCK_ID) { in generateAdditionalAttributes()428 private int mBlockId = V3SchemeConstants.APK_SIGNATURE_SCHEME_V3_BLOCK_ID;
140 .setBlockId(V3SchemeConstants.APK_SIGNATURE_SCHEME_V3_BLOCK_ID) in verify()551 if (id == V3SchemeConstants.PROOF_OF_ROTATION_ATTR_ID) { in parseSigner()569 } else if (id == V3SchemeConstants.ROTATION_MIN_SDK_VERSION_ATTR_ID) { in parseSigner()573 if (mMaxSdkVersion >= V3SchemeConstants.MIN_SDK_WITH_V31_SUPPORT in parseSigner()587 } else if (id == V3SchemeConstants.ROTATION_ON_DEV_RELEASE_ATTR_ID) { in parseSigner()591 if (mBlockId != V3SchemeConstants.APK_SIGNATURE_SCHEME_V31_BLOCK_ID) { in parseSigner()619 private int mBlockId = V3SchemeConstants.APK_SIGNATURE_SCHEME_V3_BLOCK_ID;726 case V3SchemeConstants.APK_SIGNATURE_SCHEME_V3_BLOCK_ID: in build()729 V3SchemeConstants.MIN_SDK_WITH_V3_SUPPORT); in build()731 case V3SchemeConstants.APK_SIGNATURE_SCHEME_V31_BLOCK_ID: in build()
22 public class V3SchemeConstants { class23 private V3SchemeConstants() {} in V3SchemeConstants() method in V3SchemeConstants
22 import com.android.apksig.internal.apk.v3.V3SchemeConstants;49 V3SchemeConstants.APK_SIGNATURE_SCHEME_V3_BLOCK_ID;51 V3SchemeConstants.APK_SIGNATURE_SCHEME_V31_BLOCK_ID;52 public static final int PROOF_OF_ROTATION_ATTR_ID = V3SchemeConstants.PROOF_OF_ROTATION_ATTR_ID;
26 import com.android.apksig.internal.apk.v3.V3SchemeConstants;207 V3SchemeConstants.APK_SIGNATURE_SCHEME_V31_BLOCK_ID, result)); in readFromApkDataSource()217 V3SchemeConstants.APK_SIGNATURE_SCHEME_V3_BLOCK_ID, result)); in readFromApkDataSource()293 if (id == V3SchemeConstants.PROOF_OF_ROTATION_ATTR_ID) { in readFromSignedData()
25 import static com.android.apksig.internal.apk.v3.V3SchemeConstants.MIN_SDK_WITH_V31_SUPPORT;26 import static com.android.apksig.internal.apk.v3.V3SchemeConstants.MIN_SDK_WITH_V3_SUPPORT;39 import com.android.apksig.internal.apk.v3.V3SchemeConstants;1083 .setBlockId(V3SchemeConstants.APK_SIGNATURE_SCHEME_V31_BLOCK_ID) in outputZipSectionsInternal()1092 .setBlockId(V3SchemeConstants.APK_SIGNATURE_SCHEME_V3_BLOCK_ID); in outputZipSectionsInternal()1728 private int mRotationMinSdkVersion = V3SchemeConstants.DEFAULT_ROTATION_MIN_SDK_VERSION;
20 import static com.android.apksig.internal.apk.v3.V3SchemeConstants.MIN_SDK_WITH_V31_SUPPORT;21 import static com.android.apksig.internal.apk.v3.V3SchemeConstants.MIN_SDK_WITH_V3_SUPPORT;27 import com.android.apksig.internal.apk.v3.V3SchemeConstants;1107 private int mRotationMinSdkVersion = V3SchemeConstants.DEFAULT_ROTATION_MIN_SDK_VERSION;
27 import static com.android.apksig.internal.apk.v3.V3SchemeConstants.MIN_SDK_WITH_V31_SUPPORT;43 import com.android.apksig.internal.apk.v3.V3SchemeConstants;215 .setBlockId(V3SchemeConstants.APK_SIGNATURE_SCHEME_V31_BLOCK_ID) in verify()239 .setBlockId(V3SchemeConstants.APK_SIGNATURE_SCHEME_V3_BLOCK_ID); in verify()899 ? V3SchemeConstants.APK_SIGNATURE_SCHEME_V3_BLOCK_ID in getApkContentDigests()1602 attrId -> attrId == V3SchemeConstants.ROTATION_ON_DEV_RELEASE_ATTR_ID); in V3SchemeSignerInfo()
38 import com.android.apksig.internal.apk.v3.V3SchemeConstants;219 V3SchemeConstants.APK_SIGNATURE_SCHEME_V3_BLOCK_ID); in verifySourceStamp()
21 import static com.android.apksig.internal.apk.v3.V3SchemeConstants.APK_SIGNATURE_SCHEME_V3_BLOCK_ID;29 import com.android.apksig.internal.apk.v3.V3SchemeConstants;221 V3SchemeConstants.APK_SIGNATURE_SCHEME_V31_BLOCK_ID, in generateSignature()
38 import com.android.apksig.internal.apk.v3.V3SchemeConstants;1762 .setMinSdkVersion(V3SchemeConstants.MIN_SDK_WITH_V31_SUPPORT) in testSetMinSdkVersionForRotation_targetTAndApkMinSdkT_onlySignsV3Block()1763 .setMinSdkVersionForRotation(V3SchemeConstants.MIN_SDK_WITH_V31_SUPPORT) in testSetMinSdkVersionForRotation_targetTAndApkMinSdkT_onlySignsV3Block()1766 V3SchemeConstants.MIN_SDK_WITH_V31_SUPPORT); in testSetMinSdkVersionForRotation_targetTAndApkMinSdkT_onlySignsV3Block()1830 int rotationMinSdkVersion = V3SchemeConstants.MIN_SDK_WITH_V31_SUPPORT + 1; in testSetRotationTargetsDevRelease_target34_v30SignerTargetsAtLeast34()1908 .setMinSdkVersionForRotation(V3SchemeConstants.MIN_SDK_WITH_V31_SUPPORT) in testV31_rotationMinSdkVersionEqualsMinSdkVersion_v3SignerPresent()1933 .setMinSdkVersionForRotation(V3SchemeConstants.MIN_SDK_WITH_V31_SUPPORT)); in testV31_rotationMinSdkVersionTWithoutLineage_v30VerificationSucceeds()2279 signatureVersionBlockId = V3SchemeConstants.APK_SIGNATURE_SCHEME_V3_BLOCK_ID; in getRSAPublicKeyFromSigningBlock()
28 import com.android.apksig.internal.apk.v3.V3SchemeConstants;286 V3SchemeConstants.PROOF_OF_ROTATION_ATTR_ID, id); in testLineageFromV3SignerAttribute()
33 import com.android.apksig.internal.apk.v3.V3SchemeConstants;1540 V3SchemeConstants.MIN_SDK_WITH_V31_SUPPORT - 1); in verifyV31_strippingAttrMismatch_errorReportedOnSupportedVersions()1554 V3SchemeConstants.MIN_SDK_WITH_V31_SUPPORT - 1); in verifyV31_missingV31Block_errorReportedOnSupportedVersions()
25 import com.android.apksig.internal.apk.v3.V3SchemeConstants;154 int rotationMinSdkVersion = V3SchemeConstants.DEFAULT_ROTATION_MIN_SDK_VERSION; in sign()