- java.lang.Object
-
- net.luminis.tls.TlsConstants
-
public class TlsConstants extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTlsConstants.AlertDescriptionstatic classTlsConstants.CertificateTypestatic classTlsConstants.CipherSuitestatic classTlsConstants.ContentTypestatic classTlsConstants.ExtensionTypestatic classTlsConstants.HandshakeTypestatic classTlsConstants.NamedGroupstatic classTlsConstants.PskKeyExchangeModestatic classTlsConstants.SignatureScheme
-
Field Summary
Fields Modifier and Type Field Description static byte[]TLS_AES_128_CCM_8_SHA256static byte[]TLS_AES_128_CCM_SHA256static byte[]TLS_AES_128_GCM_SHA256static byte[]TLS_AES_256_GCM_SHA384static byte[]TLS_CHACHA20_POLY1305_SHA256
-
Constructor Summary
Constructors Constructor Description TlsConstants()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<TlsConstants.NamedGroup>decodeNamedGroup(int namedGroup)static java.util.Optional<TlsConstants.PskKeyExchangeMode>decodePskKeyExchangeMode(int mode)static java.util.Optional<TlsConstants.SignatureScheme>decodeSignatureScheme(int encodedAlgorithm)
-
-
-
Field Detail
-
TLS_AES_128_GCM_SHA256
public static byte[] TLS_AES_128_GCM_SHA256
-
TLS_AES_256_GCM_SHA384
public static byte[] TLS_AES_256_GCM_SHA384
-
TLS_CHACHA20_POLY1305_SHA256
public static byte[] TLS_CHACHA20_POLY1305_SHA256
-
TLS_AES_128_CCM_SHA256
public static byte[] TLS_AES_128_CCM_SHA256
-
TLS_AES_128_CCM_8_SHA256
public static byte[] TLS_AES_128_CCM_8_SHA256
-
-
Method Detail
-
decodeNamedGroup
public static java.util.Optional<TlsConstants.NamedGroup> decodeNamedGroup(int namedGroup)
-
decodeSignatureScheme
public static java.util.Optional<TlsConstants.SignatureScheme> decodeSignatureScheme(int encodedAlgorithm)
-
decodePskKeyExchangeMode
public static java.util.Optional<TlsConstants.PskKeyExchangeMode> decodePskKeyExchangeMode(int mode)
-
-