Examples using... x509.ParsePKIXPublicKey()
Recent
Decode will find the next PEM formatted block (certificate, private key
etc) in the input. It returns that block and the remainder of the input. If
no PEM data is found, p is nil and the whole of the input is returned in
rest.
ParsePKIXPublicKey parses a public key in PKIX, ASN.1 DER form.