Searched refs:certChain (Results 1 – 9 of 9) sorted by relevance
/packages/apps/RemoteProvisioner/tests/unittests/src/com/android/remoteprovisioner/unittest/ |
D | SystemInterfaceTest.java | 185 X509Certificate[][] certChain = new X509Certificate[numKeys][3]; in testGenerateCSRProvisionAndUseKey() local 193 certChain[i][0] = signPublicKey(intermediateKeyPair, leafKeyToSign); in testGenerateCSRProvisionAndUseKey() 194 certChain[i][1] = signPublicKey(rootKeyPair, intermediateKeyPair.getPublic()); in testGenerateCSRProvisionAndUseKey() 195 certChain[i][2] = signPublicKey(rootKeyPair, rootKeyPair.getPublic()); in testGenerateCSRProvisionAndUseKey() 197 for (int j = 0; j < certChain[i].length; j++) { in testGenerateCSRProvisionAndUseKey() 198 os.write(certChain[i][j].getEncoded()); in testGenerateCSRProvisionAndUseKey() 200 SystemInterface.provisionCertChain(X509Utils.getAndFormatRawPublicKey(certChain[i][0]), in testGenerateCSRProvisionAndUseKey() 201 certChain[i][0].getEncoded() /* leafCert */, in testGenerateCSRProvisionAndUseKey() 214 for (int i = 0; i < certChain.length; i++) { in testGenerateCSRProvisionAndUseKey() 215 if (Arrays.equals(provisionedCerts1[1].getEncoded(), certChain[i][0].getEncoded())) { in testGenerateCSRProvisionAndUseKey() [all …]
|
/packages/apps/RemoteProvisioner/src/com/android/remoteprovisioner/ |
D | Provisioner.java | 95 for (byte[] certChain : certChains) { in provisionCerts() 100 cert = X509Utils.formatX509Certs(certChain)[0]; in provisionCerts() 113 if (SystemInterface.provisionCertChain(rawPublicKey, cert.getEncoded(), certChain, in provisionCerts()
|
D | SystemInterface.java | 114 byte[] certChain, in provisionCertChain() argument 118 binder.provisionCertChain(rawPublicKey, encodedCert, certChain, in provisionCertChain()
|
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/ |
D | IKeyChainServiceTestSupport.aidl | 36 …boolean installKeyPair(in byte[] privateKey, in byte[] userCert, in byte[] certChain, String alias… in installKeyPair() argument 40 boolean setKeyPairCertificate(String alias, in byte[] userCert, in byte[] certChain); in setKeyPairCertificate() argument
|
D | KeyChainServiceTestSupport.java | 47 byte[] privateKey, byte[] userCert, byte[] certChain, String alias) 52 privateKey, userCert, certChain, alias, KeyStore.UID_SELF);
|
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/ |
D | BasicKeyChainServiceTest.java | 305 final byte[] certChain = Base64.decode(CA_CERT, Base64.DEFAULT); in testSetKeyPairCertificate() 308 certChain)).isTrue(); in testSetKeyPairCertificate() 312 assertThat(mKeyChainService.getCaCertificates(ALIAS_GENERATED)).isEqualTo(certChain); in testSetKeyPairCertificate()
|
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/pps/ |
D | Credential.java | 1297 private static boolean verifySha256Fingerprint(X509Certificate[] certChain, in verifySha256Fingerprint() argument 1300 if (certChain == null) { in verifySha256Fingerprint() 1304 for (X509Certificate certificate : certChain) { in verifySha256Fingerprint()
|
/packages/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainActivity.java | 375 List<X509Certificate> certChain = new ArrayList(loadCertificateChain(mKeyStore, alias)); in shouldPresentCertificate() local 377 cert.getSubjectDN().getName(), alias, certChain.size())); in shouldPresentCertificate() 396 for (X509Certificate intermediate : certChain) { in shouldPresentCertificate()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointProvider.java | 738 private static X509Certificate getClientCertificate(X509Certificate[] certChain, in getClientCertificate() argument 740 if (certChain == null) { in getClientCertificate() 745 for (X509Certificate certificate : certChain) { in getClientCertificate()
|