/libcore/luni/src/test/java/libcore/java/security/cert/ |
PKIXParametersTest.java | 29 KeyStore.PrivateKeyEntry pke = server.getPrivateKey("RSA", "RSA"); local 37 ks.setKeyEntry("key", pke.getPrivateKey(), password, pke.getCertificateChain()); 38 ks.setCertificateEntry("cert", pke.getCertificateChain()[0]); 44 keyOnly.setKeyEntry("key", pke.getPrivateKey(), password, pke.getCertificateChain());
|
/libcore/crypto/src/test/java/org/conscrypt/ |
TrustManagerImplTest.java | 72 KeyStore.PrivateKeyEntry pke = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); local 73 X509Certificate[] chain3 = (X509Certificate[])pke.getCertificateChain(); 105 KeyStore.PrivateKeyEntry pke = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); local 106 X509Certificate[] chain3 = (X509Certificate[])pke.getCertificateChain(); 119 KeyStore.PrivateKeyEntry pke = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); local 120 X509Certificate[] chain3 = (X509Certificate[])pke.getCertificateChain(); 140 KeyStore.PrivateKeyEntry pke = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); local 141 X509Certificate[] chain3 = (X509Certificate[]) pke.getCertificateChain();
|
CertPinManagerTest.java | 59 KeyStore.PrivateKeyEntry pke = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); local 60 chain = (X509Certificate[]) pke.getCertificateChain();
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
TrustManagerFactoryTest.java | 155 PrivateKeyEntry pke = getTestKeyStore().getPrivateKey(keyAlgName, sigAlgName); local 156 X509Certificate[] chain = (X509Certificate[]) pke.getCertificateChain(); 213 PrivateKeyEntry pke = TestKeyStore.getServer().getPrivateKey("RSA", "RSA"); local 214 X509Certificate[] chain = (X509Certificate[])pke.getCertificateChain(); 251 KeyStore.PrivateKeyEntry pke = getTestKeyStore().getPrivateKey("RSA", "RSA"); local 252 ks.setKeyEntry("key", pke.getPrivateKey(), "pw".toCharArray(), pke.getCertificateChain()); 258 trustManager.checkServerTrusted((X509Certificate[]) pke.getCertificateChain(), "RSA");
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyStore2Test.java | 672 KeyStore.PrivateKeyEntry pke = new KeyStore.PrivateKeyEntry(getPrivateKey(), local 677 keyTest.setEntry("alias1", pke, pp); 816 KeyStore.PrivateKeyEntry pke = new KeyStore.PrivateKeyEntry(getPrivateKey(), chain); local [all...] |