Package org.conscrypt
Class Message
java.lang.Object
org.conscrypt.Message
- Direct Known Subclasses:
CertificateMessage,CertificateRequest,CertificateVerify,ClientHello,ClientKeyExchange,Finished,HelloRequest,ServerHello,ServerHelloDone,ServerKeyExchange
public abstract class Message extends Object
Base class for handshake messages
-
Field Summary
Fields Modifier and Type Field Description protected intlength -
Constructor Summary
Constructors Constructor Description Message() -
Method Summary
Modifier and Type Method Description protected voidfatalAlert(byte description, String reason)Sends fatal alertprotected voidfatalAlert(byte description, String reason, Throwable cause)Sends fatal alertintlength()Returns message length
-
Field Details
-
length
protected int length
-
-
Constructor Details
-
Message
public Message()
-
-
Method Details
-
length
public int length()Returns message length -
fatalAlert
Sends fatal alert- Parameters:
description-reason-
-
fatalAlert
Sends fatal alert- Parameters:
description-reason-cause-
-