Crate security[−][src]
Structs
CNChecker | |
Fetcher | |
SecurityConfig | |
SecurityManager |
Functions
check_common_name | Check peer CN with cert-allowed-cn field. Return true when the match is successful (support wildcard pattern). Skip the check when the secure channel is not used. |
check_key_file | Checks and opens key file. Returns |
load_key | Loads key file content. Returns |
match_peer_names | Check peer CN with a set of allowed CN. |
Type Definitions
CertResult |