Documentation ¶
Index ¶
Constants ¶
View Source
const ( RSAKeyAlgorithm = "rsa" Ed25519KeyAlgorithm = "ed25519" RSAKeyLengthBits = 2048 )
Variables ¶
View Source
var ( KeyAlgorithms = []string{RSAKeyAlgorithm, Ed25519KeyAlgorithm} ErrUnexpectedKeyAlgorithm = errors.New("unexpected key algorithm") ErrUnexpectedTypeEd25519PublicKey = errors.New("unexpected type for ed25519 public key") )
Functions ¶
Types ¶
type KeyAlgorithm ¶ added in v0.7.0
type KeyAlgorithm string
Click to show internal directories.
Click to hide internal directories.