Searched refs:protocols (Results 26 - 50 of 52) sorted by relevance

123

/openjdk7/jdk/test/sun/security/ssl/javax/net/ssl/NewAPIs/SSLEngine/
H A DBasics.java98 String [] protocols = ssle.getSupportedProtocols();
99 String secondProtocol = protocols[1];
100 String [] oneProtocols = new String [] { protocols[1] };
102 printStrings("Supported Protocols", protocols);
107 protocols = ssle.getEnabledProtocols();
109 !(protocols[0].equals(secondProtocol))) {
110 throw new Exception("set protocols not what was expected");
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DSSLServerSocketImpl.java200 * Controls which protocols are enabled for use.
201 * The protocols must have been listed by
204 * @param protocols protocols to enable.
205 * @exception IllegalArgumentException when one of the protocols
208 synchronized public void setEnabledProtocols(String[] protocols) { argument
209 enabledProtocols = new ProtocolList(protocols);
251 * protocols haven't specifically been set by the user,
H A DSSLContextImpl.java58 // supported and default protocols
311 * protocols. See: SSLSocket/SSLEngine.setEnabledProtocols()
313 boolean isDefaultProtocolList(ProtocolList protocols) { argument
314 return (protocols == defaultServerProtocolList) ||
315 (protocols == defaultClientProtocolList);
324 ProtocolList protocols, boolean onlyEnabled) {
335 if (!(protocols.collection().isEmpty()) &&
336 protocols.min.v != ProtocolVersion.NONE.v) {
343 suite.obsoleted > protocols.min.v &&
344 suite.supported <= protocols
323 getApplicableCipherSuiteList( ProtocolList protocols, boolean onlyEnabled) argument
[all...]
H A DSSLSocketImpl.java485 boolean sessionCreation, ProtocolList protocols,
500 enabledProtocols = protocols;
527 * protocols which negotiate use of a SSL based security.
1166 * TLS protocols do not define a error alert for sequence
2277 * protocols haven't specifically been set by the user,
2299 * protocols haven't specifically been set by the user,
2376 * Returns the protocols that are supported by this implementation.
2377 * A subset of the supported protocols may be enabled for this connection
2385 * Controls which protocols are enabled for use on
2386 * this connection. The protocols mus
483 SSLSocketImpl(SSLContextImpl context, boolean serverMode, CipherSuiteList suites, byte clientAuth, boolean sessionCreation, ProtocolList protocols, String identificationProtocol, AlgorithmConstraints algorithmConstraints) argument
2393 setEnabledProtocols(String[] protocols) argument
[all...]
H A DHandshaker.java78 // List of enabled protocols
99 * List of active protocols
101 * Active protocols is a subset of enabled protocols, and will
102 * contain only those protocols that have vaild cipher suites
111 * contain only those cipher suites available for the active protocols.
372 * Set the enabled protocols. Called from the constructor or
557 * Therefore, when the active protocols only include TLS 1.1 or later,
610 * subset of the enabled protocols, called the active protocols, whic
[all...]
/openjdk7/jdk/src/share/classes/javax/net/ssl/
H A DSSLServerSocket.java35 * provides secure server sockets using protocols such as the Secure
36 * Sockets Layer (SSL) or Transport Layer Security (TLS) protocols.
47 * suites and protocols, whether client
249 * Returns the names of the protocols which could be enabled for use.
259 * Returns the names of the protocols which are currently
270 * Controls which particular protocols are enabled for use by
273 * The protocols must have been listed by
275 * Following a successful call to this method, only protocols listed
276 * in the <code>protocols</code> parameter are enabled for use.
281 * @param protocols Name
288 setEnabledProtocols(String protocols[]) argument
[all...]
H A DSSLSocket.java37 * socket using protocols such as the "Secure
38 * Sockets Layer" (SSL) or IETF "Transport Layer Security" (TLS) protocols.
319 * Returns the names of the protocols which could be enabled for use
322 * @return an array of protocols supported
331 * @return an array of protocols
339 * The protocols must have been listed by
341 * Following a successful call to this method, only protocols listed
342 * in the <code>protocols</code> parameter are enabled for use.
344 * @param protocols Names of all the protocols t
350 setEnabledProtocols(String protocols[]) argument
[all...]
H A DSSLEngine.java33 * A class which enables secure communications using protocols such as
36 * Layer Security" (TLS) </A> protocols, but is transport independent.
265 * close the SSL/TLS link. The SSL/TLS protocols have closure handshake
342 * <li> The SSL/TLS protocols employ ordered packets.
518 * wraps are often useful when implementing network protocols or
672 * unwraps are often useful when implementing network protocols or
912 * Returns the names of the protocols which could be enabled for use
915 * @return an array of protocols supported
924 * @return an array of protocols
933 * The protocols mus
944 setEnabledProtocols(String protocols[]) argument
[all...]
/openjdk7/jdk/test/sun/security/ssl/sanity/pluggability/
H A DMySSLEngineImpl.java68 public void setEnabledProtocols(String[] protocols) {} argument
H A DMySSLSocketFacImpl.java83 public void setEnabledProtocols(String protocols[]) {} argument
/openjdk7/jdk/test/javax/rmi/ssl/
H A DSSLSocketParametersTest.java100 String[] protocols,
102 super(ciphers, protocols, need);
107 String[] protocols,
109 super(context, ciphers, protocols, need);
99 ServerFactory(String[] ciphers, String[] protocols, boolean need) argument
105 ServerFactory(SSLContext context, String[] ciphers, String[] protocols, boolean need) argument
H A DSocketFactoryTest.java64 String[] protocols,
66 super(ciphers, protocols, need);
70 String[] protocols,
72 super(context, ciphers, protocols, need);
63 MySslRMIServerSocketFactory(String[] ciphers, String[] protocols, boolean need) argument
68 MySslRMIServerSocketFactory(SSLContext context, String[] ciphers, String[] protocols, boolean need) argument
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/https/
H A DHttpsClient.java163 // If protocols are assigned, sort them into an array.
165 String protocols [];
167 new GetPropertyAction("https.protocols"));
170 protocols = null;
178 protocols = new String [v.size()];
179 for (int i = 0; i < protocols.length; i++) {
180 protocols [i] = v.elementAt(i);
183 return protocols;
464 String [] protocols = getProtocols();
466 if (protocols !
[all...]
/openjdk7/jdk/test/javax/management/remote/mandatory/connection/
H A DConnectionTest.java74 String[] protocols = {"rmi", "iiop", "jmxmp"};
76 protocols = args;
77 for (int i = 0; i < protocols.length; i++) {
78 final String proto = protocols[i];
/openjdk7/jdk/test/sun/security/ssl/sanity/interop/
H A DCipherTest.java249 String[] protocols = socket.getSupportedProtocols();
252 cipherSuites.length * protocols.length * clientAuths.length);
256 for (int j = 0; j < protocols.length; j++) {
257 String protocol = protocols[j];
/openjdk7/jdk/test/sun/security/pkcs11/fips/
H A DCipherTest.java248 String[] protocols = socket.getSupportedProtocols();
252 cipherSuites.length * protocols.length * clientAuths.length);
256 for (int j = 0; j < protocols.length; j++) {
257 String protocol = protocols[j];
/openjdk7/jdk/test/sun/security/pkcs11/sslecc/
H A DCipherTest.java248 String[] protocols = socket.getSupportedProtocols();
251 cipherSuites.length * protocols.length * clientAuths.length);
255 for (int j = 0; j < protocols.length; j++) {
256 String protocol = protocols[j];
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/model/
H A DFramework.java83 public List<Protocol> protocols; field in class:Framework
112 protocols = new ArrayList<Protocol>();
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLEngineImpl/
H A DSSLEngineBadBufferArrayAccess.java145 String [] protocols = new String [] {
148 for (String protocol : protocols) {
/openjdk7/jdk/test/sun/security/ssl/javax/net/ssl/NewAPIs/
H A DtestEnabledProtocols.java52 * For each of the valid protocols combinations, start a server thread
255 private static void showProtocols(String name, String[] protocols) { argument
256 System.out.println("Enabled protocols on the " + name + " are: " + Arrays.asList(protocols));
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXDecoratedPeer.java168 XAtomList protocols = super.getWMProtocols();
169 protocols.add(wm_delete_window);
170 protocols.add(wm_take_focus);
171 return protocols;
973 XAtomList protocols = getWMProtocols();
975 protocols.remove(wm_take_focus);
977 protocols.add(wm_take_focus);
979 wm_protocols.setAtomListProperty(this, protocols);
H A DXDropTargetRegistry.java204 // The list of protocols supported by the embedder.
263 private void registerProtocols(long embedder, boolean protocols, argument
269 * protocols. This approach is not appropriate in plugin
272 * source that supports both protocols and prefers XDnD will be unable
276 * In general, if the browser already supports some protocols, we
277 * register the embedded drop site only for those protocols. Otherwise
278 * we register the embedded drop site for all protocols.
294 if ((protocols == XEMBED_PROTOCOLS) ==
315 // The list of protocols supported by the embedder.
342 * protocols
[all...]
H A DXWM.java1040 * Returns all protocols supporting given protocol interface
1052 Collection<T> protocols = getProtocols(protocolInterface);
1053 protocols.add(protocol);
1054 protocolsMap.put(protocolInterface, protocols);
1109 * Reading state from different protocols
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_wm.c86 static Atom _XA_NET_SUPPORTED; /* list of protocols (property of root) */
607 * Check that that the list of protocols specified by WM in property
613 Atom *protocols; local
618 protocols = awt_getAtomListProperty(DefaultRootWindow(awt_display),
620 if (protocols == NULL) {
626 if (protocols[i] == proto) {
632 if (protocols != NULL) {
633 XFree(protocols);
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/runtime/
H A DAbstractTranslet.java115 * protocols allowed for external references set by the stylesheet processing instruction, Document() function, Import and Include element.
768 * Return allowed protocols for accessing external stylesheet.
775 * Set allowed protocols for accessing external stylesheet.
777 public void setAllowedProtocols(String protocols) { argument
778 _accessExternalStylesheet = protocols;

Completed in 132 milliseconds

123