FileDocCategorySizeDatePackage
ServerHelloDone.javaAPI DocAndroid 1.5 API2028Wed May 06 22:41:06 BST 2009org.apache.harmony.xnet.provider.jsse

ServerHelloDone

public class ServerHelloDone extends org.apache.harmony.xnet.provider.jsse.Message
Represents server hello done message
see
TLS 1.0 spec., 7.4.5. Server hello done

Fields Summary
Constructors Summary
public ServerHelloDone()
Creates outbound message

    
    
public ServerHelloDone(HandshakeIODataStream in, int length)
Creates inbound message

param
in
param
length
throws
IOException

        if (length != 0) {
            fatalAlert(AlertProtocol.DECODE_ERROR, "DECODE ERROR: incorrect ServerHelloDone");
        }
    
Methods Summary
public intgetType()
Returns message type

return

        return Handshake.SERVER_HELLO_DONE;
    
public intlength()
Returns message length

return

        return 0;
    
public voidsend(HandshakeIODataStream out)
Sends message

param
out