Documentation
¶
Index ¶
Constants ¶
View Source
const ( RSA2048 = "rsa2048" RSA3072 = "rsa3072" RSA4096 = "rsa4096" ECDSA256 = "ecdsa256" ECDSA384 = "ecdsa384" ECDSA521 = "ecdsa521" ED25519 = "ed25519" )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler interface { GenerateKeyPair() (KeyPair, error) SignatureAlgorithm() x509.SignatureAlgorithm }
func MatchHandler ¶
func MatchHandler(priv crypto.PrivateKey) (Handler, error)
func NewHandler ¶
type Signer ¶
type Signer struct { Cert *x509.Certificate Key crypto.PrivateKey }
Click to show internal directories.
Click to hide internal directories.