asn1: update Certificate methods
tls: update extracting public key from other cert