Issue #50 fixed, i.e. now handles V1 and V2 PKI chain of trust.