add CAChain type
parent
b1f27b143e
commit
091fe1a3ac
|
@ -7,7 +7,7 @@ const libssl = "/gnu/store/hcxpkksmbql6s4al8yy2myr25kh4cic0-openssl-1.1.1g/lib/l
|
||||||
include("consts.jl")
|
include("consts.jl")
|
||||||
include("evp_md.jl")
|
include("evp_md.jl")
|
||||||
include("types.jl")
|
include("types.jl")
|
||||||
export SSLContext, SSLClient
|
export SSLContext, SSLClient, CAChain
|
||||||
|
|
||||||
include("methods.jl")
|
include("methods.jl")
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,11 @@ struct SSL_Context ptr end
|
||||||
ServerMode
|
ServerMode
|
||||||
end
|
end
|
||||||
|
|
||||||
|
struct CAChain
|
||||||
|
cert
|
||||||
|
key
|
||||||
|
end
|
||||||
|
|
||||||
mutable struct SSLContext <: IO
|
mutable struct SSLContext <: IO
|
||||||
data::Vector{UInt8}
|
data::Vector{UInt8}
|
||||||
ptr::Ptr{SSL_Context}
|
ptr::Ptr{SSL_Context}
|
||||||
|
|
Loading…
Reference in New Issue