Documentation ¶ Index ¶ type Signer func NewSigner(secretKey *[]byte) (*Signer, error) func (signer *Signer) Alg() model.Algorithm func (signer *Signer) Public() crypto.PublicKey func (signer *Signer) Sign(rand io.Reader, digest []byte, opts crypto.SignerOpts) (signature []byte, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Signer ¶ type Signer struct { // contains filtered or unexported fields } func NewSigner ¶ func NewSigner(secretKey *[]byte) (*Signer, error) func (*Signer) Alg ¶ func (signer *Signer) Alg() model.Algorithm func (*Signer) Public ¶ func (signer *Signer) Public() crypto.PublicKey func (*Signer) Sign ¶ func (signer *Signer) Sign(rand io.Reader, digest []byte, opts crypto.SignerOpts) (signature []byte, err error) Source Files ¶ View all Source files HS512.go Click to show internal directories. Click to hide internal directories.