Up
Authors
Richard Frith-Macdonald (rfm@gnu.org
)
Date: Generated at 2024-11-18 21:56:54 +0100
Copyright: (C) 2012 Free Software Foundation, Inc.
class_GSTLSCertificateList
GSTLSObject
GSTLSObject
GSTLSCertificateList
GSTLSCertificateList
GSTLSObject->GSTLSCertificateList
Declared in:
GNUstepBase/GSTLS.h
Availability: OpenStep
Description forthcoming.
Instance Variables
- (gnutls_x509_crt_t*)
certificateList ;
Availability: OpenStep
Description forthcoming.
- (unsigned int)
count ;
Availability: OpenStep
Description forthcoming.
- (
NSDate *)
expiresAt ;
Availability: OpenStep
Description forthcoming.
- (
NSDate *)
expiresAt: (unsigned int)index;
Availability: OpenStep
Description forthcoming.
Instance Variables for GSTLSCertificateList Class
@protected unsigned int
count ;
Availability: OpenStep
Description forthcoming.
@protected gnutls_x509_crt_t*
crts ;
Availability: OpenStep
Description forthcoming.
@protected NSString*
path ;
Availability: OpenStep
Description forthcoming.
@protected NSTimeInterval
when ;
Availability: OpenStep
Description forthcoming.
class_GSTLSCredentials
GSTLSObject
GSTLSObject
GSTLSCredentials
GSTLSCredentials
GSTLSObject->GSTLSCredentials
Declared in:
GNUstepBase/GSTLS.h
Availability: OpenStep
Description forthcoming.
Instance Variables
+ (
GSTLSCredentials *)
selfSigned: (BOOL)debug;
Availability: OpenStep
Description forthcoming.
- (gnutls_certificate_credentials_t)
credentials ;
Availability: OpenStep
Description forthcoming.
- (BOOL)
trust ;
Availability: OpenStep
Description forthcoming.
Instance Variables for GSTLSCredentials Class
@protected gnutls_certificate_credentials_t
certcred ;
Availability: OpenStep
Description forthcoming.
@protected GSTLSDHParams*
dhParams ;
Availability: OpenStep
Description forthcoming.
@protected BOOL
freeCred ;
Availability: OpenStep
Description forthcoming.
@protected GSTLSPrivateKey*
key ;
Availability: OpenStep
Description forthcoming.
@protected GSTLSCertificateList*
list ;
Availability: OpenStep
Description forthcoming.
@protected NSString*
name ;
Availability: OpenStep
Description forthcoming.
@protected BOOL
trust ;
Availability: OpenStep
Description forthcoming.
@protected NSTimeInterval
when ;
Availability: OpenStep
Description forthcoming.
class_GSTLSDHParams
GSTLSObject
GSTLSObject
GSTLSDHParams
GSTLSDHParams
GSTLSObject->GSTLSDHParams
Declared in:
GNUstepBase/GSTLS.h
Availability: OpenStep
Description forthcoming.
Instance Variables
+ (
GSTLSDHParams *)
current ;
Availability: OpenStep
Description forthcoming.
+ (void)
generate ;
Availability: OpenStep
Description forthcoming.
- (gnutls_dh_params_t)
params ;
Availability: OpenStep
Description forthcoming.
Instance Variables for GSTLSDHParams Class
@protected gnutls_dh_params_t
params ;
Availability: OpenStep
Description forthcoming.
@protected NSString*
path ;
Availability: OpenStep
Description forthcoming.
@protected NSTimeInterval
when ;
Availability: OpenStep
Description forthcoming.
class_GSTLSObject
NSObject
NSObject
GSTLSObject
GSTLSObject
NSObject->GSTLSObject
Declared in:
GNUstepBase/GSTLS.h
Availability: OpenStep
Description forthcoming.
+ (
NSData *)
dataForTLSFile: (
NSString *)fileName;
Availability: OpenStep
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.
+ (void)
setData: (
NSData *)data
forTLSFile: (
NSString *)fileName;
Availability: OpenStep
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.
class_GSTLSPrivateKey
GSTLSObject
GSTLSObject
GSTLSPrivateKey
GSTLSPrivateKey
GSTLSObject->GSTLSPrivateKey
Declared in:
GNUstepBase/GSTLS.h
Availability: OpenStep
Description forthcoming.
Instance Variables
- (gnutls_x509_privkey_t)
key ;
Availability: OpenStep
Description forthcoming.
Instance Variables for GSTLSPrivateKey Class
@protected gnutls_x509_privkey_t
key ;
Availability: OpenStep
Description forthcoming.
@protected NSString*
password ;
Availability: OpenStep
Description forthcoming.
@protected NSString*
path ;
Availability: OpenStep
Description forthcoming.
@protected NSTimeInterval
when ;
Availability: OpenStep
Description forthcoming.
class_GSTLSSession
GSTLSObject
GSTLSObject
GSTLSSession
GSTLSSession
GSTLSObject->GSTLSSession
Declared in:
GNUstepBase/GSTLS.h
Availability: OpenStep
Description forthcoming.
Instance Variables
+ (
GSTLSSession *)
sessionWithOptions: (
NSDictionary *)options
direction: (BOOL)isOutgoing
transport: (void*)ioHandle
push: (
GSTLSIOW )pushFunc
pull: (
GSTLSIOR )pullFunc;
Availability: OpenStep
Description forthcoming.
- (BOOL)
active ;
Availability: OpenStep
Description forthcoming.
- (
NSTimeInterval )
age ;
Availability: OpenStep
Returns the age of this instance (how
long since it was created).
- (
GSTLSCredentials *)
credentials ;
Availability: OpenStep
Description forthcoming.
- (BOOL)
debug ;
Availability: OpenStep
Description forthcoming.
- (BOOL)
disconnect: (BOOL)reusable;
Availability: OpenStep
Description forthcoming.
- (BOOL)
handshake ;
Availability: OpenStep
Description forthcoming.
- (id)
initWithOptions: (
NSDictionary *)options
direction: (BOOL)isOutgoing
transport: (void*)ioHandle
push: (
GSTLSIOW )pushFunc
pull: (
GSTLSIOR )pullFunc;
Availability: OpenStep
Description forthcoming.
- (
NSString *)
issuer ;
Availability: OpenStep
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
.
- (
NSString *)
owner ;
Availability: OpenStep
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
.
- (size_t)
pending ;
Availability: OpenStep
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.
- (
NSString *)
problem ;
Availability: OpenStep
Description forthcoming.
- (
NSInteger )
read: (void*)buf
length: (
NSUInteger )len;
Availability: OpenStep
Description forthcoming.
- (
NSString *)
sessionInfo ;
Availability: OpenStep
Get a report of the SSL/TLS status of the current
session.
- (int)
verify ;
Availability: OpenStep
Description forthcoming.
- (
NSInteger )
write: (const void*)buf
length: (
NSUInteger )len;
Availability: OpenStep
Description forthcoming.
Instance Variables for GSTLSSession Class
@protected BOOL
active ;
Availability: OpenStep
Description forthcoming.
@protected NSTimeInterval
created ;
Availability: OpenStep
Description forthcoming.
@protected GSTLSCredentials*
credentials ;
Availability: OpenStep
Description forthcoming.
@protected BOOL
debug ;
Availability: OpenStep
Description forthcoming.
@protected void*
handle ;
Availability: OpenStep
Description forthcoming.
@protected BOOL
handshake ;
Availability: OpenStep
Description forthcoming.
@protected NSString*
issuer ;
Availability: OpenStep
Description forthcoming.
@protected NSDictionary*
opts ;
Availability: OpenStep
Description forthcoming.
@protected BOOL
outgoing ;
Availability: OpenStep
Description forthcoming.
@protected NSString*
owner ;
Availability: OpenStep
Description forthcoming.
@protected NSString*
problem ;
Availability: OpenStep
Description forthcoming.
@public gnutls_session_t
session ;
Availability: OpenStep
Description forthcoming.
@protected BOOL
setup ;
Availability: OpenStep
Description forthcoming.
Up