Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type YubiHsmSigner ¶
type YubiHsmSigner struct {
PrivateKey crypto.PrivateKey
}
YubiHsmSigner implements signer by YubiHSM secp256k1
func NewYubiHsmSigner ¶
func NewYubiHsmSigner(privateKey interface{}) *YubiHsmSigner
func (*YubiHsmSigner) PublicKey ¶
func (s *YubiHsmSigner) PublicKey() []byte
func (*YubiHsmSigner) Sign ¶
func (s *YubiHsmSigner) Sign(msg []byte) []byte
Click to show internal directories.
Click to hide internal directories.