class MITM::Context
- MITM::Context
- Reference
- Object
Defined in:
cherry/mitm/context.crConstructors
Class Method Summary
- .create_client(verify_mode = OpenSSL::SSL::VerifyMode::NONE, &block : Context -> )
- .create_client(verify_mode = OpenSSL::SSL::VerifyMode::NONE)
- .from_path(rootCertificate : String, rootPrivateKey : String, &block : Context -> )
- .from_path(rootCertificate : String, rootPrivateKey : String)
Instance Method Summary
- #cache : Cache
- #cache=(cache : Cache)
- #country : String
- #country=(country : String)
- #create_all(request : HTTP::Request, verify_mode = OpenSSL::SSL::VerifyMode::NONE, &block : Context -> )
- #create_context(hostname : String = self.hostName)
- #create_context(request : HTTP::Request)
- #create_context_from_cache(value : Tuple(String, String))
- #create_root_context : Tuple(String, String)
- #create_server(request : HTTP::Request, &block : Context -> )
- #create_server(request : HTTP::Request)
- #hostName : String
- #hostName=(hostName : String)
- #location : String
- #location=(location : String)
- #notAfter : Int64
- #notAfter=(notAfter : Int64)
- #notBefore : Int64
- #notBefore=(notBefore : Int64)
- #rootCertificate : String
- #rootPrivateKey : String
Constructor Detail
def self.new(rootCertificate : String = String.new, rootPrivateKey : String = String.new, capacity : Int32 | Nil = 1024)
#