public static class ApkVerifier.Result.V1SchemeSignerInfo
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsErrors()
Returns
true if an error was encountered while verifying this signer's JAR
signature. |
java.security.cert.X509Certificate |
getCertificate()
Returns this signer's signing certificate or
null if not available. |
java.util.List<java.security.cert.X509Certificate> |
getCertificateChain()
Returns the certificate chain for the signer's public key.
|
java.util.List<ApkVerifier.IssueWithParams> |
getErrors()
Returns errors encountered while verifying this signer's JAR signature.
|
java.lang.String |
getName()
Returns a user-friendly name of the signer.
|
java.lang.String |
getSignatureBlockFileName()
Returns the name of the JAR entry containing this signer's JAR signature block file.
|
java.lang.String |
getSignatureFileName()
Returns the name of the JAR entry containing this signer's JAR signature file.
|
java.util.List<ApkVerifier.IssueWithParams> |
getWarnings()
Returns warnings encountered while verifying this signer's JAR signature.
|
public java.lang.String getName()
public java.lang.String getSignatureBlockFileName()
public java.lang.String getSignatureFileName()
public java.security.cert.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 java.util.List<java.security.cert.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 java.util.List<ApkVerifier.IssueWithParams> getErrors()
public java.util.List<ApkVerifier.IssueWithParams> getWarnings()