/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AndroidKeyStoreTest.java | 770 private Certificate generateCertificate(byte[] fakeUser1) throws Exception { in generateCertificate() method in AndroidKeyStoreTest 772 return cf.generateCertificate(new ByteArrayInputStream(fakeUser1)); in generateCertificate() 778 generateCertificate(FAKE_EC_USER_1), generateCertificate(FAKE_EC_CA_1) in makeUserEcKey1() 785 generateCertificate(FAKE_RSA_USER_1), generateCertificate(FAKE_RSA_CA_1) in makeUserRsaKey1() 790 return new KeyStore.TrustedCertificateEntry(generateCertificate(FAKE_RSA_CA_1)); in makeCa1() 871 mKeyStore.setCertificateEntry(TEST_ALIAS_2, generateCertificate(FAKE_RSA_CA_1)); in testKeyStore_DeleteEntry_Unencrypted_Success() 874 mKeyStore.setCertificateEntry(TEST_ALIAS_3, generateCertificate(FAKE_RSA_CA_1)); in testKeyStore_DeleteEntry_Unencrypted_Success() 911 mKeyStore.setCertificateEntry(TEST_ALIAS_1, generateCertificate(FAKE_RSA_CA_1)); in testKeyStore_GetCertificate_Single_Unencrypted_Success() 923 Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_GetCertificate_Single_Unencrypted_Success() 938 Certificate cert = generateCertificate(FAKE_RSA_CA_1); in testKeyStore_GetCertificateAlias_CAEntry_Unencrypted_Success() [all …]
|
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/ |
D | TestCertificates.java | 118 return CertificateFactory.getInstance("X.509").generateCertificate( in userCertFromString() 129 .generateCertificate(new ByteArrayInputStream(rawCert)); in caCertFromString()
|
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/ |
D | CertInstallDelegateTest.java | 83 Certificate certificate = CertificateFactory.getInstance("X.509").generateCertificate( in testCanAccessApis() 107 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | ImsiEncryptionInfoTest.java | 80 return cf.generateCertificate(istream).getPublicKey(); in createPublicKey()
|
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/ |
D | CertInstallerReceiver.java | 132 .generateCertificate( in onReceive() 182 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()
|
D | DirectDelegatedCertInstallerTest.java | 101 .generateCertificate(new ByteArrayInputStream(cert)); in testCaCertsOperations() 275 return CertificateFactory.getInstance("X.509").generateCertificate( in certificateFromString() 293 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()
|
D | CertSelectionDelegateTest.java | 165 return CertificateFactory.getInstance("X.509").generateCertificate( in getCertificate()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | FakeKeys.java | 271 return (X509Certificate) certFactory.generateCertificate(stream); in loadCertificate()
|
D | WifiEnterpriseConfigTest.java | 721 X509Certificate cert1 = (X509Certificate) factory.generateCertificate( in testSettersAndGetters() 723 X509Certificate cert2 = (X509Certificate) factory.generateCertificate( in testSettersAndGetters() 732 X509Certificate clientCert = (X509Certificate) factory.generateCertificate( in testSettersAndGetters()
|
D | WifiNetworkSpecifierTest.java | 168 return (X509Certificate) certFactory.generateCertificate(stream); in loadCertificate()
|
D | WifiNetworkSuggestionTest.java | 676 return (X509Certificate) certFactory.generateCertificate(stream); in loadCertificate()
|
/cts/tests/security/src/android/keystore/cts/ |
D | CertificateUtils.java | 77 certFactory.generateCertificate( in createCertificate()
|
/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/ |
D | AdminActionBookkeepingTest.java | 65 .generateCertificate(new ByteArrayInputStream(rawCert)); in testGetPolicyInstalledCaCerts()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | FileIntegrityManagerTest.java | 126 return (X509Certificate) mCertFactory.generateCertificate(new ByteArrayInputStream(bytes)); in toX509Certificate()
|
D | X509CertChainBuildingTest.java | 166 return (X509Certificate) certFactory.generateCertificate(in); in loadCertificate()
|
D | CertificateTest.java | 141 Certificate cert = certFactory.generateCertificate(fis); in loadCertsFromDisk()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewSslTest.java | 917 (X509Certificate) certFactory.generateCertificate( in getAcceptedIssuers() 940 X509Certificate cert = (X509Certificate) certFactory.generateCertificate( in testClientCertIssuersReceivedCorrectly() 1062 (X509Certificate) certFactory.generateCertificate( in onReceivedClientCertRequest() 1064 (X509Certificate) certFactory.generateCertificate( in onReceivedClientCertRequest()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | KeyManagementTest.java | 84 generateCertificate(FakeKeys.FAKE_RSA_1.caCertificate); 128 private static Certificate generateCertificate(byte[] cert) { in generateCertificate() method in KeyManagementTest 130 return CertificateFactory.getInstance("X.509").generateCertificate( in generateCertificate()
|
D | CaCertManagementTest.java | 238 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()
|
D | CredentialManagementAppTest.java | 106 return CertificateFactory.getInstance("X.509").generateCertificate( in getCertificate()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | AdminActionBookkeepingTest.java | 233 .generateCertificate(new ByteArrayInputStream(rawCert)); in testGetPolicyInstalledCaCerts()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | DelegatedCertInstallerTest.java | 125 .generateCertificate(new ByteArrayInputStream(cert)); in testCaCertsOperations()
|
D | KeyManagementTest.java | 763 return CertificateFactory.getInstance("X.509").generateCertificate( in getCertificate()
|
/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | Util.java | 659 ret.add((X509Certificate) factory.generateCertificate(certBais)); in coseSign1GetX5Chain() 668 ret.add((X509Certificate) factory.generateCertificate(certBais)); in coseSign1GetX5Chain() 957 X509Certificate result = (X509Certificate) cf.generateCertificate(bais); in signPublicKeyWithPrivateKey()
|
/cts/tests/admin/src/android/admin/cts/ |
D | DevicePolicyManagerTest.java | 1021 Certificate cert = cf.generateCertificate( in testSetKeyPairCertificate_failIfNotProfileOwner()
|