public static enum ApkVerifier.Issue extends Enum<ApkVerifier.Issue>
| Enum Constant and Description | 
|---|
| APK_SIG_BLOCK_UNKNOWN_ENTRY_IDAPK Signing Block contains an unknown entry. | 
| JAR_SIG_DID_NOT_VERIFYJAR signature contained in a signature block file did not verify against the signature
 file. | 
| JAR_SIG_DUPLICATE_MANIFEST_SECTIONJAR manifest contains a section with a duplicate name. | 
| JAR_SIG_DUPLICATE_SIG_FILE_SECTIONJAR signature file contains a section with a duplicate name. | 
| JAR_SIG_DUPLICATE_ZIP_ENTRYAPK contains multiple entries with the same name. | 
| JAR_SIG_MALFORMED_CERTIFICATEAn exception was encountered while parsing a certificate contained in the JAR signature
 block. | 
| JAR_SIG_MANIFEST_MAIN_SECTION_DIGEST_DID_NOT_VERIFYDigest of the JAR manifest main section did not verify. | 
| JAR_SIG_MANIFEST_SECTION_DIGEST_DID_NOT_VERIFYDigest of the specified JAR manifest section does not match the digest expected by the
 JAR signature. | 
| JAR_SIG_MISSINGAPK which is both JAR-signed and signed using APK Signature Scheme v2 contains an APK
 Signature Scheme v2 signature from this signer, but does not contain a JAR signature
 from this signer. | 
| JAR_SIG_MISSING_APK_SIG_REFERENCEDJAR signature file indicates that the APK is supposed to be signed with a supported APK
 signature scheme (in addition to the JAR signature) but no such signature was found in
 the APK. | 
| JAR_SIG_MISSING_FILEJAR signature of the signer is missing a file/entry. | 
| JAR_SIG_MISSING_VERSION_ATTR_IN_SIG_FILEJAR signature file's main section doesn't contain the mandatory Signature-Version
 attribute. | 
| JAR_SIG_MISSING_ZIP_ENTRY_REFERENCED_IN_MANIFESTJAR manifest references an entry which is not there in the APK. | 
| JAR_SIG_NO_APK_SIG_STRIP_PROTECTIONAPK is signed using APK Signature Scheme v2 or newer, but JAR signature file does not
 contain protections against stripping of these newer scheme signatures. | 
| JAR_SIG_NO_MANIFESTAPK is missing the JAR manifest entry (META-INF/MANIFEST.MF). | 
| JAR_SIG_NO_MANIFEST_DIGEST_IN_SIG_FILEJAR signature file does not contain the whole-file digest of the JAR manifest file. | 
| JAR_SIG_NO_SIGNATURESAPK is not JAR-signed. | 
| JAR_SIG_NO_SIGNED_ZIP_ENTRIESAPK does not contain any entries covered by JAR signatures. | 
| JAR_SIG_NO_SIGNERSJAR signature contains no verified signers. | 
| JAR_SIG_NO_ZIP_ENTRY_DIGEST_IN_MANIFESTJAR manifest does not list a digest for the specified entry. | 
| JAR_SIG_NO_ZIP_ENTRY_DIGEST_IN_SIG_FILEJAR signature does not list a digest for the specified entry. | 
| JAR_SIG_PARSE_EXCEPTIONAn exception was encountered while parsing JAR signature contained in a signature block. | 
| JAR_SIG_UNKNOWN_APK_SIG_SCHEME_IDJAR signature file references an unknown APK signature scheme ID. | 
| JAR_SIG_UNNNAMED_MANIFEST_SECTIONJAR manifest contains a section without a name. | 
| JAR_SIG_UNNNAMED_SIG_FILE_SECTIONJAR signature file contains a section without a name. | 
| JAR_SIG_UNPROTECTED_ZIP_ENTRYJAR entry is not covered by signature and thus unauthorized modifications to its contents
 will not be detected. | 
| JAR_SIG_UNSUPPORTED_SIG_ALGJAR signature contains unsupported digest algorithm. | 
| JAR_SIG_VERIFY_EXCEPTIONAn exception was encountered while verifying JAR signature contained in a signature block
 against the signature file. | 
| JAR_SIG_ZIP_ENTRY_DIGEST_DID_NOT_VERIFYDigest of the specified ZIP entry's data does not match the digest expected by the JAR
 signature. | 
| JAR_SIG_ZIP_ENTRY_NOT_SIGNEDThe specified JAR entry is not covered by JAR signature. | 
| JAR_SIG_ZIP_ENTRY_SIGNERS_MISMATCHJAR signature uses different set of signers to protect the two specified ZIP entries. | 
| V2_SIG_APK_DIGEST_DID_NOT_VERIFYThe APK's digest does not match the digest contained in the APK Signature Scheme v2
 signature. | 
| V2_SIG_DID_NOT_VERIFYAPK Signature Scheme v2 signature over this signer's signed-data block did not verify. | 
| V2_SIG_MALFORMED_ADDITIONAL_ATTRIBUTEThis APK Signature Scheme v2 signer contains a malformed additional attribute. | 
| V2_SIG_MALFORMED_CERTIFICATEThis APK Signature Scheme v2 signer's certificate could not be parsed. | 
| V2_SIG_MALFORMED_DIGESTFailed to parse this signer's digest record contained in the APK Signature Scheme v2
 signature. | 
| V2_SIG_MALFORMED_PUBLIC_KEYPublic key embedded in the APK Signature Scheme v2 signature of this signer could not be
 parsed. | 
| V2_SIG_MALFORMED_SIGNATUREFailed to parse this signer's signature record contained in the APK Signature Scheme v2
 signature. | 
| V2_SIG_MALFORMED_SIGNERFailed to parse this signer's signer block contained in the APK Signature Scheme v2
 signature. | 
| V2_SIG_MALFORMED_SIGNERSFailed to parse the list of signers contained in the APK Signature Scheme v2 signature. | 
| V2_SIG_MISSINGAPK which is both JAR-signed and signed using APK Signature Scheme v2 contains a JAR
 signature from this signer, but does not contain an APK Signature Scheme v2 signature
 from this signer. | 
| V2_SIG_NO_CERTIFICATESThis APK Signature Scheme v2 signer offers no certificates. | 
| V2_SIG_NO_SIGNATURESThis APK Signature Scheme v2 signer offers no signatures. | 
| V2_SIG_NO_SIGNERSAPK Signature Scheme v2 signature contains no signers. | 
| V2_SIG_NO_SUPPORTED_SIGNATURESThis APK Signature Scheme v2 signer offers signatures but none of them are supported. | 
| V2_SIG_PUBLIC_KEY_MISMATCH_BETWEEN_CERTIFICATE_AND_SIGNATURES_RECORDThis APK Signature Scheme v2 signer's public key listed in the signer's certificate does
 not match the public key listed in the signatures record. | 
| V2_SIG_SIG_ALG_MISMATCH_BETWEEN_SIGNATURES_AND_DIGESTS_RECORDSThis APK Signature Scheme v2 signer's signature algorithms listed in the signatures
 record do not match the signature algorithms listed in the signatures record. | 
| V2_SIG_UNKNOWN_ADDITIONAL_ATTRIBUTEThis APK Signature Scheme v2 signer contains an unknown additional attribute. | 
| V2_SIG_UNKNOWN_SIG_ALGORITHMThis APK Signature Scheme v2 signer contains a signature produced using an unknown
 algorithm. | 
| V2_SIG_VERIFY_EXCEPTIONAn exception was encountered while verifying APK Signature Scheme v2 signature of this
 signer. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ApkVerifier.Issue | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static ApkVerifier.Issue[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final ApkVerifier.Issue JAR_SIG_NO_SIGNATURES
public static final ApkVerifier.Issue JAR_SIG_NO_SIGNED_ZIP_ENTRIES
public static final ApkVerifier.Issue JAR_SIG_DUPLICATE_ZIP_ENTRY
String)public static final ApkVerifier.Issue JAR_SIG_DUPLICATE_MANIFEST_SECTION
String)public static final ApkVerifier.Issue JAR_SIG_UNNNAMED_MANIFEST_SECTION
Integer)public static final ApkVerifier.Issue JAR_SIG_UNNNAMED_SIG_FILE_SECTION
String)Integer)public static final ApkVerifier.Issue JAR_SIG_NO_MANIFEST
public static final ApkVerifier.Issue JAR_SIG_MISSING_ZIP_ENTRY_REFERENCED_IN_MANIFEST
String)public static final ApkVerifier.Issue JAR_SIG_NO_ZIP_ENTRY_DIGEST_IN_MANIFEST
String)public static final ApkVerifier.Issue JAR_SIG_NO_ZIP_ENTRY_DIGEST_IN_SIG_FILE
String)String)public static final ApkVerifier.Issue JAR_SIG_ZIP_ENTRY_NOT_SIGNED
String)public static final ApkVerifier.Issue JAR_SIG_ZIP_ENTRY_SIGNERS_MISMATCH
String)List<String>)String)List<String>)public static final ApkVerifier.Issue JAR_SIG_ZIP_ENTRY_DIGEST_DID_NOT_VERIFY
String)String)String)String)String)public static final ApkVerifier.Issue JAR_SIG_MANIFEST_MAIN_SECTION_DIGEST_DID_NOT_VERIFY
String)String)String)String)public static final ApkVerifier.Issue JAR_SIG_MANIFEST_SECTION_DIGEST_DID_NOT_VERIFY
String)String)String)String)String)public static final ApkVerifier.Issue JAR_SIG_NO_MANIFEST_DIGEST_IN_SIG_FILE
String)public static final ApkVerifier.Issue JAR_SIG_NO_APK_SIG_STRIP_PROTECTION
String)public static final ApkVerifier.Issue JAR_SIG_MISSING_FILE
String)String)public static final ApkVerifier.Issue JAR_SIG_VERIFY_EXCEPTION
String)String)Throwable)public static final ApkVerifier.Issue JAR_SIG_UNSUPPORTED_SIG_ALG
String)String)String)String)public static final ApkVerifier.Issue JAR_SIG_PARSE_EXCEPTION
String)Throwable)public static final ApkVerifier.Issue JAR_SIG_MALFORMED_CERTIFICATE
String)Throwable)public static final ApkVerifier.Issue JAR_SIG_DID_NOT_VERIFY
String)String)public static final ApkVerifier.Issue JAR_SIG_NO_SIGNERS
String)public static final ApkVerifier.Issue JAR_SIG_DUPLICATE_SIG_FILE_SECTION
String)String)public static final ApkVerifier.Issue JAR_SIG_MISSING_VERSION_ATTR_IN_SIG_FILE
String)public static final ApkVerifier.Issue JAR_SIG_UNKNOWN_APK_SIG_SCHEME_ID
String)public static final ApkVerifier.Issue JAR_SIG_MISSING_APK_SIG_REFERENCED
String)public static final ApkVerifier.Issue JAR_SIG_UNPROTECTED_ZIP_ENTRY
String)public static final ApkVerifier.Issue JAR_SIG_MISSING
public static final ApkVerifier.Issue V2_SIG_MISSING
public static final ApkVerifier.Issue V2_SIG_MALFORMED_SIGNERS
public static final ApkVerifier.Issue V2_SIG_MALFORMED_SIGNER
public static final ApkVerifier.Issue V2_SIG_MALFORMED_PUBLIC_KEY
Throwable)public static final ApkVerifier.Issue V2_SIG_MALFORMED_CERTIFICATE
0-based) of the certificate in the signer's list of
     certificates (Integer)1-based) of the certificate in the signer's
     list of certificates (Integer)Throwable)public static final ApkVerifier.Issue V2_SIG_MALFORMED_SIGNATURE
1) (Integer)public static final ApkVerifier.Issue V2_SIG_MALFORMED_DIGEST
1) (Integer)public static final ApkVerifier.Issue V2_SIG_MALFORMED_ADDITIONAL_ATTRIBUTE
1) Integer)public static final ApkVerifier.Issue V2_SIG_NO_SIGNERS
public static final ApkVerifier.Issue V2_SIG_UNKNOWN_SIG_ALGORITHM
Integer)public static final ApkVerifier.Issue V2_SIG_UNKNOWN_ADDITIONAL_ATTRIBUTE
Integer)public static final ApkVerifier.Issue V2_SIG_VERIFY_EXCEPTION
SignatureAlgorithm)Throwable)public static final ApkVerifier.Issue V2_SIG_DID_NOT_VERIFY
SignatureAlgorithm)public static final ApkVerifier.Issue V2_SIG_NO_SIGNATURES
public static final ApkVerifier.Issue V2_SIG_NO_SUPPORTED_SIGNATURES
public static final ApkVerifier.Issue V2_SIG_NO_CERTIFICATES
public static final ApkVerifier.Issue V2_SIG_PUBLIC_KEY_MISMATCH_BETWEEN_CERTIFICATE_AND_SIGNATURES_RECORD
String)String)public static final ApkVerifier.Issue V2_SIG_SIG_ALG_MISMATCH_BETWEEN_SIGNATURES_AND_DIGESTS_RECORDS
List<Integer>)List<Integer>)public static final ApkVerifier.Issue V2_SIG_APK_DIGEST_DID_NOT_VERIFY
ContentDigestAlgorithm)String)String)public static final ApkVerifier.Issue APK_SIG_BLOCK_UNKNOWN_ENTRY_ID
Integer)public static ApkVerifier.Issue[] values()
for (ApkVerifier.Issue c : ApkVerifier.Issue.values()) System.out.println(c);
public static ApkVerifier.Issue valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016. All rights reserved.