Searched refs:suite (Results 1 - 14 of 14) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DCipherSuiteList.java59 CipherSuiteList(CipherSuite suite) { argument
61 cipherSuites.add(suite);
82 CipherSuite suite = CipherSuite.valueOf(suiteName);
83 if (suite.isAvailable() == false) {
91 if (suite.isAvailable() == false) {
96 cipherSuites.add(suite);
119 boolean contains(CipherSuite suite) { argument
120 return cipherSuites.contains(suite);
H A DServerHandshaker.java464 // the cipher suite for that session was on the list which the
490 CipherSuite suite = previous.getSuite();
491 if (suite.keyExchange == K_KRB5 ||
492 suite.keyExchange == K_KRB5_EXPORT) {
539 CipherSuite suite = previous.getSuite();
543 if ((isNegotiable(suite) == false) ||
544 (mesg.getCipherSuites().contains(suite) == false)) {
550 setCipherSuite(suite);
566 // new one and choose its cipher suite and compression options.
621 // choose cipher suite an
911 trySetCipherSuite(CipherSuite suite) argument
[all...]
H A DHandshaker.java457 throw new SSLHandshakeException("No appropriate cipher suite");
575 for (CipherSuite suite : enabledCipherSuites.collection()) {
576 if (suite.obsoleted > activeProtocols.min.v &&
577 suite.supported <= activeProtocols.max.v) {
580 suite.name, null)) {
581 suites.add(suite);
584 if (suite.obsoleted <= activeProtocols.min.v) {
586 "Ignoring obsoleted cipher suite: " + suite);
589 "Ignoring unsupported cipher suite
[all...]
H A DSSLContextImpl.java337 for (CipherSuite suite : allowedCipherSuites) {
338 if (!suite.allowed || suite.priority < minPriority) {
342 if (suite.isAvailable() &&
343 suite.obsoleted > protocols.min.v &&
344 suite.supported <= protocols.max.v) {
347 suite.name, null)) {
348 suites.add(suite);
352 if (suite.obsoleted <= protocols.min.v) {
354 "Ignoring obsoleted cipher suite
[all...]
H A DClientHandshaker.java177 " selected cipher suite's key exchange algorithm");
250 "anonymous cipher suite.");
254 "kerberos cipher suite.");
491 ("Server returned wrong cipher suite for session");
765 * procedure used is a function of the cipher suite selected;
1201 for (CipherSuite suite : cipherSuites.collection()) {
1202 if (suite != CipherSuite.C_SCSV) {
1203 cipherList.add(suite);
1210 // make sure there is a negotiable cipher suite.
1212 for (CipherSuite suite
[all...]
H A DSSLSessionImpl.java314 void setSuite(CipherSuite suite) { argument
315 cipherSuite = suite;
323 * Returns the name of the cipher suite in use on this session
/openjdk7/jdk/test/sun/security/ssl/sanity/ciphersuites/
H A DCipherSuitesInOrder.java220 for (String suite : suites) {
221 index = supportedCipherSuites.indexOf(suite);
223 throw new RuntimeException(suite + " is not in order");
232 for (String suite : suites) {
233 System.out.println(" " + suite);
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/CipherSuite/
H A DSSL_NULL.java49 String suite = socket.getSession().getCipherSuite();
50 if (!"SSL_NULL_WITH_NULL_NULL".equals(suite)) {
52 "Wrong suite for failed handshake: " +
53 "got " + suite +
/openjdk7/jdk/src/share/sample/jmx/jmx-scandir/test/com/sun/jmx/examples/scandir/config/
H A DXmlConfigUtilsTest.java63 public static Test suite() { method in class:XmlConfigUtilsTest
64 TestSuite suite = new TestSuite(XmlConfigUtilsTest.class);
66 return suite;
/openjdk7/jdk/test/sun/security/ssl/javax/net/ssl/NewAPIs/SSLEngine/
H A DTestAllSuites.java106 private void runTest(String suite, String [] protocols) throws Exception { argument
111 System.out.println("Testing: " + suite);
119 if (suite.startsWith("TLS_KRB5")) {
120 System.out.println("Ignoring Kerberized suite");
125 * Don't run the SCSV suite
127 if (suite.equals("TLS_EMPTY_RENEGOTIATION_INFO_SCSV")) {
128 System.out.println("Ignoring SCSV suite");
133 if (!suite.contains("DH_anon")) {
137 String [] suites = new String [] { suite };
H A DCheckStatus.java256 String suite = ssle1.getSession().getCipherSuite();
257 if (!suite.equals(suite1[0])) {
258 throw new Exception("suites not equal: " + suite + "/" +
262 suite = ssle2.getSession().getCipherSuite();
263 if (!suite.equals(suite1[0])) {
264 throw new Exception("suites not equal: " + suite + "/" +
482 suite = ssle1.getSession().getCipherSuite();
483 if (!suite.equals(suite2[0])) {
484 throw new Exception("suites not equal: " + suite + "/" +
488 suite
[all...]
/openjdk7/jdk/src/share/sample/jmx/jmx-scandir/test/com/sun/jmx/examples/scandir/
H A DDirectoryScannerTest.java84 public static Test suite() { method in class:DirectoryScannerTest
85 TestSuite suite = new TestSuite(DirectoryScannerTest.class);
87 return suite;
H A DScanDirConfigTest.java74 public static Test suite() { method in class:ScanDirConfigTest
75 TestSuite suite = new TestSuite(ScanDirConfigTest.class);
77 return suite;
H A DScanManagerTest.java89 public static Test suite() { method in class:ScanManagerTest
90 TestSuite suite = new TestSuite(ScanManagerTest.class);
92 return suite;

Completed in 68 milliseconds