/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | DelegatedCertInstallerTest.java | 316 private void installCaCert(byte[] cert) { in installCaCert() 325 private void removeCaCert(byte[] cert) { in removeCaCert() 334 private void verifyCaCert(byte[] cert) { in verifyCaCert() 366 private void installKeyPair(String key, String cert, String alias) { in installKeyPair()
|
D | KeyManagementTest.java | 115 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testCanInstallAndRemoveValidRsaKeypair() local 118 assertThat(mDevicePolicyManager.installKeyPair(getWho(), privKey, cert, alias)).isTrue(); in testCanInstallAndRemoveValidRsaKeypair() local 139 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testCanInstallWithAutomaticAccess() local 208 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testGrantsDoNotPersistBetweenInstallations() local 239 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testNullKeyParamsFailPredictably() local 241 mDevicePolicyManager.installKeyPair(getWho(), null, cert, alias); in testNullKeyParamsFailPredictably() local 255 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testNullAdminComponentIsDenied() local 266 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testNotUserSelectableAliasCanBeChosenViaPolicy() local 675 X509Certificate cert = createCertificate(generated.getKeyPair(), subject, issuer); in testCanSetKeyPairCert() local 730 private static Certificate getCertificate(byte[] cert) throws CertificateException { in getCertificate()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2109/ |
D | poc.c | 29 X509 *cert; variable
|
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/ |
D | CertSelectionDelegateTest.java | 103 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testCanSelectKeychainKeypairs() local 152 private static Certificate getCertificate(byte[] cert) throws CertificateException { in getCertificate()
|
D | CertInstallerReceiver.java | 121 String cert = intent.getStringExtra(EXTRA_CERT_DATA); in onReceive() local 162 Certificate cert = readCertificate(certBuffer); in containsCertificate() local
|
D | DirectDelegatedCertInstallerTest.java | 238 Certificate cert = readCertificate(certBuffer); in containsCertificate() local
|
/cts/tools/utils/ |
D | certificates.py | 22 cert = None variable in Certificate 24 def __init__(self, cert, key): argument
|
/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/ |
D | AdminActionBookkeepingTest.java | 93 final Certificate cert = CertificateFactory.getInstance("X.509") in testGetPolicyInstalledCaCerts() local
|
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/ |
D | CertInstallDelegateTest.java | 178 Certificate cert = readCertificate(certBuffer); in containsCertificate() local
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewSslTest.java | 505 SslCertificate cert = mOnUiThread.getCertificate(); in testInsecureSiteClearsCertificate() local 542 SslCertificate cert = mOnUiThread.getCertificate(); in testSecureSiteSetsCertificate() local 902 X509Certificate cert = (X509Certificate) certFactory.generateCertificate( in testClientCertIssuersReceivedCorrectly() local
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | AdminActionBookkeepingTest.java | 190 final Certificate cert = CertificateFactory.getInstance("X.509") in testGetPolicyInstalledCaCerts() local
|
/cts/tests/tests/security/src/android/security/cts/ |
D | CertificateTest.java | 143 Certificate cert = certFactory.generateCertificate(fis); in loadCertsFromDisk() local
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AndroidKeyStoreTest.java | 934 Certificate cert = generateCertificate(FAKE_RSA_CA_1); in testKeyStore_GetCertificateAlias_CAEntry_Unencrypted_Success() local 1109 byte[] cert, byte[] ca) throws Exception { in assertPrivateKeyEntryEquals() 1297 final Certificate cert = generateCertificate(FAKE_RSA_CA_1); in testKeyStore_SetCertificate_CAExists_Overwrite_Unencrypted_Success() local 1312 final Certificate cert = generateCertificate(FAKE_RSA_CA_1); in testKeyStore_SetCertificate_PrivateKeyExists_Unencrypted_Failure() local 1756 Certificate cert = generateCertificate(FAKE_RSA_USER_1); in testKeyStore_SetKeyEntry_ReplacedChain_DifferentPrivateKey_Unencrypted_Failure() local
|
D | KeyPairGeneratorTest.java | 1611 X509Certificate cert = (X509Certificate) mKeyStore.getCertificate(alias); in assertGeneratedKeyPairAndSelfSignedCertificate() local 1620 Arrays.asList(mKeyStore.getCertificateChain(alias)), cert); in assertGeneratedKeyPairAndSelfSignedCertificate() local
|
D | KeyStoreTest.java | 2516 X509Certificate cert = (X509Certificate) c; in test_KeyStore_cacerts() local
|
D | TestUtils.java | 162 Certificate cert; in assertKeyStoreKeyPair() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | KeyChainTestActivity.java | 150 protected boolean installCertificate(X509Certificate cert, boolean isUserVisible) { in installCertificate()
|
/cts/tests/tests/net/src/android/net/http/cts/ |
D | SslCertificateTest.java | 244 X509Certificate cert = new MockX509Certificate(); in testGetX509Certificate() local
|
/cts/tests/admin/src/android/admin/cts/ |
D | DevicePolicyManagerTest.java | 983 Certificate cert = cf.generateCertificate( in testSetKeyPairCertificate_failIfNotProfileOwner() local
|