/libcore/luni/src/main/java/javax/net/ssl/ |
H A D | X509TrustManager.java | 30 * Checks whether the specified certificate chain (partial or complete) can 34 * @param chain 35 * the certificate chain to validate. 39 * if the certificate chain can't be validated or isn't trusted. 41 * if the specified certificate chain is empty or {@code null}, 45 public void checkClientTrusted(X509Certificate[] chain, String authType) argument 50 * Checks whether the specified certificate chain (partial or complete) can 54 * @param chain 55 * the certificate chain to validate. 59 * if the certificate chain ca 65 checkServerTrusted(X509Certificate[] chain, String authType) argument [all...] |
/libcore/xml/src/main/java/org/xmlpull/v1/ |
H A D | XmlPullParserException.java | 36 public XmlPullParserException(String msg, XmlPullParser parser, Throwable chain) { argument 39 + (chain == null ? "" : "caused by: "+chain)); 45 this.detail = chain;
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
H A D | TestTrustManager.java | 61 public void checkClientTrusted(X509Certificate[] chain, String authType) argument 64 + "chain=" + chain.length + " " 68 trustManager.checkClientTrusted(chain, authType); 82 public void checkServerTrusted(X509Certificate[] chain, String authType) argument 85 + "chain=" + chain.length + " " 89 trustManager.checkServerTrusted(chain, authType);
|
/libcore/luni/src/main/java/java/security/ |
H A D | KeyStoreSpi.java | 58 * Returns the certificate chain for the entry with the given alias. 62 * @return the certificate chain for the entry with the given alias, or 88 * Associates the given alias with the key, password and certificate chain. 98 * @param chain 99 * the certificate chain. 104 * if {@code key} is a {@code PrivateKey} and {@code chain} does 108 char[] password, Certificate[] chain) throws KeyStoreException; 111 * Associates the given alias with a key and a certificate chain. 119 * @param chain 120 * the certificate chain 107 engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) argument 127 engineSetKeyEntry(String alias, byte[] key, Certificate[] chain) argument [all...] |
H A D | KeyStore.java | 257 * Returns the certificate chain for the entry with the given alias. 261 * @return the certificate chain for the entry with the given alias, or 308 * Associates the given alias with the key, password and certificate chain. 318 * @param chain 319 * the certificate chain. 323 * if {@code key} is a {@code PrivateKey} and {@code chain} does 329 Certificate[] chain) throws KeyStoreException { 334 // Certificate chain is required for PrivateKey 335 if (key != null && key instanceof PrivateKey && (chain == null || chain 328 setKeyEntry(String alias, Key key, char[] password, Certificate[] chain) argument 365 setKeyEntry(String alias, byte[] key, Certificate[] chain) argument 1179 private Certificate[] chain; field in class:KeyStore.PrivateKeyEntry 1201 PrivateKeyEntry(PrivateKey privateKey, Certificate[] chain) argument [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | MyKeyStore.java | 93 Certificate[] chain) throws KeyStoreException { 98 if (chain != null) { 99 Chain.put(alias, chain); 104 public void engineSetKeyEntry(String alias, byte[] key, Certificate[] chain) argument 118 if (chain != null) { 119 Chain.put(alias, chain); 92 engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) argument
|
H A D | MyKeyStoreSpi.java | 69 Certificate[] chain) throws KeyStoreException { 74 public void engineSetKeyEntry(String alias, byte[] key, Certificate[] chain) argument 68 engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) argument
|
H A D | TestKeyStoreSpi.java | 198 Certificate[] chain) throws KeyStoreException { 207 if (chain == null || chain.length == 0) { 216 public void engineSetKeyEntry(String alias, byte[] key, Certificate[] chain) argument 197 engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
H A D | HandshakeCompletedEventTest.java | 557 * chain it sees, so it can later be queried. 561 private X509Certificate[] chain; field in class:HandshakeCompletedEventTest.TestTrustManager 565 public void checkClientTrusted(X509Certificate[] chain, String authType) { argument 566 this.chain = chain; 570 public void checkServerTrusted(X509Certificate[] chain, String authType) { argument 571 this.chain = chain; 580 return chain; 588 java.security.cert.X509Certificate[] chain, Strin 587 checkClientTrusted( java.security.cert.X509Certificate[] chain, String authType) argument 593 checkServerTrusted( java.security.cert.X509Certificate[] chain, String authType) argument [all...] |
/libcore/support/src/test/java/libcore/java/security/ |
H A D | TestKeyStore.java | 511 // don't need certificate chain 969 Certificate[] chain = keyStore.getCertificateChain(alias); 970 if (chain == null) { 971 out.println("No certificate chain associated with key"); 974 for (int i = 0; i < chain.length; i++) { 975 out.println("Certificate chain element #" + i); 976 out.println(chain[i]); 986 public static void assertChainLength(Object[] chain) { argument 988 * Note chain is Object[] to support both 992 assertEquals(3, chain [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | URLConnectionTest.java | 2624 public void checkClientTrusted(X509Certificate[] chain, String authType) argument 2626 calls.add("checkClientTrusted " + certificatesToString(chain) + " " + authType); 2629 public void checkServerTrusted(X509Certificate[] chain, String authType) argument 2631 calls.add("checkServerTrusted " + certificatesToString(chain) + " " + authType);
|