Documentation ¶
Index ¶
- Constants
- func CloseHSMSession() error
- func GetPrivateKeyAccessRight(passwordStr string, keyIndex int) error
- func MakeDERsignature(rb, sb []byte) []byte
- func MakeRSVsignature(rb, sb []byte, vb byte) []byte
- func OpenHSMSession() error
- func ReleaeAccessRight(keyIndex int) error
- func SignSM2Internal(msg []byte, keyIndex int) (signatureR, signatureS []byte, err error)
- func SignSecp256k1Hash(hash []byte, keyIndex int) (signatureR, signatureS []byte, signatureV byte, err error)
- func SignSecp256k1Msg(msg []byte, keyIndex int) (signatureR, signatureS []byte, signatureV byte, err error)
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func GetPrivateKeyAccessRight ¶
获取私钥访问权限
func MakeDERsignature ¶
func MakeRSVsignature ¶
func SignSM2Internal ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.