- Page 1: System i Programming Secure Sockets
- Page 5 and 6: Contents Secure Sockets APIs . . .
- Page 7 and 8: Error Messages . . . . . . . . . .
- Page 9 and 10: Secure Sockets APIs Secure sockets
- Page 11 and 12: v “gsk_secure_soc_read()—Receiv
- Page 13 and 14: [GSK_ATTRIBUTE_INVALID_ID] The spec
- Page 15 and 16: Service Program Name: QSYS/QSOSSLSR
- Page 17 and 18: - CERT_ISSUER_ORG (654) - CERT_ISSU
- Page 19 and 20: v GSK_CLIENT_AUTH_TYPE (401) - Type
- Page 21 and 22: If an errno is returned that is not
- Page 23 and 24: Return Value gsk_attribute_get_nume
- Page 25 and 26: Parameters my_gsk_handle (Input) In
- Page 27 and 28: 09 = *RSA_DES_CBC_SHA 0A = *RSA_3DE
- Page 29 and 30: v GSK_CERT_VALIDATION_CALLBACK (805
- Page 31 and 32: Error Conditions When the gsk_attri
- Page 33 and 34: If no certificate is sent by the cl
- Page 35 and 36: Usage Notes 1. The following GSK_EN
- Page 37 and 38: One of the following occurred: v nu
- Page 39 and 40: Return Value gsk_environment_close(
- Page 41 and 42: [GSK_ERROR_BAD_V3_CIPHER] An SSLV3
- Page 43 and 44: #include int gsk_environment_open(
- Page 45 and 46: gsk_secure_soc_close()—Close a se
- Page 47 and 48: [GSK_OK] gsk_secure_soc_init() was
- Page 49 and 50: v “gsk_attribute_set_enum()—Set
- Page 51 and 52: The certificate is not signed by a
- Page 53 and 54:
[GSK_INSUFFICIENT_STORAGE] Not able
- Page 55 and 56:
The readBufSize is less than 1. [GS
- Page 57 and 58:
#include #include int gsk_secure_
- Page 59 and 60:
Error Messages Message ID Error Mes
- Page 61 and 62:
eturnValue (Output) - IF gsk_secure
- Page 63 and 64:
If an errno is returned that is not
- Page 65 and 66:
Qso_OverlappedIO_t * communications
- Page 67 and 68:
[EIO] [ENOTCONN] [ENOTSOCK] [EPIPE]
- Page 69 and 70:
writeBuffer (Input) The pointer to
- Page 71 and 72:
The gsk_strerror() function is used
- Page 73 and 74:
v “SSL_Read()—Receive Data from
- Page 75 and 76:
command. A cipher suite removed fro
- Page 77 and 78:
v “SSL_Destroy()—End SSL Suppor
- Page 79 and 80:
[EUNKNOWN] The protocol required to
- Page 81 and 82:
[EINVAL] Parameter not valid. This
- Page 83 and 84:
}; program called when a certificat
- Page 85 and 86:
[SSL_ERROR_BAD_MESSAGE] SSL receive
- Page 87 and 88:
[EUNATCH] [EUNKNOWN] A remote host
- Page 89 and 90:
char *keyringFileName (input) A poi
- Page 91 and 92:
Error Conditions When the SSL_Init(
- Page 93 and 94:
struct SSLInitAppStr { /* SSLInitAp
- Page 95 and 96:
unsigned int protocol (input) The p
- Page 97 and 98:
Certificate Use is described in the
- Page 99 and 100:
#include #include /* bufferLen is
- Page 101 and 102:
[SSL_ERROR_IO] An error occurred in
- Page 103 and 104:
Related Information v “SSL_Create
- Page 105 and 106:
} int bufferLen, on = 1, rc = 0, sd
- Page 107 and 108:
Bad address. One of the following c
- Page 109 and 110:
The header files are provided in th
- Page 111 and 112:
Name of Header File Name of File in
- Page 113 and 114:
Name Value Text Details EPUTANDGET
- Page 115 and 116:
Name Value Text Details EBADF 3450
- Page 117 and 118:
Name Value Text Details EILSEQ 3492
- Page 119 and 120:
Name Value Text Details ENEWJRNRCV
- Page 121 and 122:
Appendix. Notices This information
- Page 123 and 124:
Trademarks The following terms are
- Page 125 and 126:
EXPRESSED OR IMPLIED, INCLUDING BUT
- Page 128:
Printed in USA