Package org.bouncycastle.tls
Class TlsExtensionsUtils
java.lang.Object
org.bouncycastle.tls.TlsExtensionsUtils
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addALPNExtensionClient
(Hashtable extensions, Vector protocolNameList) static void
addALPNExtensionServer
(Hashtable extensions, ProtocolName protocolName) static void
addCertificateAuthoritiesExtension
(Hashtable extensions, Vector authorities) static void
addClientCertificateTypeExtensionClient
(Hashtable extensions, short[] certificateTypes) static void
addClientCertificateTypeExtensionServer
(Hashtable extensions, short certificateType) static void
addClientCertificateURLExtension
(Hashtable extensions) static void
addCompressCertificateExtension
(Hashtable extensions, int[] algorithms) static void
addConnectionIDExtension
(Hashtable extensions, byte[] connectionID) static void
addCookieExtension
(Hashtable extensions, byte[] cookie) static void
addEarlyDataIndication
(Hashtable extensions) static void
addEarlyDataMaxSize
(Hashtable extensions, long maxSize) static void
addEmptyExtensionData
(Hashtable extensions, Integer extType) static void
addEncryptThenMACExtension
(Hashtable extensions) static void
addExtendedMasterSecretExtension
(Hashtable extensions) static void
addHeartbeatExtension
(Hashtable extensions, HeartbeatExtension heartbeatExtension) static void
addKeyShareClientHello
(Hashtable extensions, Vector clientShares) static void
addKeyShareHelloRetryRequest
(Hashtable extensions, int namedGroup) static void
addKeyShareServerHello
(Hashtable extensions, KeyShareEntry serverShare) static void
addMaxFragmentLengthExtension
(Hashtable extensions, short maxFragmentLength) static void
addOIDFiltersExtension
(Hashtable extensions, Hashtable filters) static void
addPaddingExtension
(Hashtable extensions, int dataLength) static void
addPostHandshakeAuthExtension
(Hashtable extensions) static void
addPreSharedKeyClientHello
(Hashtable extensions, OfferedPsks offeredPsks) static void
addPreSharedKeyServerHello
(Hashtable extensions, int selectedIdentity) static void
addPSKKeyExchangeModesExtension
(Hashtable extensions, short[] modes) static void
addRecordSizeLimitExtension
(Hashtable extensions, int recordSizeLimit) static void
addServerCertificateTypeExtensionClient
(Hashtable extensions, short[] certificateTypes) static void
addServerCertificateTypeExtensionServer
(Hashtable extensions, short certificateType) static void
addServerNameExtensionClient
(Hashtable extensions, Vector serverNameList) static void
addServerNameExtensionServer
(Hashtable extensions) static void
addSignatureAlgorithmsCertExtension
(Hashtable extensions, Vector supportedSignatureAlgorithms) static void
addSignatureAlgorithmsExtension
(Hashtable extensions, Vector supportedSignatureAlgorithms) static void
addStatusRequestExtension
(Hashtable extensions, CertificateStatusRequest statusRequest) static void
addStatusRequestV2Extension
(Hashtable extensions, Vector statusRequestV2) static void
addSupportedGroupsExtension
(Hashtable extensions, Vector namedGroups) static void
addSupportedPointFormatsExtension
(Hashtable extensions, short[] ecPointFormats) static void
addSupportedVersionsExtensionClient
(Hashtable extensions, ProtocolVersion[] versions) static void
addSupportedVersionsExtensionServer
(Hashtable extensions, ProtocolVersion selectedVersion) static void
addTruncatedHMacExtension
(Hashtable extensions) static void
addTrustedCAKeysExtensionClient
(Hashtable extensions, Vector trustedAuthoritiesList) static void
addTrustedCAKeysExtensionServer
(Hashtable extensions) static byte[]
createALPNExtensionClient
(Vector protocolNameList) static byte[]
createALPNExtensionServer
(ProtocolName protocolName) static byte[]
createCertificateAuthoritiesExtension
(Vector authorities) static byte[]
createCertificateTypeExtensionClient
(short[] certificateTypes) static byte[]
createCertificateTypeExtensionServer
(short certificateType) static byte[]
static byte[]
createCompressCertificateExtension
(int[] algorithms) static byte[]
createConnectionIDExtension
(byte[] connectionID) static byte[]
createCookieExtension
(byte[] cookie) static byte[]
static byte[]
createEarlyDataMaxSize
(long maxSize) static byte[]
static byte[]
static byte[]
static byte[]
createHeartbeatExtension
(HeartbeatExtension heartbeatExtension) static byte[]
createKeyShareClientHello
(Vector clientShares) static byte[]
createKeyShareHelloRetryRequest
(int namedGroup) static byte[]
createKeyShareServerHello
(KeyShareEntry serverShare) static byte[]
createMaxFragmentLengthExtension
(short maxFragmentLength) static byte[]
createOIDFiltersExtension
(Hashtable filters) static byte[]
createPaddingExtension
(int dataLength) static byte[]
static byte[]
createPreSharedKeyClientHello
(OfferedPsks offeredPsks) static byte[]
createPreSharedKeyServerHello
(int selectedIdentity) static byte[]
createPSKKeyExchangeModesExtension
(short[] modes) static byte[]
createRecordSizeLimitExtension
(int recordSizeLimit) static byte[]
createServerNameExtensionClient
(Vector serverNameList) static byte[]
static byte[]
createSignatureAlgorithmsCertExtension
(Vector supportedSignatureAlgorithms) static byte[]
createSignatureAlgorithmsExtension
(Vector supportedSignatureAlgorithms) static byte[]
createStatusRequestExtension
(CertificateStatusRequest statusRequest) static byte[]
createStatusRequestV2Extension
(Vector statusRequestV2) static byte[]
createSupportedGroupsExtension
(Vector namedGroups) static byte[]
createSupportedPointFormatsExtension
(short[] ecPointFormats) static byte[]
static byte[]
createSupportedVersionsExtensionServer
(ProtocolVersion selectedVersion) static byte[]
static byte[]
createTrustedCAKeysExtensionClient
(Vector trustedAuthoritiesList) static byte[]
static Hashtable
ensureExtensionsInitialised
(Hashtable extensions) static Vector
getALPNExtensionClient
(Hashtable extensions) static ProtocolName
getALPNExtensionServer
(Hashtable extensions) static Vector
getCertificateAuthoritiesExtension
(Hashtable extensions) static short[]
getClientCertificateTypeExtensionClient
(Hashtable extensions) static short
getClientCertificateTypeExtensionServer
(Hashtable extensions) static short
getClientCertificateTypeExtensionServer
(Hashtable extensions, short defaultValue) Deprecated.Use version without defaultValue insteadstatic int[]
getCompressCertificateExtension
(Hashtable extensions) static byte[]
getConnectionIDExtension
(Hashtable extensions) static byte[]
getCookieExtension
(Hashtable extensions) static long
getEarlyDataMaxSize
(Hashtable extensions) static HeartbeatExtension
getHeartbeatExtension
(Hashtable extensions) static Vector
getKeyShareClientHello
(Hashtable extensions) static int
getKeyShareHelloRetryRequest
(Hashtable extensions) static KeyShareEntry
getKeyShareServerHello
(Hashtable extensions) static short
getMaxFragmentLengthExtension
(Hashtable extensions) static Hashtable
getOIDFiltersExtension
(Hashtable extensions) static int
getPaddingExtension
(Hashtable extensions) static OfferedPsks
getPreSharedKeyClientHello
(Hashtable extensions) static int
getPreSharedKeyServerHello
(Hashtable extensions) static short[]
getPSKKeyExchangeModesExtension
(Hashtable extensions) static int
getRecordSizeLimitExtension
(Hashtable extensions) static short[]
getServerCertificateTypeExtensionClient
(Hashtable extensions) static short
getServerCertificateTypeExtensionServer
(Hashtable extensions) static short
getServerCertificateTypeExtensionServer
(Hashtable extensions, short defaultValue) Deprecated.Use version without defaultValue insteadstatic Vector
getServerNameExtensionClient
(Hashtable extensions) static Vector
getSignatureAlgorithmsCertExtension
(Hashtable extensions) static Vector
getSignatureAlgorithmsExtension
(Hashtable extensions) static CertificateStatusRequest
getStatusRequestExtension
(Hashtable extensions) static Vector
getStatusRequestV2Extension
(Hashtable extensions) static int[]
getSupportedGroupsExtension
(Hashtable extensions) static short[]
getSupportedPointFormatsExtension
(Hashtable extensions) static ProtocolVersion[]
getSupportedVersionsExtensionClient
(Hashtable extensions) static ProtocolVersion
getSupportedVersionsExtensionServer
(Hashtable extensions) static Vector
getTrustedCAKeysExtensionClient
(Hashtable extensions) static boolean
hasClientCertificateURLExtension
(Hashtable extensions) static boolean
hasEarlyDataIndication
(Hashtable extensions) static boolean
hasEncryptThenMACExtension
(Hashtable extensions) static boolean
hasExtendedMasterSecretExtension
(Hashtable extensions) static boolean
hasPostHandshakeAuthExtension
(Hashtable extensions) static boolean
hasServerNameExtensionServer
(Hashtable extensions) static boolean
hasTruncatedHMacExtension
(Hashtable extensions) static boolean
hasTrustedCAKeysExtensionServer
(Hashtable extensions) static Vector
readALPNExtensionClient
(byte[] extensionData) static ProtocolName
readALPNExtensionServer
(byte[] extensionData) static Vector
readCertificateAuthoritiesExtension
(byte[] extensionData) static short[]
readCertificateTypeExtensionClient
(byte[] extensionData) static short
readCertificateTypeExtensionServer
(byte[] extensionData) static boolean
readClientCertificateURLExtension
(byte[] extensionData) static int[]
readCompressCertificateExtension
(byte[] extensionData) static byte[]
readConnectionIDExtension
(byte[] extensionData) static byte[]
readCookieExtension
(byte[] extensionData) static boolean
readEarlyDataIndication
(byte[] extensionData) static long
readEarlyDataMaxSize
(byte[] extensionData) static boolean
readEncryptThenMACExtension
(byte[] extensionData) static boolean
readExtendedMasterSecretExtension
(byte[] extensionData) static HeartbeatExtension
readHeartbeatExtension
(byte[] extensionData) static Vector
readKeyShareClientHello
(byte[] extensionData) static int
readKeyShareHelloRetryRequest
(byte[] extensionData) static KeyShareEntry
readKeyShareServerHello
(byte[] extensionData) static short
readMaxFragmentLengthExtension
(byte[] extensionData) static Hashtable
readOIDFiltersExtension
(byte[] extensionData) static int
readPaddingExtension
(byte[] extensionData) static boolean
readPostHandshakeAuthExtension
(byte[] extensionData) static OfferedPsks
readPreSharedKeyClientHello
(byte[] extensionData) static int
readPreSharedKeyServerHello
(byte[] extensionData) static short[]
readPSKKeyExchangeModesExtension
(byte[] extensionData) static int
readRecordSizeLimitExtension
(byte[] extensionData) static Vector
readServerNameExtensionClient
(byte[] extensionData) static boolean
readServerNameExtensionServer
(byte[] extensionData) static Vector
readSignatureAlgorithmsCertExtension
(byte[] extensionData) static Vector
readSignatureAlgorithmsExtension
(byte[] extensionData) static CertificateStatusRequest
readStatusRequestExtension
(byte[] extensionData) static Vector
readStatusRequestV2Extension
(byte[] extensionData) static int[]
readSupportedGroupsExtension
(byte[] extensionData) static short[]
readSupportedPointFormatsExtension
(byte[] extensionData) static ProtocolVersion[]
readSupportedVersionsExtensionClient
(byte[] extensionData) static ProtocolVersion
readSupportedVersionsExtensionServer
(byte[] extensionData) static boolean
readTruncatedHMacExtension
(byte[] extensionData) static Vector
readTrustedCAKeysExtensionClient
(byte[] extensionData) static boolean
readTrustedCAKeysExtensionServer
(byte[] extensionData)
-
Field Details
-
EXT_application_layer_protocol_negotiation
-
EXT_certificate_authorities
-
EXT_client_certificate_type
-
EXT_client_certificate_url
-
EXT_compress_certificate
-
EXT_connection_id
-
EXT_cookie
-
EXT_early_data
-
EXT_ec_point_formats
-
EXT_encrypt_then_mac
-
EXT_extended_master_secret
-
EXT_heartbeat
-
EXT_max_fragment_length
-
EXT_oid_filters
-
EXT_padding
-
EXT_post_handshake_auth
-
EXT_psk_key_exchange_modes
-
EXT_record_size_limit
-
EXT_server_certificate_type
-
EXT_server_name
-
EXT_signature_algorithms
-
EXT_signature_algorithms_cert
-
EXT_status_request
-
EXT_status_request_v2
-
EXT_supported_groups
-
EXT_supported_versions
-
EXT_truncated_hmac
-
EXT_trusted_ca_keys
-
-
Constructor Details
-
TlsExtensionsUtils
public TlsExtensionsUtils()
-
-
Method Details
-
ensureExtensionsInitialised
-
addALPNExtensionClient
public static void addALPNExtensionClient(Hashtable extensions, Vector protocolNameList) throws IOException - Parameters:
protocolNameList
- aVector
ofProtocolName
- Throws:
IOException
-
addALPNExtensionServer
public static void addALPNExtensionServer(Hashtable extensions, ProtocolName protocolName) throws IOException - Throws:
IOException
-
addCertificateAuthoritiesExtension
public static void addCertificateAuthoritiesExtension(Hashtable extensions, Vector authorities) throws IOException - Throws:
IOException
-
addClientCertificateTypeExtensionClient
public static void addClientCertificateTypeExtensionClient(Hashtable extensions, short[] certificateTypes) throws IOException - Throws:
IOException
-
addClientCertificateTypeExtensionServer
public static void addClientCertificateTypeExtensionServer(Hashtable extensions, short certificateType) throws IOException - Throws:
IOException
-
addClientCertificateURLExtension
-
addCompressCertificateExtension
public static void addCompressCertificateExtension(Hashtable extensions, int[] algorithms) throws IOException - Throws:
IOException
-
addConnectionIDExtension
public static void addConnectionIDExtension(Hashtable extensions, byte[] connectionID) throws IOException - Throws:
IOException
-
addCookieExtension
- Throws:
IOException
-
addEarlyDataIndication
-
addEarlyDataMaxSize
- Throws:
IOException
-
addEmptyExtensionData
-
addEncryptThenMACExtension
-
addExtendedMasterSecretExtension
-
addHeartbeatExtension
public static void addHeartbeatExtension(Hashtable extensions, HeartbeatExtension heartbeatExtension) throws IOException - Throws:
IOException
-
addMaxFragmentLengthExtension
public static void addMaxFragmentLengthExtension(Hashtable extensions, short maxFragmentLength) throws IOException - Throws:
IOException
-
addOIDFiltersExtension
public static void addOIDFiltersExtension(Hashtable extensions, Hashtable filters) throws IOException - Throws:
IOException
-
addPaddingExtension
- Throws:
IOException
-
addPostHandshakeAuthExtension
-
addPSKKeyExchangeModesExtension
public static void addPSKKeyExchangeModesExtension(Hashtable extensions, short[] modes) throws IOException - Throws:
IOException
-
addRecordSizeLimitExtension
public static void addRecordSizeLimitExtension(Hashtable extensions, int recordSizeLimit) throws IOException - Throws:
IOException
-
addServerCertificateTypeExtensionClient
public static void addServerCertificateTypeExtensionClient(Hashtable extensions, short[] certificateTypes) throws IOException - Throws:
IOException
-
addServerCertificateTypeExtensionServer
public static void addServerCertificateTypeExtensionServer(Hashtable extensions, short certificateType) throws IOException - Throws:
IOException
-
addServerNameExtensionClient
public static void addServerNameExtensionClient(Hashtable extensions, Vector serverNameList) throws IOException - Throws:
IOException
-
addServerNameExtensionServer
- Throws:
IOException
-
addSignatureAlgorithmsExtension
public static void addSignatureAlgorithmsExtension(Hashtable extensions, Vector supportedSignatureAlgorithms) throws IOException - Throws:
IOException
-
addSignatureAlgorithmsCertExtension
public static void addSignatureAlgorithmsCertExtension(Hashtable extensions, Vector supportedSignatureAlgorithms) throws IOException - Throws:
IOException
-
addStatusRequestExtension
public static void addStatusRequestExtension(Hashtable extensions, CertificateStatusRequest statusRequest) throws IOException - Throws:
IOException
-
addStatusRequestV2Extension
public static void addStatusRequestV2Extension(Hashtable extensions, Vector statusRequestV2) throws IOException - Throws:
IOException
-
addSupportedGroupsExtension
public static void addSupportedGroupsExtension(Hashtable extensions, Vector namedGroups) throws IOException - Throws:
IOException
-
addSupportedPointFormatsExtension
public static void addSupportedPointFormatsExtension(Hashtable extensions, short[] ecPointFormats) throws IOException - Throws:
IOException
-
addSupportedVersionsExtensionClient
public static void addSupportedVersionsExtensionClient(Hashtable extensions, ProtocolVersion[] versions) throws IOException - Throws:
IOException
-
addSupportedVersionsExtensionServer
public static void addSupportedVersionsExtensionServer(Hashtable extensions, ProtocolVersion selectedVersion) throws IOException - Throws:
IOException
-
addTruncatedHMacExtension
-
addTrustedCAKeysExtensionClient
public static void addTrustedCAKeysExtensionClient(Hashtable extensions, Vector trustedAuthoritiesList) throws IOException - Throws:
IOException
-
addTrustedCAKeysExtensionServer
-
getALPNExtensionClient
- Returns:
- a
Vector
ofProtocolName
- Throws:
IOException
-
getALPNExtensionServer
- Throws:
IOException
-
getCertificateAuthoritiesExtension
- Throws:
IOException
-
getClientCertificateTypeExtensionClient
public static short[] getClientCertificateTypeExtensionClient(Hashtable extensions) throws IOException - Throws:
IOException
-
getClientCertificateTypeExtensionServer
public static short getClientCertificateTypeExtensionServer(Hashtable extensions) throws IOException - Throws:
IOException
-
getClientCertificateTypeExtensionServer
public static short getClientCertificateTypeExtensionServer(Hashtable extensions, short defaultValue) throws IOException Deprecated.Use version without defaultValue instead- Throws:
IOException
-
getCompressCertificateExtension
- Throws:
IOException
-
getConnectionIDExtension
- Throws:
IOException
-
getCookieExtension
- Throws:
IOException
-
getEarlyDataMaxSize
- Throws:
IOException
-
getHeartbeatExtension
- Throws:
IOException
-
getMaxFragmentLengthExtension
- Throws:
IOException
-
getOIDFiltersExtension
- Throws:
IOException
-
getPaddingExtension
- Throws:
IOException
-
getPSKKeyExchangeModesExtension
- Throws:
IOException
-
getRecordSizeLimitExtension
- Throws:
IOException
-
getServerCertificateTypeExtensionClient
public static short[] getServerCertificateTypeExtensionClient(Hashtable extensions) throws IOException - Throws:
IOException
-
getServerCertificateTypeExtensionServer
public static short getServerCertificateTypeExtensionServer(Hashtable extensions) throws IOException - Throws:
IOException
-
getServerCertificateTypeExtensionServer
public static short getServerCertificateTypeExtensionServer(Hashtable extensions, short defaultValue) throws IOException Deprecated.Use version without defaultValue instead- Throws:
IOException
-
getServerNameExtensionClient
- Throws:
IOException
-
getSignatureAlgorithmsExtension
- Throws:
IOException
-
getSignatureAlgorithmsCertExtension
- Throws:
IOException
-
getStatusRequestExtension
public static CertificateStatusRequest getStatusRequestExtension(Hashtable extensions) throws IOException - Throws:
IOException
-
getStatusRequestV2Extension
- Throws:
IOException
-
getSupportedGroupsExtension
- Throws:
IOException
-
getSupportedPointFormatsExtension
- Throws:
IOException
-
getSupportedVersionsExtensionClient
public static ProtocolVersion[] getSupportedVersionsExtensionClient(Hashtable extensions) throws IOException - Throws:
IOException
-
getSupportedVersionsExtensionServer
public static ProtocolVersion getSupportedVersionsExtensionServer(Hashtable extensions) throws IOException - Throws:
IOException
-
getTrustedCAKeysExtensionClient
- Throws:
IOException
-
hasClientCertificateURLExtension
- Throws:
IOException
-
hasEarlyDataIndication
- Throws:
IOException
-
hasEncryptThenMACExtension
- Throws:
IOException
-
hasExtendedMasterSecretExtension
- Throws:
IOException
-
hasServerNameExtensionServer
- Throws:
IOException
-
hasPostHandshakeAuthExtension
- Throws:
IOException
-
hasTruncatedHMacExtension
- Throws:
IOException
-
hasTrustedCAKeysExtensionServer
- Throws:
IOException
-
createALPNExtensionClient
- Parameters:
protocolNameList
- aVector
ofProtocolName
- Throws:
IOException
-
createALPNExtensionServer
- Throws:
IOException
-
createCertificateAuthoritiesExtension
- Throws:
IOException
-
createCertificateTypeExtensionClient
public static byte[] createCertificateTypeExtensionClient(short[] certificateTypes) throws IOException - Throws:
IOException
-
createCertificateTypeExtensionServer
- Throws:
IOException
-
createClientCertificateURLExtension
public static byte[] createClientCertificateURLExtension() -
createCompressCertificateExtension
- Throws:
IOException
-
createConnectionIDExtension
- Throws:
IOException
-
createCookieExtension
- Throws:
IOException
-
createEarlyDataIndication
public static byte[] createEarlyDataIndication() -
createEarlyDataMaxSize
- Throws:
IOException
-
createEmptyExtensionData
public static byte[] createEmptyExtensionData() -
createEncryptThenMACExtension
public static byte[] createEncryptThenMACExtension() -
createExtendedMasterSecretExtension
public static byte[] createExtendedMasterSecretExtension() -
createHeartbeatExtension
public static byte[] createHeartbeatExtension(HeartbeatExtension heartbeatExtension) throws IOException - Throws:
IOException
-
createMaxFragmentLengthExtension
- Throws:
IOException
-
createOIDFiltersExtension
- Throws:
IOException
-
createPaddingExtension
- Throws:
IOException
-
createPostHandshakeAuthExtension
public static byte[] createPostHandshakeAuthExtension() -
createPSKKeyExchangeModesExtension
- Throws:
IOException
-
createRecordSizeLimitExtension
- Throws:
IOException
-
createServerNameExtensionClient
- Throws:
IOException
-
createServerNameExtensionServer
public static byte[] createServerNameExtensionServer() -
createSignatureAlgorithmsExtension
public static byte[] createSignatureAlgorithmsExtension(Vector supportedSignatureAlgorithms) throws IOException - Throws:
IOException
-
createSignatureAlgorithmsCertExtension
public static byte[] createSignatureAlgorithmsCertExtension(Vector supportedSignatureAlgorithms) throws IOException - Throws:
IOException
-
createStatusRequestExtension
public static byte[] createStatusRequestExtension(CertificateStatusRequest statusRequest) throws IOException - Throws:
IOException
-
createStatusRequestV2Extension
- Throws:
IOException
-
createSupportedGroupsExtension
- Throws:
IOException
-
createSupportedPointFormatsExtension
public static byte[] createSupportedPointFormatsExtension(short[] ecPointFormats) throws IOException - Throws:
IOException
-
createSupportedVersionsExtensionClient
public static byte[] createSupportedVersionsExtensionClient(ProtocolVersion[] versions) throws IOException - Throws:
IOException
-
createSupportedVersionsExtensionServer
public static byte[] createSupportedVersionsExtensionServer(ProtocolVersion selectedVersion) throws IOException - Throws:
IOException
-
createTruncatedHMacExtension
public static byte[] createTruncatedHMacExtension() -
createTrustedCAKeysExtensionClient
public static byte[] createTrustedCAKeysExtensionClient(Vector trustedAuthoritiesList) throws IOException - Throws:
IOException
-
createTrustedCAKeysExtensionServer
public static byte[] createTrustedCAKeysExtensionServer() -
readALPNExtensionClient
- Returns:
- a
Vector
ofProtocolName
- Throws:
IOException
-
readALPNExtensionServer
- Throws:
IOException
-
readCertificateAuthoritiesExtension
- Throws:
IOException
-
readCertificateTypeExtensionClient
- Throws:
IOException
-
readCertificateTypeExtensionServer
- Throws:
IOException
-
readClientCertificateURLExtension
- Throws:
IOException
-
readCompressCertificateExtension
- Throws:
IOException
-
readConnectionIDExtension
- Throws:
IOException
-
readCookieExtension
- Throws:
IOException
-
readEarlyDataIndication
- Throws:
IOException
-
readEarlyDataMaxSize
- Throws:
IOException
-
readEncryptThenMACExtension
- Throws:
IOException
-
readExtendedMasterSecretExtension
- Throws:
IOException
-
readHeartbeatExtension
- Throws:
IOException
-
readMaxFragmentLengthExtension
- Throws:
IOException
-
readOIDFiltersExtension
- Throws:
IOException
-
readPaddingExtension
- Throws:
IOException
-
readPostHandshakeAuthExtension
- Throws:
IOException
-
readPSKKeyExchangeModesExtension
- Throws:
IOException
-
readRecordSizeLimitExtension
- Throws:
IOException
-
readServerNameExtensionClient
- Throws:
IOException
-
readServerNameExtensionServer
- Throws:
IOException
-
readSignatureAlgorithmsExtension
- Throws:
IOException
-
readSignatureAlgorithmsCertExtension
- Throws:
IOException
-
readStatusRequestExtension
public static CertificateStatusRequest readStatusRequestExtension(byte[] extensionData) throws IOException - Throws:
IOException
-
readStatusRequestV2Extension
- Throws:
IOException
-
readSupportedGroupsExtension
- Throws:
IOException
-
readSupportedPointFormatsExtension
- Throws:
IOException
-
readSupportedVersionsExtensionClient
public static ProtocolVersion[] readSupportedVersionsExtensionClient(byte[] extensionData) throws IOException - Throws:
IOException
-
readSupportedVersionsExtensionServer
public static ProtocolVersion readSupportedVersionsExtensionServer(byte[] extensionData) throws IOException - Throws:
IOException
-
readTruncatedHMacExtension
- Throws:
IOException
-
readTrustedCAKeysExtensionClient
- Throws:
IOException
-
readTrustedCAKeysExtensionServer
- Throws:
IOException
-