Searched defs:chain (Results 1 - 23 of 23) sorted by relevance

/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
H A DIntermediateTestOp.java31 public static<T> AbstractPipeline chain(AbstractPipeline upstream, method in interface:IntermediateTestOp
34 return StatelessTestOp.chain(upstream, (StatelessTestOp) op);
37 return StatefulTestOp.chain(upstream, (StatefulTestOp) op);
H A DStatelessTestOp.java31 public static<T> AbstractPipeline chain(AbstractPipeline upstream, method in interface:StatelessTestOp
H A DStatefulTestOp.java34 public static<T> AbstractPipeline chain(AbstractPipeline upstream, method in interface:StatefulTestOp
H A DOpTestCase.java223 return new ExerciseDataStreamBuilder<>(data, (S_IN s) -> (S_OUT) chain(s, ops));
233 return new ExerciseDataStreamBuilder<>(data, s -> (S_OUT) chain(m.apply(s), additionalOp));
461 source = (BaseStream) chain(source, new ShortCircuitOp(shape));
473 source = (BaseStream) chain(source, new ShortCircuitOp(shape));
617 private static <T> AbstractPipeline<?, T, ?> chain(AbstractPipeline upstream, IntermediateTestOp<?, T> op) { method in class:OpTestCase
618 return (AbstractPipeline<?, T, ?>) IntermediateTestOp.chain(upstream, op);
622 private static AbstractPipeline<?, ?, ?> chain(AbstractPipeline pipe, IntermediateTestOp... ops) { method in class:OpTestCase
624 pipe = chain(pipe, op);
629 private static <T> AbstractPipeline<?, T, ?> chain(BaseStream pipe, IntermediateTestOp<?, T> op) { method in class:OpTestCase
630 return chain((AbstractPipelin
634 public static AbstractPipeline<?, ?, ?> chain(BaseStream pipe, IntermediateTestOp... ops) { method in class:OpTestCase
[all...]
/libcore/ojluni/src/main/java/javax/net/ssl/
H A DX509ExtendedTrustManager.java42 * certificate chain checks were done at the SSL/TLS layer, and the hostname
57 * Given the partial or complete certificate chain provided by the
80 * @param chain the peer certificate chain
86 * in for the <code>chain</code> parameter or if null or zero-length
88 * @throws CertificateException if the certificate chain is not trusted
96 public abstract void checkClientTrusted(X509Certificate[] chain, argument
100 * Given the partial or complete certificate chain provided by the
128 * @param chain the peer certificate chain
144 checkServerTrusted(X509Certificate[] chain, String authType, Socket socket) argument
185 checkClientTrusted(X509Certificate[] chain, String authType, SSLEngine engine) argument
231 checkServerTrusted(X509Certificate[] chain, String authType, SSLEngine engine) argument
[all...]
H A DX509TrustManager.java41 * Given the partial or complete certificate chain provided by the
50 * @param chain the peer certificate chain
52 * @throws IllegalArgumentException if null or zero-length chain
53 * is passed in for the chain parameter or if null or zero-length
55 * @throws CertificateException if the certificate chain is not trusted
58 public void checkClientTrusted(X509Certificate[] chain, String authType) argument
62 * Given the partial or complete certificate chain provided by the
76 * @param chain the peer certificate chain
84 checkServerTrusted(X509Certificate[] chain, String authType) argument
[all...]
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
H A DIntermediateTestOp.java33 public static<T> AbstractPipeline chain(AbstractPipeline upstream, method in interface:IntermediateTestOp
36 return StatelessTestOp.chain(upstream, (StatelessTestOp) op);
39 return StatefulTestOp.chain(upstream, (StatefulTestOp) op);
H A DStatelessTestOp.java39 public static<T> AbstractPipeline chain(AbstractPipeline upstream, method in interface:StatelessTestOp
H A DStatefulTestOp.java35 public static<T> AbstractPipeline chain(AbstractPipeline upstream, method in interface:StatefulTestOp
H A DOpTestCase.java224 return new ExerciseDataStreamBuilder<>(data, (S_IN s) -> (S_OUT) chain(s, ops));
234 return new ExerciseDataStreamBuilder<>(data, s -> (S_OUT) chain(m.apply(s), additionalOp));
462 source = (BaseStream) chain(source, new ShortCircuitOp(shape));
474 source = (BaseStream) chain(source, new ShortCircuitOp(shape));
618 private static <T> AbstractPipeline<?, T, ?> chain(AbstractPipeline upstream, IntermediateTestOp<?, T> op) { method in class:OpTestCase
619 return (AbstractPipeline<?, T, ?>) IntermediateTestOp.chain(upstream, op);
623 private static AbstractPipeline<?, ?, ?> chain(AbstractPipeline pipe, IntermediateTestOp... ops) { method in class:OpTestCase
625 pipe = chain(pipe, op);
630 private static <T> AbstractPipeline<?, T, ?> chain(BaseStream pipe, IntermediateTestOp<?, T> op) { method in class:OpTestCase
631 return chain((AbstractPipelin
635 public static AbstractPipeline<?, ?, ?> chain(BaseStream pipe, IntermediateTestOp... ops) { method in class:OpTestCase
[all...]
/libcore/ojluni/src/main/java/com/sun/net/ssl/internal/ssl/
H A DX509ExtendedTrustManager.java66 * Given the partial or complete certificate chain provided by the
80 * @param chain the peer certificate chain
84 * @throws IllegalArgumentException if null or zero-length chain
85 * is passed in for the chain parameter or if null or zero-length
87 * @throws CertificateException if the certificate chain is not trusted
90 public abstract void checkClientTrusted(X509Certificate[] chain, argument
95 * Given the partial or complete certificate chain provided by the
109 * @param chain the peer certificate chain
119 checkServerTrusted(X509Certificate[] chain, String authType, String hostname, String algorithm) argument
[all...]
/libcore/xml/src/main/java/org/xmlpull/v1/
H A DXmlPullParserException.java36 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 DTestTrustManager.java72 public void checkClientTrusted(X509Certificate[] chain, String authType) argument
75 + "chain=" + chain.length + " "
79 trustManager.checkClientTrusted(chain, authType);
88 public void checkClientTrusted(X509Certificate[] chain, String authType, Socket socket) argument
92 checkClientTrusted(chain, authType);
96 + "chain=" + chain.length + " "
101 extendedTrustManager.checkClientTrusted(chain, authType, socket);
110 public void checkClientTrusted(X509Certificate[] chain, Strin argument
137 checkServerTrusted(X509Certificate[] chain, String authType) argument
153 checkServerTrusted(X509Certificate[] chain, String authType, Socket socket) argument
175 checkServerTrusted(X509Certificate[] chain, String authType, SSLEngine engine) argument
[all...]
/libcore/ojluni/src/main/java/java/security/
H A DKeyStoreSpi.java79 * Returns the certificate chain associated with the given alias.
80 * The certificate chain must have been associated with the alias
87 * @return the certificate chain (ordered with the user's certificate first
89 * does not exist or does not contain a certificate chain
106 * then the first element of the certificate chain in that entry
107 * (if a chain exists) is returned.
131 * it must be accompanied by a certificate chain certifying the
136 * certificate chain).
141 * @param chain the certificate chain fo
148 engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) argument
174 engineSetKeyEntry(String alias, byte[] key, Certificate[] chain) argument
[all...]
H A DKeyStore.java52 * unauthorized access. It is also accompanied by a certificate chain
491 * and corresponding certificate chain.
498 private final Certificate[] chain; field in class:KeyStore.PrivateKeyEntry
503 * {@code PrivateKey} and corresponding certificate chain.
505 * <p> The specified {@code chain} is cloned before it is stored
509 * @param chain an array of {@code Certificate}s
510 * representing the certificate chain.
511 * The chain must be ordered and contain a
516 * {@code privateKey} or {@code chain}
518 * @exception IllegalArgumentException if the specified chain ha
525 PrivateKeyEntry(PrivateKey privateKey, Certificate[] chain) argument
555 PrivateKeyEntry(PrivateKey privateKey, Certificate[] chain, Set<Attribute> attributes) argument
1166 setKeyEntry(String alias, Key key, char[] password, Certificate[] chain) argument
1206 setKeyEntry(String alias, byte[] key, Certificate[] chain) argument
[all...]
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DMyKeyStore.java93 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 DMyKeyStoreSpi.java69 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 DTestKeyStoreSpi.java198 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 DHandshakeCompletedEventTest.java555 * chain it sees, so it can later be queried.
559 private X509Certificate[] chain; field in class:HandshakeCompletedEventTest.TestTrustManager
563 public void checkClientTrusted(X509Certificate[] chain, String authType) { argument
564 this.chain = chain;
568 public void checkServerTrusted(X509Certificate[] chain, String authType) { argument
569 this.chain = chain;
578 return chain;
586 java.security.cert.X509Certificate[] chain, Strin
585 checkClientTrusted( java.security.cert.X509Certificate[] chain, String authType) argument
591 checkServerTrusted( java.security.cert.X509Certificate[] chain, String authType) argument
[all...]
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DUnixFileSystemProvider.java526 final FileTypeDetector chain(final AbstractFileTypeDetector... detectors) { method in class:UnixFileSystemProvider
/libcore/support/src/test/java/libcore/java/security/
H A DTestKeyStore.java623 // don't need certificate chain
1132 Certificate[] chain = keyStore.getCertificateChain(alias);
1133 if (chain == null) {
1134 out.println("No certificate chain associated with key");
1137 for (int i = 0; i < chain.length; i++) {
1138 out.println("Certificate chain element #" + i);
1139 out.println(chain[i]);
1149 public static void assertChainLength(Object[] chain) { argument
1151 * Note chain is Object[] to support both
1155 assertEquals(3, chain
[all...]
/libcore/ojluni/src/main/native/
H A Dzip_util.c724 int chain = table[hsh]; local
725 while (chain != ZIP_ENDCHAIN) {
726 const jzcell* cell = &entries[chain];
737 chain = cell->next;
1218 * Search down the target hash chain for a cell whose
/libcore/luni/src/test/java/libcore/java/net/
H A DURLConnectionTest.java3135 public void checkClientTrusted(X509Certificate[] chain, String authType) argument
3137 calls.add("checkClientTrusted " + certificatesToString(chain) + " " + authType);
3140 public void checkServerTrusted(X509Certificate[] chain, String authType) argument
3142 calls.add("checkServerTrusted " + certificatesToString(chain) + " " + authType);

Completed in 550 milliseconds