- java.lang.Object
-
- net.luminis.tls.handshake.HandshakeMessage
-
- net.luminis.tls.handshake.EncryptedExtensions
-
public class EncryptedExtensions extends HandshakeMessage
https://tools.ietf.org/html/rfc8446#section-4.3.1
-
-
Constructor Summary
Constructors Constructor Description EncryptedExtensions()EncryptedExtensions(java.util.List<Extension> extensions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getBytes()java.util.List<Extension>getExtensions()TlsConstants.HandshakeTypegetType()EncryptedExtensionsparse(java.nio.ByteBuffer buffer, int length)EncryptedExtensionsparse(java.nio.ByteBuffer buffer, int length, ExtensionParser customExtensionParser)-
Methods inherited from class net.luminis.tls.handshake.HandshakeMessage
findPositionLastExtension, parseHandshakeHeader
-
-
-
-
Constructor Detail
-
EncryptedExtensions
public EncryptedExtensions()
-
EncryptedExtensions
public EncryptedExtensions(java.util.List<Extension> extensions)
-
-
Method Detail
-
getType
public TlsConstants.HandshakeType getType()
- Specified by:
getTypein classHandshakeMessage
-
parse
public EncryptedExtensions parse(java.nio.ByteBuffer buffer, int length) throws TlsProtocolException
- Throws:
TlsProtocolException
-
parse
public EncryptedExtensions parse(java.nio.ByteBuffer buffer, int length, ExtensionParser customExtensionParser) throws TlsProtocolException
- Throws:
TlsProtocolException
-
getExtensions
public java.util.List<Extension> getExtensions()
-
getBytes
public byte[] getBytes()
- Specified by:
getBytesin classHandshakeMessage
-
-