Documentation ¶
Index ¶
Constants ¶
View Source
const (
SignHeader = `Signature`
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SignGetter ¶
type SignGetter interface { ID() string Algorithm() string Create(b []byte) []byte CreateString(b []byte) string Validate(b []byte, ex string) bool }
SignGetter interface
type Signature ¶
type Signature struct {
// contains filtered or unexported fields
}
Signature model
func NewCustomSignature ¶
NewCustomSignature create sign with custom hash function
func (*Signature) CreateString ¶
CreateString getting hash as string
Click to show internal directories.
Click to hide internal directories.