Documentation
¶
Overview ¶
Package util provides shared JWE types and parsing functions used by both the crypto package (public API) and crypto/provider/std (implementations). This package has zero dependency on either, breaking what would otherwise be a circular import.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidJWECompact = errors.New("kexcore/crypto: invalid JWE compact serialization") ErrInvalidJWEParts = errors.New("kexcore/crypto: JWE compact serialization must have exactly 5 parts") ErrJWEKeyDecrypt = errors.New("kexcore/crypto: failed to decrypt JWE encrypted key") ErrJWEContentDecrypt = errors.New("kexcore/crypto: failed to decrypt JWE content") ErrJWEHeaderMismatch = errors.New("kexcore/crypto: JWE header algorithm mismatch") ErrJWEUnsupportedEnc = errors.New("kexcore/crypto: unsupported JWE content encryption algorithm") )
JWE errors shared across crypto and provider/std.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.