print_cert_info¶
- ciecplib.x509.print_cert_info(x509, path=None, display=None, verbose=True, stream=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>)¶
Print info about an X.509 certificate.
- Parameters:
x509 (
cryptography.x509.Certificate) – the certificate to parsepath (
str, optional) – the path of the certificate file on diskdisplay (
list, optional) – list of certificate parameters to display; if given each is displayed in order in plaintextverbose (
bool, optional) – ifTrue(default) print the full text of the certificatestream (
file, optional) – the file object to print to, defaults tosys.stdout