Home
last modified time | relevance | path

Searched refs:verifySignature (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/security/
DVerityUtilsTest.java98 assertTrue(verifySignature(pkcs7Signature, SAMPLE_DIGEST, mCertificateDerEncoded)); in testOnlyAcceptCorrectDigest()
99 assertFalse(verifySignature(pkcs7Signature, anotherDigest, mCertificateDerEncoded)); in testOnlyAcceptCorrectDigest()
106 assertTrue(verifySignature(pkcs7Signature, SAMPLE_DIGEST, mCertificateDerEncoded)); in testDigestWithWrongSize()
109 assertFalse(verifySignature(pkcs7Signature, digestTooShort, mCertificateDerEncoded)); in testDigestWithWrongSize()
112 assertFalse(verifySignature(pkcs7Signature, digestTooLong, mCertificateDerEncoded)); in testDigestWithWrongSize()
126 assertTrue(verifySignature(pkcs7Signature, SAMPLE_DIGEST, mCertificateDerEncoded)); in testOnlyAcceptGoodSignature()
127 assertFalse(verifySignature(anotherPkcs7Signature, SAMPLE_DIGEST, mCertificateDerEncoded)); in testOnlyAcceptGoodSignature()
141 assertFalse(verifySignature(pkcs7Signature, SAMPLE_DIGEST, wrongCertificateDerEncoded)); in testOnlyValidCertCanVerify()
153 verifySignature(pkcs7SignatureNonDetached, SAMPLE_DIGEST, mCertificateDerEncoded)); in testRejectSignatureWithContent()
166 verifySignature(pkcs7Signature, SAMPLE_DIGEST, mCertificateDerEncoded)); in testRejectSignatureWithCertificate()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java171 verifySignature(content, version, requiredHash, sig, createCertificate())); in createSignature()
175 public boolean verifySignature(String content, String version, String requiredPrevious, in verifySignature() method in CertPinInstallReceiverTest
/frameworks/base/services/core/java/com/android/server/compat/overrides/
DAppCompatOverridesParser.java213 if (!verifySignature(packageName, signature)) { in parsePackageOverrides()
303 private boolean verifySignature(String packageName, String signature) { in verifySignature() method in AppCompatOverridesParser
/frameworks/base/services/core/java/com/android/server/signedconfig/
DSignatureVerifier.java94 public boolean verifySignature(String config, String base64Signature) in verifySignature() method in SignatureVerifier
DGlobalSettingsConfigApplicator.java83 return mVerifier.verifySignature(data, signature); in checkSignature()
/frameworks/base/services/core/java/com/android/server/pm/
DApkChecksums.java266 public static @NonNull Certificate[] verifySignature(Checksum[] checksums, byte[] signature) in verifySignature() method in ApkChecksums
455 final Certificate[] certificates = verifySignature(digests, in getInstallerChecksums()
DPackageInstallerSession.java1694 Certificate[] ignored = ApkChecksums.verifySignature(checksums, signature); in setChecksums()
3932 Certificate[] ignored = ApkChecksums.verifySignature(checksums, signature);
/frameworks/base/config/
Dboot-image-profile.txt31912 HSPLsun/security/provider/certpath/BasicChecker;->verifySignature(Ljava/security/cert/X509Certifica…
31939 HSPLsun/security/provider/certpath/OCSPResponse;->verifySignature(Ljava/security/cert/X509Certifica…