anon.crypto.tinytls
Class TLSPlaintextRecord
java.lang.Object
anon.crypto.tinytls.AbstractTLSRecord
anon.crypto.tinytls.TLSPlaintextRecord
public final class TLSPlaintextRecord
- extends AbstractTLSRecord
This is the TLS plaintext record
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTENTTYPE_HANDSHAKE
public static final int CONTENTTYPE_HANDSHAKE
- See Also:
- Constant Field Values
HEADER_LENGTH
public static final int HEADER_LENGTH
- See Also:
- Constant Field Values
MAX_PAYLOAD_SIZE
public static final int MAX_PAYLOAD_SIZE
- See Also:
- Constant Field Values
m_nextHandshakeRecordOffset
private int m_nextHandshakeRecordOffset
TLSPlaintextRecord
public TLSPlaintextRecord()
- Constructor
clean
public void clean()
getHeaderLength
public int getHeaderLength()
- Specified by:
getHeaderLength
in class AbstractTLSRecord
getMaxPayloadSize
public int getMaxPayloadSize()
setLength
public void setLength(int len)
- sets the length of the tls record
- Parameters:
len
- length
hasMoreHandshakeRecords
public boolean hasMoreHandshakeRecords()
- Retruns true if this record contains in the payload some more handshake records.
getNextHandshakeRecord
public TLSHandshakeRecord getNextHandshakeRecord()
- Retruns the next handshake record from inside the payload