OpenSSL.SSL_OP_ALL
— Constant# SSL_OP_ALL: various bug workarounds that should be rather harmless.
# This used to be 0x000FFFFFL before 0.9.7.
# This used to be 0x80000BFFU before 1.1.1.
Core.String
— MethodX509Name to string.
OpenSSL.Asn1Time
— TypeASN1_TIME.
OpenSSL.BIO
— TypeBIO.
OpenSSL.BIOCtrl
— TypeThese are used in the following macros and are passed to BIO_ctrl().
OpenSSL.BIOMethod
— TypeOpenSSL BIOMethod.
OpenSSL.BIOStreamCallbacks
— TypeBIO Stream callbacks.
OpenSSL.BIOType
— TypeBIO types.
OpenSSL.BigNum
— TypeBig number, multiprecision integer arithmetics.
OpenSSL.BigNumContext
— TypeBig number context.
OpenSSL.DSA
— TypeDSA structure.
OpenSSL.EvpCipher
— TypeEVP_CIPHER.
OpenSSL.EvpDigest
— TypeEVP Message Digest.
OpenSSL.EvpDigestContext
— TypeEVP Message Digest Context.
OpenSSL.EvpPKey
— TypeEVP_PKEY, EVP Public Key interface.
OpenSSL.OpenSSLError
— TypeOpenSSL error.
OpenSSL.OpenSSLInit
— TypeCrypto Init.
Initialize OpenSSL library.
OpenSSL.OpenSSLInitSettings
— TypeOpenSSL init settings.
OpenSSL.P12Object
— TypePKCS12 - Public Key Cryptography Standard #12
OpenSSL.RSA
— TypeRSA structure.
The RSA structure consists of several BIGNUM components.
It can contain public as well as private RSA keys.
OpenSSL.SSL
— TypeSSL structure for a connection.
OpenSSL.SSLContext
— TypeThis is the global context structure which is created by a server or client once per program life-time
and which holds mainly default values for the SSL structures which are later created for the connections.
OpenSSL.SSLMethod
— TypeSSLMethod.
TLSClientMethod.
OpenSSL.SSLStream
— TypeSSLStream.
OpenSSL.StackOf
— TypeStack Of.
OpenSSL.TlsVersion
— TypeTlsVersion.
OpenSSL.X509Attribute
— TypeX509 Attribute.
OpenSSL.X509Certificate
— TypeX509 Certificate.
OpenSSL.X509Extension
— TypeX509_EXTENSION
OpenSSL.X509Name
— TypeX509 Name.
OpenSSL.X509Request
— TypeX509 Request.
OpenSSL.X509Store
— TypeX509 Store.
Base.close
— FunctionClose SSL stream.
Base.unsafe_read
— MethodRead from the SSL stream.
OpenSSL.BIOMethodMemory
— MethodCreates a memory BIO method.
OpenSSL.BIOMethod_fd
— MethodCreates a file descriptor BIO method.
OpenSSL.EvpAES128CBC
— MethodAES with a 128-bit key in CBC, ECB, CFB and OFB modes.
OpenSSL.EvpBlowFishCBC
— MethodBlowfish encryption algorithm in CBC, ECB, CFB and OFB modes.
OpenSSL.EvpEncNull
— MethodNull cipher, does nothing.
OpenSSL.__init__
— MethodInitialize module.
OpenSSL.bio_get_mem_data
— MethodReturns internal BIO memory.
OpenSSL.bio_type
— MethodReturns the BIO type.
OpenSSL.digest
— MethodComputes the message digest (hash).
OpenSSL.dsa_generate_key
— MethodGenerate DSA key pair.
OpenSSL.get_error
— MethodError handling.
OpenSSL.get_peer_certificate
— MethodGets the X509 certificate of the peer.
OpenSSL.load_legacy_provider
— Methodload_legacy_provider()
Load the legacy provider. This loads legacy ciphers such as Blowfish.
See https://www.openssl.org/docs/man3.0/man7/OSSL_PROVIDER-legacy.html
!!! compat "OpenSSL v3" load_legacy_provider
is only available with version 3 of the OpenSSL_jll
OpenSSL.load_provider
— Methodload_provider([libctx], provider_name)
Load a provider. If libctx is omitted, the provider will be loaded into the global context.
!!! compat "OpenSSL v3" load_provider
is only available with version 3 of the OpenSSL_jll
OpenSSL.on_bio_stream_create
— MethodCalled to initialize new BIO Stream object.
OpenSSL.ossl_provider_set_default_search_path
— Functionossl_provider_set_default_search_path([libctx], [path])
Set the default search path for providers. If no arguments are given, the global context will be configured for the ossl-modules directory in the OpenSSL_jll artifact.
This is called with no arguments in OpenSSL.jl __init__
when OpenSSL v3 is used.
!!! compat "OpenSSL v3" ossl_provider_set_default_search_path
is only available with version 3 of the OpenSSL_jll
OpenSSL.random_bytes!
— MethodRandom bytes.
OpenSSL.rsa_generate_key
— MethodGenerate RSA key pair.
OpenSSL.ssl_disconnect
— MethodShut down a TLS/SSL connection.
OpenSSL.ssl_set_alpn
— MethodConfigures TLS ALPN (Application-Layer Protocol Negotiation).
OpenSSL.ssl_set_ciphersuites
— MethodConfigures available TLSv1.3 cipher suites.
OpenSSL.ssl_set_min_protocol_version
— MethodSets minimum supported protocol version for SSLContext.
OpenSSL.ssl_set_options
— MethodSets the (external) protocol behaviour of the SSL library.
OpenSSL.up_ref
— MethodBigNum does not support up ref. Duplicate the big number instead.
OpenSSL.up_ref
— MethodX509Attribute does not support up ref. Duplicate the attribute instead.
OpenSSL.up_ref
— MethodX509Extension does not support up ref. Duplicate the extension instead.
OpenSSL.update_tls_error_state
— MethodCopy and clear OpenSSL error queue to the task TLS .
OpenSSL.version
— Methodversion(; [version_type::OpenSSLVersion])
Obtain the version as a String
. See OpenSSLVersion
to select the version type.
See also version_number
to obtain a VersionNumber
.
OpenSSL.version_number
— Methodversion_number()::VersionNumber
Return the version number of the OpenSSL C library. This uses OpenSSL_version_num()
.