/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
CaCertManagementTest.java | 99 Certificate caCert = readCertificate(caBytes); 100 assertTrue(isCaCertInstalledAndTrusted(caCert)); 105 Certificate caCert = readCertificate(caBytes); 106 assertFalse(isCaCertInstalledAndTrusted(caCert)); 134 private boolean isCaCertInstalledAndTrusted(Certificate caCert) 136 boolean installed = mDevicePolicyManager.hasCaCertInstalled(mAdmin, caCert.getEncoded()); 140 if (caCert.equals(readCertificate(certBuffer))) { 151 boolean trusted = Arrays.asList(tm.getAcceptedIssuers()).contains(caCert); 153 boolean userAddedCertificate = xtm.isUserAddedCertificate((X509Certificate) caCert);
|
DelegatedCertInstallerTest.java | 73 * openssl req -new -x509 -days 3650 -extensions v3_ca -keyout cakey.pem -out cacert.pem 78 * openssl ca -out usercert.pem -in userkey.req -cert cacert.pem -keyfile cakey.pem -days 3650 81 // Content from cacert.pem 184 final Certificate caCert = CertificateFactory.getInstance("X.509") 193 assertNull(store.getCertificateAlias(caCert)); 204 final String alias = store.getCertificateAlias(caCert);
|
/external/conscrypt/platform/src/main/java/org/conscrypt/ |
TrustedCertificateIndex.java | 115 X509Certificate caCert = anchor.getTrustedCert(); 116 if (caCert != null) { 117 publicKey = caCert.getPublicKey(); 147 X509Certificate caCert = anchor.getTrustedCert(); 148 if (caCert != null) { 149 caPublicKey = caCert.getPublicKey(); 188 X509Certificate caCert = anchor.getTrustedCert(); 189 if (caCert != null) { 190 publicKey = caCert.getPublicKey();
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
WifiConfigurationHelper.java | 114 * @param caCert The CA certificate or null 119 Integer phase2, String identity, String anonymousIdentity, String caCert, 131 if (caCert == null) caCert = ""; 139 config.enterpriseConfig.setCaCertificateAlias(caCert); 224 String caCert = null; 226 caCert = (jsonConfig.getString("ca_cert")); 233 anonymousIdentity, caCert, clientCert);
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
CertPathValidatorTest.java | 55 X509CertificateHolder caCert = new JcaX509CertificateHolder(caCertJca); 63 caCert, serverCertJca.getSerialNumber());
|
X509CRLTest.java | 156 X509Certificate caCert = getCertificate(f, CERT_CRL_CA); 157 interned.verify(caCert.getPublicKey(), f.getProvider()); 197 X509Certificate caCert = getCertificate(f, CERT_CRL_CA); 200 crlRsa.verify(caCert.getPublicKey()); 204 crlRsa.verify(caCert.getPublicKey(), f.getProvider());
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
WifiEnterpriseConfigTest.java | 145 X509Certificate caCert = FakeKeys.CA_CERT1; 147 isClientCertificateChainInvalid(new X509Certificate[] {caCert, caCert})); 151 isClientCertificateChainInvalid(new X509Certificate[] {caCert, clientCert}));
|
/packages/apps/Settings/tests/app/src/com/android/settings/vpn2/ |
VpnTests.java | 183 String caCert = ""; 192 caCert = (value == null) ? null : new String(value, StandardCharsets.UTF_8); 200 Log.v(TAG, "caCert: \n" + ((caCert == null) ? "" : caCert));
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
WifiManagerFacade.java | 493 X509Certificate caCert = strToX509Cert(certString); 494 caCert.getEncoded(); 497 out.writeObject(caCert); [all...] |
/external/conscrypt/testing/src/main/java/libcore/java/security/ |
TestKeyStore.java | 550 X509Certificate caCert; 554 caCert = null; 558 caCert = (X509Certificate) signer.getCertificate(); 622 ((caCert != null) ? caCert.getSubjectX500Principal() : subject); [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/ |
JsonBuilder.java | [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/flow/ |
PlatformAdapter.java | 143 for (X509Certificate caCert : diskCerts) { 145 String.format("%s%d", CERT_WFA_ALIAS, index), caCert); 162 for (X509Certificate caCert : diskCerts) { 164 String.format("%s%d", CERT_WFA_ALIAS, index), caCert); 356 X509Certificate caCert = null; 360 caCert = certList != null && !certList.isEmpty() ? certList.iterator().next() : null; 367 updateNetwork(altSP, caCert, clientCerts, privateKey); 476 private void updateNetwork(HomeSP homeSP, X509Certificate caCert, 488 caCert != null ? caCert : enterpriseConfig.getCaCertificate() [all...] |
/libcore/support/src/test/java/libcore/java/security/ |
TestKeyStore.java | 547 X509Certificate caCert; 551 caCert = null; 555 caCert = (X509Certificate)signer.getCertificate(); 610 X500Principal issuer = ((caCert != null) 611 ? caCert.getSubjectX500Principal() [all...] |
/cts/tests/tests/keystore/src/android/keystore/cts/ |
AndroidKeyStoreTest.java | 86 * openssl req -new -x509 -days 3650 -extensions v3_ca -keyout cakey.pem -out cacert.pem 91 * openssl ca -out usercert.pem -in userkey.req -cert cacert.pem -keyfile cakey.pem -days 3650 97 * openssl x509 -outform d -in cacert.pem | xxd -i | sed 's/0x/(byte) 0x/g' [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiConfigController.java | 600 String caCert = (String) mEapCaCertSpinner.getSelectedItem(); 604 if (caCert.equals(mUnspecifiedCertString) 605 || caCert.equals(mDoNotValidateEapServerString)) { 607 } else if (caCert.equals(mUseSystemCertsString)) { 609 } else if (caCert.equals(mMultipleCertSetString)) { 622 config.enterpriseConfig.setCaCertificateAliases(new String[] {caCert}); [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
Vpn.java | [all...] |
/prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.7.4/ |
okhttp-2.7.4.jar | |
/prebuilts/tools/common/m2/repository/com/squareup/okhttp3/okhttp/3.3.0/ |
okhttp-3.3.0.jar | |
/prebuilts/tools/common/m2/repository/com/squareup/okhttp3/okhttp/3.4.1/ |
okhttp-3.4.1.jar | |
/prebuilts/gradle-plugin/com/android/tools/external/com-intellij/intellij-core/26.0.0-alpha4/ |
intellij-core-26.0.0-alpha4.jar | |
/prebuilts/gradle-plugin/com/android/tools/external/com-intellij/intellij-core/26.0.0-alpha5/ |
intellij-core-26.0.0-alpha5.jar | |
/prebuilts/gradle-plugin/com/android/tools/external/com-intellij/intellij-core/26.0.0-alpha6/ |
intellij-core-26.0.0-alpha6.jar | |
/prebuilts/gradle-plugin/com/android/tools/external/com-intellij/intellij-core/26.0.0-alpha7/ |
intellij-core-26.0.0-alpha7.jar | |
/prebuilts/gradle-plugin/com/android/tools/external/com-intellij/intellij-core/26.0.0-alpha9/ |
intellij-core-26.0.0-alpha9.jar | |
/prebuilts/gradle-plugin/com/android/tools/external/com-intellij/intellij-core/26.0.0-beta1/ |
intellij-core-26.0.0-beta1.jar | |