Skip to content

Load certificate from pem

Load an X.509 certificate from PEM data or a PEM file path.

Import from ksef2.core.xades import load_certificate_from_pem
Source src/ksef2/core/xades.py:36 Authored source
load_certificate_from_pem
load_certificate_from_pem(source: bytes | str | Path) -> Certificate

Returns

Certificate

Parameters

source bytes | str | Path
required / positional