Walks the path from a certificate up to a self-signed one over the candidates given.
At each hop a candidate is taken only when its key verifies the signature, not merely because its subject matches.
the certificate
Optional
the certificates the path may use, as PEM strings or objects carrying pem
pem
a promise of the path and its status (complete, incomplete, unverified or too-deep) with the reason
complete
incomplete
unverified
too-deep
Walks the path from a certificate up to a self-signed one over the candidates given.
At each hop a candidate is taken only when its key verifies the signature, not merely because its subject matches.