Module Implementation: OpenSSLCryptoInterfaceAppThe top level application (OpenSSLCryptoInterfaceApp) contains core classes and extensions to support the use of the cryptographic bindings in VA Smalltalk.Note: Internal classes are italicized and will only contain a short description.OpenSSLThreadSupportMediator: This object is responsible for connecting VA Smalltalk's thread-lock implementation with OpenSSL's thread-lock interface. This is what allows older versions of OpenSSL (< 1.1.0), that do not include platform-specific lock implementations, to be thread-safe within VA Smalltalk's environment.OpenSSLCryptoInterfaceApp: Contains the Low-Level Function and Constants pool dictionaries.OpenSSLCryptoLibraryDispatcher: Performs the actual asynchronous dispatching of all OpenSSL functions and interprets the return value for the caller (i.e. knows when to return an error object).OSSslCryptoStructure: Primarily for organizational benefits, this abstract class also connects subclasses to the appropriate OpenSSL dispatcher.OSSslStructure: Contains the GC Notifier to ensure native memory is freed when the OSObject is garbage collected. Contains a reference counter to keep reference counts in sync with OpenSSL's internal reference counts. Contains the memory ownership concept to prevent double-freeing native memory, or attempting to free memory that is not owned by the object such as a reference to OpenSSL static memory.Query object to get information about the current library or can be requested to perform checks to make sure everything is setup ok in the environment. For usage, run the class side examples in OpenSSLVersionExamplesaStream - <WriteStream Interface>
|