Home
last modified time | relevance | path

Searched defs:cert (Results 1 – 19 of 19) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDelegatedCertInstallerTest.java316 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()
DKeyManagementTest.java115 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/
Dpoc.c29 X509 *cert; variable
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DCertSelectionDelegateTest.java103 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testCanSelectKeychainKeypairs() local
152 private static Certificate getCertificate(byte[] cert) throws CertificateException { in getCertificate()
DCertInstallerReceiver.java121 String cert = intent.getStringExtra(EXTRA_CERT_DATA); in onReceive() local
162 Certificate cert = readCertificate(certBuffer); in containsCertificate() local
DDirectDelegatedCertInstallerTest.java238 Certificate cert = readCertificate(certBuffer); in containsCertificate() local
/cts/tools/utils/
Dcertificates.py22 cert = None variable in Certificate
24 def __init__(self, cert, key): argument
/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/
DAdminActionBookkeepingTest.java93 final Certificate cert = CertificateFactory.getInstance("X.509") in testGetPolicyInstalledCaCerts() local
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DCertInstallDelegateTest.java178 Certificate cert = readCertificate(certBuffer); in containsCertificate() local
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewSslTest.java505 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/
DAdminActionBookkeepingTest.java190 final Certificate cert = CertificateFactory.getInstance("X.509") in testGetPolicyInstalledCaCerts() local
/cts/tests/tests/security/src/android/security/cts/
DCertificateTest.java143 Certificate cert = certFactory.generateCertificate(fis); in loadCertsFromDisk() local
/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java934 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
DKeyPairGeneratorTest.java1611 X509Certificate cert = (X509Certificate) mKeyStore.getCertificate(alias); in assertGeneratedKeyPairAndSelfSignedCertificate() local
1620 Arrays.asList(mKeyStore.getCertificateChain(alias)), cert); in assertGeneratedKeyPairAndSelfSignedCertificate() local
DKeyStoreTest.java2516 X509Certificate cert = (X509Certificate) c; in test_KeyStore_cacerts() local
DTestUtils.java162 Certificate cert; in assertKeyStoreKeyPair() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DKeyChainTestActivity.java150 protected boolean installCertificate(X509Certificate cert, boolean isUserVisible) { in installCertificate()
/cts/tests/tests/net/src/android/net/http/cts/
DSslCertificateTest.java244 X509Certificate cert = new MockX509Certificate(); in testGetX509Certificate() local
/cts/tests/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java983 Certificate cert = cf.generateCertificate( in testSetKeyPairCertificate_failIfNotProfileOwner() local