Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportPrivateKeyAsPemStr ¶
func ExportPrivateKeyAsPemStr(sk interface{}) string
ExportPrivateKeyAsPemStr exports the private key
func GenerateKeyPair ¶
func GenerateKeyPair() (sk, pk interface{}, err error)
GenerateKeyPair generates a cryptographic key pair for the algorithm specified in the mytoken config.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.