/openjdk7/jdk/src/share/classes/com/sun/net/ssl/ |
H A D | X509TrustManager.java | 47 * Given the partial or complete certificate chain 52 * @param chain the peer certificate chain 54 public boolean isClientTrusted(X509Certificate[] chain); argument 57 * Given the partial or complete certificate chain 62 * @param chain the peer certificate chain 64 public boolean isServerTrusted(X509Certificate[] chain); argument
|
/openjdk7/jdk/src/share/classes/javax/net/ssl/ |
H A D | X509ExtendedTrustManager.java | 42 * 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 D | X509TrustManager.java | 41 * 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...] |
/openjdk7/jdk/src/share/classes/sun/security/validator/ |
H A D | Validator.java | 78 * validator.validate(chain); // throws CertificateException if failed 201 * Validate the given certificate chain. 203 public final X509Certificate[] validate(X509Certificate[] chain) argument 205 return validate(chain, null, null); 209 * Validate the given certificate chain. If otherCerts is non-null, it is 213 public final X509Certificate[] validate(X509Certificate[] chain, argument 215 return validate(chain, otherCerts, null); 219 * Validate the given certificate chain. If otherCerts is non-null, it is 230 * @return a non-empty chain that was used to validate the path. The 233 public final X509Certificate[] validate(X509Certificate[] chain, argument 256 validate(X509Certificate[] chain, Collection<X509Certificate> otherCerts, AlgorithmConstraints constraints, Object parameter) argument 270 engineValidate(X509Certificate[] chain, Collection<X509Certificate> otherCerts, AlgorithmConstraints constraints, Object parameter) argument [all...] |
H A D | PKIXValidator.java | 202 X509Certificate[] engineValidate(X509Certificate[] chain, argument 206 if ((chain == null) || (chain.length == 0)) { 208 ("null or zero-length certificate chain"); 221 // check that chain is in correct order and check if chain contains 224 for (int i = 0; i < chain.length; i++) { 225 X509Certificate cert = chain[i]; 229 // chain is not ordered correctly, call builder instead 230 return doBuild(chain, otherCert 336 doValidate(X509Certificate[] chain, PKIXBuilderParameters params) argument 355 doBuild(X509Certificate[] chain, Collection<X509Certificate> otherCerts, PKIXBuilderParameters params) argument [all...] |
H A D | SimpleValidator.java | 120 * Perform simple validation of chain. The arguments otherCerts and 124 X509Certificate[] engineValidate(X509Certificate[] chain, argument 128 if ((chain == null) || (chain.length == 0)) { 130 ("null or zero-length certificate chain"); 133 // make sure chain includes a trusted cert 134 chain = buildTrustedChain(chain); 145 TrustAnchor anchor = new TrustAnchor(chain[chain 357 buildTrustedChain(X509Certificate[] chain) argument [all...] |
/openjdk7/jdk/test/java/util/HashMap/ |
H A D | HashMapCloneLeak.java | 56 Object[] chain = null; 60 allocate[0] = chain; 61 chain = allocate; 63 chain = null;
|
/openjdk7/jdk/src/share/classes/com/sun/net/ssl/internal/ssl/ |
H A D | X509ExtendedTrustManager.java | 66 * 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...] |
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | X509TrustManagerImpl.java | 99 public void checkClientTrusted(X509Certificate chain[], String authType) argument 101 checkTrusted(chain, authType, (Socket)null, true); 105 public void checkServerTrusted(X509Certificate chain[], String authType) argument 107 checkTrusted(chain, authType, (Socket)null, false); 118 public void checkClientTrusted(X509Certificate[] chain, String authType, argument 120 checkTrusted(chain, authType, socket, true); 124 public void checkServerTrusted(X509Certificate[] chain, String authType, argument 126 checkTrusted(chain, authType, socket, false); 130 public void checkClientTrusted(X509Certificate[] chain, String authType, argument 132 checkTrusted(chain, authTyp 136 checkServerTrusted(X509Certificate[] chain, String authType, SSLEngine engine) argument 141 checkTrustedInit(X509Certificate[] chain, String authType, boolean isClient) argument 184 checkTrusted(X509Certificate[] chain, String authType, Socket socket, boolean isClient) argument 239 checkTrusted(X509Certificate[] chain, String authType, SSLEngine engine, boolean isClient) argument 321 validate(Validator v, X509Certificate[] chain, AlgorithmConstraints constraints, String authType) argument [all...] |
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/X509TrustManagerImpl/ |
H A D | ComodoHacker.java | 223 X509Certificate[] chain = getFraudulentChain(); 227 tm.checkClientTrusted(chain, "RSA"); 238 tm.checkServerTrusted(chain, "RSA"); 281 X509Certificate[] chain = new X509Certificate[4]; 284 chain[0] = (X509Certificate)cf.generateCertificate(is); 289 chain[1] = (X509Certificate)cf.generateCertificate(is); 294 chain[2] = (X509Certificate)cf.generateCertificate(is); 299 chain[3] = (X509Certificate)cf.generateCertificate(is); 302 return chain;
|
H A D | CertRequestOverflow.java | 247 public void checkClientTrusted(X509Certificate chain[], String authType) argument 249 tm.checkClientTrusted(chain, authType); 252 public void checkServerTrusted(X509Certificate chain[], String authType) argument 254 tm.checkServerTrusted(chain, authType); 271 public void checkClientTrusted(X509Certificate[] chain, String authType, argument 274 tm.checkClientTrusted(chain, authType); 277 public void checkServerTrusted(X509Certificate[] chain, String authType, argument 280 tm.checkServerTrusted(chain, authType); 283 public void checkClientTrusted(X509Certificate[] chain, String authType, argument 286 tm.checkClientTrusted(chain, authTyp 289 checkServerTrusted(X509Certificate[] chain, String authType, SSLEngine engine) argument [all...] |
H A D | X509ExtendedTMEnabled.java | 245 public void checkClientTrusted(X509Certificate chain[], String authType) argument 247 tm.checkClientTrusted(chain, authType); 250 public void checkServerTrusted(X509Certificate chain[], String authType) argument 252 tm.checkServerTrusted(chain, authType); 259 public void checkClientTrusted(X509Certificate[] chain, String authType, argument 262 tm.checkClientTrusted(chain, authType); 265 public void checkServerTrusted(X509Certificate[] chain, String authType, argument 268 tm.checkServerTrusted(chain, authType); 271 public void checkClientTrusted(X509Certificate[] chain, String authType, argument 274 tm.checkClientTrusted(chain, authTyp 277 checkServerTrusted(X509Certificate[] chain, String authType, SSLEngine engine) argument [all...] |
/openjdk7/jdk/test/sun/security/mscapi/ |
H A D | AccessKeyStore.java | 119 Certificate[] chain = keyStore.getCertificateChain(alias); 120 if (chain != null) { 121 System.out.println(" Certificate chain: "); 122 for (int i = 0; i < chain.length; i ++) { 124 displayCert(chain[i], " "); 131 Certificate[] chain = keyStore.getCertificateChain(alias); 132 if (chain != null) { 133 System.out.println(" Certificate chain: "); 134 for (int i = 0; i < chain.length; i ++) { 136 displayCert(chain[ [all...] |
/openjdk7/jdk/test/java/security/KeyStore/ |
H A D | DefaultEntryType.java | 146 Certificate[] chain = new Certificate[0]; 148 (null, chain); 155 // TEST null chain 165 // TEST empty chain 167 Certificate[] chain = new Certificate[0]; 169 (new PrivKey1(), chain); 176 // TEST non-homogenous chain 178 Certificate[] chain = new Certificate[2]; 179 chain[0] = new Cert(); 180 chain[ [all...] |
/openjdk7/jdk/src/share/classes/javax/sql/rowset/serial/ |
H A D | SerialJavaObject.java | 162 java.util.Vector chain; field in class:SerialJavaObject 168 if (chain == null) { 169 chain = new java.util.Vector(); 171 chain.add(e);
|
/openjdk7/jdk/test/sun/security/validator/ |
H A D | CertReplace.java | 41 * @param args {cacerts keystore, cert chain} 49 X509Certificate[] chain = createPath(args[1]); 51 for (X509Certificate c: v.validate(chain)) { 57 public static X509Certificate[] createPath(String chain) throws Exception { argument 61 new FileInputStream(chain))) {
|
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/ws/ |
H A D | Binding.java | 37 * Gets a copy of the handler chain for a protocol binding instance. 38 * If the returned chain is modified a call to <code>setHandlerChain</code> 39 * is required to configure the binding instance with the new chain. 41 * @return java.util.List<Handler> Handler chain 46 * Sets the handler chain for the protocol binding instance. 48 * @param chain A List of handler configuration entries 50 * the handler chain 54 * chain. 56 public void setHandlerChain(java.util.List<javax.xml.ws.handler.Handler> chain); argument
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/client/ |
H A D | HandlerConfigurator.java | 106 * must match when getting a handler chain from the map. 110 * a handler chain and then it sets the chains on this class and they 128 HandlerAnnotationInfo chain = chainMap.get(port); 130 if(chain==null) { 133 chain = handlerModel.getHandlersForPortInfo(port); 134 chainMap.put(port,chain); 138 ((SOAPBinding) binding).setRoles(chain.getRoles()); 141 logSetChain(port,chain); 142 binding.setHandlerChain(chain.getHandlers()); 154 private void logSetChain(WSPortInfo info, HandlerAnnotationInfo chain) { argument [all...] |
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLContextImpl/ |
H A D | TrustTrustedCert.java | 238 // generate certificate chain 243 X509Certificate[] chain = new X509Certificate[2]; 244 chain[0] = keyCert; 245 chain[1] = trusedCert; 247 // import the key entry and the chain 248 ks.setKeyEntry("TheKey", priKey, passphrase, chain); 258 new NoneExtendedX509KM("TheKey", chain, priKey); 277 public void checkClientTrusted(X509Certificate chain[], String authType) argument 279 tm.checkClientTrusted(chain, authType); 282 public void checkServerTrusted(X509Certificate chain[], Strin argument 294 private X509Certificate[] chain; field in class:TrustTrustedCert.NoneExtendedX509KM 297 NoneExtendedX509KM(String keyAlias, X509Certificate[] chain, PrivateKey privateKey) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/provider/ |
H A D | JavaKeyStore.java | 76 Certificate chain[]; field in class:JavaKeyStore.KeyEntry 142 * Returns the certificate chain associated with the given alias. 146 * @return the certificate chain (ordered with the user's certificate first 148 * does not exist or does not contain a certificate chain (i.e., the given 150 * <i>key entry</i> without a certificate chain). 156 if (((KeyEntry)entry).chain == null) { 159 return ((KeyEntry)entry).chain.clone(); 172 * <i>key entry</i>, the first element of the certificate chain of that 174 * chain. 188 if (((KeyEntry)entry).chain 243 engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) argument 301 engineSetKeyEntry(String alias, byte[] key, Certificate[] chain) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/ |
H A D | XMLHandlerProcessor.java | 52 public XMLHandlerProcessor(HandlerTube owner, WSBinding binding, List<? extends Handler> chain) { argument 53 super(owner, binding, chain);
|
/openjdk7/jdk/test/java/rmi/server/RemoteObject/notExtending/ |
H A D | NotExtending.java | 133 java.util.Vector chain = new java.util.Vector(); 137 chain.addElement(hungry);
|
/openjdk7/jdk/src/share/native/sun/font/layout/ |
H A D | MorphTables.cpp | 52 le_uint32 chain; local 54 for (chain = 0; LE_SUCCESS(success) && (chain < chainCount); chain += 1) {
|
/openjdk7/jdk/test/sun/security/pkcs11/Secmod/ |
H A D | JksSetPrivateKey.java | 60 X509Certificate[] chain = (X509Certificate[])ks.getCertificateChain(keyAlias); 66 jks.setKeyEntry("k1", privateKey, "changeit".toCharArray(), chain); 73 jks.setKeyEntry("k2", new DummyPrivateKey(), "changeit".toCharArray(), chain); 81 jks.setKeyEntry("k3", new DummyPrivateKey2(), "changeit".toCharArray(), chain);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/binding/ |
H A D | HTTPBindingImpl.java | 60 public void setHandlerChain(List<Handler> chain) { argument 62 for (Handler handler : chain) { 69 handlerConfig = new HandlerConfiguration(Collections.<String>emptySet(), chain);
|