Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
Poco::Crypto Namespace Reference

Classes

class  EVPPKey
 
class  KeyPair
 
class  KeyPairImpl
 Class KeyPairImpl. More...
 
class  OpenSSLException
 
class  OpenSSLInitializer
 
class  RSAKey
 
class  RSAKeyImpl
 class RSAKeyImpl More...
 
class  X509Certificate
 This class represents a X509 Certificate. More...
 

Functions

void Crypto_API initializeCrypto ()
 
void Crypto_API uninitializeCrypto ()
 

Function Documentation

◆ initializeCrypto()

void Crypto_API Poco::Crypto::initializeCrypto ( )

◆ uninitializeCrypto()

void Crypto_API Poco::Crypto::uninitializeCrypto ( )

Initialize the Crypto library, as well as the underlying OpenSSL libraries, by calling OpenSSLInitializer::initialize().

Should be called before using any class from the Crypto library. The Crypto library will be initialized automatically, through OpenSSLInitializer instances held by various Crypto classes (Cipher, CipherKey, RSAKey, X509Certificate). However, it is recommended to call initializeCrypto() in any case at application startup.

Can be called multiple times; however, for every call to initializeCrypto(), a matching call to uninitializeCrypto() must be performed.