Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParsePEM ¶ added in v7.2.0
ParsePEM parse a PEM block into a crypto signer EC and RSA private keys encoded in unencrypted PKCS1 or PKCS8 format are supported.
func PublicKeyCertificate ¶
func PublicKeyCertificate(key crypto.Signer) (cert tls.Certificate, err error)
PublicKeyCertificate returns a stripped down tls certificate containing the public key
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.