JSONWebEncryption
import JSONWebEncryption
Module information
- Declarations
- 134
- Symbols
- 140
import JSONWebEncryption
protocol JWEDecryptor : Sendable
JWEDecryptor
protocol defines functionality for decrypting JWE objects.
protocol JWEEncryptor : Sendable
JWEEncryptor protocol defines the encryption process for JWE.
protocol JWEMultiDecryptor : Sendable
JWEMultiDecryptor
protocol defines functionality for decrypting JWE objects with multiple recipients.
protocol JWEMultiEncryptor : Sendable
JWEMultiEncryptor protocol defines the encryption process for JWE with multiple recipients.
protocol JWERegisteredFieldsHeader : JWARegisteredFieldsHeader, Sendable
JWERegisteredFieldsHeader
protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object. It includes fields for specifying algorithms, keys, and other metadata related to JWE.
struct DefaultJWEHeaderImpl
DefaultJWEHeaderImpl
is a default implementation of the JWERegisteredFieldsHeader
protocol. It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process.
struct JWEEncryptionModule
JWEEncryptionModule
manages a collection of JWEEncryptionProvider
instances and provides encryption and decryption functionalities.
struct JWEEncryptionProvider
JWEEncryptionProvider
represents an encryption provider for JSON Web Encryption (JWE) with a specific algorithm family.
struct JWEJson<P, U, R> where P : JWERegisteredFieldsHeader, U : JWERegisteredFieldsHeader, R : JWERegisteredFieldsHeader
JWEJson
represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types.
struct JWEParts<P, R> where P : JWERegisteredFieldsHeader, R : JWERegisteredFieldsHeader
It’s a generic struct that can accommodate different types of headers for both protected and recipient-specific data.
typealias DefaultJWEJson = JWEJson<DefaultJWEHeaderImpl, DefaultJWEHeaderImpl, DefaultJWEHeaderImpl>
import JSONWebAlgorithms
import JSONWebKey
import JSONWebSignature
import JSONWebToken
import Tools
import jose_swift
Welcome to the jose-swift library documentation. The jose-swift
library provides comprehensive support for JSON Object Signing and Encryption (JOSE) standards, including JSON Web Token (JWT), JSON Web Signature (JWS), and JSON Web Encryption (JWE). This library enables developers to create, sign, verify, and encrypt JWTs with ease.