Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KeygenEnc ¶
func KeygenEnc(alg jose.KeyAlgorithm, bits int) (crypto.PublicKey, crypto.PrivateKey, error)
KeygenEnc generates keypair for corresponding KeyAlgorithm.
func KeygenSig ¶
func KeygenSig(alg jose.SignatureAlgorithm, bits int) (crypto.PublicKey, crypto.PrivateKey, error)
KeygenSig generates keypair for corresponding SignatureAlgorithm.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.