implement a x.509 parser for passing certificates in jwt and cwt x5c field to be verify by the verifier