Documentation ¶
Index ¶
Constants ¶
View Source
const ( HS256 = "HS256" // HMAC SHA256 implementation HS384 = "HS384" // HMAC SHA384 implementation HS512 = "HS512" // HMAC SHA512 implementation )
Supported hash algorithms
Variables ¶
View Source
var ( ErrUnsupportedAlgorithm = errors.New("Algorithm not supported") ErrHashNotAvailable = errors.New("The specified hash is not available") ErrSignatureVerificationFailure = errors.New("Signature verification failed") ErrInvalidSegmentEncoding = errors.New("Invalid segment encoding") ErrNotEnoughSegments = errors.New("Not enough segments") ErrTooManySegments = errors.New("Too many segments") )
Possible error conditions
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.