Searched defs:cert (Results 1 – 9 of 9) sorted by relevance
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | KeyManagementTest.java | 85 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testCanInstallValidRsaKeypair() local 86 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, cert, alias)); in testCanInstallValidRsaKeypair() local 97 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testNullKeyParamsFailPredictably() local 99 mDevicePolicyManager.installKeyPair(getWho(), null, cert, alias); in testNullKeyParamsFailPredictably() local 114 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testNullAdminComponentIsDenied() local 128 private static Certificate getCertificate(byte[] cert) throws CertificateException { in getCertificate()
|
D | CaCertManagementTest.java | 73 Certificate cert = readCertificate(certBuffer); in containsCertificate() local
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | DelegatedCertInstallerTest.java | 242 private void installCaCert(byte[] cert) { in installCaCert() 250 private void removeCaCert(byte[] cert) { in removeCaCert() 258 private void verifyCaCert(byte[] cert) { in verifyCaCert() 282 private void installKeyPair(String key, String cert, String alias) { in installKeyPair()
|
/cts/tests/tests/net/src/android/net/http/cts/ |
D | X509TrustManagerExtensionsTest.java | 54 X509Certificate cert = (X509Certificate)cf.generateCertificate( in testIsUserAddedCert() local
|
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/ |
D | CertInstallerActivity.java | 124 String cert = intent.getStringExtra(EXTRA_CERT_DATA); in onCreate() local 164 Certificate cert = readCertificate(certBuffer); in containsCertificate() local
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewSslTest.java | 504 SslCertificate cert = mWebView.getCertificate(); in testInsecureSiteClearsCertificate() local 542 SslCertificate cert = mWebView.getCertificate(); in testSecureSiteSetsCertificate() local 891 X509Certificate cert = (X509Certificate) certFactory.generateCertificate( in testClientCertIssuersReceivedCorrectly() local
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AndroidKeyStoreTest.java | 922 Certificate cert = generateCertificate(FAKE_RSA_CA_1); in testKeyStore_GetCertificateAlias_CAEntry_Unencrypted_Success() local 1097 byte[] cert, byte[] ca) throws Exception { in assertPrivateKeyEntryEquals() 1285 final Certificate cert = generateCertificate(FAKE_RSA_CA_1); in testKeyStore_SetCertificate_CAExists_Overwrite_Unencrypted_Success() local 1300 final Certificate cert = generateCertificate(FAKE_RSA_CA_1); in testKeyStore_SetCertificate_PrivateKeyExists_Unencrypted_Failure() local 1770 Certificate cert = generateCertificate(FAKE_RSA_USER_1); in testKeyStore_SetKeyEntry_ReplacedChain_DifferentPrivateKey_Unencrypted_Failure() local
|
D | KeyPairGeneratorTest.java | 1292 X509Certificate cert = (X509Certificate) mKeyStore.getCertificate(alias); in assertGeneratedKeyPairAndSelfSignedCertificate() local 1301 Arrays.asList(mKeyStore.getCertificateChain(alias)), cert); in assertGeneratedKeyPairAndSelfSignedCertificate() local
|
D | TestUtils.java | 143 Certificate cert; in assertKeyStoreKeyPair() local
|