 [nondet]certificate_field(+Certificate, 
?Field)Retrieve the field matching Field from Certificate. 
May be one of the following:
[nondet]certificate_field(+Certificate, 
?Field)Retrieve the field matching Field from Certificate. 
May be one of the following:
- subject/1 to retrieve the subject
- issuer/1 to retrieve the issuer's 
subject
- version/1 to retrieve the version
- serial/1 to retrieve the serial number
- not_before/1 to retrieve the start 
date
- not_after/1 to retrieve the expiry 
date
- public_key/1 to retrieve the public 
key
- crls/1 to retrieve a list of the CRLs
- sans/1 to retrieve a list of the 
Subject Alternative Names
- signature/1 to retrieve the 
certificate signature
- signature_algorithm/1 to retrieve the 
signing algorithm
- hash/1 to retrieve the certificate 
hash
- to_be_signed/1 to retrieve the data on 
the certificate which must be signed