mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
496 B
20 lines
496 B
module WEBrick
|
|
module Config
|
|
SSL: Hash[Symbol, untyped]
|
|
end
|
|
|
|
module Utils
|
|
def self?.create_self_signed_cert: (untyped bits, untyped cn, untyped comment) -> ::Array[untyped]
|
|
end
|
|
|
|
class GenericServer
|
|
@ssl_context: OpenSSL::SSL::SSLContext?
|
|
|
|
def ssl_context: () -> OpenSSL::SSL::SSLContext?
|
|
|
|
def setup_ssl_context: (Hash[Symbol, untyped] config) -> OpenSSL::SSL::SSLContext
|
|
|
|
def ssl_servername_callback: (untyped sslsocket, ?untyped? hostname) -> untyped
|
|
end
|
|
end
|