Documentation ¶
Index ¶
Constants ¶
View Source
const ( KeyAlgorithmRSA = "rsa" KeyAlgorithmEd25519 = "ed25519" KeyAlgorithmECDSA = "ecdsa" )
Variables ¶
This section is empty.
Functions ¶
func NewECDSAPEM ¶ added in v1.1.0
NewECDSAPEM creates a new ECDSA key in PEM format.
func NewEd25519PEM ¶ added in v1.1.0
NewEd25519PEM creates a new ed25519 key in PEM format.
Types ¶
type KeyAlgorithm ¶ added in v1.1.0
type KeyAlgorithm string
Click to show internal directories.
Click to hide internal directories.