native-tls: add Identiy::from_pkcs8_pem (#1655)
Add new optional fn from_pkcs8_pem for easy load client certificate (*.crt and *.key) for feature native-tls.
This commit is contained in:
committed by
GitHub
parent
110c3aee33
commit
231b18f835
@@ -110,7 +110,7 @@ ipnet = "2.3"
|
||||
|
||||
## default-tls
|
||||
hyper-tls = { version = "0.5", optional = true }
|
||||
native-tls-crate = { version = "0.2.8", optional = true, package = "native-tls" }
|
||||
native-tls-crate = { version = "0.2.10", optional = true, package = "native-tls" }
|
||||
tokio-native-tls = { version = "0.3.0", optional = true }
|
||||
|
||||
# rustls-tls
|
||||
|
||||
Reference in New Issue
Block a user