|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.management.remote.message.TLSMessage
public class TLSMessage
Handshake message between client and server to set up the TLS handshake.
This class represents the handshake messages exchanged between the client and the server to agree on the initiation of the TLS handshake.
When the client sends the TLSMessage(READY), it must not send any
further traffic on the underlying transport service until a corresponding
reply message, either TLSMessage(PROCEED) or an
indication
message, is received.
When the client receives a TLSMessage(PROCEED) in reply to its
TLSMessage(READY) it immediately begins the underlying negotiation
process for TLS transport security.
When the server receives the TLSMessage(READY), it must not send
any further traffic on the underlying transport service until it generates
a corresponding reply. If the server decides to allow TLS transport security
negotiation it sends a TLSMessage(PROCEED) and awaits the underlying
negotiation process for TLS transport security. Otherwise, the server sends
an indication
as to why the operation failed.
The status attribute takes one of the two values:
HandshakeBeginMessage
,
Serialized FormField Summary | |
---|---|
static int |
PROCEED
This status code is used by a server to indicate that it allows the client to proceed with the TLS handshake. |
static int |
READY
This status code is used by a client to indicate that it is ready to start the TLS handshake. |
Constructor Summary | |
---|---|
TLSMessage(int status)
Constructs a new TLSMessage with the specified status. |
Method Summary | |
---|---|
String |
getProfileName()
The profile name. |
int |
getStatus()
The status of the current TLS transport security negotiation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int READY
public static final int PROCEED
Constructor Detail |
---|
public TLSMessage(int status)
status
- the status of the current TLS transport security
negotiation.Method Detail |
---|
public int getStatus()
public String getProfileName()
getProfileName
in interface ProfileMessage
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |