Home
last modified time | relevance | path

Searched refs:generateCertificate (Results 1 – 25 of 33) 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/opt/net/ike/src/java/com/android/ike/ikev2/message/
DIkeCertX509CertPayload.java49 factory.generateCertificate(new ByteArrayInputStream(certData)); in IkeCertX509CertPayload()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DWfaCertBuilder.java54 Certificate cert = certFactory.generateCertificate(fis); in loadCertsFromDisk()
DOsuServerConnection.java487 X509Certificate certificate = (X509Certificate) certFactory.generateCertificate( in getCert()
/frameworks/base/wifi/tests/src/android/net/wifi/
DFakeKeys.java222 return (X509Certificate) certFactory.generateCertificate(stream); in loadCertificate()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DFakeKeys.java206 return (X509Certificate) certFactory.generateCertificate(stream); in loadCertificate()
/frameworks/base/core/java/android/content/pm/
DSignature.java208 final Certificate cert = certFactory.generateCertificate(bais); in getPublicKey()
351 final X509Certificate cert = (X509Certificate) cf.generateCertificate(is); in bounce()
/frameworks/opt/net/ike/tests/iketests/src/java/com/android/ike/ikev2/message/
DIkeCertX509CertPayloadTest.java144 factory.generateCertificate(new ByteArrayInputStream(decodedBytes)); in pemStringToCertificate()
/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.java136 Certificate cert = certFactory.generateCertificate(bis); in getOsuCertsForTest()
/frameworks/base/keystore/java/android/security/
DCredentials.java155 … Certificate c = cf.generateCertificate(new ByteArrayInputStream(o.getContent())); in convertFromPem()
DKeyChain.java729 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/core/java/android/util/apk/
DApkSignatureSchemeV3Verifier.java354 certFactory.generateCertificate(new ByteArrayInputStream(encodedCert)); in verifySigner()
496 certFactory.generateCertificate(new ByteArrayInputStream(encodedCert)); in verifyProofOfRotationStruct()
DApkSignatureSchemeV2Verifier.java341 certFactory.generateCertificate(new ByteArrayInputStream(encodedCert)); in verifySigner()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DCertificateMonitor.java230 return (X509Certificate) certFactory.generateCertificate(new ByteArrayInputStream( in parseCert()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiKeyStore.java265 .generateCertificate(inputStream); in buildCACertificate()
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java152 return (X509Certificate) cf.generateCertificate(istream); in createCertificate()
/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.java445 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()

12