load_x509_certificate_file¶
- igwn_auth_utils.x509.load_x509_certificate_file(file, backend=None)¶
Load a PEM-format X.509 certificate from a file, or file path.
- Parameters:
file (
str,pathlib.Path,file) – file object or path to read frombackend (
module, optional) – thecryptographybackend to use
- Returns:
cert – the X.509 certificate
- Return type: