Documentation ¶
Overview ¶
Package goodkey copied from "github.com/letsencrypt/boulder/goodkey"
This package is covered under the Mozilla Public License Version 2.0 ¶
Removed depency on letsencrypt core and allow key size above 4096
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyPolicy ¶
type KeyPolicy struct { AllowRSA bool // Whether RSA keys should be allowed. AllowECDSANISTP256 bool // Whether ECDSA NISTP256 keys should be allowed. AllowECDSANISTP384 bool // Whether ECDSA NISTP384 keys should be allowed. }
KeyPolicy determines which types of key may be used with various boulder operations.
func NewKeyPolicy ¶
func NewKeyPolicy() KeyPolicy
NewKeyPolicy returns a KeyPolicy that allows RSA, ECDSA256 and ECDSA384.
Click to show internal directories.
Click to hide internal directories.