Searched refs:pkcs7Signature (Results 1 – 3 of 3) sorted by relevance
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/security/ |
H A D | VerityUtilsTest.java | 92 byte[] pkcs7Signature = in testOnlyAcceptCorrectDigest() 104 byte[] pkcs7Signature = in testDigestWithWrongSize() 117 byte[] pkcs7Signature = in testOnlyAcceptGoodSignature() 132 byte[] pkcs7Signature = in testOnlyValidCertCanVerify() 161 byte[] pkcs7Signature = in testRejectSignatureWithCertificate() 166 verifySignature(pkcs7Signature, SAMPLE_DIGEST, mCertificateDerEncoded)); in testRejectSignatureWithCertificate() 178 byte[] pkcs7Signature = in testRejectSignatureWithCRL() 183 verifySignature(pkcs7Signature, SAMPLE_DIGEST, mCertificateDerEncoded)); in testRejectSignatureWithCRL() 191 byte[] pkcs7Signature = in testRejectUnsupportedSignatureAlgorithms() 206 byte[] pkcs7Signature = in testRejectUnsupportedDigestAlgorithm() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/graphics/fonts/ |
H A D | UpdatableFontDir.java | 79 boolean isFromTrustedProvider(String path, byte[] pkcs7Signature); in isFromTrustedProvider() argument 328 private void installFontFile(FileDescriptor fd, byte[] pkcs7Signature) in installFontFile() argument 392 out.write(pkcs7Signature); in installFontFile() 406 FontFileInfo fontFileInfo = validateFontFile(newFontFile, pkcs7Signature); in installFontFile() 536 private FontFileInfo validateFontFile(File file, byte[] pkcs7Signature) in validateFontFile() argument 538 if (!mFsverityUtil.isFromTrustedProvider(file.getAbsolutePath(), pkcs7Signature)) { in validateFontFile()
|
H A D | FontManagerService.java | 171 public boolean isFromTrustedProvider(String fontPath, byte[] pkcs7Signature) { in isFromTrustedProvider() argument 179 if (VerityUtils.verifyPkcs7DetachedSignature(pkcs7Signature, digest, is)) { in isFromTrustedProvider()
|