Lines Matching defs:handshaker

280      * handshaker to change its mode.  If handshaking has started,
282 * is created, at which time the new handshaker's state is set.
328 private Handshaker handshaker;
623 * Initialize the handshaker and socket streams.
643 * to defaults and the appropriate kind of handshaker set up.
989 * handshaker ... if there isn't one, create one. This
999 if (!handshaker.activated()) {
1003 handshaker.activate(protocolVersion);
1005 handshaker.activate(null);
1013 * The handshaker state machine will ensure that it's
1016 handshaker.process_record(r, expectingFinished);
1019 if (handshaker.invalidated) {
1020 handshaker = null;
1025 } else if (handshaker.isDone()) {
1028 handshaker.isSecureRenegotiation();
1029 clientVerifyData = handshaker.getClientVerifyData();
1030 serverVerifyData = handshaker.getServerVerifyData();
1032 sess = handshaker.getSession();
1034 handshaker = null;
1215 * Initialize the handshaker object. This means:
1222 * . otherwise (cs_START or cs_DATA), create the appropriate handshaker
1262 handshaker = new ServerHandshaker(this, sslContext,
1267 handshaker = new ClientHandshaker(this, sslContext,
1272 handshaker.setEnabledCipherSuites(enabledCipherSuites);
1273 handshaker.setEnableSessionCreation(enableSessionCreation);
1359 * . otherwise, call initHandshake() to initialize the handshaker
1369 // handshaker already setup, proceed
1385 // initialize the handshaker, move to cs_RENEGOTIATE
1408 // Note that handshaker.kickstart() writes the message
1412 if (!handshaker.activated()) {
1416 handshaker.activate(protocolVersion);
1418 handshaker.activate(null);
1421 if (handshaker instanceof ClientHandshaker) {
1423 handshaker.kickstart();
1429 handshaker.kickstart();
1432 handshaker.handshakeHash.reset();
1951 if (handshaker != null) {
1952 handshaker.handshakeAlert(description);
1976 // handshaker has not started.
1978 (handshaker == null || !handshaker.started())) {
2043 readCipher = handshaker.newReadCipher();
2044 readMAC = handshaker.newReadMAC();
2075 writeCipher = handshaker.newWriteCipher();
2076 writeMAC = handshaker.newWriteMAC();
2205 if ((handshaker != null) && !handshaker.activated()) {
2206 handshaker.setEnableSessionCreation(enableSessionCreation);
2231 if ((handshaker != null) &&
2232 (handshaker instanceof ServerHandshaker) &&
2233 !handshaker.activated()) {
2234 ((ServerHandshaker) handshaker).setClientAuth(doClientAuth);
2254 if ((handshaker != null) &&
2255 (handshaker instanceof ServerHandshaker) &&
2256 !handshaker.activated()) {
2257 ((ServerHandshaker) handshaker).setClientAuth(doClientAuth);
2289 * If we have a handshaker, but haven't started
2291 * handshaker, and start from scratch. Don't
2295 assert(handshaker != null);
2296 if (!handshaker.activated()) {
2355 if ((handshaker != null) && !handshaker.activated()) {
2356 handshaker.setEnabledCipherSuites(enabledCipherSuites);
2395 if ((handshaker != null) && !handshaker.activated()) {
2396 handshaker.setEnabledProtocols(enabledProtocols);
2475 if ((handshaker != null) && !handshaker.started()) {
2476 handshaker.setIdentificationProtocol(identificationProtocol);
2477 handshaker.setAlgorithmConstraints(algorithmConstraints);