add CAChain type

master
nixo 2020-10-25 10:55:15 +01:00
parent b1f27b143e
commit 091fe1a3ac
2 changed files with 6 additions and 1 deletions

View File

@ -7,7 +7,7 @@ const libssl = "/gnu/store/hcxpkksmbql6s4al8yy2myr25kh4cic0-openssl-1.1.1g/lib/l
include("consts.jl")
include("evp_md.jl")
include("types.jl")
export SSLContext, SSLClient
export SSLContext, SSLClient, CAChain
include("methods.jl")

View File

@ -8,6 +8,11 @@ struct SSL_Context ptr end
ServerMode
end
struct CAChain
cert
key
end
mutable struct SSLContext <: IO
data::Vector{UInt8}
ptr::Ptr{SSL_Context}