Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultHsmSoLib = "/usr/local/lib/softhsm/libsofthsm2.so"
Variables ¶
View Source
var (
ErrKeyFound = errors.New("key found")
)
Functions ¶
func CreateCrypto11 ¶
func GenerateKeyPair ¶
func GenerateKeyPair(context *crypto11.Context, label []byte, ecType PKCryptoType) error
func RandomBytes32 ¶
func RandomBytes32() []byte
Types ¶
Click to show internal directories.
Click to hide internal directories.