Package org.bouncycastle.tls
Class TlsExtensionsUtils
java.lang.Object
org.bouncycastle.tls.TlsExtensionsUtils
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddALPNExtensionClient(Hashtable extensions, Vector protocolNameList) static voidaddALPNExtensionServer(Hashtable extensions, ProtocolName protocolName) static voidaddCertificateAuthoritiesExtension(Hashtable extensions, Vector authorities) static voidaddClientCertificateTypeExtensionClient(Hashtable extensions, short[] certificateTypes) static voidaddClientCertificateTypeExtensionServer(Hashtable extensions, short certificateType) static voidaddClientCertificateURLExtension(Hashtable extensions) static voidaddCompressCertificateExtension(Hashtable extensions, int[] algorithms) static voidaddConnectionIDExtension(Hashtable extensions, byte[] connectionID) static voidaddCookieExtension(Hashtable extensions, byte[] cookie) static voidaddEarlyDataIndication(Hashtable extensions) static voidaddEarlyDataMaxSize(Hashtable extensions, long maxSize) static voidaddEmptyExtensionData(Hashtable extensions, Integer extType) static voidaddEncryptThenMACExtension(Hashtable extensions) static voidaddExtendedMasterSecretExtension(Hashtable extensions) static voidaddHeartbeatExtension(Hashtable extensions, HeartbeatExtension heartbeatExtension) static voidaddKeyShareClientHello(Hashtable extensions, Vector clientShares) static voidaddKeyShareHelloRetryRequest(Hashtable extensions, int namedGroup) static voidaddKeyShareServerHello(Hashtable extensions, KeyShareEntry serverShare) static voidaddMaxFragmentLengthExtension(Hashtable extensions, short maxFragmentLength) static voidaddOIDFiltersExtension(Hashtable extensions, Hashtable filters) static voidaddPaddingExtension(Hashtable extensions, int dataLength) static voidaddPostHandshakeAuthExtension(Hashtable extensions) static voidaddPreSharedKeyClientHello(Hashtable extensions, OfferedPsks offeredPsks) static voidaddPreSharedKeyServerHello(Hashtable extensions, int selectedIdentity) static voidaddPSKKeyExchangeModesExtension(Hashtable extensions, short[] modes) static voidaddRecordSizeLimitExtension(Hashtable extensions, int recordSizeLimit) static voidaddServerCertificateTypeExtensionClient(Hashtable extensions, short[] certificateTypes) static voidaddServerCertificateTypeExtensionServer(Hashtable extensions, short certificateType) static voidaddServerNameExtensionClient(Hashtable extensions, Vector serverNameList) static voidaddServerNameExtensionServer(Hashtable extensions) static voidaddSignatureAlgorithmsCertExtension(Hashtable extensions, Vector supportedSignatureAlgorithms) static voidaddSignatureAlgorithmsExtension(Hashtable extensions, Vector supportedSignatureAlgorithms) static voidaddStatusRequestExtension(Hashtable extensions, CertificateStatusRequest statusRequest) static voidaddStatusRequestV2Extension(Hashtable extensions, Vector statusRequestV2) static voidaddSupportedGroupsExtension(Hashtable extensions, Vector namedGroups) static voidaddSupportedPointFormatsExtension(Hashtable extensions, short[] ecPointFormats) static voidaddSupportedVersionsExtensionClient(Hashtable extensions, ProtocolVersion[] versions) static voidaddSupportedVersionsExtensionServer(Hashtable extensions, ProtocolVersion selectedVersion) static voidaddTruncatedHMacExtension(Hashtable extensions) static voidaddTrustedCAKeysExtensionClient(Hashtable extensions, Vector trustedAuthoritiesList) static voidaddTrustedCAKeysExtensionServer(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 HashtableensureExtensionsInitialised(Hashtable extensions) static VectorgetALPNExtensionClient(Hashtable extensions) static ProtocolNamegetALPNExtensionServer(Hashtable extensions) static VectorgetCertificateAuthoritiesExtension(Hashtable extensions) static short[]getClientCertificateTypeExtensionClient(Hashtable extensions) static shortgetClientCertificateTypeExtensionServer(Hashtable extensions) static shortgetClientCertificateTypeExtensionServer(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 longgetEarlyDataMaxSize(Hashtable extensions) static HeartbeatExtensiongetHeartbeatExtension(Hashtable extensions) static VectorgetKeyShareClientHello(Hashtable extensions) static intgetKeyShareHelloRetryRequest(Hashtable extensions) static KeyShareEntrygetKeyShareServerHello(Hashtable extensions) static shortgetMaxFragmentLengthExtension(Hashtable extensions) static HashtablegetOIDFiltersExtension(Hashtable extensions) static intgetPaddingExtension(Hashtable extensions) static OfferedPsksgetPreSharedKeyClientHello(Hashtable extensions) static intgetPreSharedKeyServerHello(Hashtable extensions) static short[]getPSKKeyExchangeModesExtension(Hashtable extensions) static intgetRecordSizeLimitExtension(Hashtable extensions) static short[]getServerCertificateTypeExtensionClient(Hashtable extensions) static shortgetServerCertificateTypeExtensionServer(Hashtable extensions) static shortgetServerCertificateTypeExtensionServer(Hashtable extensions, short defaultValue) Deprecated.Use version without defaultValue insteadstatic VectorgetServerNameExtensionClient(Hashtable extensions) static VectorgetSignatureAlgorithmsCertExtension(Hashtable extensions) static VectorgetSignatureAlgorithmsExtension(Hashtable extensions) static CertificateStatusRequestgetStatusRequestExtension(Hashtable extensions) static VectorgetStatusRequestV2Extension(Hashtable extensions) static int[]getSupportedGroupsExtension(Hashtable extensions) static short[]getSupportedPointFormatsExtension(Hashtable extensions) static ProtocolVersion[]getSupportedVersionsExtensionClient(Hashtable extensions) static ProtocolVersiongetSupportedVersionsExtensionServer(Hashtable extensions) static VectorgetTrustedCAKeysExtensionClient(Hashtable extensions) static booleanhasClientCertificateURLExtension(Hashtable extensions) static booleanhasEarlyDataIndication(Hashtable extensions) static booleanhasEncryptThenMACExtension(Hashtable extensions) static booleanhasExtendedMasterSecretExtension(Hashtable extensions) static booleanhasPostHandshakeAuthExtension(Hashtable extensions) static booleanhasServerNameExtensionServer(Hashtable extensions) static booleanhasTruncatedHMacExtension(Hashtable extensions) static booleanhasTrustedCAKeysExtensionServer(Hashtable extensions) static VectorreadALPNExtensionClient(byte[] extensionData) static ProtocolNamereadALPNExtensionServer(byte[] extensionData) static VectorreadCertificateAuthoritiesExtension(byte[] extensionData) static short[]readCertificateTypeExtensionClient(byte[] extensionData) static shortreadCertificateTypeExtensionServer(byte[] extensionData) static booleanreadClientCertificateURLExtension(byte[] extensionData) static int[]readCompressCertificateExtension(byte[] extensionData) static byte[]readConnectionIDExtension(byte[] extensionData) static byte[]readCookieExtension(byte[] extensionData) static booleanreadEarlyDataIndication(byte[] extensionData) static longreadEarlyDataMaxSize(byte[] extensionData) static booleanreadEncryptThenMACExtension(byte[] extensionData) static booleanreadExtendedMasterSecretExtension(byte[] extensionData) static HeartbeatExtensionreadHeartbeatExtension(byte[] extensionData) static VectorreadKeyShareClientHello(byte[] extensionData) static intreadKeyShareHelloRetryRequest(byte[] extensionData) static KeyShareEntryreadKeyShareServerHello(byte[] extensionData) static shortreadMaxFragmentLengthExtension(byte[] extensionData) static HashtablereadOIDFiltersExtension(byte[] extensionData) static intreadPaddingExtension(byte[] extensionData) static booleanreadPostHandshakeAuthExtension(byte[] extensionData) static OfferedPsksreadPreSharedKeyClientHello(byte[] extensionData) static intreadPreSharedKeyServerHello(byte[] extensionData) static short[]readPSKKeyExchangeModesExtension(byte[] extensionData) static intreadRecordSizeLimitExtension(byte[] extensionData) static VectorreadServerNameExtensionClient(byte[] extensionData) static booleanreadServerNameExtensionServer(byte[] extensionData) static VectorreadSignatureAlgorithmsCertExtension(byte[] extensionData) static VectorreadSignatureAlgorithmsExtension(byte[] extensionData) static CertificateStatusRequestreadStatusRequestExtension(byte[] extensionData) static VectorreadStatusRequestV2Extension(byte[] extensionData) static int[]readSupportedGroupsExtension(byte[] extensionData) static short[]readSupportedPointFormatsExtension(byte[] extensionData) static ProtocolVersion[]readSupportedVersionsExtensionClient(byte[] extensionData) static ProtocolVersionreadSupportedVersionsExtensionServer(byte[] extensionData) static booleanreadTruncatedHMacExtension(byte[] extensionData) static VectorreadTrustedCAKeysExtensionClient(byte[] extensionData) static booleanreadTrustedCAKeysExtensionServer(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- aVectorofProtocolName- 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
VectorofProtocolName - 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- aVectorofProtocolName- 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
VectorofProtocolName - 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
-