Home
last modified time | relevance | path

Searched refs:generateCertificate (Results 1 – 25 of 35) 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/wifi/tests/src/android/net/wifi/
DFakeKeys.java222 return (X509Certificate) certFactory.generateCertificate(stream); in loadCertificate()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DWfaCertBuilder.java54 Certificate cert = certFactory.generateCertificate(fis); in loadCertsFromDisk()
/frameworks/base/core/java/android/content/pm/
DSignature.java223 final Certificate cert = certFactory.generateCertificate(bais); in getPublicKey()
366 final X509Certificate cert = (X509Certificate) cf.generateCertificate(is); in bounce()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DFakeKeys.java642 return (X509Certificate) certFactory.generateCertificate(stream); in loadCertificate()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/certificate/
DTestData.java289 return (X509Certificate) cf.generateCertificate(new ByteArrayInputStream(bytes)); in decodeBase64Cert()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DImsiEncryptionInfoTest.java77 return cf.generateCertificate(istream).getPublicKey(); in createPublicKey()
/frameworks/base/wifi/java/android/net/wifi/
DParcelUtil.java120 .generateCertificate(new ByteArrayInputStream(certBytes)); in readCertificate()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProvisioningTestUtil.java134 Certificate cert = certFactory.generateCertificate(bis); in getOsuCertsForTest()
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV4Verifier.java136 certFactory.generateCertificate(new ByteArrayInputStream(encodedCert)); in verifySigner()
DApkSignatureSchemeV3Verifier.java348 certFactory.generateCertificate(new ByteArrayInputStream(encodedCert)); in verifySigner()
490 certFactory.generateCertificate(new ByteArrayInputStream(encodedCert)); in verifyProofOfRotationStruct()
DApkSignatureSchemeV2Verifier.java338 certFactory.generateCertificate(new ByteArrayInputStream(encodedCert)); in verifySigner()
DSourceStampVerifier.java214 certFactory.generateCertificate( in verifySourceStampCertificate()
/frameworks/base/services/core/java/com/android/server/security/
DFileIntegrityService.java183 Certificate certificate = sCertFactory.generateCertificate(new ByteArrayInputStream(bytes)); in toCertificate()
/frameworks/base/keystore/java/android/security/
DCredentials.java169 … Certificate c = cf.generateCertificate(new ByteArrayInputStream(o.getContent())); in convertFromPem()
DKeyChain.java747 Certificate cert = certFactory.generateCertificate(new ByteArrayInputStream(bytes)); in toCertificate()
/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.java225 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/wifi/java/android/net/wifi/hotspot2/
DConfigParser.java451 return (X509Certificate) factory.generateCertificate(new ByteArrayInputStream(octets)); in parseCACert()
/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.java564 X509Certificate cert = (X509Certificate) cf.generateCertificate(inStream); in getKeyInformation()

12