22.10.2013 Views

System i: Programming Secure Sockets APIs - IBM

System i: Programming Secure Sockets APIs - IBM

System i: Programming Secure Sockets APIs - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

[GSK_ERROR_BAD_V3_CIPHER]<br />

An SSLV3 or TLSV1 cipher suite was specified that is not valid.<br />

[GSK_ERROR_BAD_V2_CIPHER]<br />

An SSLV2 cipher suite was specified that is not valid.<br />

[GSK_ERROR_BAD_CERTIFICATE]<br />

The certificate is bad.<br />

[GSK_ERROR_NO_PRIVATE_KEY]<br />

There is no private key associated with the certificate.<br />

[GSK_AS400_ERROR_PASSWORD_EXPIRED]<br />

The validity time period of the certificate store file password has expired.<br />

[GSK_ERROR_BAD_KEYFILE_LABEL]<br />

The specified certificate store’s certificate label is not valid or does not exist.<br />

[GSK_ERROR_BAD_KEYFILE_PASSWORD]<br />

The specified certificate store password is not valid.<br />

[GSK_NO_KEYFILE_PASSWORD]<br />

No certificate store password was specified.<br />

[GSK_AS400_ERROR_NOT_REGISTERED]<br />

The application identifier has not been registered.<br />

[GSK_AS400_ERROR_INVALID_POINTER]<br />

my_env_handle pointer is not valid.<br />

[GSK_ERROR_BAD_KEY_LEN_FOR_EXPORT]<br />

The certificate was created with a key length that cannot be exported.<br />

[GSK_INSUFFICIENT_STORAGE]<br />

Not able to allocate storage for the requested operation.<br />

[GSK_INTERNAL_ERROR]<br />

An unexpected error occurred during SSL processing.<br />

[GSK_ERROR_UNSUPPORTED]<br />

Operation is not supported by SSL.<br />

None of the specified protocol or cipher values are supported by <strong>System</strong> SSL.<br />

[GSK_ERROR_IO]<br />

An error occurred in SSL processing, check errno value.<br />

Error Conditions<br />

When the gsk_environment_init() API fails with return code [GSK_ERROR_IO], errno can be set to:<br />

[EINTR]<br />

Interrupted function call.<br />

[EDEADLK]<br />

Resource deadlock avoided.<br />

<strong>Secure</strong> <strong>Sockets</strong> <strong>APIs</strong> 33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!