This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.net.ssl
enum SSLEngineResult.HandshakeStatus

java.lang.Object extended by java.lang.Enum extended by javax.net.ssl.SSLEngineResult.HandshakeStatus
All Implemented Interfaces:
Serializable, Comparable

Most common way to construct:

SSLEngine engine = …;

SSLEngineResult.HandshakeStatus hs = engine.getHandshakeStatus();

Based on 7 examples


public static final enum SSLEngineResult.HandshakeStatus
extends Enum

An SSLEngineResult enum describing the current handshaking state of this SSLEngine.


Field Summary
static SSLEngineResult.HandshakeStatus FINISHED
          The SSLEngine has just finished handshaking.
static SSLEngineResult.HandshakeStatus NEED_TASK
          The SSLEngine needs the results of one (or more) delegated tasks before handshaking can continue.
static SSLEngineResult.HandshakeStatus NEED_UNWRAP
          The SSLEngine needs to receive data from the remote side before handshaking can continue.
static SSLEngineResult.HandshakeStatus NEED_WRAP
          The SSLEngine must send data to the remote side before handshaking can continue, so SSLEngine.wrap() should be called.
static SSLEngineResult.HandshakeStatus NOT_HANDSHAKING
          The SSLEngine is not currently handshaking.
 
Method Summary
static SSLEngineResult.HandshakeStatus

          
static SSLEngineResult.HandshakeStatus[]

          
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FINISHED

public static final SSLEngineResult.HandshakeStatus FINISHED
The SSLEngine has just finished handshaking.

This value is only generated by a call to SSLEngine.wrap()/unwrap() when that call finishes a handshake. It is never generated by SSLEngine.getHandshakeStatus().


NEED_TASK

public static final SSLEngineResult.HandshakeStatus NEED_TASK
The SSLEngine needs the results of one (or more) delegated tasks before handshaking can continue.

NEED_UNWRAP

public static final SSLEngineResult.HandshakeStatus NEED_UNWRAP
The SSLEngine needs to receive data from the remote side before handshaking can continue.

NEED_WRAP

public static final SSLEngineResult.HandshakeStatus NEED_WRAP
The SSLEngine must send data to the remote side before handshaking can continue, so SSLEngine.wrap() should be called.

NOT_HANDSHAKING

public static final SSLEngineResult.HandshakeStatus NOT_HANDSHAKING
The SSLEngine is not currently handshaking.
Method Detail

valueOf

public static SSLEngineResult.HandshakeStatus valueOf(String name)
Parameters:
name

values

public static SSLEngineResult.HandshakeStatus[] values()


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.