# GSTLS documentation

rfm@gnu.org
2012 Free Software Foundation, Inc.
Software documentation for the GSTLSCertificateList class
GNUstepBase/GSTLS.h
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
listFromFile:
f
Description forthcoming.
certificateList
Description forthcoming.
count
Description forthcoming.
expiresAt
Description forthcoming.
expiresAt:
index
Description forthcoming.
Software documentation for the GSTLSCredentials class
GNUstepBase/GSTLS.h
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
credentialsFromCAFile:
ca
defaultCAFile:
dca
revokeFile:
rv
defaultRevokeFile:
drv
certificateFile:
cf
certificateKeyFile:
ck
certificateKeyPassword:
cp
asClient:
client
debug:
debug
Description forthcoming.
selfSigned:
debug
Description forthcoming.
credentials
Description forthcoming.
key
Description forthcoming.
list
Description forthcoming.
trust
Description forthcoming.
Software documentation for the GSTLSDHParams class
GNUstepBase/GSTLS.h
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
current
Description forthcoming.
generate
Description forthcoming.
paramsFromFile:
f
Description forthcoming.
params
Description forthcoming.
Software documentation for the GSTLSObject class
GNUstepBase/GSTLS.h
Description forthcoming.
dataForTLSFile:
fileName
Returns either the cached data for this file name (if any), or the result of calling [NSData +dataWithContentsOfFile:] if there is no cached data.
This method is used internally to load certificates and keys.
setData:
data
forTLSFile:
fileName
Sets the known (cached) data content for the specified file name.
Calling this with a `nil` data object will remove any existing value from the cache.
You may use this method to control what data is used for specified file names.
Software documentation for the GSTLSPrivateKey class
GNUstepBase/GSTLS.h
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
keyFromFile:
f
withPassword:
p
Description forthcoming.
key
Description forthcoming.
Software documentation for the GSTLSSession class
GNUstepBase/GSTLS.h
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
sessionWithOptions:
options
direction:
isOutgoing
transport:
ioHandle
push:
pushFunc
pull:
pullFunc
Description forthcoming.
active
Description forthcoming.
age
Returns the age of this instance (how long since it was created).
credentials
Description forthcoming.
debug
Description forthcoming.
disconnect:
reusable
Description forthcoming.
handshake
Description forthcoming.
initWithOptions:
options
direction:
isOutgoing
transport:
ioHandle
push:
pushFunc
pull:
pullFunc
Description forthcoming.
issuer
If the session verified a certificate from the remote end, returns the name of the certificate issuer in the form "C=xxxx,O=yyyy,CN=zzzz" as described in RFC4514. Otherwise returns `nil`.
owner
If the session verified a certificate from the remote end, returns the name of the certificate owner in the form "C=xxxx,O=yyyy,CN=zzzz" as described in RFC4514. Otherwise returns `nil`.
pending
Returns the number of bytes of data available to be read from the TLS buffers (using the -read:length: method). If this returns zero the TLS software needs to perform a network read before any more data can be returned.
problem
Description forthcoming.
read:
buf
length:
len
Description forthcoming.
sessionInfo
Get a report of the SSL/TLS status of the current session.
verify
Description forthcoming.
write:
buf
length:
len
Description forthcoming.