Home
last modified time | relevance | path

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

12

/frameworks/base/keystore/tests/src/android/security/keystore/
DAndroidKeyStoreTest.java911 Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_GetCertificate_Single_Encrypted_Success()
934 Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_GetCertificateAlias_CAEntry_Encrypted_Success()
954 Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_USER_1)); in testKeyStore_GetCertificateAlias_PrivateKeyEntry_Encrypted_Success()
979 Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_GetCertificateAlias_CAEntry_WithPrivateKeyUsingCA_Encrypted_Success()
992 Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_GetCertificateAlias_NonExist_Empty_Encrypted_Failure()
1007 Certificate userCert = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_USER_1)); in testKeyStore_GetCertificateAlias_NonExist_Encrypted_Failure()
1027 expected[0] = cf.generateCertificate(new ByteArrayInputStream(FAKE_RSA_USER_1)); in testKeyStore_GetCertificateChain_SingleLength_Encrypted_Success()
1028 expected[1] = cf.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_GetCertificateChain_SingleLength_Encrypted_Success()
1184 Certificate expectedCert = certFact.generateCertificate(new ByteArrayInputStream(cert)); in assertPrivateKeyEntryEquals()
1398 final Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_SetCertificate_CA_Encrypted_Success()
[all …]
DAndroidKeyPairGeneratorTest.java373 cf.generateCertificate(new ByteArrayInputStream(userCertBytes)); in assertKeyPairCorrect()
/frameworks/base/core/tests/coretests/src/android/net/http/
DSslCertificateTest.java48 X509Certificate x509Certificate = generateCertificate(Issue1597Certificate); in testSslCertificateWithEmptyIssuer()
101 X509Certificate x509Certificate = generateCertificate(Issue41662Certificate); in testSslCertificateWithMultipleCN()
109 private static X509Certificate generateCertificate(String pem) throws Exception { in generateCertificate() method in SslCertificateTest
111 return (X509Certificate) cf.generateCertificate(new ByteArrayInputStream(pem.getBytes())); in generateCertificate()
/frameworks/opt/net/wifi/tests/wifitests/src/android/net/wifi/
DFakeKeys.java61 return (X509Certificate) certFactory.generateCertificate(stream); in loadCertificate()
/frameworks/base/core/java/android/content/pm/
DSignature.java176 final Certificate cert = certFactory.generateCertificate(bais); in getPublicKey()
296 final X509Certificate cert = (X509Certificate) cf.generateCertificate(is); in bounce()
/frameworks/base/core/java/android/security/net/config/
DDirectoryCertificateSource.java195 return (X509Certificate) mCertFactory.generateCertificate(is);
/frameworks/base/keystore/java/android/security/
DCredentials.java159 … Certificate c = cf.generateCertificate(new ByteArrayInputStream(o.getContent())); in convertFromPem()
DKeyChain.java509 Certificate cert = certFactory.generateCertificate(new ByteArrayInputStream(bytes)); in toCertificate()
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java152 return (X509Certificate) cf.generateCertificate(istream); in createCertificate()
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DNetworkSecurityConfigTests.java89 Certificate cert = factory.generateCertificate(new ByteArrayInputStream(TEST_CA_BYTES));
/frameworks/base/core/java/android/net/http/
DSslCertificate.java132 Certificate cert = certFactory.generateCertificate(new ByteArrayInputStream(bytes)); in restoreState()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DOSUSocketFactory.java68 X509Certificate cert = (X509Certificate) certFactory.generateCertificate(bis); in buildCertSet()
DOSUClient.java444 certs.add((X509Certificate) certFactory.generateCertificate(httpHandler.doGet(url))); in getCerts()
DOSUManager.java226 Certificate cert = certFactory.generateCertificate(in); in readCertsFromDisk()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/
DConfigBuilder.java121 caCert = (X509Certificate) factory.generateCertificate( in parse()
/frameworks/base/core/java/android/os/
DRecoverySystem.java134 trusted.add((X509Certificate) cf.generateCertificate(is)); in getTrustedCerts()
/frameworks/base/packages/Osu/src/com/android/hotspot2/est/
DESTHandler.java303 generateCertificate(new ByteArrayInputStream(certBytes))); in unpackPkcs7()
/frameworks/base/wifi/java/android/net/wifi/
DWifiEnterpriseConfig.java274 .generateCertificate(new ByteArrayInputStream(bytes));
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreSpi.java218 return (X509Certificate) certFactory.generateCertificate( in toCertificate()
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV2Verifier.java367 certFactory.generateCertificate(new ByteArrayInputStream(encodedCert)); in verifySigner()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java2948 final X509Certificate cert = (X509Certificate) certFactory.generateCertificate( in getCaCertAlias()
/frameworks/base/docs/html/training/articles/
Dsecurity-ssl.jd199 ca = cf.generateCertificate(caInput);
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java4315 return (X509Certificate) certFactory.generateCertificate(new ByteArrayInputStream( in parseCert()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt45231 …method public final java.security.cert.Certificate generateCertificate(java.io.InputStream) throws…
/frameworks/base/api/
Dcurrent.txt54780 …method public final java.security.cert.Certificate generateCertificate(java.io.InputStream) throws…

12