Searched refs:verifySignature (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/security/ |
D | VerityUtilsTest.java | 98 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/ |
D | CertPinInstallReceiverTest.java | 171 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/ |
D | AppCompatOverridesParser.java | 213 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/ |
D | SignatureVerifier.java | 94 public boolean verifySignature(String config, String base64Signature) in verifySignature() method in SignatureVerifier
|
D | GlobalSettingsConfigApplicator.java | 83 return mVerifier.verifySignature(data, signature); in checkSignature()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ApkChecksums.java | 266 public static @NonNull Certificate[] verifySignature(Checksum[] checksums, byte[] signature) in verifySignature() method in ApkChecksums 455 final Certificate[] certificates = verifySignature(digests, in getInstallerChecksums()
|
D | PackageInstallerSession.java | 1694 Certificate[] ignored = ApkChecksums.verifySignature(checksums, signature); in setChecksums() 3932 Certificate[] ignored = ApkChecksums.verifySignature(checksums, signature);
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 31912 HSPLsun/security/provider/certpath/BasicChecker;->verifySignature(Ljava/security/cert/X509Certifica… 31939 HSPLsun/security/provider/certpath/OCSPResponse;->verifySignature(Ljava/security/cert/X509Certifica…
|