Lines Matching defs:protocol

55  * data stream, handling all the details of the handshake protocol.
57 * Note that the real protocol work is done in two subclasses, the base
64 // protocol version being established using this Handshaker
67 // the currently active protocol version during a renegotiation
84 // The endpoint identification protocol
249 // It's a convenient artifact of the protocol that this can,
360 * Set the active protocol version and propagate it to the SSLSocket
362 * and ServerHandshaker with the negotiated protocol version.
430 * Set the identification protocol. Called from the constructor or
434 void setIdentificationProtocol(String protocol) {
435 this.identificationProtocol = protocol;
449 throw new SSLHandshakeException("No appropriate protocol");
460 // temporary protocol version until the actual protocol version
525 * Check if the given protocol version is enabled and available.
536 * Select a protocol version from the list. Called from
537 * ServerHandshaker to negotiate protocol version.
539 * Return the lower of the protocol version suggested in the
562 * cipher suites of the minimum active protocol.
601 * Get the active protocol versions.
613 * Return empty list instead of null if no active protocol versions.
618 for (ProtocolVersion protocol : enabledProtocols.collection()) {
621 if (suite.isAvailable() && suite.obsoleted > protocol.v &&
622 suite.supported <= protocol.v) {
626 protocols.add(protocol);
632 " for " + protocol);
637 " for " + protocol);
642 "No available cipher suite for " + protocol);
852 * and that other protocol code will detect such errors.
923 * side of the protocol state machine (depending on the subclass).
929 * Most alerts in the protocol relate to handshaking problems.
1056 // For RSA premaster secrets, do not signal a protocol error
1124 // Due to the Bleichenbacher attack, do not signal a protocol error.
1152 * For both the read and write sides of the protocol, we use the
1245 "... no IV derived for this protocol");