Crate nyantec_cert_auth

Crate nyantec_cert_auth 

Source
Expand description

§nyantec-cert-auth

A library for parsing X.509 Client Certificates

Structs§

Claims
A struct holding essential information about a parsed X.509 Client Certificate.
Permissions
Represents a set of permissions.

Enums§

CustomError

Functions§

get_claims
Parses a given X.509 Client Certificate and returns a Struct of parsed claims.
is_allowed_by_uid
Returns Ok if and only if the user matches any of the provided allowed user ids.

Type Aliases§

Result
Custom Error Wrapper Type