Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generic ¶
type Generic struct {
// contains filtered or unexported fields
}
Generic encrypts a message by applying all the necessary modifications to the keys and the contents
func NewGeneric ¶ added in v1.0.6
func NewGeneric(alg jwa.ContentEncryptionAlgorithm) (*Generic, error)
func (Generic) Algorithm ¶
func (c Generic) Algorithm() jwa.ContentEncryptionAlgorithm
Click to show internal directories.
Click to hide internal directories.