Documentation ¶
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. // contains filtered or unexported fields }
KeyPolicy determines which types of key may be used with various boulder operations.
func NewKeyPolicy ¶
NewKeyPolicy returns a KeyPolicy that allows RSA, ECDSA256 and ECDSA384. weakKeyFile contains the path to a JSON file containing truncated modulus hashes of known weak RSA keys. If this argument is empty RSA modulus hash checking will be disabled.
type WeakRSAKeys ¶
type WeakRSAKeys struct {
// contains filtered or unexported fields
}
func LoadWeakRSASuffixes ¶
func LoadWeakRSASuffixes(path string) (*WeakRSAKeys, error)
Click to show internal directories.
Click to hide internal directories.