public static class ApkVerifier.Result.V1SchemeSignerInfo extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
containsErrors()
Returns
true if an error was encountered while verifying this signer's JAR
signature. |
X509Certificate |
getCertificate()
Returns this signer's signing certificate or
null if not available. |
List<X509Certificate> |
getCertificateChain()
Returns the certificate chain for the signer's public key.
|
List<ApkVerifier.IssueWithParams> |
getErrors()
Returns errors encountered while verifying this signer's JAR signature.
|
String |
getName()
Returns a user-friendly name of the signer.
|
String |
getSignatureBlockFileName()
Returns the name of the JAR entry containing this signer's JAR signature block file.
|
String |
getSignatureFileName()
Returns the name of the JAR entry containing this signer's JAR signature file.
|
List<ApkVerifier.IssueWithParams> |
getWarnings()
Returns warnings encountered while verifying this signer's JAR signature.
|
public String getName()
public String getSignatureBlockFileName()
public String getSignatureFileName()
public X509Certificate getCertificate()
null
if not available. The
certificate is guaranteed to be available if no errors were encountered during
verification (see containsErrors()
.
This certificate contains the signer's public key.
public List<X509Certificate> getCertificateChain()
containsErrors()
).public boolean containsErrors()
true
if an error was encountered while verifying this signer's JAR
signature. Any error prevents the signer's signature from being considered verified.public List<ApkVerifier.IssueWithParams> getErrors()
public List<ApkVerifier.IssueWithParams> getWarnings()
Copyright © 2016. All rights reserved.