Classes

GCArray
GCDictionary
GCMutableArray
GCMutableDictionary
GCObject
GSHTMLParser
GSHTMLSAXHandler
GSMimeCodingContext
GSMimeDocument
GSMimeHeader
GSMimeParser
GSMimeSMTPClient
GSMimeSerializer
GSSAXHandler
GSTLSCertificateList
GSTLSCredentials
GSTLSDHParams
GSTLSObject
GSTLSPrivateKey
GSTLSSession
GSTreeSAXHandler
GSXMLAttribute
GSXMLDocument
GSXMLNamespace
GSXMLNode
GSXMLParser
GSXMLRPC
GSXPathBoolean
GSXPathContext
GSXPathNodeSet
GSXPathNumber
GSXPathObject
GSXPathString

Protocols

Constants

GSMimeErrorDomain
GSTLSCAFile
GSTLSCertificateFile
GSTLSCertificateKeyFile
GSTLSCertificateKeyPassword
GSTLSDebug
GSTLSIssuers
GSTLSOwners
GSTLSPriority
GSTLSRemoteHosts
GSTLSRevokeFile
GSTLSServerName
GSTLSVerify

Functions

GSAutoreleasedBuffer
GSCGetInstanceVariableDefinition
GSClassFromName
GSClassList
GSClassNameFromObject
GSClassSwizzle
GSCurrentThread
GSCurrentThreadDictionary
GSDebugFunctionMsg
GSDebugMethodMsg
GSDebugSet
GSDefaultLanguageLocale
GSDomainFromDefaultLocale
GSEncodingForRegistry
GSEncodingFromLocale
GSFindNamedFile
GSFlushMethodCacheForClass
GSFromUnicode
GSGetMethod
GSIArrayAddItem
GSIArrayAddItemNoRetain
GSIArrayCapacity
GSIArrayCheckSort
GSIArrayClear
GSIArrayCopyWithZone
GSIArrayCount
GSIArrayEmpty
GSIArrayGrow
GSIArrayGrowTo
GSIArrayInitWithZoneAndCapacity
GSIArrayInitWithZoneAndStaticCapacity
GSIArrayInsertItem
GSIArrayInsertItemNoRetain
GSIArrayInsertSorted
GSIArrayInsertSortedNoRetain
GSIArrayInsertionPosition
GSIArrayItemAtIndex
GSIArrayItems
GSIArrayLastItem
GSIArrayRemoveAllItems
GSIArrayRemoveItemAtIndex
GSIArrayRemoveItemAtIndexNoRelease
GSIArrayRemoveItemsFromIndex
GSIArrayRemoveLastItem
GSIArraySearch
GSIArraySetItemAtIndex
GSIArraySize
GSIMapAddKey
GSIMapAddKeyNoRetain
GSIMapAddNodeToBucket
GSIMapAddNodeToMap
GSIMapAddPair
GSIMapAddPairNoRetain
GSIMapBucketForKey
GSIMapCleanMap
GSIMapCountByEnumeratingWithStateObjectsCount
GSIMapEmptyMap
GSIMapEndEnumerator
GSIMapEnumeratorBucket
GSIMapEnumeratorForMap
GSIMapEnumeratorNextNode
GSIMapFirstNode
GSIMapFreeNode
GSIMapInitWithZoneAndCapacity
GSIMapLinkNodeIntoBucket
GSIMapMoreNodes
GSIMapNodeForKey
GSIMapNodeForKeyInBucket
GSIMapNodeForSimpleKey
GSIMapPickBucket
GSIMapRemangleBuckets
GSIMapRemoveAndFreeNode
GSIMapRemoveKey
GSIMapRemoveNodeFromBucket
GSIMapRemoveNodeFromMap
GSIMapRemoveWeak
GSIMapResize
GSIMapRightSizeMap
GSIMapSize
GSIMapUnlinkNodeFromBucket
GSLanguageFromLocale
GSLanguagesFromLocale
GSLastErrorStr
GSLocaleVariants
GSNameFromClass
GSNameFromSelector
GSObjCAddClassBehavior
GSObjCAddClassOverride
GSObjCAddClasses
GSObjCAddMethods
GSObjCAllSubclassesOfClass
GSObjCBehaviorDebug
GSObjCClass
GSObjCDirectSubclassesOfClass
GSObjCFindVariable
GSObjCGetInstanceVariableDefinition
GSObjCGetVal
GSObjCGetVariable
GSObjCIsClass
GSObjCIsInstance
GSObjCIsKindOf
GSObjCMakeClass
GSObjCMethodNames
GSObjCSetVal
GSObjCSetVariable
GSObjCSuper
GSObjCVariableNames
GSObjCVersion
GSPathHandling
GSPrintf
GSProtocolFromName
GSProtocolGetMethodDescriptionRecursive
GSRegisterProtocol
GSSelectorFromName
GSSelectorFromNameAndTypes
GSSelectorTypesMatch
GSSetLocale
GSSetLocaleC
GSSkipTypeQualifierAndLayoutInfo
GSToUnicode
GSTypesFromSelector
GSUnicode
_Block_copy
_Block_release
gs_consumed
uni_cop
uni_is_decomp
uni_isnonsp
uni_tolower
uni_toupper

Macros

ALog
ASSIGN
ASSIGNCOPY
ASSIGNMUTABLECOPY
AUTORELEASE
BLOCK_SCOPE
CALL_BLOCK
CALL_BLOCK_NO_ARGS
CALL_BLOCK_RET
CALL_BLOCK_RET_NO_ARGS
CALL_NON_NULL_BLOCK
CALL_NON_NULL_BLOCK_NO_ARGS
CHECK_INDEX_RANGE_ERROR
CREATE_AUTORELEASE_POOL
DEALLOC
DEFINE_BLOCK_TYPE
DEFINE_BLOCK_TYPE_NO_ARGS
DESTROY
DLog
ENTER_POOL
GSLocalizedStaticString
GSOnceFLog
GSOnceMLog
GS_API_LATEST
GS_API_MACOSX
GS_API_NONE
GS_API_OPENSTEP
GS_API_OSSPEC
GS_API_VERSION
GS_CLANG_MINREQ
GS_DEPRECATED_FUNC
GS_EXPOSE
GS_GCC_MINREQ
GS_LOCALISATION_BUNDLE
GS_MAX_OBJECTS_FROM_STACK
GS_NORETURN_METHOD
GS_PART_MAP_ENUMERATOR
GS_RANGE_CHECK
GS_UNIMPLEMENTED
GS_UNUSED_ARG
GS_UNUSED_FUNC
GS_UNUSED_IVAR
GS_USEIDLIST
GS_USEIDPAIRLIST
IF_NO_ARC
IF_NO_GC
LEAVE_POOL
MAC_OS_X_VERSION_MAX_ALLOWED
NSDebugFLLog
NSDebugFLog
NSDebugFRLog
NSDebugLLog
NSDebugLog
NSDebugMLLog
NSDebugMLog
NSDebugMRLog
NSWarnFLog
NSWarnLog
NSWarnMLog
NS_CONSUMED
NS_CONSUMES_SELF
NS_RETURNS_NOT_RETAINED
NS_RETURNS_RETAINED
OS_API_VERSION
RECREATE_AUTORELEASE_POOL
RELEASE
RETAIN
TEST_AUTORELEASE
TEST_RELEASE
TEST_RETAIN
_
__
__has_feature

Types

GSIArray
GSIArray_t
GSIMapBucket
GSIMapBucket_t
GSIMapEnumerator
GSIMapEnumerator_t
GSIMapNode
GSIMapNode_t
GSIMapTable
GSIMapTable_t
GSIVar
GSMethod
GSMimeErrorCode
GSTLSIOR
GSTLSIOW
NSGNUstepStringEncoding
NSInteger
NSUInteger
struct _GSIMapEnumerator

Variables

_GSIE
struct _GSIArray
struct _GSIMapBucket
struct _GSIMapNode
struct _GSIMapTable

Up

GSTLS documentation

Authors

Richard Frith-Macdonald (rfm@gnu.org)

Date: Generated at 2024-11-18 21:56:54 +0100

Copyright: (C) 2012 Free Software Foundation, Inc.


Contents -

  1. Software documentation for the GSTLSCertificateList class
  2. Software documentation for the GSTLSCredentials class
  3. Software documentation for the GSTLSDHParams class
  4. Software documentation for the GSTLSObject class
  5. Software documentation for the GSTLSPrivateKey class
  6. Software documentation for the GSTLSSession class

Software documentation for the GSTLSCertificateList class

GSTLSCertificateList : GSTLSObject

class_GSTLSCertificateList GSTLSObject GSTLSObject GSTLSCertificateList GSTLSCertificateList GSTLSObject->GSTLSCertificateList
Declared in:
GNUstepBase/GSTLS.h
Availability: OpenStep

Description forthcoming.

Instance Variables

Method summary


listFromFile: 

+ (GSTLSCertificateList*) listFromFile: (NSString*)f;
Availability: OpenStep

Description forthcoming.

certificateList 

- (gnutls_x509_crt_t*) certificateList;
Availability: OpenStep

Description forthcoming.

count 

- (unsigned int) count;
Availability: OpenStep

Description forthcoming.

expiresAt 

- (NSDate*) expiresAt;
Availability: OpenStep

Description forthcoming.

expiresAt: 

- (NSDate*) expiresAt: (unsigned int)index;
Availability: OpenStep

Description forthcoming.



Instance Variables for GSTLSCertificateList Class

count

@protected unsigned int count;
Availability: OpenStep

Description forthcoming.

crts

@protected gnutls_x509_crt_t* crts;
Availability: OpenStep

Description forthcoming.

path

@protected NSString* path;
Availability: OpenStep

Description forthcoming.

when

@protected NSTimeInterval when;
Availability: OpenStep

Description forthcoming.




Software documentation for the GSTLSCredentials class

GSTLSCredentials : GSTLSObject

class_GSTLSCredentials GSTLSObject GSTLSObject GSTLSCredentials GSTLSCredentials GSTLSObject->GSTLSCredentials
Declared in:
GNUstepBase/GSTLS.h
Availability: OpenStep

Description forthcoming.

Instance Variables

Method summary


credentialsFromCAFile: defaultCAFile: revokeFile: defaultRevokeFile: certificateFile: certificateKeyFile: certificateKeyPassword: asClient: debug: 

+ (GSTLSCredentials*) credentialsFromCAFile: (NSString*)ca defaultCAFile: (NSString*)dca revokeFile: (NSString*)rv defaultRevokeFile: (NSString*)drv certificateFile: (NSString*)cf certificateKeyFile: (NSString*)ck certificateKeyPassword: (NSString*)cp asClient: (BOOL)client debug: (BOOL)debug;
Availability: OpenStep

Description forthcoming.

selfSigned: 

+ (GSTLSCredentials*) selfSigned: (BOOL)debug;
Availability: OpenStep

Description forthcoming.

credentials 

- (gnutls_certificate_credentials_t) credentials;
Availability: OpenStep

Description forthcoming.

key 

- (GSTLSPrivateKey*) key;
Availability: OpenStep

Description forthcoming.

list 

- (GSTLSCertificateList*) list;
Availability: OpenStep

Description forthcoming.

trust 

- (BOOL) trust;
Availability: OpenStep

Description forthcoming.



Instance Variables for GSTLSCredentials Class

certcred

@protected gnutls_certificate_credentials_t certcred;
Availability: OpenStep

Description forthcoming.

dhParams

@protected GSTLSDHParams* dhParams;
Availability: OpenStep

Description forthcoming.

freeCred

@protected BOOL freeCred;
Availability: OpenStep

Description forthcoming.

key

@protected GSTLSPrivateKey* key;
Availability: OpenStep

Description forthcoming.

list

@protected GSTLSCertificateList* list;
Availability: OpenStep

Description forthcoming.

name

@protected NSString* name;
Availability: OpenStep

Description forthcoming.

trust

@protected BOOL trust;
Availability: OpenStep

Description forthcoming.

when

@protected NSTimeInterval when;
Availability: OpenStep

Description forthcoming.




Software documentation for the GSTLSDHParams class

GSTLSDHParams : GSTLSObject

class_GSTLSDHParams GSTLSObject GSTLSObject GSTLSDHParams GSTLSDHParams GSTLSObject->GSTLSDHParams
Declared in:
GNUstepBase/GSTLS.h
Availability: OpenStep

Description forthcoming.

Instance Variables

Method summary


current 

+ (GSTLSDHParams*) current;
Availability: OpenStep

Description forthcoming.

generate 

+ (void) generate;
Availability: OpenStep

Description forthcoming.

paramsFromFile: 

+ (GSTLSDHParams*) paramsFromFile: (NSString*)f;
Availability: OpenStep

Description forthcoming.

params 

- (gnutls_dh_params_t) params;
Availability: OpenStep

Description forthcoming.



Instance Variables for GSTLSDHParams Class

params

@protected gnutls_dh_params_t params;
Availability: OpenStep

Description forthcoming.

path

@protected NSString* path;
Availability: OpenStep

Description forthcoming.

when

@protected NSTimeInterval when;
Availability: OpenStep

Description forthcoming.




Software documentation for the GSTLSObject class

GSTLSObject : NSObject

class_GSTLSObject NSObject NSObject GSTLSObject GSTLSObject NSObject->GSTLSObject
Declared in:
GNUstepBase/GSTLS.h
Availability: OpenStep

Description forthcoming.

Method summary


dataForTLSFile: 

+ (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.

setData: forTLSFile: 

+ (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.

Software documentation for the GSTLSPrivateKey class

GSTLSPrivateKey : GSTLSObject

class_GSTLSPrivateKey GSTLSObject GSTLSObject GSTLSPrivateKey GSTLSPrivateKey GSTLSObject->GSTLSPrivateKey
Declared in:
GNUstepBase/GSTLS.h
Availability: OpenStep

Description forthcoming.

Instance Variables

Method summary


keyFromFile: withPassword: 

+ (GSTLSPrivateKey*) keyFromFile: (NSString*)f withPassword: (NSString*)p;
Availability: OpenStep

Description forthcoming.

key 

- (gnutls_x509_privkey_t) key;
Availability: OpenStep

Description forthcoming.



Instance Variables for GSTLSPrivateKey Class

key

@protected gnutls_x509_privkey_t key;
Availability: OpenStep

Description forthcoming.

password

@protected NSString* password;
Availability: OpenStep

Description forthcoming.

path

@protected NSString* path;
Availability: OpenStep

Description forthcoming.

when

@protected NSTimeInterval when;
Availability: OpenStep

Description forthcoming.




Software documentation for the GSTLSSession class

GSTLSSession : GSTLSObject

class_GSTLSSession GSTLSObject GSTLSObject GSTLSSession GSTLSSession GSTLSObject->GSTLSSession
Declared in:
GNUstepBase/GSTLS.h
Availability: OpenStep

Description forthcoming.

Instance Variables

Method summary


sessionWithOptions: direction: transport: push: pull: 

+ (GSTLSSession*) sessionWithOptions: (NSDictionary*)options direction: (BOOL)isOutgoing transport: (void*)ioHandle push: (GSTLSIOW)pushFunc pull: (GSTLSIOR)pullFunc;
Availability: OpenStep

Description forthcoming.

active 

- (BOOL) active;
Availability: OpenStep

Description forthcoming.

age 

- (NSTimeInterval) age;
Availability: OpenStep

Returns the age of this instance (how long since it was created).

credentials 

- (GSTLSCredentials*) credentials;
Availability: OpenStep

Description forthcoming.

debug 

- (BOOL) debug;
Availability: OpenStep

Description forthcoming.

disconnect: 

- (BOOL) disconnect: (BOOL)reusable;
Availability: OpenStep

Description forthcoming.

handshake 

- (BOOL) handshake;
Availability: OpenStep

Description forthcoming.

initWithOptions: direction: transport: push: pull: 

- (id) initWithOptions: (NSDictionary*)options direction: (BOOL)isOutgoing transport: (void*)ioHandle push: (GSTLSIOW)pushFunc pull: (GSTLSIOR)pullFunc;
Availability: OpenStep

Description forthcoming.

issuer 

- (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.

owner 

- (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.

pending 

- (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.

problem 

- (NSString*) problem;
Availability: OpenStep

Description forthcoming.

read: length: 

- (NSInteger) read: (void*)buf length: (NSUInteger)len;
Availability: OpenStep

Description forthcoming.

sessionInfo 

- (NSString*) sessionInfo;
Availability: OpenStep

Get a report of the SSL/TLS status of the current session.

verify 

- (int) verify;
Availability: OpenStep

Description forthcoming.

write: length: 

- (NSInteger) write: (const void*)buf length: (NSUInteger)len;
Availability: OpenStep

Description forthcoming.



Instance Variables for GSTLSSession Class

active

@protected BOOL active;
Availability: OpenStep

Description forthcoming.

created

@protected NSTimeInterval created;
Availability: OpenStep

Description forthcoming.

credentials

@protected GSTLSCredentials* credentials;
Availability: OpenStep

Description forthcoming.

debug

@protected BOOL debug;
Availability: OpenStep

Description forthcoming.

handle

@protected void* handle;
Availability: OpenStep

Description forthcoming.

handshake

@protected BOOL handshake;
Availability: OpenStep

Description forthcoming.

issuer

@protected NSString* issuer;
Availability: OpenStep

Description forthcoming.

opts

@protected NSDictionary* opts;
Availability: OpenStep

Description forthcoming.

outgoing

@protected BOOL outgoing;
Availability: OpenStep

Description forthcoming.

owner

@protected NSString* owner;
Availability: OpenStep

Description forthcoming.

problem

@protected NSString* problem;
Availability: OpenStep

Description forthcoming.

session

@public gnutls_session_t session;
Availability: OpenStep

Description forthcoming.

setup

@protected BOOL setup;
Availability: OpenStep

Description forthcoming.





Up