class

Mitm::Context

Inherits Reference < Object

Constructors

new(rootCertificate : String, rootPrivateKey : String, caching : Caching)
Source
new(root_certificate : String, root_private_key : String, capacity : Int32)
Source

Class methods

create_client(verify_mode = OpenSSL::SSL::VerifyMode::NONE) : OpenSSL::SSL::Context::Client
Source

Instance methods

caching
Source
country
Source
country=(country : String)
Source
create_context_server(hostname : String, modulus_size : Int32 = 2048) : OpenSSL::SSL::Context::Server
Source
create_context_server(request : HTTP::Request) : OpenSSL::SSL::Context::Server | Nil
Source
location
Source
location=(location : String)
Source
notAfter
Source
notAfter=(notAfter : Int64)
Source
notBefore
Source
notBefore=(notBefore : Int64)
Source
rootCertificate
Source
rootPrivateKey
Source