Creates the default TLS13 configuration.
The HITLS_CFG_SetXXX interface can be used to modify the default TLS13 configuration.
- 注意
- The default configuration is as follows: Version number: HITLS_VERSION_TLS13 Algorithm suite: HITLS_AES_128_GCM_SHA256, HITLS_CHACHA20_POLY1305_SHA256, HITLS_AES_128_GCM_SHA256 EC point format: HITLS_POINT_FORMAT_UNCOMPRESSED groups:secp256r1, secp384r1, secp521r1, x25519, x448 Extended Master Key: Enabled Signature algorithm: rsa, ecdsa, eddsa Dual-ended check: Disabled Allow Client No Certificate: Not Allowed This API is a version-specific API. After the configuration context is created, the HITLS_SetVersion, HITLS_CFG_SetVersion, HITLS_SetVersionSupport, HITLS_CFG_SetVersionSupport, HITLS_SetMinProtoVersion, and HITLS_SetMaxProtoVersion interface cannot be used to set other supported versions.
- 返回值
-
HITLS_Config,object | pointer succeeded. |
NULL,failed | to apply for the object |