Creates an SSL environment.
#include <gskssl.h>
gsk_status gsk_environment_open (
gsk_handle * env_handle)
The gsk_environment_open() routine creates an SSL environment. The environment will be initialized with default values and then any SSL environment variables will be processed. These values can be changed by the application using the appropriate gsk_attribute_set_*() routines. The gsk_environment_init() routine should then be called to initialize the SSL environment. This environment can then be used to establish one or more SSL connections.
TLS V1.0 is enabled (SSL V2, SSL V3, TLS V1.1 and
TLS V1.2 are disabled by default).
(System SSL Security
Level 3 FMID installed)
and "642" otherwise.
The SSL V3 cipher specification is set to "35363738392F303132330A1613100D0915120F0C"
if United States only encryption is enabled (System SSL Security Level
3 FMID installed) and "0915120F0C" otherwise.
OCSP support is disabled (OCSP URL is not defined
and AIA extensions are not enabled).
HTTP CDP CRL support is disabled.
LDAP CRL support is disabled.
TLS V1.0 is enabled (SSL V2, SSL V3, TLS V1.1 and
TLS V1.2 are disabled by default).
OCSP support is disabled (OCSP URL is not defined
and AIA extensions are not enabled).
HTTP CDP CRL support is disabled.
LDAP CRL support is disabled.
See Table 1 for a list of supported SSL V2 cipher specifications.
See Table 2 for a list of supported 2-character SSL V3 cipher specifications.
See Table 3 for a list of supported 4-character SSL V3 cipher specifications.
See Table 5 for a list of supported 4-character elliptic curve specifications.
Applications wanting to use cipher suites that use elliptic curve certificates must set an appropriate cipher specification in GSK_V3_CIPHER_SPECS_EXPANDED. If an application requires an SSL V3, TLS V1.0, or higher session to use the 4-character cipher suites specified in GSK_V3_CIPHER_SPECS_EXPANDED then it must explicitly call gsk_attribute_set_enum() and set the enumeration identifier GSK_V3_CIPHERS to have a value of GSK_V3_CIPHERS_CHAR4.
If an application has indicated it is using the 4-character
cipher specifications by setting GSK_V3_CIPHERS to GSK_V3_CIPHERS_CHAR4,
but does not set a cipher specification in GSK_V3_CIPHER_SPECS_EXPANDED,
the default cipher specification will be set as follows:"00350036003700380039002F0030003100320033000A00160013
0010000D000900150012000F000C"
"000900150012000F000C"
"00350036003700380039002F0030003100320033000A001600130010000D"

0A 0D 10 13 16 2F 30 31 32 33 35 36 37 38 39 3C 3D 3E 3F 40 67 68 69
6A 6B 9C 9D 9E 9F A0 A1 A2 A3 A4 A5
000A 000D 0010 0013 0016 002F 0030 0031 0032 0033 0035 0036 0037 0038
0039 003C 003D 003E 003F 0040 0067 0068 0069 006A 006B 009C 009D 009E
009F 00A0 00A1 00A2 00A3 00A4 00A5 C003 C004 C005 C008 C009 C00A
C00D C00E C00F C012 C013 C014 C023 C024 C025 C026 C027 C028 C029
C02A C02B C02C C02D C02E C02F C030 C031 C032
If using the TLS V1.1 or higher protocols, export ciphers are not supported. The 40-bit ciphers (cipher specifications "03" and "06" or "0003" and "0006") will be ignored if specified.
If using the TLS V1.2 or higher protocols the 56-bit DES cipher suites "09", "0C", "0F", "12" and "15" (or "0009", "000C", "000F", "0012" and "0015") will be ignored if specified.
These
environment variables are processed (See Environment variables for information about environment
variables):
Specifies whether the SSL V2 protocol is supported.
Specifies whether the SSL V3 protocol is supported.
GSK_TLS_CBC_PROTECTION_METHOD
Specifies an optional SSL V3.0 or TLS V1.0 CBC IV protection method
when writing application data.
