/openjdk7/jdk/test/sun/security/ssl/sanity/interop/ |
H A D | JSSEClient.java | 54 socket.setEnabledCipherSuites(new String[] {params.cipherSuite}); 62 String cipherSuite = session.getCipherSuite(); 63 if (params.cipherSuite.equals(cipherSuite) == false) { 64 throw new Exception("Negotiated ciphersuite mismatch: " + cipherSuite + " != " + params.cipherSuite); 70 if (cipherSuite.indexOf("DH_anon") == -1) {
|
H A D | CipherTest.java | 106 String cipherSuite; field in class:CipherTest.TestParameters 110 TestParameters(String cipherSuite, String protocol, argument 112 this.cipherSuite = cipherSuite; 118 return TLSCipherStatus.isEnabled(cipherSuite, protocol); 122 String s = cipherSuite + " in " + protocol + " mode"; 175 final String cipherSuite; field in class:CipherTest.TestParameters.TLSCipherStatus 183 TLSCipherStatus(String cipherSuite, argument 185 this.cipherSuite = cipherSuite; 190 isEnabled(String cipherSuite, String protocol) argument 438 isSupported(String cipherSuite, String protocol) argument [all...] |
/openjdk7/jdk/test/sun/security/pkcs11/fips/ |
H A D | JSSEClient.java | 53 socket.setEnabledCipherSuites(new String[] {params.cipherSuite}); 61 String cipherSuite = session.getCipherSuite(); 62 if (params.cipherSuite.equals(cipherSuite) == false) { 63 throw new Exception("Negotiated ciphersuite mismatch: " + cipherSuite + " != " + params.cipherSuite); 69 if (cipherSuite.indexOf("DH_anon") == -1) {
|
H A D | CipherTest.java | 105 String cipherSuite; field in class:CipherTest.TestParameters 109 TestParameters(String cipherSuite, String protocol, argument 111 this.cipherSuite = cipherSuite; 117 return TLSCipherStatus.isEnabled(cipherSuite, protocol); 121 String s = cipherSuite + " in " + protocol + " mode"; 174 final String cipherSuite; field in class:CipherTest.TestParameters.TLSCipherStatus 182 TLSCipherStatus(String cipherSuite, argument 184 this.cipherSuite = cipherSuite; 189 isEnabled(String cipherSuite, String protocol) argument 453 isSupported(String cipherSuite, String protocol) argument [all...] |
/openjdk7/jdk/test/sun/security/pkcs11/sslecc/ |
H A D | JSSEClient.java | 53 socket.setEnabledCipherSuites(new String[] {params.cipherSuite}); 61 String cipherSuite = session.getCipherSuite(); 62 if (params.cipherSuite.equals(cipherSuite) == false) { 63 throw new Exception("Negotiated ciphersuite mismatch: " + cipherSuite + " != " + params.cipherSuite); 69 if (cipherSuite.indexOf("DH_anon") == -1) {
|
H A D | CipherTest.java | 105 String cipherSuite; field in class:CipherTest.TestParameters 109 TestParameters(String cipherSuite, String protocol, argument 111 this.cipherSuite = cipherSuite; 117 return TLSCipherStatus.isEnabled(cipherSuite, protocol); 121 String s = cipherSuite + " in " + protocol + " mode"; 174 final String cipherSuite; field in class:CipherTest.TestParameters.TLSCipherStatus 182 TLSCipherStatus(String cipherSuite, argument 184 this.cipherSuite = cipherSuite; 189 isEnabled(String cipherSuite, String protocol) argument 439 isSupported(String cipherSuite, String protocol) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | SSLAlgorithmConstraints.java | 402 CipherSuite cipherSuite = null; 404 cipherSuite = CipherSuite.valueOf(algorithm); 409 if (cipherSuite != null) { 412 if(cipherSuite.keyExchange != null) { 414 decomposes(cipherSuite.keyExchange, false)); 417 if (cipherSuite.cipher != null) { 418 components.addAll(decomposes(cipherSuite.cipher)); 421 if (cipherSuite.macAlg != null) { 422 components.addAll(decomposes(cipherSuite.macAlg)); 443 CipherSuite cipherSuite [all...] |
H A D | SSLSessionImpl.java | 96 private CipherSuite cipherSuite; field in class:SSLSessionImpl 150 SSLSessionImpl(ProtocolVersion protocolVersion, CipherSuite cipherSuite, argument 153 this(protocolVersion, cipherSuite, algorithms, 160 SSLSessionImpl(ProtocolVersion protocolVersion, CipherSuite cipherSuite, argument 167 this.cipherSuite = cipherSuite; 308 return cipherSuite; 315 cipherSuite = suite; 391 if ((cipherSuite.keyExchange == K_KRB5) || 392 (cipherSuite [all...] |
H A D | Handshaker.java | 130 CipherSuite cipherSuite; field in class:Handshaker 503 * Set cipherSuite and keyExchange to the given CipherSuite. 508 this.cipherSuite = s; 666 BulkCipher cipher = cipherSuite.cipher; 686 BulkCipher cipher = cipherSuite.cipher; 706 MacAlg macAlg = cipherSuite.macAlg; 722 MacAlg macAlg = cipherSuite.macAlg; 1035 prf = cipherSuite.prfAlg; 1158 int hashSize = cipherSuite.macAlg.size; 1159 boolean is_exportable = cipherSuite [all...] |
H A D | HandshakeMessage.java | 343 CipherSuite cipherSuite; field in class:HandshakeMessage.ServerHello 357 cipherSuite = CipherSuite.valueOf(input.getInt8(), input.getInt8()); 381 s.putInt8(cipherSuite.id >> 8); 382 s.putInt8(cipherSuite.id & 0xff); 400 s.println("Cipher Suite: " + cipherSuite); 1852 private CipherSuite cipherSuite; field in class:HandshakeMessage.Finished 1858 int sender, SecretKey master, CipherSuite cipherSuite) { 1860 this.cipherSuite = cipherSuite; 1868 CipherSuite cipherSuite) throw 1857 Finished(ProtocolVersion protocolVersion, HandshakeHash handshakeHash, int sender, SecretKey master, CipherSuite cipherSuite) argument 1867 Finished(ProtocolVersion protocolVersion, HandshakeInStream input, CipherSuite cipherSuite) argument [all...] |
H A D | ClientHandshaker.java | 290 new Finished(protocolVersion, input, cipherSuite)); 463 if (isNegotiable(mesg.cipherSuite) == false) { 465 "Server selected improper ciphersuite " + mesg.cipherSuite); 468 setCipherSuite(mesg.cipherSuite); 470 handshakeHash.setFinishedAlg(cipherSuite.prfAlg.getPRFHashAlg()); 489 if (cipherSuite != sessionSuite) { 582 session = new SSLSessionImpl(protocolVersion, cipherSuite, 587 System.out.println("** " + cipherSuite); 1079 Finished.CLIENT, session.getMasterSecret(), cipherSuite);
|
H A D | ServerHandshaker.java | 244 new Finished(protocolVersion, input, cipherSuite)); 624 session.setSuite(cipherSuite); 637 handshakeHash.setFinishedAlg(cipherSuite.prfAlg.getPRFHashAlg()); 640 m1.cipherSuite = cipherSuite; 875 * the cipherSuite and keyExchange variables. 1135 throw new RuntimeException("Unrecognized cipherSuite: " + suite); 1525 Finished.SERVER, session.getMasterSecret(), cipherSuite);
|