SWI-Prolog Did You Know Did you know? SWI-Prolog provides general DCG primitives Search Documentation:
Predicate ssl_peer_certificate_chain/2