Implement a filemode where the passed file from the command line is
authorclaudio <claudio@openbsd.org>
Wed, 19 Jan 2022 15:50:31 +0000 (15:50 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 19 Jan 2022 15:50:31 +0000 (15:50 +0000)
commitf43c4d922e90c71110731f0379db90e911e9b661
tree3fa1bd086490ca97405d16ad54e34b45a6e72154
parentadfb1f3d0cb4f8444f08010d60a2706c3e8c6696
Implement a filemode where the passed file from the command line is
printed in human readable form and is also verified against the valid
cache of rpki-client.

To validate the file the chain is explored backwards by looking at the
Authority Information Access URI and X509v3 CRL Distribution Point of
the cert. Once the trust anchor is found this chain can be verified.

Feedback and OK job@ tb@
usr.sbin/rpki-client/extern.h
usr.sbin/rpki-client/main.c
usr.sbin/rpki-client/parser.c