Home
last modified time | relevance | path

Searched refs:generateCertificate (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/net/http/
DSslCertificateTest.java49 X509Certificate x509Certificate = generateCertificate(Issue1597Certificate); in testSslCertificateWithEmptyIssuer()
102 X509Certificate x509Certificate = generateCertificate(Issue41662Certificate); in testSslCertificateWithMultipleCN()
110 private static X509Certificate generateCertificate(String pem) throws Exception { in generateCertificate() method in SslCertificateTest
112 return (X509Certificate) cf.generateCertificate(new ByteArrayInputStream(pem.getBytes())); in generateCertificate()
/frameworks/base/core/java/android/security/keystore/recovery/
DX509CertificateParsingUtils.java80 return (X509Certificate) certFactory.generateCertificate(inStream); in decodeCert()
/frameworks/base/core/java/android/net/vcn/persistablebundleutils/
DCertUtils.java47 return (X509Certificate) certFactory.generateCertificate(in); in certificateFromByteArray()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/certificate/
DTestData.java289 return (X509Certificate) cf.generateCertificate(new ByteArrayInputStream(bytes)); in decodeBase64Cert()
/frameworks/base/core/java/android/content/pm/
DSignature.java227 final Certificate cert = certFactory.generateCertificate(bais); in getPublicKey()
380 final X509Certificate cert = (X509Certificate) cf.generateCertificate(is); in bounce()
DApkChecksum.java115 final X509Certificate cert = (X509Certificate) cf.generateCertificate(is); in getInstallerCertificate()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DImsiEncryptionInfoTest.java77 return cf.generateCertificate(istream).getPublicKey(); in createPublicKey()
/frameworks/base/tests/vcn/java/android/net/vcn/persistablebundleutils/
DEapSessionConfigUtilsTest.java103 (X509Certificate) factory.generateCertificate(inputStream); in testSetEapTtlsEncodeDecodeIsLossless()
DIkeSessionParamsUtilsTest.java153 return (X509Certificate) factory.generateCertificate(openAssetsFile(fileName)); in createCertFromPemFile()
/frameworks/base/keystore/java/android/security/
DCredentials.java199 Certificate c = cf.generateCertificate( in convertFromPem()
DKeyChain.java942 Certificate cert = certFactory.generateCertificate(new ByteArrayInputStream(bytes)); in toCertificate()
/frameworks/base/services/core/java/com/android/server/security/
DFileIntegrityService.java181 Certificate certificate = sCertFactory.generateCertificate(new ByteArrayInputStream(bytes)); in toCertificate()
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV4Verifier.java146 certFactory.generateCertificate(new ByteArrayInputStream(encodedCert)); in verifySigner()
DApkSignatureSchemeV2Verifier.java335 certFactory.generateCertificate(new ByteArrayInputStream(encodedCert)); in verifySigner()
DApkSignatureSchemeV3Verifier.java350 certFactory.generateCertificate(new ByteArrayInputStream(encodedCert)); in verifySigner()
DSourceStampVerifier.java246 certFactory.generateCertificate( in verifySourceStampCertificate()
DApkSigningBlockUtils.java882 certFactory.generateCertificate(new ByteArrayInputStream(encodedCert)); in verifyProofOfRotationStruct()
/frameworks/base/core/java/android/security/net/config/
DDirectoryCertificateSource.java228 return (X509Certificate) mCertFactory.generateCertificate(is);
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java152 return (X509Certificate) cf.generateCertificate(istream); in createCertificate()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DCertificateMonitor.java228 return (X509Certificate) certFactory.generateCertificate(new ByteArrayInputStream( in parseCert()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
DCertUtils.java109 return (X509Certificate) certFactory.generateCertificate(inStream); in decodeCert()
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DNetworkSecurityConfigTests.java90 Certificate cert = factory.generateCertificate(new ByteArrayInputStream(TEST_CA_BYTES));
/frameworks/base/core/java/android/net/http/
DSslCertificate.java134 Certificate cert = certFactory.generateCertificate(new ByteArrayInputStream(bytes)); in restoreState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierKeyDownloadManager.java583 X509Certificate cert = (X509Certificate) cf.generateCertificate(inStream); in getKeyInformation()
/frameworks/base/services/core/java/com/android/server/integrity/
DAppIntegrityManagerServiceImpl.java553 certificate = (X509Certificate) factory.generateCertificate(input); in getFingerprint()

12