diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index da7bd35..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,55 +0,0 @@ -name: Swift - -on: - push: - branches: [ "main" ] - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -permissions: - contents: read - pages: write - id-token: write - -jobs: - build: - runs-on: macos-13 - - steps: - - uses: actions/checkout@v3 - - name: Build - run: xcodebuild build test -scheme "jose-swift-Package" -destination "platform=macOS" -resultBundlePath TestResults - -# build-docs: -# runs-on: macos-13 -# -# steps: -# - uses: actions/checkout@v3 -# - name: Set up Pages -# uses: actions/configure-pages@v1 -# -# - name: Set up Swift -# uses: fwal/setup-swift@v1 -# with: -# swift-version: '5.8' -# -# - name: Generate Docs -# run: xcodebuild docbuild -scheme JoseDocs -destination "platform=macOS" -derivedDataPath ./doccBuild OTHER_DOCC_FLAGS="--transform-for-static-hosting --output-path ./docc --hosting-base-path jose-swift" - -# - name: Upload artifact -# uses: actions/upload-pages-artifact@v1 -# with: -# path: ./docc - -# deploy: -# environment: -# name: github-pages -# url: ${{ steps.deployment.outputs.page_url }} -# runs-on: ubuntu-latest -# needs: build-docs -# -# steps: -# - name: Deploy Docs -# uses: actions/deploy-pages@v1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index 28a73c4..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,30 +0,0 @@ -# This workflow will build a Swift project -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift - -name: Swift - -on: - pull_request: - branches: [ "main" ] - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - build: - - runs-on: macos-13 - - steps: - - uses: actions/checkout@v3 - - name: Build - run: xcodebuild build test -scheme "jose-swift-Package" -destination "platform=macOS" -resultBundlePath TestResults - - - name: Publish tests results - uses: kishikawakatsumi/xcresulttool@v1.7.1 - with: - path: TestResults.xcresult - show-code-coverage: true - if: success() || failure() - diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 261eeb9..0000000 --- a/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/Package.swift b/Package.swift deleted file mode 100644 index 1664043..0000000 --- a/Package.swift +++ /dev/null @@ -1,119 +0,0 @@ -// swift-tools-version: 5.8 -// The swift-tools-version declares the minimum version of Swift required to build this package. - -import PackageDescription - -let package = Package( - name: "jose-swift", - platforms: [ - .iOS(.v15), - .macOS(.v12), - .macCatalyst(.v15), - .tvOS(.v15), - .watchOS(.v8) - ], - products: [ - .library( - name: "jose-swift", - targets: [ - "JSONWebKey", - "JSONWebAlgorithms", - "JSONWebEncryption", - "JSONWebSignature", - "JSONWebToken" - ] - ), - // A library just to build full documentation - .library( - name: "JoseDocs", - targets: ["JoseDocs"] - ), - ], - dependencies: [ - // For `X448` support - .package(url: "https://github.com/krzyzanowskim/OpenSSL.git", .upToNextMinor(from: "3.1.4000")), - // For `secp256k1` support - .package(url: "https://github.com/GigaBitcoin/secp256k1.swift.git", .upToNextMinor(from: "0.15.0")), - // For `AES_CBC_HMAC_SHA2`, `PBES2` and RSA DER encoding support - .package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", .upToNextMinor(from: "1.8.1")), - .package(url: "https://github.com/apple/swift-docc-plugin.git", from: "1.3.0") - // FOR `A256_CBC_HS512` with `ECDH-1PU-A256KW` - ], - targets: [ - .target( - name: "JSONWebAlgorithms", - dependencies: [ - "JSONWebKey", - .product(name: "secp256k1", package: "secp256k1.swift"), - .product(name: "CryptoSwift", package: "CryptoSwift") - ] - ), - .testTarget( - name: "JWATests", - dependencies: ["JSONWebAlgorithms", "Tools"] - ), - .target( - name: "JSONWebSignature", - dependencies: [ - "JSONWebKey", - "JSONWebAlgorithms" - ] - ), - .testTarget( - name: "JWSTests", - dependencies: ["JSONWebSignature", "Tools"] - ), - .target( - name: "JSONWebEncryption", - dependencies: [ - "JSONWebAlgorithms", - "JSONWebKey", - "CryptoSwift" - ] - ), - .testTarget( - name: "JWETests", - dependencies: ["JSONWebEncryption", "Tools"] - ), - .target( - name: "JSONWebKey", - dependencies: [ - "OpenSSL", - "CryptoSwift", - "Tools", - .product(name: "secp256k1", package: "secp256k1.swift"), - ] - ), - .testTarget( - name: "JWKTests", - dependencies: ["JSONWebKey", "Tools"] - ), - .target( - name: "JSONWebToken", - dependencies: [ - "JSONWebKey", - "JSONWebSignature", - "JSONWebEncryption", - "Tools" - ] - ), - .testTarget( - name: "JWTTests", - dependencies: ["JSONWebToken", "Tools"] - ), - .target( - name: "Tools" - ), - // This target exists just to build documentation it should not be used for development - .target( - name: "JoseDocs", - dependencies: [ - "JSONWebKey", - "JSONWebSignature", - "JSONWebAlgorithms", - "JSONWebEncryption", - "JSONWebToken" - ] - ), - ] -) diff --git a/README.md b/README.md deleted file mode 100644 index 454ba0b..0000000 --- a/README.md +++ /dev/null @@ -1,327 +0,0 @@ -![Screenshot](jose-swift-logo.png) -# Jose Swift Library - -[![Swift](https://img.shields.io/badge/swift-brightgreen.svg)]() [![iOS](https://img.shields.io/badge/ios-brightgreen.svg)]() [![MacOS](https://img.shields.io/badge/macos-brightgreen.svg)]() [![WatchOS](https://img.shields.io/badge/watchos-brightgreen.svg)]() [![TvOS](https://img.shields.io/badge/tvos-brightgreen.svg)]() - -This library provides comprehensive support for the Jose suite of standards, including JWA (JSON Web Algorithms), JWK (JSON Web Key), JWE (JSON Web Encryption), JWS (JSON Web Signature), and JWT (JSON Web Token). These standards are integral to modern security protocols on the web, offering methods for secure key management, data encryption, signing, and representation of claims among different parties. - -## Table of Contents -1. [Available Algorithms](#available-algorithms) -2. [Requirements](#requirements) -3. [Swift Package Manager (SPM)](#swift-package-manager-spm) - - [Step 1: Add the Dependency](#step-1-add-the-dependency) - - [Step 2: Add the Target Dependency](#step-2-add-the-target-dependency) - - [Step 3: Import and Use in Your Project](#step-3-import-and-use-in-your-project) -4. [Modules](#modules) - - [JWK (JSON Web Key)](#jwk-json-web-key) - - [JWS (JSON Web Signature)](#jws-json-web-signature) - - [JWE (JSON Web Encryption)](#jwe-json-web-encryption) - - [JWT (JSON Web Token)](#jwt-json-web-token) - - [JWA (JSON Web Algorithms)](#jwa-json-web-algorithms) -5. [Contributing](#contributing) -6. [References](#references) -7. [Acknowledgments](#acknowledgments) -8. [License](#license) - -## Available Algorithms - - - -
JWS Supported Algorithms JWE Supported AlgorithmsJWK Supported Key Types
- -| Algorithm | Supported | -|-----------------|-----------| -| HS256 |:white_check_mark:| -| HS384 |:white_check_mark:| -| HS512 |:white_check_mark:| -| RS256 |:white_check_mark:| -| RS384 |:white_check_mark:| -| RS512 |:white_check_mark:| -| ES256 |:white_check_mark:| -| ES384 |:white_check_mark:| -| ES512 |:white_check_mark:| -| PS256 |:white_check_mark:| -| PS384 |:white_check_mark:| -| PS512 |:white_check_mark:| -| EdDSA |:white_check_mark:| - - - -| Algorithm | Supported | -|-----------------|-----------| -| RSA1_5 |:white_check_mark:| -| RSA-OAEP |:white_check_mark:| -| RSA-OAEP-256 |:white_check_mark:| -| A128KW |:white_check_mark:| -| A192KW |:white_check_mark:| -| A256KW |:white_check_mark:| -| DIRECT |:white_check_mark:| -| ECDH-ES |:white_check_mark:| -| ECDH-ES+A128KW |:white_check_mark:| -| ECDH-ES+A192KW |:white_check_mark:| -| ECDH-ES+A256KW |:white_check_mark:| -| A128GCMKW |:white_check_mark:| -| A192GCMKW |:white_check_mark:| -| A256GCMKW |:white_check_mark:| -| PBES2-HS256+A128KW | | -| PBES2-HS384+A192KW | | -| PBES2-HS512+A256KW | | - - - -| Key Type | Supported | -|----------|-----------| -| EC |:white_check_mark:| -| RSA |:white_check_mark:| -| OKT |:white_check_mark:| -| OCK |:white_check_mark:| - -
- -## Requirements - -- Swift 5.7.1 or later -- iOS 15.0 or later -- macOS 12.0 or later -- Mac Catalyst 15.0 or later -- tvOS 15.0 or later -- watchOS 8.0 or later -- Dependencies: - - [CryptoSwift](https://github.com/krzyzanowskim/CryptoSwift) - - [OpenSSL](https://github.com/krzyzanowskim/OpenSSL) - - [secp256k1.swift](https://github.com/GigaBitcoin/secp256k1.swift) - -## Swift Package Manager (SPM) - -To use the `jose-swift` package in your project, you need to add it as a dependency in your `Package.swift` file. - -### Step 1: Add the Dependency - -Open your `Package.swift` file and add the `jose-swift` package to your `dependencies` array. Make sure to specify the version you want to use: - -```swift -dependencies: [ - .package(url: "https://github.com/your-username/jose-swift.git", .upToNextMinor(from: "1.0.0")), - // ... other dependencies ... -] -``` - -### Step 2: Add the Target Dependency - -In the same Package.swift file, add jose-swift to the dependencies of your target: - -```swift -targets: [ - .target( - name: "YourTargetName", - dependencies: [ - "jose-swift", - // ... other dependencies ... - ] - ), - // ... other targets ... -] -``` - -### Step 3: Import and Use in Your Project - -Once you've added the package as a dependency, you can import JSONWebEncryption, JWS, JWA, or JWK in your Swift files depending on what functionality you need: - -```swift -import JSONWebEncryption -// or -import JSONWebSignature -// or -import JSONWebAlgorithms -// or -import JSONWebKey -// or -import JSONWebToken -``` - -## Modules - -### JWK (JSON Web Key) -JWK is a standard way to represent cryptographic keys in a JSON format, as defined in [RFC 7517](https://datatracker.ietf.org/doc/html/rfc7517). This module provides functionalities for generating, parsing, and managing JWKs, which are essential for encryption, decryption, and signing processes. - -### JWS (JSON Web Signature) -JWS is a standard for digitally signing arbitrary content, as detailed in [RFC 7515](https://datatracker.ietf.org/doc/html/rfc7515). This module supports creating and verifying digital signatures, ensuring the integrity and authenticity of signed data. - -#### Supported Algorithms: -- RS256 (RSA Signature with SHA-256) -- RS384 (RSA Signature with SHA-384) -- RS512 (RSA Signature with SHA-512) -- HS256 (HMAC with SHA-256) -- HS384 (HMAC with SHA-384) -- HS512 (HMAC with SHA-512) -- ES256 (ECDSA using P-256 and SHA-256) -- ES384 (ECDSA using P-384 and SHA-384) -- ES512 (ECDSA using P-521 and SHA-512) -- ES256K (ECDSA using secp256k1 and SHA-256) -- PS256 (RSA PSS with SHA-256) -- PS384 (RSA PSS with SHA-384) -- PS512 (RSA PSS with SHA-512) -- EdDSA (EdDSA using Ed25519) - [RFC 8037](https://datatracker.ietf.org/doc/html/rfc8037) - -Example: - -```swift -let payload = "Hello world".data(using: .utf8)! -let keyJWK = ... //JWK key - -let jws = try JWS(payload: payload, key: keyJWK) - -let jwsString = jws.compactSerialization - -try JWS(jwsString: jwsString).verify(key: keyJWK) - -``` - -### JWE (JSON Web Encryption) -JWE represents encrypted content using JSON-based data structures, following the guidelines of [RFC 7516](https://datatracker.ietf.org/doc/html/rfc7516). This module includes functionalities for encrypting and decrypting data, managing encryption keys, and handling various encryption algorithms and methods. - -#### Supported Algorithms: - -1. **Key Management Algorithms**: - - RSA1_5 (RSAES-PKCS1-v1_5) - - RSA-OAEP (RSAES OAEP using default parameters) - - RSA-OAEP-256 (RSAES OAEP using SHA-256 and MGF1 with SHA-256) - - A128KW (AES Key Wrap with default 128-bit key) - - A192KW (AES Key Wrap with 192-bit key) - - A256KW (AES Key Wrap with 256-bit key) - - dir (Direct use of a shared symmetric key) - - ECDH-ES (Elliptic Curve Diffie-Hellman Ephemeral Static key agreement) - - ECDH-ES+A128KW (ECDH-ES using Concat KDF and A128KW wrapping) - - ECDH-ES+A192KW (ECDH-ES using Concat KDF and A192KW wrapping) - - ECDH-ES+A256KW (ECDH-ES using Concat KDF and A256KW wrapping) - - ECDH-1PU (Elliptic Curve Diffie-Hellman One-Pass Unified Model) - - ECDH-1PU+A128KW (ECDH-1PU using Concat KDF and A128KW wrapping) - - ECDH-1PU+A192KW (ECDH-1PU using Concat KDF and A192KW wrapping) - - ECDH-1PU+A256KW (ECDH-1PU using Concat KDF and A256KW wrapping) - - A128GCMKW (Key wrapping with AES GCM using 128-bit key) - - A192GCMKW (Key wrapping with AES GCM using 192-bit key) - - A256GCMKW (Key wrapping with AES GCM using 256-bit key) - - PBES2-HS256+A128KW (PBES2 with HMAC SHA-256 and "A128KW" wrapping) - - PBES2-HS384+A192KW (PBES2 with HMAC SHA-384 and "A192KW" wrapping) - - PBES2-HS512+A256KW (PBES2 with HMAC SHA-512 and "A256KW" wrapping) - - Note: ECDH-1PU is specified in [draft-ietf-jose-cfrg-curves-10](https://datatracker.ietf.org/doc/draft-ietf-jose-cfrg-curves/10/) - -2. **Content Encryption Algorithms**: - - A128CBC-HS256 (AES CBC using 128-bit key with HMAC SHA-256) - - A192CBC-HS384 (AES CBC using 192-bit key with HMAC SHA-384) - - A256CBC-HS512 (AES CBC using 256-bit key with HMAC SHA-512) - - A128GCM (AES GCM using 128-bit key) - - A192GCM (AES GCM using 192-bit key) - - A256GCM (AES GCM using 256-bit key) - -Example: - -```swift -let payload = "Hello world".data(using: .utf8)! -let keyJWK = ... //JWK key - - -let serialization = try JWE( - payload: payload, - keyManagementAlg: .a256KW, - encryptionAlgorithm: .a256GCM, - recipientKey: keyJWK -) - -let compact = serialization.compactSerialization() - -let jwe = try JWE(compactString: compact) -let decrypted = try jwe.decrypt(recipientKey: recipientJWK) -``` - -### JWT (JSON Web Token) -JWT is a compact, URL-safe means of representing claims to be transferred between two parties. This module offers tools for creating, parsing, validating, and manipulating JWTs, with support for various signing and encryption methods, as specified in [RFC 7519](https://datatracker.ietf.org/doc/html/rfc7519). - - -#### Features: - -1. **Signed JWTs**: - - Supports digital signatures to verify the authenticity and integrity of the token. - - Utilizes JWS (JSON Web Signature) standards. - - Supports all JWS algorithms previously mentioned. - -2. **Encrypted JWTs**: - - Facilitates encryption of token content for confidentiality. - - Uses JWE (JSON Web Encryption) for robust encryption standards. - - Supports all JWE algorithms previously mentioned. - -3. **Nested JWT (JWS + JWE)**: - - Implements Nested JWTs where a JWT is signed and then encrypted, providing both the benefits of JWS and JWE. - - Ensures that a token is first authenticated (JWS) and then secured for privacy (JWE). - -4. **Claim Validation**: - - Offers extensive capabilities to validate JWT claims. - - Includes standard claims like issuer (`iss`), subject (`sub`), audience (`aud`), expiration (`exp`), not before (`nbf`), and issued at (`iat`). - - Custom claim validation to meet specific security requirements. - -Example: - -- Signed JWT - -```swift -let keyJWK = ... //JWK key -let mockClaims = DefaultJWTClaims( - issuer: "testAlice", - subject: "Alice", - expirationTime: expiredAt -) - -let jwt = try JWT.signed( - payload: mockClaims, - protectedHeader: DefaultJWSHeaderImpl(algorithm: .ES256), - key: key -) - -let jwtString = jwt.jwtString - -let verifiedJWT = try JWT.verify(jwtString: jwtString, senderKey: key) -let verifiedPayload = verifiedJWT.payload -``` - -- Encrypted JWT - -```swift -let keyJWK = ... //JWK key -let mockClaims = DefaultJWTClaims( - issuer: "testAlice", - subject: "Alice", - expirationTime: expiredAt -) - -let jwt = try JWT.encrypt( - payload: payload, - protectedHeader: DefaultJWSHeaderImpl(keyManagementAlgorithm: .a128KW, encodingAlgorithm: .a128CBCHS256), - recipientKey: keyJWK -) - -let jwtString = jwt.jwtString - -let verifiedJWT = try JWT.verify(jwtString: jwtString, recipientKey: key) -let verifiedPayload = verifiedJWT.payload -``` - -### JWA (JSON Web Algorithms) -JWA specifies cryptographic algorithms used in the context of Jose to perform digital signing and content encryption, as detailed in [RFC 7518](https://datatracker.ietf.org/doc/html/rfc7518). It includes standards for various types of algorithms like RSA, AES, HMAC, and more. - - -## Contributing -Contributions to the library are welcome. Please ensure that your contributions adhere to the Jose standards and add value to the existing functionalities. - -## References -- [JSON Web Signature (JWS) - RFC 7515](https://datatracker.ietf.org/doc/html/rfc7515) -- [JSON Web Encryption (JWE) - RFC 7516](https://datatracker.ietf.org/doc/html/rfc7516) -- [JSON Web Key (JWK) - RFC 7517](https://datatracker.ietf.org/doc/html/rfc7517) -- [JSON Web Algorithms (JWA) - RFC 7518](https://datatracker.ietf.org/doc/html/rfc7518) -- [JSON Web Token (JWT) - RFC 7519](https://datatracker.ietf.org/doc/html/rfc7519) - -## Acknowledgments - -Special thanks to the [`swift-jose`](https://github.com/proxyco/swift-jose) repository by [Zsombor Szabo](https://github.com/zssz) for serving as an inspiration for this project. I have adopted parts of the `JWK` implementation and several test vectors from their work, which have been instrumental in shaping aspects of this library. Their contributions to the open-source community are sincerely appreciated. - -## License -This project is licensed under the Apache License 2.0. See the LICENSE file for details. diff --git a/Sources/JSONWebAlgorithms/Compression/ContentCompressionAlgorithm.swift b/Sources/JSONWebAlgorithms/Compression/ContentCompressionAlgorithm.swift deleted file mode 100644 index 627c655..0000000 --- a/Sources/JSONWebAlgorithms/Compression/ContentCompressionAlgorithm.swift +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation - -/// `ContentCompressionAlgorithm` is an enumeration representing the supported content compression algorithms. -public enum ContentCompressionAlgorithm: String, Codable { - /// The DEFLATE compression algorithm. - case deflate = "DEF" -} - -/// Extension of `ContentCompressionAlgorithm` to provide compressor and decompressor functionalities. -extension ContentCompressionAlgorithm { - /// Provides a `ContentCompressor` instance based on the selected compression algorithm. - /// - Returns: An instance of a compressor suitable for the algorithm. - /// - For `.deflate`, it returns a `Zip` compressor. - public var compressor: ContentCompressor { - switch self { - case .deflate: - return Zip() - } - } - - /// Provides a `ContentDecompressor` instance based on the selected compression algorithm. - /// - Returns: An instance of a decompressor suitable for the algorithm. - /// - For `.deflate`, it returns a `Zip` decompressor. - public var decompressor: ContentDecompressor { - switch self { - case .deflate: - return Zip() - } - } -} diff --git a/Sources/JSONWebAlgorithms/Compression/ContentCompressor.swift b/Sources/JSONWebAlgorithms/Compression/ContentCompressor.swift deleted file mode 100644 index 9d60e65..0000000 --- a/Sources/JSONWebAlgorithms/Compression/ContentCompressor.swift +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation - -/// `ContentCompressor` is a protocol defining the functionality for compressing data. -public protocol ContentCompressor { - /// Compresses the provided input data. - /// - Parameter input: The data to be compressed. - /// - Returns: The compressed data. - /// - Throws: An error if compression fails. - func compress(input: Data) throws -> Data -} - -/// `ContentDecompressor` is a protocol defining the functionality for decompressing data. -public protocol ContentDecompressor { - /// Decompresses the provided input data. - /// - Parameter input: The data to be decompressed. - /// - Returns: The decompressed data. - /// - Throws: An error if decompression fails. - func decompress(input: Data) throws -> Data -} diff --git a/Sources/JSONWebAlgorithms/Compression/ZIP/Zip+ContentCompressor.swift b/Sources/JSONWebAlgorithms/Compression/ZIP/Zip+ContentCompressor.swift deleted file mode 100644 index 7e8e99a..0000000 --- a/Sources/JSONWebAlgorithms/Compression/ZIP/Zip+ContentCompressor.swift +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation - -struct Zip: ContentCompressor, ContentDecompressor { - func compress(input: Data) throws -> Data { - try (input as NSData).compressed(using: .zlib) as Data - } - - func decompress(input: Data) throws -> Data { - try (input as NSData).decompressed(using: .zlib) as Data - } -} diff --git a/Sources/JSONWebAlgorithms/ContentEncryption/AES/AES128GCM+ContentEncryptor.swift b/Sources/JSONWebAlgorithms/ContentEncryption/AES/AES128GCM+ContentEncryptor.swift deleted file mode 100644 index 609cbd0..0000000 --- a/Sources/JSONWebAlgorithms/ContentEncryption/AES/AES128GCM+ContentEncryptor.swift +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation - -struct AES128GCM: ContentEncryptor, ContentDecryptor { - - let contentEncryptionAlgorithm: String = ContentEncryptionAlgorithm.a128GCM.rawValue - let initializationVectorSizeInBits: Int = ContentEncryptionAlgorithm.a128GCM.initializationVectorSizeInBits - let cekKeySize: Int = ContentEncryptionAlgorithm.a128GCM.keySizeInBits - - func generateInitializationVector() throws -> Data { - try SecureRandom.secureRandomData(count: initializationVectorSizeInBits) - } - - func generateCEK() throws -> Data { - try SecureRandom.secureRandomData(count: cekKeySize / 8) - } - - func encrypt( - payload: Data, - using key: Data, - arguments: [ContentEncryptionArguments] - ) throws -> ContentEncryptionResult { - let (cipher, tag) = try AESGCM.encrypt( - payload: payload, - cek: key, - initializationVector: arguments.initializationVector ?? generateInitializationVector(), - additionalAuthenticatedData: arguments.additionalAuthenticationData ?? Data() - ) - return .init(cipher: cipher, authenticationData: tag) - } - - func decrypt( - cipher: Data, - using key: Data, - arguments: [ContentEncryptionArguments] - ) throws -> Data { - guard let iv = arguments.initializationVector else { - throw CryptoError.missingInitializationVector - } - - guard let tag = arguments.authenticationTag else { - throw CryptoError.missingAuthenticationTag - } - - guard let aad = arguments.additionalAuthenticationData else { - throw CryptoError.missingAdditionalAuthenticatingData - } - - return try AESGCM.decrypt( - cipher: cipher, - using: key, - initializationVector: iv, - authenticationTag: tag, - additionalAuthenticatedData: aad - ) - } -} diff --git a/Sources/JSONWebAlgorithms/ContentEncryption/AES/AES192GCM+ContentEncryptor.swift b/Sources/JSONWebAlgorithms/ContentEncryption/AES/AES192GCM+ContentEncryptor.swift deleted file mode 100644 index 39e5d58..0000000 --- a/Sources/JSONWebAlgorithms/ContentEncryption/AES/AES192GCM+ContentEncryptor.swift +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation - -struct AES192GCM: ContentEncryptor, ContentDecryptor { - let contentEncryptionAlgorithm: String = ContentEncryptionAlgorithm.a192GCM.rawValue - let initializationVectorSizeInBits: Int = ContentEncryptionAlgorithm.a192GCM.initializationVectorSizeInBits - let cekKeySize: Int = ContentEncryptionAlgorithm.a192GCM.keySizeInBits - - func generateInitializationVector() throws -> Data { - try SecureRandom.secureRandomData(count: initializationVectorSizeInBits) - } - - func generateCEK() throws -> Data { - try SecureRandom.secureRandomData(count: cekKeySize / 8) - } - - func encrypt( - payload: Data, - using key: Data, - arguments: [ContentEncryptionArguments] - ) throws -> ContentEncryptionResult { - let (cipher, tag) = try AESGCM.encrypt( - payload: payload, - cek: key, - initializationVector: arguments.initializationVector ?? generateInitializationVector(), - additionalAuthenticatedData: arguments.additionalAuthenticationData ?? Data() - ) - return .init(cipher: cipher, authenticationData: tag) - } - - func decrypt( - cipher: Data, - using key: Data, - arguments: [ContentEncryptionArguments] - ) throws -> Data { - guard let iv = arguments.initializationVector else { - throw CryptoError.missingInitializationVector - } - - guard let tag = arguments.authenticationTag else { - throw CryptoError.missingAuthenticationTag - } - - guard let aad = arguments.additionalAuthenticationData else { - throw CryptoError.missingAdditionalAuthenticatingData - } - - return try AESGCM.decrypt( - cipher: cipher, - using: key, - initializationVector: iv, - authenticationTag: tag, - additionalAuthenticatedData: aad - ) - } -} diff --git a/Sources/JSONWebAlgorithms/ContentEncryption/AES/AES256GCM+ContentEncryptor.swift b/Sources/JSONWebAlgorithms/ContentEncryption/AES/AES256GCM+ContentEncryptor.swift deleted file mode 100644 index e02b44d..0000000 --- a/Sources/JSONWebAlgorithms/ContentEncryption/AES/AES256GCM+ContentEncryptor.swift +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation - -struct AES256GCM: ContentEncryptor, ContentDecryptor { - - let contentEncryptionAlgorithm: String = ContentEncryptionAlgorithm.a256GCM.rawValue - let initializationVectorSizeInBits: Int = ContentEncryptionAlgorithm.a256GCM.initializationVectorSizeInBits - let cekKeySize: Int = ContentEncryptionAlgorithm.a256GCM.keySizeInBits - - func generateInitializationVector() throws -> Data { - try SecureRandom.secureRandomData(count: initializationVectorSizeInBits) - } - - func generateCEK() throws -> Data { - try SecureRandom.secureRandomData(count: cekKeySize / 8) - } - - func encrypt( - payload: Data, - using key: Data, - arguments: [ContentEncryptionArguments] - ) throws -> ContentEncryptionResult { - let (cipher, tag) = try AESGCM.encrypt( - payload: payload, - cek: key, - initializationVector: arguments.initializationVector ?? generateInitializationVector(), - additionalAuthenticatedData: arguments.additionalAuthenticationData ?? Data() - ) - return .init(cipher: cipher, authenticationData: tag) - } - - func decrypt( - cipher: Data, - using key: Data, - arguments: [ContentEncryptionArguments] - ) throws -> Data { - guard let iv = arguments.initializationVector else { - throw CryptoError.missingInitializationVector - } - - guard let tag = arguments.authenticationTag else { - throw CryptoError.missingAuthenticationTag - } - - guard let aad = arguments.additionalAuthenticationData else { - throw CryptoError.missingAdditionalAuthenticatingData - } - - return try AESGCM.decrypt( - cipher: cipher, - using: key, - initializationVector: iv, - authenticationTag: tag, - additionalAuthenticatedData: aad - ) - } -} diff --git a/Sources/JSONWebAlgorithms/ContentEncryption/AES/AESCBC_SHA256+ContentEncryptor.swift b/Sources/JSONWebAlgorithms/ContentEncryption/AES/AESCBC_SHA256+ContentEncryptor.swift deleted file mode 100644 index a4e9d9d..0000000 --- a/Sources/JSONWebAlgorithms/ContentEncryption/AES/AESCBC_SHA256+ContentEncryptor.swift +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -struct AESCBC_SHA256: ContentEncryptor, ContentDecryptor { - - let contentEncryptionAlgorithm: String = ContentEncryptionAlgorithm.a128CBCHS256.rawValue - let initializationVectorSizeInBits: Int = ContentEncryptionAlgorithm.a128CBCHS256.initializationVectorSizeInBits - let cekKeySize: Int = ContentEncryptionAlgorithm.a128CBCHS256.keySizeInBits - - func generateInitializationVector() throws -> Data { - try SecureRandom.secureRandomData(count: initializationVectorSizeInBits / 8) - } - - func generateCEK() throws -> Data { - try SecureRandom.secureRandomData(count: cekKeySize / 8) - } - - func encrypt( - payload: Data, - using key: Data, - arguments: [ContentEncryptionArguments] - ) throws -> ContentEncryptionResult { - guard let iv = arguments.initializationVector else { - throw CryptoError.missingInitializationVector - } - - guard iv.count * 8 == initializationVectorSizeInBits else { - throw CryptoError.initializationVectorWrongSize(sizeInBits: initializationVectorSizeInBits) - } - - guard let aad = arguments.additionalAuthenticationData else { - throw CryptoError.missingAdditionalAuthenticatingData - } - - let (cipher, tag) = try AESCBC_SHA.encrypt( - payload: payload, - cek: key, - authenticationTagLength: 16, - initializationVector: iv, - additionalAuthenticatedData: aad - ) - - return .init(cipher: cipher, authenticationData: tag) - } - - func decrypt( - cipher: Data, - using key: Data, - arguments: [ContentEncryptionArguments] - ) throws -> Data { - guard let iv = arguments.initializationVector else { - throw CryptoError.missingInitializationVector - } - - guard let tag = arguments.authenticationTag else { - throw CryptoError.missingAuthenticationTag - } - - guard let aad = arguments.additionalAuthenticationData else { - throw CryptoError.missingAdditionalAuthenticatingData - } - - return try AESCBC_SHA.decrypt( - cipher: cipher, - cek: key, - authenticationTagLength: 16, - initializationVector: iv, - additionalAuthenticatedData: aad, - authenticationTag: tag - ) - } -} diff --git a/Sources/JSONWebAlgorithms/ContentEncryption/AES/AESCBC_SHA384+ContentEncryptor.swift b/Sources/JSONWebAlgorithms/ContentEncryption/AES/AESCBC_SHA384+ContentEncryptor.swift deleted file mode 100644 index ff95b4d..0000000 --- a/Sources/JSONWebAlgorithms/ContentEncryption/AES/AESCBC_SHA384+ContentEncryptor.swift +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation - -struct AESCBC_SHA384: ContentEncryptor, ContentDecryptor { - - let contentEncryptionAlgorithm: String = ContentEncryptionAlgorithm.a192CBCHS384.rawValue - let initializationVectorSizeInBits: Int = ContentEncryptionAlgorithm.a192CBCHS384.initializationVectorSizeInBits - let cekKeySize: Int = ContentEncryptionAlgorithm.a192CBCHS384.keySizeInBits - - func generateInitializationVector() throws -> Data { - try SecureRandom.secureRandomData(count: initializationVectorSizeInBits) - } - - func generateCEK() throws -> Data { - try SecureRandom.secureRandomData(count: cekKeySize / 8) - } - - func encrypt( - payload: Data, - using key: Data, - arguments: [ContentEncryptionArguments] - ) throws -> ContentEncryptionResult { - guard let iv = arguments.initializationVector else { - throw CryptoError.missingInitializationVector - } - - guard iv.count * 8 == initializationVectorSizeInBits else { - throw CryptoError.initializationVectorWrongSize(sizeInBits: initializationVectorSizeInBits) - } - - guard let aad = arguments.additionalAuthenticationData else { - throw CryptoError.missingAdditionalAuthenticatingData - } - - let (cipher, tag) = try AESCBC_SHA.encrypt( - payload: payload, - cek: key, - authenticationTagLength: 24, - initializationVector: iv, - additionalAuthenticatedData: aad - ) - - return .init(cipher: cipher, authenticationData: tag) - } - - func decrypt( - cipher: Data, - using key: Data, - arguments: [ContentEncryptionArguments] - ) throws -> Data { - guard let iv = arguments.initializationVector else { - throw CryptoError.missingInitializationVector - } - - guard let tag = arguments.authenticationTag else { - throw CryptoError.missingAuthenticationTag - } - - guard let aad = arguments.additionalAuthenticationData else { - throw CryptoError.missingAdditionalAuthenticatingData - } - - return try AESCBC_SHA.decrypt( - cipher: cipher, - cek: key, - authenticationTagLength: 24, - initializationVector: iv, - additionalAuthenticatedData: aad, - authenticationTag: tag - ) - } -} diff --git a/Sources/JSONWebAlgorithms/ContentEncryption/AES/AESCBC_SHA512+ContentEncryptor.swift b/Sources/JSONWebAlgorithms/ContentEncryption/AES/AESCBC_SHA512+ContentEncryptor.swift deleted file mode 100644 index cf30ec5..0000000 --- a/Sources/JSONWebAlgorithms/ContentEncryption/AES/AESCBC_SHA512+ContentEncryptor.swift +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation - -struct AESCBC_SHA512: ContentEncryptor, ContentDecryptor { - - let contentEncryptionAlgorithm: String = ContentEncryptionAlgorithm.a256CBCHS512.rawValue - let initializationVectorSizeInBits: Int = ContentEncryptionAlgorithm.a256CBCHS512.initializationVectorSizeInBits - let cekKeySize: Int = ContentEncryptionAlgorithm.a256CBCHS512.keySizeInBits - - func generateInitializationVector() throws -> Data { - try SecureRandom.secureRandomData(count: initializationVectorSizeInBits / 8) - } - - func generateCEK() throws -> Data { - try SecureRandom.secureRandomData(count: cekKeySize / 8) - } - - func encrypt( - payload: Data, - using key: Data, - arguments: [ContentEncryptionArguments] - ) throws -> ContentEncryptionResult { - guard let iv = arguments.initializationVector else { - throw CryptoError.missingInitializationVector - } - - guard iv.count * 8 == initializationVectorSizeInBits else { - throw CryptoError.initializationVectorWrongSize(sizeInBits: initializationVectorSizeInBits) - } - - guard let aad = arguments.additionalAuthenticationData else { - throw CryptoError.missingAdditionalAuthenticatingData - } - - let (cipher, tag) = try AESCBC_SHA.encrypt( - payload: payload, - cek: key, - authenticationTagLength: 32, - initializationVector: iv, - additionalAuthenticatedData: aad - ) - - return .init(cipher: cipher, authenticationData: tag) - } - - func decrypt( - cipher: Data, - using key: Data, - arguments: [ContentEncryptionArguments] - ) throws -> Data { - guard let iv = arguments.initializationVector else { - throw CryptoError.missingInitializationVector - } - - guard let tag = arguments.authenticationTag else { - throw CryptoError.missingAuthenticationTag - } - - guard let aad = arguments.additionalAuthenticationData else { - throw CryptoError.missingAdditionalAuthenticatingData - } - - return try AESCBC_SHA.decrypt( - cipher: cipher, - cek: key, - authenticationTagLength: 32, - initializationVector: iv, - additionalAuthenticatedData: aad, - authenticationTag: tag - ) - } -} diff --git a/Sources/JSONWebAlgorithms/ContentEncryption/ContentDecryptor.swift b/Sources/JSONWebAlgorithms/ContentEncryption/ContentDecryptor.swift deleted file mode 100644 index 65a2ca1..0000000 --- a/Sources/JSONWebAlgorithms/ContentEncryption/ContentDecryptor.swift +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebKey - -/// `ContentDecryptor` is a protocol that defines functionality for decrypting data. -public protocol ContentDecryptor { - /// Decrypts the given cipher data using the specified key and additional arguments. - /// - Parameters: - /// - cipher: The encrypted data (cipher) to be decrypted. - /// - key: The key used for the decryption process. - /// - arguments: An array of `ContentEncryptionArguments` providing additional information required for decryption. - /// - Returns: The decrypted data. - /// - Throws: An error if decryption fails. This could be due to incorrect keys, corrupted data, or incompatible arguments. - func decrypt( - cipher: Data, - using key: Data, - arguments: [ContentEncryptionArguments] - ) throws -> Data -} diff --git a/Sources/JSONWebAlgorithms/ContentEncryption/ContentEncryptionAlgorithm.swift b/Sources/JSONWebAlgorithms/ContentEncryption/ContentEncryptionAlgorithm.swift deleted file mode 100644 index 8b5b088..0000000 --- a/Sources/JSONWebAlgorithms/ContentEncryption/ContentEncryptionAlgorithm.swift +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright © 2023 Proxy, Inc. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -import Foundation - -/// `ContentEncryptionAlgorithm` is an enumeration representing the supported content encryption algorithms. -public enum ContentEncryptionAlgorithm: String, Codable, Equatable, CaseIterable, Hashable { - /// AES encryption in CBC mode with an HMAC using SHA-256. - /// The algorithm uses a 256-bit key and is commonly used for its balance of security and performance. - case a128CBCHS256 = "A128CBC-HS256" - - /// AES encryption in CBC mode with an HMAC using SHA-384. - /// This algorithm uses a 384-bit key and provides a higher level of security than A128CBC-HS256. - case a192CBCHS384 = "A192CBC-HS384" - - /// AES encryption in CBC mode with an HMAC using SHA-512. - /// It employs a 512-bit key, offering an even higher level of security, suitable for sensitive data protection. - case a256CBCHS512 = "A256CBC-HS512" - - /// AES encryption using Galois/Counter Mode (GCM) with a 128-bit key. - /// GCM mode offers both confidentiality and integrity, and is known for its efficiency and performance. - case a128GCM = "A128GCM" - - /// AES encryption in GCM mode with a 192-bit key. - /// It offers a higher security level than A128GCM, combining efficiency with stronger encryption. - case a192GCM = "A192GCM" - - /// AES encryption in GCM mode with a 256-bit key. - /// This algorithm provides robust security and is widely used in various security protocols and systems. - case a256GCM = "A256GCM" - - /// Returns the key size in bits used by the encryption algorithm. - /// - Returns: The size of the key in bits. - public var keySizeInBits: Int { - switch self { - case .a128GCM: return 128 - case .a192GCM: return 192 - case .a256GCM: return 256 - case .a128CBCHS256: return 256 - case .a192CBCHS384: return 384 - case .a256CBCHS512: return 512 - } - } - - /// Returns the initialization vector size in bits suitable for the encryption algorithm. - /// - Returns: The size of the initialization vector in bits. - public var initializationVectorSizeInBits: Int { - switch self { - case .a128CBCHS256, .a192CBCHS384, .a256CBCHS512: return 128 - case .a128GCM, .a192GCM, .a256GCM: return 96 - } - } - - /// Provides a `ContentEncryptor` instance based on the selected encryption algorithm. - /// - Returns: An instance of an encryptor suitable for the algorithm. - public var encryptor: ContentEncryptor { - switch self { - case .a128CBCHS256: - return AESCBC_SHA256() - case .a192CBCHS384: - return AESCBC_SHA384() - case .a256CBCHS512: - return AESCBC_SHA512() - case .a128GCM: - return AES128GCM() - case .a192GCM: - return AES192GCM() - case .a256GCM: - return AES256GCM() - } - } - - /// Provides a `ContentDecryptor` instance based on the selected encryption algorithm. - /// - Returns: An instance of a decryptor suitable for the algorithm. - public var decryptor: ContentDecryptor { - switch self { - case .a128CBCHS256: - return AESCBC_SHA256() - case .a192CBCHS384: - return AESCBC_SHA384() - case .a256CBCHS512: - return AESCBC_SHA512() - case .a128GCM: - return AES128GCM() - case .a192GCM: - return AES192GCM() - case .a256GCM: - return AES256GCM() - } - } -} diff --git a/Sources/JSONWebAlgorithms/ContentEncryption/ContentEncryptor.swift b/Sources/JSONWebAlgorithms/ContentEncryption/ContentEncryptor.swift deleted file mode 100644 index 8860b17..0000000 --- a/Sources/JSONWebAlgorithms/ContentEncryption/ContentEncryptor.swift +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebKey - -/// `ContentEncryptionArguments` is an enumeration defining additional arguments that can be used in content encryption processes. -public enum ContentEncryptionArguments { - /// Specifies the key size in bits. - case keySizeInBits(Int) - - /// Specifies the initialization vector as a `Data` object. - case initializationVector(Data) - - /// Specifies additional authentication data as a `Data` object. - case additionalAuthenticationData(Data) - - /// Specifies the authentication tag as a `Data` object. - case authenticationTag(Data) - - /// Allows for custom data to be included, identified by a key. - case customData(key: String, value: Data) - - /// Allows for a custom JSON Web Key (JWK) to be included, identified by a key. - case customJWK(key: String, value: JWK) -} - -/// `ContentEncryptionResult` is a struct representing the result of an encryption operation. -public struct ContentEncryptionResult { - /// The encrypted data (cipher). - public let cipher: Data - - /// The authentication data associated with the encryption, used for validating the integrity and authenticity of the data. - public let authenticationData: Data -} - -/// `ContentEncryptor` is a protocol defining the functionality for encrypting content. -public protocol ContentEncryptor { - /// Generates an initialization vector for the encryption process. - /// - Returns: The generated initialization vector as `Data`. - /// - Throws: An error if the generation fails. - func generateInitializationVector() throws -> Data - - /// Generates a Content Encryption Key (CEK) for the encryption process. - /// - Returns: The generated CEK as `Data`. - /// - Throws: An error if the generation fails. - func generateCEK() throws -> Data - - /// Encrypts the provided payload using the specified key and additional arguments. - /// - Parameters: - /// - payload: The data to be encrypted. - /// - key: The key used for the encryption process. - /// - arguments: An array of `ContentEncryptionArguments` providing additional information required for encryption. - /// - Returns: A `ContentEncryptionResult` containing the cipher and associated authentication data. - /// - Throws: An error if encryption fails. This could be due to invalid keys, incompatible arguments, or other issues. - func encrypt( - payload: Data, - using key: Data, - arguments: [ContentEncryptionArguments] - ) throws -> ContentEncryptionResult -} - -extension Array where Element == ContentEncryptionArguments { - var keySizeInBits: Int? { - return self.compactMap { - if case .keySizeInBits(let int) = $0 { - return int - } - return nil - }.first - } - - var initializationVector: Data? { - return self.compactMap { - if case .initializationVector(let data) = $0 { - return data - } - return nil - }.first - } - - var additionalAuthenticationData: Data? { - return self.compactMap { - if case .additionalAuthenticationData(let data) = $0 { - return data - } - return nil - }.first - } - - var authenticationTag: Data? { - return self.compactMap { - if case .authenticationTag(let data) = $0 { - return data - } - return nil - }.first - } -} diff --git a/Sources/JSONWebAlgorithms/ContentEncryption/MockContentEncryptor.swift b/Sources/JSONWebAlgorithms/ContentEncryption/MockContentEncryptor.swift deleted file mode 100644 index cff96c2..0000000 --- a/Sources/JSONWebAlgorithms/ContentEncryption/MockContentEncryptor.swift +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation - -struct MockContentEncryptor: ContentEncryptor { - func generateCEK() throws -> Data { - Data() - } - - func generateInitializationVector() throws -> Data { - Data() - } - - func encrypt(payload: Data, using key: Data, arguments: [ContentEncryptionArguments]) throws -> ContentEncryptionResult { - .init(cipher: Data(), authenticationData: Data()) - } -} diff --git a/Sources/JSONWebAlgorithms/CryptoError.swift b/Sources/JSONWebAlgorithms/CryptoError.swift deleted file mode 100644 index e6bdaf3..0000000 --- a/Sources/JSONWebAlgorithms/CryptoError.swift +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation - -/// `CryptoError` is an enumeration representing various errors that can occur in cryptographic operations. -enum CryptoError: LocalizedError { - /// Error indicating that the initialization vector is missing for an operation that requires it. - case missingInitializationVector - - /// Error indicating that the authentication tag is missing for an operation that requires it. - case missingAuthenticationTag - - /// Error indicating that additional authenticated data is missing for an operation that requires it. - case missingAdditionalAuthenticatingData - - /// Error indicating that the octet sequence key is missing. - case missingOctetSequenceKey - - /// Error indicating that the PBES2 salt input or salt count is missing for PBES2 operations. - case missingPBS2SaltInputOrCount - - /// Error indicating that the size of the initialization vector is incorrect. - /// - Parameter sizeInBits: The size of the IV in bits. - case initializationVectorWrongSize(sizeInBits: Int) - - /// Error indicating that decryption failed because the authentication tag does not match. - case decryptionFailedAuthenticationTagDoesntMatch - - /// Error indicating that unwrapping of an RSA key failed. - case failedRSAKeyUnwrap - - /// Error indicating that a specified SHA variant for PBES2 is not available or unsupported. - case unavailablePBES2ShaVariant - - /// Error indicating that an RSA key is invalid. - case invalidRSAKey - - /// Error indicating that the provided key is not a valid private key. - case notValidPrivateKey - - /// Error indicating that the provided key is not a valid public key. - case notValidPublicKey - - /// Error indicating that the specified algorithm is not supported. - /// - Parameter alg: The algorithm that is not supported. - case algorithmNotSupported(alg: String) - - /// Error related to the underlying security layer, potentially including an internal status and error. - /// - Parameters: - /// - internalStatus: Optional internal status code. - /// - internalError: Optional internal error. - case securityLayerError(internalStatus: Int?, internalError: Error?) - - /// Error indicating that a signature is invalid. - case invalidSignature - - /// Error indicating that required arguments are missing for an operation. - /// - Parameter arguments: The names of the missing arguments. - case missingArguments([String]) - - /// Error indicating that key generation is not possible for the specified type and curve. - /// - Parameters: - /// - type: The key type. - /// - curve: Optional curve name, if applicable. - case cannotGenerateKeyForTypeAndCurve(type: String, curve: String?) -} diff --git a/Sources/JSONWebAlgorithms/CryptoImplementation/AES/AESCBC_SHA.swift b/Sources/JSONWebAlgorithms/CryptoImplementation/AES/AESCBC_SHA.swift deleted file mode 100644 index 1352526..0000000 --- a/Sources/JSONWebAlgorithms/CryptoImplementation/AES/AESCBC_SHA.swift +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoSwift -import CryptoKit -import Foundation -import JSONWebKey -import Tools - -struct AESCBC_SHA { - - static func encrypt( - payload: Data, - cek: Data, - authenticationTagLength: Int, - initializationVector: Data = Data(), - additionalAuthenticatedData: Data = Data() - ) throws -> (cipher: Data, authenticationData: Data) { - // See https://www.rfc-editor.org/rfc/rfc7518#section-5.2.2.1 - let contentEncryptionKeyHalfLength = cek.count / 2 - let macKey = cek.prefix(contentEncryptionKeyHalfLength) - let encKey = cek.suffix(contentEncryptionKeyHalfLength) - - let ciphertext = try AES( - key: encKey.bytes, - blockMode: CBC(iv: initializationVector.bytes), - padding: .pkcs7 - ).encrypt(Array(payload)) - - let addLength = UInt64(additionalAuthenticatedData.count * 8).bigEndian.dataRepresentation - let dataToAuthenticate = additionalAuthenticatedData + initializationVector + ciphertext + addLength - - let authenticationTag = CryptoKit.HMAC - .authenticationCode( - for: dataToAuthenticate, - using: .init(data: macKey) - ) - .withUnsafeBytes { Data($0) } - .prefix(authenticationTagLength) - - return (Data(ciphertext), authenticationTag) - } - - static func decrypt( - cipher: Data, - cek: Data, - authenticationTagLength: Int, - initializationVector: Data, - additionalAuthenticatedData: Data, - authenticationTag: Data - ) throws -> Data { - let contentEncryptionKeyHalfLength = cek.count / 2 - let macKey = cek.prefix(contentEncryptionKeyHalfLength) - let encKey = cek.suffix(contentEncryptionKeyHalfLength) - - let addLength = UInt64(additionalAuthenticatedData.count * 8).bigEndian.dataRepresentation - let dataToAuthenticate = additionalAuthenticatedData + initializationVector + cipher + addLength - - let computedTag = CryptoKit.HMAC - .authenticationCode( - for: dataToAuthenticate, - using: .init(data: macKey) - ) - .withUnsafeBytes { Data($0) } - .prefix(authenticationTagLength) - - guard authenticationTag == computedTag else { - throw CryptoError.decryptionFailedAuthenticationTagDoesntMatch - } - - return Data(try AES( - key: encKey.bytes, - blockMode: CBC(iv: initializationVector.bytes), - padding: .pkcs7 - ).decrypt(Array(cipher))) - } -} diff --git a/Sources/JSONWebAlgorithms/CryptoImplementation/AES/AESGCM.swift b/Sources/JSONWebAlgorithms/CryptoImplementation/AES/AESGCM.swift deleted file mode 100644 index 08d5e3d..0000000 --- a/Sources/JSONWebAlgorithms/CryptoImplementation/AES/AESGCM.swift +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import Tools - -struct AESGCM { - - static func encrypt( - payload: Data, - cek: Data, - initializationVector: Data = Data(), - additionalAuthenticatedData: Data = Data() - ) throws -> (cipher: Data, authenticationData: Data) { - let sealedBox = try AES.GCM.seal( - payload, - using: .init(data: cek), - nonce: .init(data: initializationVector), - authenticating: additionalAuthenticatedData - ) - return (sealedBox.ciphertext, sealedBox.tag) - } - - static func decrypt( - cipher: Data, - using: Data, - initializationVector: Data = Data(), - authenticationTag: Data = Data(), - additionalAuthenticatedData: Data = Data() - ) throws -> Data { - return try AES.GCM.open( - .init( - nonce: .init(data: initializationVector), - ciphertext: cipher, - tag: authenticationTag - ), - using: .init(data: using), - authenticating: additionalAuthenticatedData - ) - } -} diff --git a/Sources/JSONWebAlgorithms/CryptoImplementation/ConcatKDF/ConcatKDF.swift b/Sources/JSONWebAlgorithms/CryptoImplementation/ConcatKDF/ConcatKDF.swift deleted file mode 100644 index eaf1121..0000000 --- a/Sources/JSONWebAlgorithms/CryptoImplementation/ConcatKDF/ConcatKDF.swift +++ /dev/null @@ -1,130 +0,0 @@ -// Copyright © 2023 Proxy, Inc. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -import CryptoKit -import Foundation - -/// A protocol representing a hash function that has a maximum input length. -protocol HashFunctionMaxInputLength { - static var maxInputLength: UInt64 { get } -} - -extension SHA256: HashFunctionMaxInputLength { - static var maxInputLength: UInt64 { UInt64.max - 1 } -} - -/// An enumeration that represents the possible errors that can occur during the Concat KDF key derivation. -enum ConcatKDFError: Error { - case invalidInput -} - -/// The Concat Key Derivation Function (KDF), as defined in Section 5.8.1 of [NIST.800-56A](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-56Ar2.pdf) -struct ConcatKDF where H: HashFunction, H: HashFunctionMaxInputLength { - /// Derives a symmetric key using the Concat KDF algorithm. - /// - /// - Parameters: - /// - z: A byte string representing the shared secret z. - /// - keyDataLen: The length (in bits) of the secret keying material to be derived. - /// - algorithmID: An identifier for the algorithm used. - /// - partyUInfo: Additional data supplied by the party generating the key. - /// - partyVInfo: Additional data supplied by the party receiving the key. - /// - suppPubInfo: Public data supplied by the party generating the key. - /// - suppPrivInfo: Private data supplied by the party generating the key. - /// - /// - Returns: The derived symmetric key. - /// - /// - Throws: An error if any issues occur during the derivation process. - static func deriveKey( - z: Data, - keyDataLen: Int, - algorithmID: Data, - partyUInfo: Data, - partyVInfo: Data, - suppPubInfo: Data = Data(), - suppPrivInfo: Data = Data(), - tag: Data = Data() - ) throws -> Data { - // Calculate the hash length in bits. - let hashLen = H.Digest.byteCount * 8 - - // Check that the key data length is valid. - guard keyDataLen > 0, UInt64(keyDataLen) <= UInt64(hashLen) * UInt64(UInt32.max) else { - throw ConcatKDFError.invalidInput - } - - let modLen = keyDataLen % hashLen - - // Calculate the number of iterations. - let reps = UInt64(ceil(Double(keyDataLen) / Double(hashLen))) - - // Check that the number of iterations is valid. - guard reps <= UInt32.max else { - throw ConcatKDFError.invalidInput - } - - // Concatenate the data. - let concatenatedData = z + algorithmID + partyUInfo + partyVInfo + suppPubInfo + suppPrivInfo + tag - - // Calculate the input length for the hash function. - let hashInputLength = (UInt32.bitWidth / 8) + concatenatedData.count - - // Check that the hash input length is valid. - guard hashInputLength <= H.maxInputLength else { - throw ConcatKDFError.invalidInput - } - - // Perform the key derivation. - var derivedKeyingMaterial = Data() - for counter in 1 ..< reps { - let kI = H.hash(data: UInt32(counter).bigEndian.dataRepresentation + concatenatedData) - derivedKeyingMaterial += kI - } - - // Calculate the last key value. - var kLast: Data - let kLastDigest = H.hash(data: UInt32(reps).bigEndian.dataRepresentation + concatenatedData) - if modLen == 0 { - kLast = kLastDigest.withUnsafeBytes { Data($0) } - } else { - kLast = kLastDigest.withUnsafeBytes { Data($0) }.prefixBits(of: modLen) - } - derivedKeyingMaterial += kLast - - // Return the derived key. - return derivedKeyingMaterial - } -} - -private extension Data { - /// Returns a new Data instance that contains the leftmost `count` bits of the original Data instance. - /// - /// - Parameter count: The number of bits to take from the left of the Data instance. - /// - Returns: A new Data instance that contains the leftmost `count` bits of the original Data instance. - func prefixBits(of count: Int) -> Data { - // Return an empty Data instance if count is 0. - guard count > 0 else { - return .init() - } - - // Calculate the number of bytes needed to store `count` bits. - let byteCount = (count + 7) / 8 - - // Calculate the mask to clear any unnecessary bits in the last byte. - let mask = UInt8((1 << (byteCount * 8 - count)) - 1) - - // Take the leftmost `byteCount` bytes from the original Data instance. - var bytes = [UInt8](prefix(byteCount)) - - // If there are any bits left in the last byte that are not part of the prefix, clear them using the mask. - if count % 8 != 0 { - bytes[byteCount - 1] &= mask - } - - return Data(bytes) - } -} diff --git a/Sources/JSONWebAlgorithms/CryptoImplementation/ECDH/ECDH1PU.swift b/Sources/JSONWebAlgorithms/CryptoImplementation/ECDH/ECDH1PU.swift deleted file mode 100644 index c7b7e34..0000000 --- a/Sources/JSONWebAlgorithms/CryptoImplementation/ECDH/ECDH1PU.swift +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -struct ECDH1PU { - func processSharedKey( - privateKey: JWK, - publicKey: JWK, - ephemeralKey: JWK, - sender: Bool - ) throws -> Data { - let ze: Data - let zs: Data - - if sender { - guard - let epkAgreement = ephemeralKey.keyAgreement, - let privateKeyAgreement = privateKey.keyAgreement - else { - throw CryptoError.notValidPrivateKey - } - - ze = try epkAgreement - .sharedSecretFromKeyAgreement(publicKeyShare: publicKey) - zs = try privateKeyAgreement - .sharedSecretFromKeyAgreement(publicKeyShare: publicKey) - } else { - guard - let privateKeyAgreement = privateKey.keyAgreement - else { - throw CryptoError.notValidPrivateKey - } - - ze = try privateKeyAgreement - .sharedSecretFromKeyAgreement(publicKeyShare: ephemeralKey) - zs = try privateKeyAgreement - .sharedSecretFromKeyAgreement(publicKeyShare: publicKey) - } - return ze + zs - } -} diff --git a/Sources/JSONWebAlgorithms/CryptoImplementation/ECDH/ECDHES.swift b/Sources/JSONWebAlgorithms/CryptoImplementation/ECDH/ECDHES.swift deleted file mode 100644 index de1a578..0000000 --- a/Sources/JSONWebAlgorithms/CryptoImplementation/ECDH/ECDHES.swift +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -struct ECDHES { - func processSharedKey( - privateKey: JWK, - publicKey: JWK - ) throws -> Data { - guard - let privateKeyAgreement = privateKey.keyAgreement - else { - throw CryptoError.notValidPrivateKey - } - - return try privateKeyAgreement - .sharedSecretFromKeyAgreement(publicKeyShare: publicKey) - } -} diff --git a/Sources/JSONWebAlgorithms/CryptoImplementation/JWKCryptoPresentation.swift b/Sources/JSONWebAlgorithms/CryptoImplementation/JWKCryptoPresentation.swift deleted file mode 100644 index 41ba999..0000000 --- a/Sources/JSONWebAlgorithms/CryptoImplementation/JWKCryptoPresentation.swift +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright © 2023 Proxy, Inc. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -import CryptoKit -import Foundation -import JSONWebKey -import secp256k1 - -/// An extension for `JWK` providing convenience functions for working with `CryptoKit`. -public extension JWK { - /// Returns a `CryptoKit` representation of the JWK. - /// - /// - Parameter type: The type of `CryptoKit` object to return. - /// - Returns: The `CryptoKit` object. - /// - Throws: `JWK.Error` if the JWK is not compatible with the specified `CryptoKit` type, or if a required component is missing. - func cryptoKitRepresentation(type: T.Type) throws -> T { - guard keyType == .ellipticCurve || keyType == .octetKeyPair else { - throw JWK.Error.notSupported - } - - switch type { - case is P256.KeyAgreement.PrivateKey.Type, - is P384.KeyAgreement.PrivateKey.Type, - is P521.KeyAgreement.PrivateKey.Type, - is secp256k1.KeyAgreement.PrivateKey.Type, - is Curve25519.KeyAgreement.PrivateKey.Type, - is Curve448.KeyAgreement.PrivateKey.Type: - - guard let d else { - throw JWK.Error.missingDComponent - } - switch type { - case is P256.KeyAgreement.PrivateKey.Type: - return try P256.KeyAgreement.PrivateKey(rawRepresentation: d) as! T - case is P384.KeyAgreement.PrivateKey.Type: - return try P384.KeyAgreement.PrivateKey(rawRepresentation: d) as! T - case is P521.KeyAgreement.PrivateKey.Type: - return try P521.KeyAgreement.PrivateKey(rawRepresentation: d) as! T - case is secp256k1.KeyAgreement.PrivateKey.Type: - return try secp256k1.KeyAgreement.PrivateKey(dataRepresentation: d, format: .uncompressed) as! T - case is Curve25519.KeyAgreement.PrivateKey.Type: - return try Curve25519.KeyAgreement.PrivateKey(rawRepresentation: d) as! T - case is Curve448.KeyAgreement.PrivateKey.Type: - return try Curve448.KeyAgreement.PrivateKey(rawRepresentation: d) as! T - default: - throw JWK.Error.notSupported - } - - case is P256.KeyAgreement.PublicKey.Type, - is P384.KeyAgreement.PublicKey.Type, - is P521.KeyAgreement.PublicKey.Type, - is secp256k1.KeyAgreement.PublicKey.Type: - - guard let x else { - throw JWK.Error.missingXComponent - } - guard let y else { - throw JWK.Error.missingYComponent - } - let data = x + y - switch type { - case is P256.KeyAgreement.PublicKey.Type: - return try P256.KeyAgreement.PublicKey(rawRepresentation: data) as! T - case is P384.KeyAgreement.PublicKey.Type: - return try P384.KeyAgreement.PublicKey(rawRepresentation: data) as! T - case is P521.KeyAgreement.PublicKey.Type: - return try P521.KeyAgreement.PublicKey(rawRepresentation: data) as! T - case is secp256k1.KeyAgreement.PublicKey.Type: - // The uncompressed public key is 65 bytes long: a single byte prefix (0x04) followed by the two 32-byte coordinates. - return try secp256k1.KeyAgreement.PublicKey( - dataRepresentation: [0x04] + data, - format: .uncompressed - ) as! T - default: - throw JWK.Error.notSupported - } - - case is Curve25519.KeyAgreement.PublicKey.Type, - is Curve448.KeyAgreement.PublicKey.Type: - - guard let x else { - throw JWK.Error.missingXComponent - } - let data = x - switch type { - case is Curve25519.KeyAgreement.PublicKey.Type: - return try Curve25519.KeyAgreement.PublicKey(rawRepresentation: data) as! T - case is Curve448.KeyAgreement.PublicKey.Type: - return try Curve448.KeyAgreement.PublicKey(rawRepresentation: data) as! T - default: - throw JWK.Error.notSupported - } - - default: - throw JWK.Error.notSupported - } - } -} diff --git a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyAgreement/Curve25519/Curve25519+KeyAgreement.swift b/Sources/JSONWebAlgorithms/CryptoImplementation/KeyAgreement/Curve25519/Curve25519+KeyAgreement.swift deleted file mode 100644 index 33ab9d4..0000000 --- a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyAgreement/Curve25519/Curve25519+KeyAgreement.swift +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -extension Curve25519.KeyAgreement.PrivateKey: SharedKeyAgreement { - public func sharedSecretFromKeyAgreement( - publicKeyShare: JWK - ) throws -> Data { - let sharedSecret = try publicKeyShare.cryptoKitRepresentation(type: Curve25519.KeyAgreement.PublicKey.self) - return try sharedSecretFromKeyAgreement(with: sharedSecret) - .withUnsafeBytes { .init($0) } - } -} diff --git a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyAgreement/EC/P256+KeyAgreement.swift b/Sources/JSONWebAlgorithms/CryptoImplementation/KeyAgreement/EC/P256+KeyAgreement.swift deleted file mode 100644 index e89cedb..0000000 --- a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyAgreement/EC/P256+KeyAgreement.swift +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -extension P256.KeyAgreement.PrivateKey: SharedKeyAgreement { - public func sharedSecretFromKeyAgreement( - publicKeyShare: JWK - ) throws -> Data { - let sharedSecret = try publicKeyShare.cryptoKitRepresentation(type: P256.KeyAgreement.PublicKey.self) - return try sharedSecretFromKeyAgreement(with: sharedSecret) - .withUnsafeBytes { .init($0) } - } -} diff --git a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyAgreement/EC/P384+KeyAgreement.swift b/Sources/JSONWebAlgorithms/CryptoImplementation/KeyAgreement/EC/P384+KeyAgreement.swift deleted file mode 100644 index e98d539..0000000 --- a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyAgreement/EC/P384+KeyAgreement.swift +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -extension P384.KeyAgreement.PrivateKey: SharedKeyAgreement { - public func sharedSecretFromKeyAgreement( - publicKeyShare: JWK - ) throws -> Data { - let sharedSecret = try publicKeyShare.cryptoKitRepresentation(type: P384.KeyAgreement.PublicKey.self) - return try sharedSecretFromKeyAgreement(with: sharedSecret) - .withUnsafeBytes { .init($0) } - } -} diff --git a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyAgreement/EC/P521+KeyAgreement.swift b/Sources/JSONWebAlgorithms/CryptoImplementation/KeyAgreement/EC/P521+KeyAgreement.swift deleted file mode 100644 index fa18926..0000000 --- a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyAgreement/EC/P521+KeyAgreement.swift +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -extension P521.KeyAgreement.PrivateKey: SharedKeyAgreement { - public func sharedSecretFromKeyAgreement( - publicKeyShare: JWK - ) throws -> Data { - let sharedSecret = try publicKeyShare.cryptoKitRepresentation(type: P521.KeyAgreement.PublicKey.self) - return try sharedSecretFromKeyAgreement(with: sharedSecret) - .withUnsafeBytes { .init($0) } - } -} diff --git a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyAgreement/EC/secp256k1+KeyAgreement.swift b/Sources/JSONWebAlgorithms/CryptoImplementation/KeyAgreement/EC/secp256k1+KeyAgreement.swift deleted file mode 100644 index 8387a13..0000000 --- a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyAgreement/EC/secp256k1+KeyAgreement.swift +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebKey -import secp256k1 - -extension secp256k1.KeyAgreement.PrivateKey: SharedKeyAgreement { - public func sharedSecretFromKeyAgreement( - publicKeyShare: JWK - ) throws -> Data { - let sharedSecret = try publicKeyShare.cryptoKitRepresentation(type: secp256k1.KeyAgreement.PublicKey.self) - return try sharedSecretFromKeyAgreement(with: sharedSecret) - .withUnsafeBytes { .init($0) } - } -} diff --git a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyAgreement/JWK+KeyAgreement.swift b/Sources/JSONWebAlgorithms/CryptoImplementation/KeyAgreement/JWK+KeyAgreement.swift deleted file mode 100644 index e65545b..0000000 --- a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyAgreement/JWK+KeyAgreement.swift +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey -import secp256k1 - -extension JWK { - var keyAgreement: SharedKeyAgreement? { - switch keyType { - case .ellipticCurve: - switch curve { - case .p256: - return try? cryptoKitRepresentation(type: P256.KeyAgreement.PrivateKey.self) - case .p384: - return try? cryptoKitRepresentation(type: P384.KeyAgreement.PrivateKey.self) - case .p521: - return try? cryptoKitRepresentation(type: P521.KeyAgreement.PrivateKey.self) - case .secp256k1: - return try? cryptoKitRepresentation(type: secp256k1.KeyAgreement.PrivateKey.self) - default: - return nil - } - case .octetKeyPair: - switch curve { - case .x25519: - return try? cryptoKitRepresentation(type: Curve25519.KeyAgreement.PrivateKey.self) - default: - return nil - } - default: - return nil - } - } -} diff --git a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyAgreement/SharedKeyAgreement.swift b/Sources/JSONWebAlgorithms/CryptoImplementation/KeyAgreement/SharedKeyAgreement.swift deleted file mode 100644 index fc86672..0000000 --- a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyAgreement/SharedKeyAgreement.swift +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebKey - -protocol SharedKeyAgreement { - func sharedSecretFromKeyAgreement(publicKeyShare: JWK) throws -> Data -} diff --git a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyGeneration/Curve25519/Curve25519+KeyGeneration.swift b/Sources/JSONWebAlgorithms/CryptoImplementation/KeyGeneration/Curve25519/Curve25519+KeyGeneration.swift deleted file mode 100644 index f5e8e82..0000000 --- a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyGeneration/Curve25519/Curve25519+KeyGeneration.swift +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -struct Curve25519KeyGeneration: KeyGeneration { - public func generateRandomKey() throws -> Data { - return try SecureRandom.secureRandomData(count: 32) - } - - public func generatePrivateKey(purpose: KeyGenerationPurpose) throws -> Data { - switch purpose { - case .signing: - return Curve25519.Signing.PrivateKey().rawRepresentation - case .keyAgreement: - return Curve25519.KeyAgreement.PrivateKey().rawRepresentation - } - } - - public func generateKeyPairJWK(purpose: KeyGenerationPurpose) throws -> JWK { - switch purpose { - case .signing: - return Curve25519.Signing.PrivateKey().jwkRepresentation - case .keyAgreement: - return Curve25519.KeyAgreement.PrivateKey().jwkRepresentation - } - } -} diff --git a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyGeneration/EC/P256+KeyGeneration.swift b/Sources/JSONWebAlgorithms/CryptoImplementation/KeyGeneration/EC/P256+KeyGeneration.swift deleted file mode 100644 index b369f0e..0000000 --- a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyGeneration/EC/P256+KeyGeneration.swift +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -struct P256KeyGeneration: KeyGeneration { - - public func generateRandomKey() throws -> Data { - return try SecureRandom.secureRandomData(count: 32) - } - - public func generatePrivateKey(purpose: KeyGenerationPurpose) throws -> Data { - switch purpose { - case .signing: - return P256.Signing.PrivateKey().rawRepresentation - case .keyAgreement: - return P256.KeyAgreement.PrivateKey().rawRepresentation - } - } - - public func generateKeyPairJWK(purpose: KeyGenerationPurpose) throws -> JWK { - switch purpose { - case .signing: - return P256.Signing.PrivateKey().jwkRepresentation - case .keyAgreement: - return P256.KeyAgreement.PrivateKey().jwkRepresentation - } - } -} diff --git a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyGeneration/EC/P384+KeyGeneration.swift b/Sources/JSONWebAlgorithms/CryptoImplementation/KeyGeneration/EC/P384+KeyGeneration.swift deleted file mode 100644 index 7516ff0..0000000 --- a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyGeneration/EC/P384+KeyGeneration.swift +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -struct P384KeyGeneration: KeyGeneration { - - public func generateRandomKey() throws -> Data { - return try SecureRandom.secureRandomData(count: 48) - } - - public func generatePrivateKey(purpose: KeyGenerationPurpose) throws -> Data { - switch purpose { - case .signing: - return P384.Signing.PrivateKey().rawRepresentation - case .keyAgreement: - return P384.KeyAgreement.PrivateKey().rawRepresentation - } - } - - public func generateKeyPairJWK(purpose: KeyGenerationPurpose) throws -> JWK { - switch purpose { - case .signing: - return P384.Signing.PrivateKey().jwkRepresentation - case .keyAgreement: - return P384.KeyAgreement.PrivateKey().jwkRepresentation - } - } -} diff --git a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyGeneration/EC/P521+KeyGeneration.swift b/Sources/JSONWebAlgorithms/CryptoImplementation/KeyGeneration/EC/P521+KeyGeneration.swift deleted file mode 100644 index d400c90..0000000 --- a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyGeneration/EC/P521+KeyGeneration.swift +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -struct P521KeyGeneration: KeyGeneration { - - public func generateRandomKey() throws -> Data { - return try SecureRandom.secureRandomData(count: 66) - } - - public func generatePrivateKey(purpose: KeyGenerationPurpose) throws -> Data { - switch purpose { - case .signing: - return P521.Signing.PrivateKey().rawRepresentation - case .keyAgreement: - return P521.KeyAgreement.PrivateKey().rawRepresentation - } - } - - public func generateKeyPairJWK(purpose: KeyGenerationPurpose) throws -> JWK { - switch purpose { - case .signing: - return P521.Signing.PrivateKey().jwkRepresentation - case .keyAgreement: - return P521.KeyAgreement.PrivateKey().jwkRepresentation - } - } -} diff --git a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyGeneration/EC/secp256k1+KeyGeneration.swift b/Sources/JSONWebAlgorithms/CryptoImplementation/KeyGeneration/EC/secp256k1+KeyGeneration.swift deleted file mode 100644 index 648d5db..0000000 --- a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyGeneration/EC/secp256k1+KeyGeneration.swift +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebKey -import secp256k1 - -struct Secp256k1KeyGeneration: KeyGeneration { - - public func generateRandomKey() throws -> Data { - return try SecureRandom.secureRandomData(count: 32) - } - - public func generatePrivateKey(purpose: KeyGenerationPurpose) throws -> Data { - switch purpose { - case .signing: - return try secp256k1.Signing.PrivateKey().dataRepresentation - case .keyAgreement: - return try secp256k1.KeyAgreement.PrivateKey().rawRepresentation - } - } - - public func generateKeyPairJWK(purpose: KeyGenerationPurpose) throws -> JWK { - switch purpose { - case .signing: - return try secp256k1.Signing.PrivateKey().jwkRepresentation - case .keyAgreement: - return try secp256k1.KeyAgreement.PrivateKey().jwkRepresentation - } - } -} diff --git a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyGeneration/JWK+KeyGeneration.swift b/Sources/JSONWebAlgorithms/CryptoImplementation/KeyGeneration/JWK+KeyGeneration.swift deleted file mode 100644 index fc2bdd8..0000000 --- a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyGeneration/JWK+KeyGeneration.swift +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -/// Extension of `JWK` to provide key generation functionality based on the key type and curve. -extension JWK { - /// Provides a `KeyGeneration` instance suitable for the specific key type and curve of the JWK. - /// This property allows for generating cryptographic keys based on the characteristics of the JWK. - /// - Returns: An instance conforming to the `KeyGeneration` protocol, or `nil` if key generation is not supported for the specific key type and curve. - public var keyGeneration: KeyGeneration? { - switch keyType { - case .ellipticCurve: - switch curve { - case .p256: - // Provides a key generation instance for the P-256 elliptic curve. - return P256KeyGeneration() - case .p384: - // Provides a key generation instance for the P-384 elliptic curve. - return P384KeyGeneration() - case .p521: - // Provides a key generation instance for the P-521 elliptic curve. - return P521KeyGeneration() - case .secp256k1: - // Provides a key generation instance for the SECP256k1 elliptic curve, commonly used in blockchain and cryptocurrency contexts. - return Secp256k1KeyGeneration() - default: - // If the elliptic curve is not recognized or supported for key generation. - return nil - } - case .octetKeyPair: - switch curve { - case .x25519, .ed25519: - // Provides a key generation instance for Curve25519, suitable for modern, efficient elliptic curve cryptography. - return Curve25519KeyGeneration() - default: - // If the curve is not recognized or supported for octet key pairs. - return nil - } - default: - // If the key type is not supported for key generation. - return nil - } - } -} diff --git a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyGeneration/KeyGeneration.swift b/Sources/JSONWebAlgorithms/CryptoImplementation/KeyGeneration/KeyGeneration.swift deleted file mode 100644 index fe47430..0000000 --- a/Sources/JSONWebAlgorithms/CryptoImplementation/KeyGeneration/KeyGeneration.swift +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebKey - -/// `KeyGenerationPurpose` is an enumeration representing the intended purpose of a generated key. -public enum KeyGenerationPurpose { - /// Key generation for signing purposes. - /// Indicates that the generated key will be used for signing data to ensure its integrity and authenticity. - case signing - - /// Key generation for key agreement purposes. - /// Indicates that the generated key will be used in cryptographic key agreement protocols to securely exchange keys. - case keyAgreement -} - -/// `KeyGeneration` is a protocol that defines functionality for generating cryptographic keys. -public protocol KeyGeneration { - /// Generates a random key suitable for cryptographic operations. - /// - Returns: A random key as `Data`. - /// - Throws: An error if the key generation process fails. - func generateRandomKey() throws -> Data - - /// Generates a private key for a specified purpose. - /// - Parameter purpose: The purpose for which the key is being generated, either signing or key agreement. - /// - Returns: A private key as `Data`. - /// - Throws: An error if the key generation process fails. - func generatePrivateKey(purpose: KeyGenerationPurpose) throws -> Data - - /// Generates a key pair in JSON Web Key (JWK) format for a specified purpose. - /// - Parameter purpose: The purpose for which the key pair is being generated. - /// - Returns: A `JWK` object representing the key pair. - /// - Throws: An error if the key pair generation process fails. - func generateKeyPairJWK(purpose: KeyGenerationPurpose) throws -> JWK -} diff --git a/Sources/JSONWebAlgorithms/CryptoImplementation/SecureRandom/SecureRandom.swift b/Sources/JSONWebAlgorithms/CryptoImplementation/SecureRandom/SecureRandom.swift deleted file mode 100644 index 15bbcc8..0000000 --- a/Sources/JSONWebAlgorithms/CryptoImplementation/SecureRandom/SecureRandom.swift +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation - -struct SecureRandom { - static func secureRandomData(count: Int) throws -> Data { - var bytes = [Int8](repeating: 0, count: count) - - let status = SecRandomCopyBytes( - kSecRandomDefault, - count, - &bytes - ) - - if status == errSecSuccess { - let data = Data(bytes: bytes, count: count) - return data - } - else { - throw CryptoError.securityLayerError( - internalStatus: Int(status), - internalError: nil - ) - } - } -} diff --git a/Sources/JSONWebAlgorithms/JWARegisteredFieldsHeader.swift b/Sources/JSONWebAlgorithms/JWARegisteredFieldsHeader.swift deleted file mode 100644 index 157f248..0000000 --- a/Sources/JSONWebAlgorithms/JWARegisteredFieldsHeader.swift +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebKey - -/// `JWARegisteredFieldsHeader` is a protocol that defines a set of fields commonly used in JSON Web Algorithms (JWA). -/// These fields are typically used in cryptographic operations such as key agreement or key derivation. -public protocol JWARegisteredFieldsHeader: Codable { - /// The ephemeral public key, often used in key agreement protocols. - /// This key is typically short-lived and used for a single session or transaction. - var ephemeralPublicKey: JWK? { get set } - - /// PartyUInfo (User Information) data, used in key agreement protocols to provide additional context or information. - /// This data is typically combined with the ephemeral public key during key derivation. - var agreementPartyUInfo: Data? { get set } - - /// PartyVInfo (Voucher Information) data, used in key agreement protocols alongside PartyUInfo. - /// It also provides additional context or information during key derivation. - var agreementPartyVInfo: Data? { get set } - - /// The Initialization Vector (IV) used in certain encryption algorithms to provide additional randomness. - /// IVs are critical for ensuring that the same plaintext encrypts differently each time. - var initializationVector: Data? { get set } - - /// The authentication tag, which is used to verify the integrity and authenticity of a message in authenticated encryption. - /// It's essential for detecting data tampering. - var authenticationTag: Data? { get set } - - /// PBES2 (Password-Based Encryption Scheme 2) salt input, used in key derivation functions. - /// The salt ensures that the same password generates different encryption keys each time. - var pbes2SaltInput: Data? { get set } - - /// The iteration count for the PBES2 salt input, determining how many times the password is hashed during the key derivation process. - /// Higher counts provide better security but require more computational resources. - var pbes2SaltCount: Data? { get set } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/JWKRepresentable.swift b/Sources/JSONWebAlgorithms/KeyManagement/JWKRepresentable.swift deleted file mode 100644 index e03056b..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/JWKRepresentable.swift +++ /dev/null @@ -1,357 +0,0 @@ -// Copyright © 2023 Proxy, Inc. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -import CryptoKit -import Foundation -import JSONWebKey -import secp256k1 - -/// A protocol for types that can be represented as a JWK. -/// -/// Types conforming to this protocol can be represented as a JWK by providing a `jwkRepresentation` property. -public protocol JWKRepresentable { - /// Returns the JWK representation of the conforming type. - var jwkRepresentation: JWK { get } -} - -extension JWK: JWKRepresentable { - /// Returns the JWK representation of a `JWK` instance. - public var jwkRepresentation: JWK { - self - } -} - -public extension JWKRepresentable where Self == JWK { - /// Returns the public key of a `JWK` instance. - var publicKey: JWK { - var copy = self - copy.d = nil - return copy - } -} - -extension secp256k1.KeyAgreement.PrivateKey: JWKRepresentable { - /// Returns the JWK representation of a `secp256k1.KeyAgreement.PrivateKey` instance. - public var jwkRepresentation: JWK { - // The uncompressed public key is 65 bytes long: a single byte prefix (0x04) followed by the two 32-byte coordinates. - let publicKeyRawRepresentation = publicKey.dataRepresentation.dropFirst(1) - let x = publicKeyRawRepresentation.prefix(publicKeyRawRepresentation.count / 2) - let y = publicKeyRawRepresentation.suffix(publicKeyRawRepresentation.count / 2) - return JWK( - keyType: .ellipticCurve, - curve: .secp256k1, - x: x, - y: y, - d: rawRepresentation - ) - } -} - -extension P256.KeyAgreement.PrivateKey: JWKRepresentable { - /// Returns the JWK representation of a `P256.KeyAgreement.PrivateKey` instance. - public var jwkRepresentation: JWK { - let publicKeyRawRepresentation = publicKey.rawRepresentation - let x = publicKeyRawRepresentation.prefix(publicKeyRawRepresentation.count / 2) - let y = publicKeyRawRepresentation.suffix(publicKeyRawRepresentation.count / 2) - return JWK( - keyType: .ellipticCurve, - curve: .p256, - x: x, - y: y, - d: rawRepresentation - ) - } -} - -extension P384.KeyAgreement.PrivateKey: JWKRepresentable { - /// Returns the JWK representation of a `P384.KeyAgreement.PrivateKey` instance. - public var jwkRepresentation: JWK { - let publicKeyRawRepresentation = publicKey.rawRepresentation - let x = publicKeyRawRepresentation.prefix(publicKeyRawRepresentation.count / 2) - let y = publicKeyRawRepresentation.suffix(publicKeyRawRepresentation.count / 2) - return JWK( - keyType: .ellipticCurve, - curve: .p384, - x: x, - y: y, - d: rawRepresentation - ) - } -} - -extension P521.KeyAgreement.PrivateKey: JWKRepresentable { - /// Returns the JWK representation of a `P521.KeyAgreement.PrivateKey` instance. - public var jwkRepresentation: JWK { - let publicKeyRawRepresentation = publicKey.rawRepresentation - let x = publicKeyRawRepresentation.prefix(publicKeyRawRepresentation.count / 2) - let y = publicKeyRawRepresentation.suffix(publicKeyRawRepresentation.count / 2) - return JWK( - keyType: .ellipticCurve, - curve: .p521, - x: x, - y: y, - d: rawRepresentation - ) - } -} - -extension secp256k1.Signing.PrivateKey: JWKRepresentable { - /// Returns the JWK representation of a `secp256k1.KeyAgreement.PrivateKey` instance. - public var jwkRepresentation: JWK { - // The uncompressed public key is 65 bytes long: a single byte prefix (0x04) followed by the two 32-byte coordinates. - let publicKeyRawRepresentation = publicKey.dataRepresentation.count == 65 ? publicKey.dataRepresentation.dropFirst(1) : publicKey.dataRepresentation - let x = publicKeyRawRepresentation.prefix(publicKeyRawRepresentation.count / 2) - let y = publicKeyRawRepresentation.suffix(publicKeyRawRepresentation.count / 2) - return JWK( - keyType: .ellipticCurve, - curve: .secp256k1, - x: x, - y: y, - d: dataRepresentation - ) - } -} - -extension P256.Signing.PrivateKey: JWKRepresentable { - /// Returns the JWK representation of a `P256.KeyAgreement.PrivateKey` instance. - public var jwkRepresentation: JWK { - let publicKeyRawRepresentation = publicKey.rawRepresentation - let x = publicKeyRawRepresentation.prefix(publicKeyRawRepresentation.count / 2) - let y = publicKeyRawRepresentation.suffix(publicKeyRawRepresentation.count / 2) - return JWK( - keyType: .ellipticCurve, - curve: .p256, - x: x, - y: y, - d: rawRepresentation - ) - } -} - -extension P384.Signing.PrivateKey: JWKRepresentable { - /// Returns the JWK representation of a `P384.KeyAgreement.PrivateKey` instance. - public var jwkRepresentation: JWK { - let publicKeyRawRepresentation = publicKey.rawRepresentation - let x = publicKeyRawRepresentation.prefix(publicKeyRawRepresentation.count / 2) - let y = publicKeyRawRepresentation.suffix(publicKeyRawRepresentation.count / 2) - return JWK( - keyType: .ellipticCurve, - curve: .p384, - x: x, - y: y, - d: rawRepresentation - ) - } -} - -extension P521.Signing.PrivateKey: JWKRepresentable { - /// Returns the JWK representation of a `P521.KeyAgreement.PrivateKey` instance. - public var jwkRepresentation: JWK { - let publicKeyRawRepresentation = publicKey.rawRepresentation - let x = publicKeyRawRepresentation.prefix(publicKeyRawRepresentation.count / 2) - let y = publicKeyRawRepresentation.suffix(publicKeyRawRepresentation.count / 2) - return JWK( - keyType: .ellipticCurve, - curve: .p521, - x: x, - y: y, - d: rawRepresentation - ) - } -} - -extension Curve25519.KeyAgreement.PrivateKey: JWKRepresentable { - /// Returns the JWK representation of a `Curve25519.KeyAgreement.PrivateKey` instance. - public var jwkRepresentation: JWK { - JWK( - keyType: .octetKeyPair, - curve: .x25519, - x: publicKey.rawRepresentation, - d: rawRepresentation - ) - } -} - -extension Curve448.KeyAgreement.PrivateKey: JWKRepresentable { - /// Returns the JWK representation of a `Curve448.KeyAgreement.PrivateKey` instance. - public var jwkRepresentation: JWK { - JWK( - keyType: .octetKeyPair, - curve: .x448, - x: publicKey.rawRepresentation, - d: rawRepresentation - ) - } -} - -extension secp256k1.KeyAgreement.PublicKey: JWKRepresentable { - /// Returns the JWK representation of a `secp256k1.KeyAgreement.PublicKey` instance. - public var jwkRepresentation: JWK { - // The uncompressed public key is 65 bytes long: a single byte prefix (0x04) followed by the two 32-byte coordinates. - let publicKeyRawRepresentation = dataRepresentation.dropFirst(1) - let x = publicKeyRawRepresentation.prefix(publicKeyRawRepresentation.count / 2) - let y = publicKeyRawRepresentation.suffix(publicKeyRawRepresentation.count / 2) - return JWK( - keyType: .ellipticCurve, - curve: .secp256k1, - x: x, - y: y - ) - } -} - -extension P256.KeyAgreement.PublicKey: JWKRepresentable { - /// Returns the JWK representation of a `P256.KeyAgreement.PublicKey` instance. - public var jwkRepresentation: JWK { - let publicKeyRawRepresentation = rawRepresentation - let x = publicKeyRawRepresentation.prefix(publicKeyRawRepresentation.count / 2) - let y = publicKeyRawRepresentation.suffix(publicKeyRawRepresentation.count / 2) - return JWK( - keyType: .ellipticCurve, - curve: .p256, - x: x, - y: y - ) - } -} - -extension P384.KeyAgreement.PublicKey: JWKRepresentable { - /// Returns the JWK representation of a `P384.KeyAgreement.PublicKey` instance. - public var jwkRepresentation: JWK { - let publicKeyRawRepresentation = rawRepresentation - let x = publicKeyRawRepresentation.prefix(publicKeyRawRepresentation.count / 2) - let y = publicKeyRawRepresentation.suffix(publicKeyRawRepresentation.count / 2) - return JWK( - keyType: .ellipticCurve, - curve: .p384, - x: x, - y: y - ) - } -} - -extension P521.KeyAgreement.PublicKey: JWKRepresentable { - /// Returns the JWK representation of a `P521.KeyAgreement.PublicKey` instance. - public var jwkRepresentation: JWK { - let publicKeyRawRepresentation = rawRepresentation - let x = publicKeyRawRepresentation.prefix(publicKeyRawRepresentation.count / 2) - let y = publicKeyRawRepresentation.suffix(publicKeyRawRepresentation.count / 2) - return JWK( - keyType: .ellipticCurve, - curve: .p521, - x: x, - y: y - ) - } -} - -extension Curve25519.KeyAgreement.PublicKey: JWKRepresentable { - /// Returns the JWK representation of a `Curve25519.KeyAgreement.PublicKey` instance. - public var jwkRepresentation: JWK { - JWK( - keyType: .octetKeyPair, - curve: .x25519, - x: rawRepresentation - ) - } -} - -extension secp256k1.Signing.PublicKey: JWKRepresentable { - /// Returns the JWK representation of a `secp256k1.KeyAgreement.PublicKey` instance. - public var jwkRepresentation: JWK { - // The uncompressed public key is 65 bytes long: a single byte prefix (0x04) followed by the two 32-byte coordinates. - let publicKeyRawRepresentation = dataRepresentation.count == 65 ? dataRepresentation.dropFirst(1) : dataRepresentation - let x = publicKeyRawRepresentation.prefix(publicKeyRawRepresentation.count / 2) - let y = publicKeyRawRepresentation.suffix(publicKeyRawRepresentation.count / 2) - return JWK( - keyType: .ellipticCurve, - curve: .secp256k1, - x: x, - y: y - ) - } -} - -extension P256.Signing.PublicKey: JWKRepresentable { - /// Returns the JWK representation of a `P256.KeyAgreement.PublicKey` instance. - public var jwkRepresentation: JWK { - let publicKeyRawRepresentation = rawRepresentation - let x = publicKeyRawRepresentation.prefix(publicKeyRawRepresentation.count / 2) - let y = publicKeyRawRepresentation.suffix(publicKeyRawRepresentation.count / 2) - return JWK( - keyType: .ellipticCurve, - curve: .p256, - x: x, - y: y - ) - } -} - -extension P384.Signing.PublicKey: JWKRepresentable { - /// Returns the JWK representation of a `P384.KeyAgreement.PublicKey` instance. - public var jwkRepresentation: JWK { - let publicKeyRawRepresentation = rawRepresentation - let x = publicKeyRawRepresentation.prefix(publicKeyRawRepresentation.count / 2) - let y = publicKeyRawRepresentation.suffix(publicKeyRawRepresentation.count / 2) - return JWK( - keyType: .ellipticCurve, - curve: .p384, - x: x, - y: y - ) - } -} - -extension P521.Signing.PublicKey: JWKRepresentable { - /// Returns the JWK representation of a `P521.KeyAgreement.PublicKey` instance. - public var jwkRepresentation: JWK { - let publicKeyRawRepresentation = rawRepresentation - let x = publicKeyRawRepresentation.prefix(publicKeyRawRepresentation.count / 2) - let y = publicKeyRawRepresentation.suffix(publicKeyRawRepresentation.count / 2) - return JWK( - keyType: .ellipticCurve, - curve: .p521, - x: x, - y: y - ) - } -} - -extension Curve25519.Signing.PrivateKey: JWKRepresentable { - /// Returns the JWK representation of a `Curve25519.KeyAgreement.PrivateKey` instance. - public var jwkRepresentation: JWK { - JWK( - keyType: .octetKeyPair, - curve: .ed25519, - x: publicKey.rawRepresentation, - d: rawRepresentation - ) - } -} - -extension Curve25519.Signing.PublicKey: JWKRepresentable { - /// Returns the JWK representation of a `Curve25519.KeyAgreement.PublicKey` instance. - public var jwkRepresentation: JWK { - JWK( - keyType: .octetKeyPair, - curve: .ed25519, - x: rawRepresentation - ) - } -} - -extension Curve448.KeyAgreement.PublicKey: JWKRepresentable { - /// Returns the JWK representation of a `Curve448.KeyAgreement.PublicKey` instance. - public var jwkRepresentation: JWK { - JWK( - keyType: .octetKeyPair, - curve: .x448, - x: rawRepresentation - ) - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyAgreement/ECDH/ECDH1PU+KeyAgreementZ.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyAgreement/ECDH/ECDH1PU+KeyAgreementZ.swift deleted file mode 100644 index 5f2e3f1..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyAgreement/ECDH/ECDH1PU+KeyAgreementZ.swift +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebKey - -extension ECDH1PU: KeyAgreementZ { - func agreeUponZ(privateKey: JWK, publicKey: JWK, ephemeralKey: JWK?, sender: Bool) throws -> Data { - guard let ephemeralKey else { - throw CryptoError.missingArguments([]) - } - return try processSharedKey( - privateKey: privateKey, - publicKey: publicKey, - ephemeralKey: ephemeralKey, - sender: sender - ) - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyAgreement/ECDH/ECDHES+KeyAgreementZ.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyAgreement/ECDH/ECDHES+KeyAgreementZ.swift deleted file mode 100644 index 18fd6a2..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyAgreement/ECDH/ECDHES+KeyAgreementZ.swift +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebKey - -extension ECDHES: KeyAgreementZ { - func agreeUponZ(privateKey: JWK, publicKey: JWK, ephemeralKey: JWK?, sender: Bool) throws -> Data { - return try processSharedKey(privateKey: privateKey, publicKey: publicKey) - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyAgreement/KeyAgreementZ.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyAgreement/KeyAgreementZ.swift deleted file mode 100644 index af17bd5..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyAgreement/KeyAgreementZ.swift +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebKey - -/// `KeyAgreementZ` is a protocol defining functionality for a key agreement mechanism to compute a shared secret, denoted as 'Z'. -public protocol KeyAgreementZ { - /// Computes a shared secret 'Z' using the provided private key, public key, and optionally an ephemeral key. - /// - Parameters: - /// - privateKey: A `JWK` instance representing the private key of the initiating party. - /// - publicKey: A `JWK` instance representing the public key of the responding party. - /// - ephemeralKey: An optional `JWK` instance representing an ephemeral key used in the agreement process. - /// Ephemeral keys are temporary and typically used for a single session or transaction. - /// - sender: A Boolean value indicating whether the calling party is the sender or receiver in the key agreement process. - /// This information can influence how the shared secret is computed in certain protocols. - /// - Returns: The computed shared secret as `Data`. - /// - Throws: An error if the shared secret cannot be computed. This could be due to incompatible keys, incorrect formats, or cryptographic issues specific to the key agreement algorithm. - func agreeUponZ(privateKey: JWK, publicKey: JWK, ephemeralKey: JWK?, sender: Bool) throws -> Data -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyAgreement/MockKeyAgreementZ.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyAgreement/MockKeyAgreementZ.swift deleted file mode 100644 index e24acc5..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyAgreement/MockKeyAgreementZ.swift +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebKey - -struct MockKeyAgreementZ: KeyAgreementZ { - func agreeUponZ(privateKey: JWK, publicKey: JWK, ephemeralKey: JWK?, sender: Bool) throws -> Data { - Data() - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyDerivation/ECDH/ECDH1PU+KeyDerivation.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyDerivation/ECDH/ECDH1PU+KeyDerivation.swift deleted file mode 100644 index f5c4e13..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyDerivation/ECDH/ECDH1PU+KeyDerivation.swift +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import Tools - -extension ECDH1PU: KeyDerivation { - func deriveKey( - key: Data, - keyLengthInBits: Int, - algorithmId: Data, - partyUInfo: Data, - partyVInfo: Data, - tag: Data, - other: [String : Data] - ) throws -> Data { - let algorithmIDData = UInt32(algorithmId.count).bigEndian.dataRepresentation + algorithmId - let partyUInfoData = UInt32(partyUInfo.count).bigEndian.dataRepresentation + partyUInfo - let partyVInfoData = UInt32(partyVInfo.count).bigEndian.dataRepresentation + partyVInfo - let suppPubInfoData = UInt32(keyLengthInBits).bigEndian.dataRepresentation - let suppPrivInfoData = Data() - let tagData = UInt32(tag.count).bigEndian.dataRepresentation + tag - - return try ConcatKDF.deriveKey( - z: key, - keyDataLen: keyLengthInBits, - algorithmID: algorithmIDData, - partyUInfo: partyUInfoData, - partyVInfo: partyVInfoData, - suppPubInfo: suppPubInfoData, - suppPrivInfo: suppPrivInfoData, - tag: tagData - ) - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyDerivation/ECDH/ECDHES+KeyDerivation.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyDerivation/ECDH/ECDHES+KeyDerivation.swift deleted file mode 100644 index 5e4100b..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyDerivation/ECDH/ECDHES+KeyDerivation.swift +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import Tools - -extension ECDHES: KeyDerivation { - func deriveKey( - key: Data, - keyLengthInBits: Int, - algorithmId: Data, - partyUInfo: Data, - partyVInfo: Data, - tag: Data, - other: [String : Data] - ) throws -> Data { - let algorithmIDData = UInt32(algorithmId.count).bigEndian.dataRepresentation + algorithmId - let partyUInfoData = UInt32(partyUInfo.count).bigEndian.dataRepresentation + partyUInfo - let partyVInfoData = UInt32(partyVInfo.count).bigEndian.dataRepresentation + partyVInfo - let suppPubInfoData = UInt32(keyLengthInBits).bigEndian.dataRepresentation - let suppPrivInfoData = Data() - let tagData = Data() - - return try ConcatKDF.deriveKey( - z: key, - keyDataLen: keyLengthInBits, - algorithmID: algorithmIDData, - partyUInfo: partyUInfoData, - partyVInfo: partyVInfoData, - suppPubInfo: suppPubInfoData, - suppPrivInfo: suppPrivInfoData, - tag: tagData - ) - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyDerivation/KeyDerivation.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyDerivation/KeyDerivation.swift deleted file mode 100644 index a74f9f6..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyDerivation/KeyDerivation.swift +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation - -/// `KeyDerivation` is a protocol defining functionality for deriving cryptographic keys. -public protocol KeyDerivation { - /// Derives a key from the given input parameters using a specified key derivation function. - /// - Parameters: - /// - key: The input key material used for derivation. - /// - keyLengthInBits: The desired length of the derived key in bits. - /// - algorithmId: An identifier for the key derivation algorithm. - /// - partyUInfo: Data specific to one party involved in the key derivation (usually the initiator). - /// - partyVInfo: Data specific to the other party involved in the key derivation (usually the responder). - /// - tag: A tag used in the key derivation process, providing additional context or information. - /// - other: A dictionary containing other relevant data for key derivation. - /// - Returns: The derived key as `Data`. - /// - Throws: An error if key derivation fails. This could be due to incorrect input parameters, unsupported algorithm specifications, or other cryptographic issues. - func deriveKey( - key: Data, - keyLengthInBits: Int, - algorithmId: Data, - partyUInfo: Data, - partyVInfo: Data, - tag: Data, - other: [String: Data] - ) throws -> Data -} - -extension KeyDerivation { - /// Provides a default implementation of `deriveKey` with optional parameters set to their default values. - /// - Parameters: - /// - key: The input key material used for derivation. - /// - keyLengthInBits: The desired length of the derived key in bits. - /// - algorithmId: An optional identifier for the key derivation algorithm (default is empty). - /// - partyUInfo: Optional data specific to one party involved in the key derivation (default is empty). - /// - partyVInfo: Optional data specific to the other party involved in the key derivation (default is empty). - /// - tag: An optional tag used in the key derivation process (default is empty). - /// - other: An optional dictionary containing other relevant data for key derivation (default is empty). - /// - Returns: The derived key as `Data`. - /// - Throws: An error if key derivation fails. - public func deriveKey( - key: Data, - keyLengthInBits: Int, - algorithmId: Data = Data(), - partyUInfo: Data = Data(), - partyVInfo: Data = Data(), - tag: Data = Data(), - other: [String: Data] = [:] - ) throws -> Data { - try self.deriveKey( - key: key, - keyLengthInBits: keyLengthInBits, - algorithmId: algorithmId, - partyUInfo: partyUInfo, - partyVInfo: partyVInfo, - tag: tag, - other: other - ) - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyDerivation/MockKeyDerivation.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyDerivation/MockKeyDerivation.swift deleted file mode 100644 index 10ee29c..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyDerivation/MockKeyDerivation.swift +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation - -struct MockKeyDerivation: KeyDerivation { - func deriveKey( - key: Data, - keyLengthInBits: Int, - algorithmId: Data, - partyUInfo: Data, - partyVInfo: Data, - suppPubInfo: Data, - suppPrivInfo: Data, - tag: Data, - other: [String : Data] - ) throws -> Data { - Data() - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/AES/AES128GCM+KeyEncryption.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/AES/AES128GCM+KeyEncryption.swift deleted file mode 100644 index 8647371..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/AES/AES128GCM+KeyEncryption.swift +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -extension AES128GCM: KeyWrapping { - func contentKeyEncrypt( - cek: Data, - using: JWK, - arguments: [KeyEncryptionArguments] - ) throws -> KeyEncriptionResultMetadata { - guard - let key = using.key - else { - throw CryptoError.missingArguments([]) - } - - let iv = try arguments.initializationVector ?? generateInitializationVector() - let (cipher, authenticationTag) = try AESGCM.encrypt( - payload: cek, - cek: key, - initializationVector: iv - ) - - return .init( - encryptedKey: cipher, - initializationVector: iv, - authenticationTag: authenticationTag, - pbs2saltInput: nil, - pbs2saltCount: nil, - otherMetadata: [:] - ) - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/AES/AES192GCM+KeyEncryption.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/AES/AES192GCM+KeyEncryption.swift deleted file mode 100644 index 48a4611..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/AES/AES192GCM+KeyEncryption.swift +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -extension AES192GCM: KeyWrapping { - func contentKeyEncrypt( - cek: Data, - using: JWK, - arguments: [KeyEncryptionArguments] - ) throws -> KeyEncriptionResultMetadata { - guard - let key = using.key - else { - throw CryptoError.missingArguments([]) - } - - let initializationVector = try arguments.initializationVector ?? generateInitializationVector() - let (cipher, authenticationTag) = try AESGCM.encrypt( - payload: cek, - cek: key, - initializationVector: initializationVector - ) - - return .init( - encryptedKey: cipher, - initializationVector: initializationVector, - authenticationTag: authenticationTag, - pbs2saltInput: nil, - pbs2saltCount: nil, - otherMetadata: [:] - ) - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/AES/AES256GCM+KeyEncryption.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/AES/AES256GCM+KeyEncryption.swift deleted file mode 100644 index b541eb3..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/AES/AES256GCM+KeyEncryption.swift +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -extension AES256GCM: KeyWrapping { - func contentKeyEncrypt( - cek: Data, - using: JWK, - arguments: [KeyEncryptionArguments] - ) throws -> KeyEncriptionResultMetadata { - guard - let key = using.key - else { - throw CryptoError.missingArguments([]) - } - - let initializationVector = try arguments.initializationVector ?? generateInitializationVector() - let (cipher, authenticationTag) = try AESGCM.encrypt( - payload: cek, - cek: key, - initializationVector: initializationVector - ) - - return .init( - encryptedKey: cipher, - initializationVector: initializationVector, - authenticationTag: authenticationTag, - pbs2saltInput: nil, - pbs2saltCount: nil, - otherMetadata: [:] - ) - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/AES/AESGCM+KeyUnwrap.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/AES/AESGCM+KeyUnwrap.swift deleted file mode 100644 index 864c25e..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/AES/AESGCM+KeyUnwrap.swift +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -extension AESGCM: KeyUnwrapping { - func contentKeyDecrypt( - encryptedKey: Data, - using: JWK, - arguments: [KeyEncryptionArguments] - ) throws -> Data { - guard let key = using.key else { - throw CryptoError.missingOctetSequenceKey - } - - guard let iv = arguments.initializationVector else { - throw CryptoError.missingInitializationVector - } - - guard let tag = arguments.authenticationTag else { - throw CryptoError.missingAuthenticationTag - } - - return try AESGCM.decrypt( - cipher: encryptedKey, - using: key, - initializationVector: iv, - authenticationTag: tag - ) - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/AES/AESKeyUnwrap+KeyUnwrap.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/AES/AESKeyUnwrap+KeyUnwrap.swift deleted file mode 100644 index ca3201c..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/AES/AESKeyUnwrap+KeyUnwrap.swift +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey -import Tools - -struct AESKeyUnwrap: KeyUnwrapping { - func contentKeyDecrypt( - encryptedKey: Data, - using: JWK, - arguments: [KeyEncryptionArguments] - ) throws -> Data { - guard let key = using.key else { - throw CryptoError.missingOctetSequenceKey - } - - return try AES.KeyWrap.unwrap( - encryptedKey, - using: .init(data: key) - ).withUnsafeBytes { Data($0) } - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/AES/AESKeyWrap+KeyEncryption.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/AES/AESKeyWrap+KeyEncryption.swift deleted file mode 100644 index 6dd807c..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/AES/AESKeyWrap+KeyEncryption.swift +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey -import Tools - -struct AESKeyWrap: KeyWrapping { - func generateInitializationVector() throws -> Data { - Data() - } - - func contentKeyEncrypt( - cek: Data, - using: JWK, - arguments: [KeyEncryptionArguments] - ) throws -> KeyEncriptionResultMetadata { - guard let key = using.key else { - throw CryptoError.notValidPrivateKey - } - - let encryptedKey = try AES.KeyWrap.wrap( - .init(data: cek), - using: .init(data: key) - ) - - return .init( - encryptedKey: encryptedKey, - initializationVector: nil, - authenticationTag: nil, - pbs2saltInput: nil, - pbs2saltCount: nil, - otherMetadata: [:] - ) - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/KeyUnwrap.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/KeyUnwrap.swift deleted file mode 100644 index 2b72ba1..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/KeyUnwrap.swift +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebKey - -/// `KeyUnwrapping` is a protocol defining functionality for decrypting (unwrapping) an encrypted content encryption key (CEK). -public protocol KeyUnwrapping { - /// Decrypts (unwraps) an encrypted content encryption key using a specified JSON Web Key (JWK) and additional arguments. - /// - Parameters: - /// - encryptedKey: The encrypted content encryption key to be decrypted (unwrapped). - /// - using: The `JWK` used for the decryption process. - /// - arguments: An array of `KeyEncryptionArguments` providing additional information required for decryption. - /// - Returns: The decrypted content encryption key as `Data`. - /// - Throws: An error if key unwrapping fails. This could be due to incorrect keys, incompatible arguments, or other cryptographic issues. - func contentKeyDecrypt( - encryptedKey: Data, - using: JWK, - arguments: [KeyEncryptionArguments] - ) throws -> Data -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/KeyWrapping.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/KeyWrapping.swift deleted file mode 100644 index 73bad11..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/KeyWrapping.swift +++ /dev/null @@ -1,200 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebKey - -/// `KeyEncryptionArguments` is an enumeration defining additional arguments that can be used in key encryption processes. -public enum KeyEncryptionArguments { - /// Data specific to one party involved in the key agreement (usually the initiator). - case agreementPartyUInfo(Data) - - /// Data specific to the other party involved in the key agreement (usually the responder). - case agreementPartyVInfo(Data) - - /// The initialization vector used in certain encryption algorithms to provide additional randomness. - case initializationVector(Data) - - /// The authentication tag used to verify the integrity and authenticity of a message in authenticated encryption. - case authenticationTag(Data) - - /// PBES2 salt input used in key derivation functions. - case pbs2saltInput(Data) - - /// The iteration count for the PBES2 salt input in key derivation functions. - case pbs2saltCount(Int) - - /// Allows for custom data to be included, identified by a key. - case customData(key: String, value: Data) - - /// Allows for a custom JSON Web Key (JWK) to be included, identified by a key. - case customJWK(key: String, value: JWK) -} - -/// `KeyEncriptionResultMetadata` is a struct representing the metadata of a key encryption result. -public struct KeyEncriptionResultMetadata { - /// The encrypted content encryption key (CEK). - public let encryptedKey: Data - - /// Optional initialization vector associated with the key encryption. - public let initializationVector: Data? - - /// Optional authentication tag for verifying the integrity and authenticity of the encrypted key. - public let authenticationTag: Data? - - /// Optional PBES2 salt input used in the encryption process. - public let pbs2saltInput: Data? - - /// Optional iteration count for the PBES2 salt input. - public let pbs2saltCount: Int? - - /// Additional metadata that may be included in the encryption process. - public let otherMetadata: [String: Data] - - /// Initializes a new `KeyEncriptionResultMetadata` instance with the specified encryption result and metadata. - public init( - encryptedKey: Data, - initializationVector: Data? = nil, - authenticationTag: Data? = nil, - pbs2saltInput: Data? = nil, - pbs2saltCount: Int? = nil, - otherMetadata: [String: Data] = [:] - ) { - self.encryptedKey = encryptedKey - self.initializationVector = initializationVector - self.authenticationTag = authenticationTag - self.pbs2saltInput = pbs2saltInput - self.pbs2saltCount = pbs2saltCount - self.otherMetadata = otherMetadata - } -} - -/// `KeyWrapping` is a protocol defining functionality for encrypting (wrapping) a content encryption key (CEK). -public protocol KeyWrapping { - /// Encrypts (wraps) a content encryption key using a specified JSON Web Key (JWK) and additional arguments. - /// - Parameters: - /// - cek: The content encryption key to be encrypted (wrapped). - /// - using: The `JWK` used for the encryption process. - /// - arguments: An array of `KeyEncryptionArguments` providing additional information required for encryption. - /// - Returns: A `KeyEncriptionResultMetadata` containing the encrypted key and associated metadata. - /// - Throws: An error if key wrapping fails. This could be due to incorrect keys, incompatible arguments, or other cryptographic issues. - func contentKeyEncrypt( - cek: Data, - using: JWK, - arguments: [KeyEncryptionArguments] - ) throws -> KeyEncriptionResultMetadata -} - - -extension Array where Element == KeyEncryptionArguments { - var agreementPartyUInfo: Data? { - return self.compactMap { - if case .agreementPartyUInfo(let data) = $0 { - return data - } - return nil - }.first - } - - var agreementPartyVInfo: Data? { - return self.compactMap { - if case .agreementPartyVInfo(let data) = $0 { - return data - } - return nil - }.first - } - - var initializationVector: Data? { - return self.compactMap { - if case .initializationVector(let data) = $0 { - return data - } - return nil - }.first - } - - var authenticationTag: Data? { - return self.compactMap { - if case .authenticationTag(let data) = $0 { - return data - } - return nil - }.first - } - - var pbs2saltInput: Data? { - return self.compactMap { - if case .pbs2saltInput(let data) = $0 { - return data - } - return nil - }.first - } - - var pbs2saltCount: Int? { - return self.compactMap { - if case .pbs2saltCount(let data) = $0 { - return data - } - return nil - }.first - } -} - -extension KeyEncryptionArguments { - var agreementPartyUInfo: Data? { - if case .agreementPartyUInfo(let data) = self { - return data - } - return nil - } - - var agreementPartyVInfo: Data? { - if case .agreementPartyUInfo(let data) = self { - return data - } - return nil - } - - var initializationVector: Data? { - if case .initializationVector(let data) = self { - return data - } - return nil - } - - var authenticationTag: Data? { - if case .authenticationTag(let data) = self { - return data - } - return nil - } - - var pbs2saltInput: Data? { - if case .pbs2saltInput(let data) = self { - return data - } - return nil - } - - var pbs2saltCount: Int? { - if case .pbs2saltCount(let data) = self { - return data - } - return nil - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/MockKeyEncryption.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/MockKeyEncryption.swift deleted file mode 100644 index 8df9150..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/MockKeyEncryption.swift +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebKey - -struct MockKeyEncryption: KeyWrapping { - func generateInitializationVector() throws -> Data { - Data() - } - - func contentKeyEncrypt( - cek: Data, - using: JWK, - arguments: [KeyEncryptionArguments] - ) throws -> KeyEncriptionResultMetadata { - .init(encryptedKey: Data()) - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/PBES2/PBE2_SHA256_A128KW+KeyEncryption.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/PBES2/PBE2_SHA256_A128KW+KeyEncryption.swift deleted file mode 100644 index 7075752..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/PBES2/PBE2_SHA256_A128KW+KeyEncryption.swift +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebKey - -struct PBE2_SHA256_A128KW: KeyWrapping, KeyUnwrapping { - - func generateInitializationVector() throws -> Data { - Data() - } - - func contentKeyEncrypt( - cek: Data, - using: JWK, - arguments: [KeyEncryptionArguments] - ) throws -> KeyEncriptionResultMetadata { - let encryptionResult = try PBES2SHAKeyWrapper.encrypt( - cek: cek, - using: using, - algorithmData: try KeyManagementAlgorithm.pbes2HS256A128KW.rawValue.tryToData(), - input: arguments.pbs2saltInput, - count: arguments.pbs2saltCount, - variant: .sha2(.sha256) - ) - - return .init( - encryptedKey: encryptionResult.encrypedKey, - pbs2saltInput: encryptionResult.input, - pbs2saltCount: encryptionResult.count - ) - } - - func contentKeyDecrypt( - encryptedKey: Data, - using: JWK, - arguments: [KeyEncryptionArguments] - ) throws -> Data { - guard - let input = arguments.pbs2saltInput, - let count = arguments.pbs2saltCount - else { - throw CryptoError.missingPBS2SaltInputOrCount - } - - return try PBES2SHAKeyWrapper.decrypt( - encryptedKey: encryptedKey, - using: using, - algorithmData: try KeyManagementAlgorithm.pbes2HS256A128KW.rawValue.tryToData(), - input: input, - count: count, - variant: .sha2(.sha256) - ) - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/PBES2/PBE2_SHA384_A192KW+KeyEncryption.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/PBES2/PBE2_SHA384_A192KW+KeyEncryption.swift deleted file mode 100644 index 96b2a82..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/PBES2/PBE2_SHA384_A192KW+KeyEncryption.swift +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebKey - -struct PBE2_SHA384_A192KW: KeyWrapping, KeyUnwrapping { - - func generateInitializationVector() throws -> Data { - Data() - } - - func contentKeyEncrypt( - cek: Data, - using: JWK, - arguments: [KeyEncryptionArguments] - ) throws -> KeyEncriptionResultMetadata { - let encryptionResult = try PBES2SHAKeyWrapper.encrypt( - cek: cek, - using: using, - algorithmData: try KeyManagementAlgorithm.pbes2HS384A192KW.rawValue.tryToData(), - input: arguments.pbs2saltInput, - count: arguments.pbs2saltCount, - variant: .sha2(.sha384) - ) - - return .init( - encryptedKey: encryptionResult.encrypedKey, - pbs2saltInput: encryptionResult.input, - pbs2saltCount: encryptionResult.count - ) - } - - func contentKeyDecrypt( - encryptedKey: Data, - using: JWK, - arguments: [KeyEncryptionArguments] - ) throws -> Data { - guard - let input = arguments.pbs2saltInput, - let count = arguments.pbs2saltCount - else { - throw CryptoError.missingPBS2SaltInputOrCount - } - - return try PBES2SHAKeyWrapper.decrypt( - encryptedKey: encryptedKey, - using: using, - algorithmData: try KeyManagementAlgorithm.pbes2HS384A192KW.rawValue.tryToData(), - input: input, - count: count, - variant: .sha2(.sha384) - ) - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/PBES2/PBE2_SHA512_A256KW+KeyEncryption.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/PBES2/PBE2_SHA512_A256KW+KeyEncryption.swift deleted file mode 100644 index c2b4cdf..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/PBES2/PBE2_SHA512_A256KW+KeyEncryption.swift +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebKey - -struct PBE2_SHA512_A256KW: KeyWrapping, KeyUnwrapping { - - func generateInitializationVector() throws -> Data { - Data() - } - - func contentKeyEncrypt( - cek: Data, - using: JWK, - arguments: [KeyEncryptionArguments] - ) throws -> KeyEncriptionResultMetadata { - let encryptionResult = try PBES2SHAKeyWrapper.encrypt( - cek: cek, - using: using, - algorithmData: try KeyManagementAlgorithm.pbes2HS512A256KW.rawValue.tryToData(), - input: arguments.pbs2saltInput, - count: arguments.pbs2saltCount, - variant: .sha2(.sha512) - ) - - return .init( - encryptedKey: encryptionResult.encrypedKey, - pbs2saltInput: encryptionResult.input, - pbs2saltCount: encryptionResult.count - ) - } - - func contentKeyDecrypt( - encryptedKey: Data, - using: JWK, - arguments: [KeyEncryptionArguments] - ) throws -> Data { - guard - let input = arguments.pbs2saltInput, - let count = arguments.pbs2saltCount - else { - throw CryptoError.missingPBS2SaltInputOrCount - } - - return try PBES2SHAKeyWrapper.decrypt( - encryptedKey: encryptedKey, - using: using, - algorithmData: try KeyManagementAlgorithm.pbes2HS512A256KW.rawValue.tryToData(), - input: input, - count: count, - variant: .sha2(.sha512) - ) - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/PBES2/PBES2SHA.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/PBES2/PBES2SHA.swift deleted file mode 100644 index 5b7f033..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/PBES2/PBES2SHA.swift +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import CryptoSwift -import Foundation -import JSONWebKey - -struct PBES2SHAKeyWrapper { - - struct PBES2SHAResult { - let encrypedKey: Data - let input: Data - let count: Int - } - - static func encrypt( - cek: Data, - using: JWK, - algorithmData: Data = Data(), - input: Data? = nil, - count: Int? = nil, - variant: CryptoSwift.HMAC.Variant - ) throws -> PBES2SHAResult { - guard let key = using.key else { - throw CryptoError.missingOctetSequenceKey - } - let input = try input ?? SecureRandom.secureRandomData(count: 8) - let count = count ?? 1000 - let keyLength: Int - switch variant { - case .sha2(.sha256): - keyLength = 16 - case .sha2(.sha384): - keyLength = 24 - case .sha2(.sha512): - keyLength = 32 - default: - throw CryptoError.unavailablePBES2ShaVariant - } - let salt = Array(algorithmData) + [0x00] + input - let derivedKey = try Data(PKCS5.PBKDF2( - password: Array(key), - salt: salt, - iterations: count, - keyLength: keyLength, - variant: variant - ).calculate()) - - let encryptedKey = try AES.KeyWrap.wrap( - .init(data: cek), - using: .init(data: derivedKey) - ) - - return .init( - encrypedKey: encryptedKey, - input: input, - count: count - ) - } - - static func decrypt( - encryptedKey: Data, - using: JWK, - algorithmData: Data = Data(), - input: Data, - count: Int, - variant: CryptoSwift.HMAC.Variant - ) throws -> Data { - guard let key = using.key else { - throw CryptoError.missingOctetSequenceKey - } - let keyLength: Int - switch variant { - case .sha2(.sha256): - keyLength = 16 - case .sha2(.sha384): - keyLength = 24 - case .sha2(.sha512): - keyLength = 32 - default: - throw CryptoError.unavailablePBES2ShaVariant - } - let salt = Array(algorithmData) + [0x00] + input - let derivedKey = try Data(PKCS5.PBKDF2( - password: Array(key), - salt: salt, - iterations: count, - keyLength: keyLength, - variant: variant - ).calculate()) - - let decrypted = try AES.KeyWrap.unwrap( - encryptedKey, - using: .init(data: derivedKey) - ) - - return decrypted.withUnsafeBytes { Data($0) } - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/RSA/RSA15KeyUnwrap+KeyUnwrapping.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/RSA/RSA15KeyUnwrap+KeyUnwrapping.swift deleted file mode 100644 index aa83710..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/RSA/RSA15KeyUnwrap+KeyUnwrapping.swift +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoSwift -import Foundation -import JSONWebKey -import Security - -struct RSA15KeyUnwrap: KeyUnwrapping { - func contentKeyDecrypt( - encryptedKey: Data, - using: JWK, - arguments: [KeyEncryptionArguments] - ) throws -> Data { - guard let n = using.n else { - throw JWK.Error.missingNComponent - } - guard let e = using.e else { - throw JWK.Error.missingEComponent - } - guard let d = using.d else { - throw JWK.Error.missingDComponent - } - guard - let p = using.p, - let q = using.q - else { - throw JWK.Error.missingPrimesComponent - } - - let rsaPrivateKey = try CryptoSwift.RSA( - n: BigUInteger(n), - e: BigUInteger(e), - d: BigUInteger(d), - p: BigUInteger(p), - q: BigUInteger(q) - ) - let derEncodedRSAPrivateKey = try rsaPrivateKey.externalRepresentation() - let attributes: [String: Any] = [ - kSecAttrKeyType as String: kSecAttrKeyTypeRSA, - kSecAttrKeyClass as String: kSecAttrKeyClassPrivate, - kSecAttrKeySizeInBits as String: n.count * 8, - kSecAttrIsPermanent as String: false, - ] - var error: Unmanaged? - guard let rsaSecKey = SecKeyCreateWithData( - derEncodedRSAPrivateKey as CFData, - attributes as CFDictionary, - &error - ) else { - throw CryptoError.securityLayerError(internalStatus: nil, internalError: error?.takeRetainedValue()) - } - let secKeyAlgorithm = SecKeyAlgorithm.rsaEncryptionPKCS1 - var decryptionError: Unmanaged? - guard - let plaintext = SecKeyCreateDecryptedData( - rsaSecKey, - secKeyAlgorithm, - encryptedKey as CFData, - &decryptionError - ) - else { - throw CryptoError.securityLayerError(internalStatus: nil, internalError: decryptionError?.takeRetainedValue()) - } - return plaintext as Data - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/RSA/RSA15KeyWrapper+KeyEncryption.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/RSA/RSA15KeyWrapper+KeyEncryption.swift deleted file mode 100644 index 781f50b..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/RSA/RSA15KeyWrapper+KeyEncryption.swift +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoSwift -import Foundation -import JSONWebKey -import Security - -struct RSA15KeyWrapper: KeyWrapping { - func generateInitializationVector() throws -> Data { - Data() - } - - func contentKeyEncrypt( - cek: Data, - using: JWK, - arguments: [KeyEncryptionArguments] - ) throws -> KeyEncriptionResultMetadata { - guard let n = using.n else { - throw JWK.Error.missingNComponent - } - guard let e = using.e else { - throw JWK.Error.missingEComponent - } - let rsaPublicKey = CryptoSwift.RSA(n: BigUInteger(n), e: BigUInteger(e)) - let derEncodedRSAPublicKey = try rsaPublicKey.publicKeyExternalRepresentation() - let attributes: [String: Any] = [ - kSecAttrKeyType as String: kSecAttrKeyTypeRSA, - kSecAttrKeyClass as String: kSecAttrKeyClassPublic, - kSecAttrKeySizeInBits as String: n.count * 8, - kSecAttrIsPermanent as String: false, - ] - var error: Unmanaged? - guard let rsaSecKey = SecKeyCreateWithData( - derEncodedRSAPublicKey as CFData, - attributes as CFDictionary, - &error - ) else { - throw CryptoError.invalidRSAKey - } - var secKeyAlgorithm = SecKeyAlgorithm.rsaEncryptionPKCS1 - var encryptionError: Unmanaged? - guard - let ciphertext = SecKeyCreateEncryptedData( - rsaSecKey, - secKeyAlgorithm, - cek as CFData, - &encryptionError - ) - else { - throw CryptoError.securityLayerError(internalStatus: nil, internalError: encryptionError?.takeRetainedValue()) - } - return .init(encryptedKey: ciphertext as Data) - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/RSA/RSAOAEP256KeyUnwrap+KeyUnwrapping.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/RSA/RSAOAEP256KeyUnwrap+KeyUnwrapping.swift deleted file mode 100644 index ec245d2..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/RSA/RSAOAEP256KeyUnwrap+KeyUnwrapping.swift +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoSwift -import Foundation -import JSONWebKey -import Security - -struct RSAOAEP256KeyUnwrap: KeyUnwrapping { - func contentKeyDecrypt( - encryptedKey: Data, - using: JWK, - arguments: [KeyEncryptionArguments] - ) throws -> Data { - guard let n = using.n else { - throw JWK.Error.missingNComponent - } - guard let e = using.e else { - throw JWK.Error.missingEComponent - } - guard let d = using.d else { - throw JWK.Error.missingDComponent - } - guard - let p = using.p, - let q = using.q - else { - throw JWK.Error.missingPrimesComponent - } - - let rsaPrivateKey = try CryptoSwift.RSA( - n: BigUInteger(n), - e: BigUInteger(e), - d: BigUInteger(d), - p: BigUInteger(p), - q: BigUInteger(q) - ) - let derEncodedRSAPrivateKey = try rsaPrivateKey.externalRepresentation() - let attributes: [String: Any] = [ - kSecAttrKeyType as String: kSecAttrKeyTypeRSA, - kSecAttrKeyClass as String: kSecAttrKeyClassPrivate, - kSecAttrKeySizeInBits as String: n.count * 8, - kSecAttrIsPermanent as String: false, - ] - var error: Unmanaged? - guard let rsaSecKey = SecKeyCreateWithData( - derEncodedRSAPrivateKey as CFData, - attributes as CFDictionary, - &error - ) else { - throw CryptoError.securityLayerError(internalStatus: nil, internalError: error?.takeRetainedValue()) - } - let secKeyAlgorithm = SecKeyAlgorithm.rsaEncryptionOAEPSHA256 - var decryptionError: Unmanaged? - guard - let plaintext = SecKeyCreateDecryptedData( - rsaSecKey, - secKeyAlgorithm, - encryptedKey as CFData, - &decryptionError - ) - else { - throw CryptoError.failedRSAKeyUnwrap - } - return plaintext as Data - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/RSA/RSAOAEP256KeyWrap+KeyEncryption.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/RSA/RSAOAEP256KeyWrap+KeyEncryption.swift deleted file mode 100644 index 79f3788..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/RSA/RSAOAEP256KeyWrap+KeyEncryption.swift +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoSwift -import Foundation -import JSONWebKey -import Security - -struct RSAOAEP256KeyWrapper: KeyWrapping { - func generateInitializationVector() throws -> Data { - Data() - } - - func contentKeyEncrypt( - cek: Data, - using: JWK, - arguments: [KeyEncryptionArguments] - ) throws -> KeyEncriptionResultMetadata { - guard let n = using.n else { - throw JWK.Error.missingNComponent - } - guard let e = using.e else { - throw JWK.Error.missingEComponent - } - let rsaPublicKey = CryptoSwift.RSA(n: BigUInteger(n), e: BigUInteger(e)) - let derEncodedRSAPublicKey = try rsaPublicKey.publicKeyExternalRepresentation() - let attributes: [String: Any] = [ - kSecAttrKeyType as String: kSecAttrKeyTypeRSA, - kSecAttrKeyClass as String: kSecAttrKeyClassPublic, - kSecAttrKeySizeInBits as String: n.count * 8, - kSecAttrIsPermanent as String: false, - ] - var error: Unmanaged? - guard let rsaSecKey = SecKeyCreateWithData( - derEncodedRSAPublicKey as CFData, - attributes as CFDictionary, - &error - ) else { - throw CryptoError.invalidRSAKey - } - var secKeyAlgorithm = SecKeyAlgorithm.rsaEncryptionOAEPSHA256 - var encryptionError: Unmanaged? - guard - let ciphertext = SecKeyCreateEncryptedData( - rsaSecKey, - secKeyAlgorithm, - cek as CFData, - &encryptionError - ) - else { - throw CryptoError.securityLayerError(internalStatus: nil, internalError: encryptionError?.takeRetainedValue()) - } - return .init(encryptedKey: ciphertext as Data) - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/RSA/RSAOAEPKeyUnwrap+KeyUnwrapping.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/RSA/RSAOAEPKeyUnwrap+KeyUnwrapping.swift deleted file mode 100644 index 702258c..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/RSA/RSAOAEPKeyUnwrap+KeyUnwrapping.swift +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoSwift -import Foundation -import JSONWebKey -import Security - -struct RSAOAEPKeyUnwrap: KeyUnwrapping { - func contentKeyDecrypt( - encryptedKey: Data, - using: JWK, - arguments: [KeyEncryptionArguments] - ) throws -> Data { - guard let n = using.n else { - throw JWK.Error.missingNComponent - } - guard let e = using.e else { - throw JWK.Error.missingEComponent - } - guard let d = using.d else { - throw JWK.Error.missingDComponent - } - guard - let p = using.p, - let q = using.q - else { - throw JWK.Error.missingPrimesComponent - } - - let rsaPrivateKey = try CryptoSwift.RSA( - n: BigUInteger(n), - e: BigUInteger(e), - d: BigUInteger(d), - p: BigUInteger(p), - q: BigUInteger(q) - ) - let derEncodedRSAPrivateKey = try rsaPrivateKey.externalRepresentation() - let attributes: [String: Any] = [ - kSecAttrKeyType as String: kSecAttrKeyTypeRSA, - kSecAttrKeyClass as String: kSecAttrKeyClassPrivate, - kSecAttrKeySizeInBits as String: n.count * 8, - kSecAttrIsPermanent as String: false, - ] - var error: Unmanaged? - guard let rsaSecKey = SecKeyCreateWithData( - derEncodedRSAPrivateKey as CFData, - attributes as CFDictionary, - &error - ) else { - throw CryptoError.securityLayerError(internalStatus: nil, internalError: error?.takeRetainedValue()) - } - let secKeyAlgorithm = SecKeyAlgorithm.rsaEncryptionOAEPSHA1 - var decryptionError: Unmanaged? - guard - let plaintext = SecKeyCreateDecryptedData( - rsaSecKey, - secKeyAlgorithm, - encryptedKey as CFData, - &decryptionError - ) - else { - throw CryptoError.failedRSAKeyUnwrap - } - return plaintext as Data - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/RSA/RSAOAEPKeyWrap+KeyEncryption.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/RSA/RSAOAEPKeyWrap+KeyEncryption.swift deleted file mode 100644 index 9c82cb3..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryption/RSA/RSAOAEPKeyWrap+KeyEncryption.swift +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoSwift -import Foundation -import JSONWebKey -import Security - -struct RSAOAEPKeyWrapper: KeyWrapping { - func generateInitializationVector() throws -> Data { - Data() - } - - func contentKeyEncrypt( - cek: Data, - using: JWK, - arguments: [KeyEncryptionArguments] - ) throws -> KeyEncriptionResultMetadata { - guard let n = using.n else { - throw JWK.Error.missingNComponent - } - guard let e = using.e else { - throw JWK.Error.missingEComponent - } - let rsaPublicKey = CryptoSwift.RSA(n: BigUInteger(n), e: BigUInteger(e)) - let derEncodedRSAPublicKey = try rsaPublicKey.publicKeyExternalRepresentation() - let attributes: [String: Any] = [ - kSecAttrKeyType as String: kSecAttrKeyTypeRSA, - kSecAttrKeyClass as String: kSecAttrKeyClassPublic, - kSecAttrKeySizeInBits as String: n.count * 8, - kSecAttrIsPermanent as String: false, - ] - var error: Unmanaged? - guard let rsaSecKey = SecKeyCreateWithData( - derEncodedRSAPublicKey as CFData, - attributes as CFDictionary, - &error - ) else { - throw CryptoError.invalidRSAKey - } - var secKeyAlgorithm = SecKeyAlgorithm.rsaEncryptionOAEPSHA1 - var encryptionError: Unmanaged? - guard - let ciphertext = SecKeyCreateEncryptedData( - rsaSecKey, - secKeyAlgorithm, - cek as CFData, - &encryptionError - ) - else { - throw CryptoError.securityLayerError(internalStatus: nil, internalError: encryptionError?.takeRetainedValue()) - } - return .init(encryptedKey: ciphertext as Data) - } -} diff --git a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryptionAlgorithm.swift b/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryptionAlgorithm.swift deleted file mode 100644 index 181ada0..0000000 --- a/Sources/JSONWebAlgorithms/KeyManagement/KeyEncryptionAlgorithm.swift +++ /dev/null @@ -1,223 +0,0 @@ -// Copyright © 2023 Proxy, Inc. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -import Foundation - -/// Supported JWE cryptographic algorithms for key management. -/// -/// For more information, see [RFC7518 Section 4.1](https://www.rfc-editor.org/rfc/rfc7518#section-4.1) -public enum KeyManagementAlgorithm: String, Equatable, Codable { - // RSA algorithm with PKCS #1 v1.5 padding. - case rsa1_5 = "RSA1_5" - - // RSA algorithm with OAEP padding. - case rsaOAEP = "RSA-OAEP" - - // RSA algorithm with OAEP-256 padding. - case rsaOAEP256 = "RSA-OAEP-256" - - // AES algorithm with a 128-bit key. - case a128KW = "A128KW" - - // AES algorithm with a 192-bit key. - case a192KW = "A192KW" - - // AES algorithm with a 256-bit key. - case a256KW = "A256KW" - - // Direct use of a shared symmetric key. - case direct = "dir" - - // Elliptic Curve Diffie-Hellman Ephemeral Static key agreement. - case ecdhES = "ECDH-ES" - - // ECDH-ES followed by AES key wrap with a 128-bit key. - case ecdhESA128KW = "ECDH-ES+A128KW" - - // ECDH-ES followed by AES key wrap with a 192-bit key. - case ecdhESA192KW = "ECDH-ES+A192KW" - - // ECDH-ES followed by AES key wrap with a 256-bit key. - case ecdhESA256KW = "ECDH-ES+A256KW" - - // AES GCM algorithm with a 128-bit key. - case a128GCMKW = "A128GCMKW" - - // AES GCM algorithm with a 192-bit key. - case a192GCMKW = "A192GCMKW" - - // AES GCM algorithm with a 256-bit key. - case a256GCMKW = "A256GCMKW" - - // PBES2 with HMAC-SHA256 and AES Key Wrap with a 128-bit key. - case pbes2HS256A128KW = "PBES2-HS256+A128KW" - - // PBES2 with HMAC-SHA384 and AES Key Wrap with a 192-bit key. - case pbes2HS384A192KW = "PBES2-HS384+A192KW" - - // PBES2 with HMAC-SHA512 and AES Key Wrap with a 256-bit key. - case pbes2HS512A256KW = "PBES2-HS512+A256KW" - - // Elliptic Curve Diffie-Hellman 1-Party Unilateral key agreement. - case ecdh1PU = "ECDH-1PU" - - // ECDH-1PU followed by AES key wrap with a 128-bit key. - case ecdh1PUA128KW = "ECDH-1PU+A128KW" - - // ECDH-1PU followed by AES key wrap with a 192-bit key. - case ecdh1PUA192KW = "ECDH-1PU+A192KW" - - // ECDH-1PU followed by AES key wrap with a 256-bit key. - case ecdh1PUA256KW = "ECDH-1PU+A256KW" - - /// Provides a `KeyWrapping` instance suitable for the key management algorithm. - /// - Returns: An instance conforming to the `KeyWrapping` protocol, or `nil` if wrapping is not supported for the algorithm. - public var wrapper: KeyWrapping? { - switch self { - case .rsa1_5: - return RSA15KeyWrapper() - case .rsaOAEP: - return RSAOAEPKeyWrapper() - case .rsaOAEP256: - return RSAOAEP256KeyWrapper() - case .a128KW: - return AESKeyWrap() - case .a192KW: - return AESKeyWrap() - case .a256KW: - return AESKeyWrap() - case .direct: - return nil - case .ecdhES: - return nil - case .ecdhESA128KW: - return AESKeyWrap() - case .ecdhESA192KW: - return AESKeyWrap() - case .ecdhESA256KW: - return AESKeyWrap() - case .a128GCMKW: - return AES128GCM() - case .a192GCMKW: - return AES192GCM() - case .a256GCMKW: - return AES256GCM() - case .pbes2HS256A128KW: - return PBE2_SHA256_A128KW() - case .pbes2HS384A192KW: - return PBE2_SHA384_A192KW() - case .pbes2HS512A256KW: - return PBE2_SHA512_A256KW() - case .ecdh1PU: - return nil - case .ecdh1PUA128KW: - return AESKeyWrap() - case .ecdh1PUA192KW: - return AESKeyWrap() - case .ecdh1PUA256KW: - return AESKeyWrap() - } - } - - /// Provides a `KeyUnwrapping` instance suitable for the key management algorithm. - /// - Returns: An instance conforming to the `KeyUnwrapping` protocol, or `nil - public var unwrapper: KeyUnwrapping? { - switch self { - case .rsa1_5: - return RSA15KeyUnwrap() - case .rsaOAEP: - return RSAOAEPKeyUnwrap() - case .rsaOAEP256: - return RSAOAEP256KeyUnwrap() - case .a128KW: - return AESKeyUnwrap() - case .a192KW: - return AESKeyUnwrap() - case .a256KW: - return AESKeyUnwrap() - case .direct: - return nil - case .ecdhES: - return nil - case .ecdhESA128KW: - return AESKeyUnwrap() - case .ecdhESA192KW: - return AESKeyUnwrap() - case .ecdhESA256KW: - return AESKeyUnwrap() - case .a128GCMKW: - return AESGCM() - case .a192GCMKW: - return AESGCM() - case .a256GCMKW: - return AESGCM() - case .pbes2HS256A128KW: - return PBE2_SHA256_A128KW() - case .pbes2HS384A192KW: - return PBE2_SHA384_A192KW() - case .pbes2HS512A256KW: - return PBE2_SHA512_A256KW() - case .ecdh1PU: - return nil - case .ecdh1PUA128KW: - return AESKeyUnwrap() - case .ecdh1PUA192KW: - return AESKeyUnwrap() - case .ecdh1PUA256KW: - return AESKeyUnwrap() - } - } - - public var agreement: KeyAgreementZ? { - switch self { - case .ecdhES: - return ECDHES() - case .ecdhESA128KW: - return ECDHES() - case .ecdhESA192KW: - return ECDHES() - case .ecdhESA256KW: - return ECDHES() - case .ecdh1PU: - return ECDH1PU() - case .ecdh1PUA128KW: - return ECDH1PU() - case .ecdh1PUA192KW: - return ECDH1PU() - case .ecdh1PUA256KW: - return ECDH1PU() - default: - return nil - } - } - - /// Provides a `KeyDerivation` instance suitable for the key management algorithm. - /// - Returns: An instance conforming to the `KeyDerivation` protocol, or `nil - public var derivation: KeyDerivation? { - switch self { - case .ecdhES: - return ECDHES() - case .ecdhESA128KW: - return ECDHES() - case .ecdhESA192KW: - return ECDHES() - case .ecdhESA256KW: - return ECDHES() - case .ecdh1PU: - return ECDH1PU() - case .ecdh1PUA128KW: - return ECDH1PU() - case .ecdh1PUA192KW: - return ECDH1PU() - case .ecdh1PUA256KW: - return ECDH1PU() - default: - return nil - } - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/Curve25519/EdDSASigner.swift b/Sources/JSONWebAlgorithms/Signatures/Curve25519/EdDSASigner.swift deleted file mode 100644 index 5133976..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/Curve25519/EdDSASigner.swift +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -struct EdDSASigner: Signer { - var algorithm: String { SigningAlgorithm.EdDSA.rawValue } - - func sign(data: Data, key: JWK) throws -> Data { - guard let d = key.d else { throw CryptoError.notValidPrivateKey } - let privateKey = try Curve25519.Signing.PrivateKey(rawRepresentation: d) - return try privateKey.signature(for: data) - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/Curve25519/EdDSAVerifier.swift b/Sources/JSONWebAlgorithms/Signatures/Curve25519/EdDSAVerifier.swift deleted file mode 100644 index 7dc2801..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/Curve25519/EdDSAVerifier.swift +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -struct EdDSAVerifier: Verifier { - var algorithm: String { SigningAlgorithm.EdDSA.rawValue } - - func verify(data: Data, signature: Data, key: JWK?) throws -> Bool { - guard - let x = key?.x - else { throw CryptoError.notValidPublicKey } - let publicKey = try Curve25519.Signing.PublicKey(rawRepresentation: x) - return publicKey.isValidSignature(signature, for: data) - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift b/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift deleted file mode 100644 index b65e31a..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebKey -import secp256k1 - -struct ES256KSigner: Signer { - var algorithm: String { SigningAlgorithm.ES256K.rawValue } - - func sign(data: Data, key: JWK) throws -> Data { - guard let d = key.d else { throw CryptoError.notValidPrivateKey } - let privateKey = try secp256k1.Signing.PrivateKey(dataRepresentation: d) - let hash = SHA256.hash(data: data) - return try privateKey.signature(for: hash).dataRepresentation - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256Signer.swift b/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256Signer.swift deleted file mode 100644 index a0cd728..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256Signer.swift +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -struct ES256Signer: Signer { - var algorithm: String { SigningAlgorithm.ES256.rawValue } - - func sign(data: Data, key: JWK) throws -> Data { - guard let d = key.d else { throw CryptoError.notValidPrivateKey } - let privateKey = try P256.Signing.PrivateKey(rawRepresentation: d) - let hash = SHA256.hash(data: data) - return try privateKey.signature(for: hash).rawRepresentation - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES384Signer.swift b/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES384Signer.swift deleted file mode 100644 index b86f66d..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES384Signer.swift +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -struct ES384Signer: Signer { - var algorithm: String { SigningAlgorithm.ES384.rawValue } - - func sign(data: Data, key: JWK) throws -> Data { - guard let d = key.d else { throw CryptoError.notValidPrivateKey } - let privateKey = try P384.Signing.PrivateKey(rawRepresentation: d) - let hash = SHA384.hash(data: data) - return try privateKey.signature(for: hash).rawRepresentation - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES521Signer.swift b/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES521Signer.swift deleted file mode 100644 index cf5f52e..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES521Signer.swift +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -struct ES512Signer: Signer { - var algorithm: String { SigningAlgorithm.ES512.rawValue } - - func sign(data: Data, key: JWK) throws -> Data { - guard let d = key.d else { throw CryptoError.notValidPrivateKey } - let privateKey = try P521.Signing.PrivateKey(rawRepresentation: d) - let hash = SHA512.hash(data: data) - return try privateKey.signature(for: hash).rawRepresentation - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES256KVerifier.swift b/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES256KVerifier.swift deleted file mode 100644 index c8c73ef..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES256KVerifier.swift +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebKey -import secp256k1 - -struct ES256KVerifier: Verifier { - var algorithm: String { SigningAlgorithm.ES256K.rawValue } - - func verify(data: Data, signature: Data, key: JWK?) throws -> Bool { - guard - let x = key?.x, - let y = key?.y - else { throw CryptoError.notValidPublicKey } - let publicKey = try secp256k1.Signing.PublicKey(dataRepresentation: x + y, format: .uncompressed) - let hash = SHA256.hash(data: data) - return try publicKey.isValidSignature(getSignature(signature), for: hash) - } -} - -private func getSignature(_ data: Data) throws -> secp256k1.Signing.ECDSASignature { - if let signature = try? secp256k1.Signing.ECDSASignature(dataRepresentation: data){ - return signature - } else if let signature = try? secp256k1.Signing.ECDSASignature(derRepresentation: data) { - return signature - } else if let signature = try? secp256k1.Signing.ECDSASignature(compactRepresentation: data) { - return signature - } else { - throw CryptoError.invalidSignature - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES256Verifier.swift b/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES256Verifier.swift deleted file mode 100644 index 7bd1b50..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES256Verifier.swift +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -struct ES256Verifier: Verifier { - var algorithm: String { SigningAlgorithm.ES256.rawValue } - - func verify(data: Data, signature: Data, key: JWK?) throws -> Bool { - guard - let x = key?.x, - let y = key?.y - else { throw CryptoError.notValidPublicKey } - let publicKey = try P256.Signing.PublicKey(rawRepresentation: x + y) - let hash = SHA256.hash(data: data) - return try publicKey.isValidSignature(getSignature(signature), for: hash) - } -} - -private func getSignature(_ data: Data) throws -> P256.Signing.ECDSASignature { - if let signature = try? P256.Signing.ECDSASignature(rawRepresentation: data) { - return signature - } else if let signature = try? P256.Signing.ECDSASignature(derRepresentation: data) { - return signature - } else { - throw CryptoError.invalidSignature - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES384Verifier.swift b/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES384Verifier.swift deleted file mode 100644 index bbe901b..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES384Verifier.swift +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -struct ES384Verifier: Verifier { - var algorithm: String { SigningAlgorithm.ES384.rawValue } - - func verify(data: Data, signature: Data, key: JWK?) throws -> Bool { - guard - let x = key?.x, - let y = key?.y - else { throw CryptoError.notValidPublicKey } - let publicKey = try P384.Signing.PublicKey(rawRepresentation: x + y) - let hash = SHA384.hash(data: data) - return publicKey.isValidSignature(try getSignature(signature), for: hash) - } -} - -private func getSignature(_ data: Data) throws -> P384.Signing.ECDSASignature { - if let signature = try? P384.Signing.ECDSASignature(rawRepresentation: data) { - return signature - } else if let signature = try? P384.Signing.ECDSASignature(derRepresentation: data) { - return signature - } else { - throw CryptoError.invalidSignature - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES521Verifier.swift b/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES521Verifier.swift deleted file mode 100644 index 98ebb21..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES521Verifier.swift +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -struct ES521Verifier: Verifier { - var algorithm: String { SigningAlgorithm.ES512.rawValue } - - func verify(data: Data, signature: Data, key: JWK?) throws -> Bool { - guard - let x = key?.x, - let y = key?.y - else { throw CryptoError.notValidPublicKey } - let publicKey = try P521.Signing.PublicKey(rawRepresentation: x + y) - let hash = SHA512.hash(data: data) - return try publicKey.isValidSignature(getSignature(signature), for: hash) - } -} - -private func getSignature(_ data: Data) throws -> P521.Signing.ECDSASignature { - if let signature = try? P521.Signing.ECDSASignature(rawRepresentation: data) { - return signature - } else if let signature = try? P521.Signing.ECDSASignature(derRepresentation: data) { - return signature - } else { - throw CryptoError.invalidSignature - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/HMAC/Signers/HS256Signer.swift b/Sources/JSONWebAlgorithms/Signatures/HMAC/Signers/HS256Signer.swift deleted file mode 100644 index b8f0324..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/HMAC/Signers/HS256Signer.swift +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -struct HS256Signer: Signer { - var algorithm: String { SigningAlgorithm.HS256.rawValue } - - func sign(data: Data, key: JWK) throws -> Data { - guard let k = key.key else { throw CryptoError.notValidPrivateKey } - let symmetryKey = SymmetricKey(data: k) - return Data(HMAC.authenticationCode(for: data, using: symmetryKey)) - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/HMAC/Signers/HS384Signer.swift b/Sources/JSONWebAlgorithms/Signatures/HMAC/Signers/HS384Signer.swift deleted file mode 100644 index 794cc92..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/HMAC/Signers/HS384Signer.swift +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -struct HS384Signer: Signer { - var algorithm: String { SigningAlgorithm.HS384.rawValue } - - func sign(data: Data, key: JWK) throws -> Data { - guard let k = key.key else { throw CryptoError.notValidPrivateKey } - let symmetryKey = SymmetricKey(data: k) - return Data(HMAC.authenticationCode(for: data, using: symmetryKey)) - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/HMAC/Signers/HS512Signer.swift b/Sources/JSONWebAlgorithms/Signatures/HMAC/Signers/HS512Signer.swift deleted file mode 100644 index 027f1a4..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/HMAC/Signers/HS512Signer.swift +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -struct HS512Signer: Signer { - var algorithm: String { SigningAlgorithm.HS512.rawValue } - - func sign(data: Data, key: JWK) throws -> Data { - guard let k = key.key else { throw CryptoError.notValidPrivateKey } - let symmetryKey = SymmetricKey(data: k) - return Data(HMAC.authenticationCode(for: data, using: symmetryKey)) - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/HMAC/Verifiers/HS256Verifier.swift b/Sources/JSONWebAlgorithms/Signatures/HMAC/Verifiers/HS256Verifier.swift deleted file mode 100644 index 389737e..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/HMAC/Verifiers/HS256Verifier.swift +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -struct HS256Verifier: Verifier { - var algorithm: String { SigningAlgorithm.HS256.rawValue } - - func verify(data: Data, signature: Data, key: JWK?) throws -> Bool { - guard let k = key?.key else { throw CryptoError.notValidPrivateKey } - let symmetryKey = SymmetricKey(data: k) - return HMAC.isValidAuthenticationCode(signature, authenticating: data, using: symmetryKey) - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/HMAC/Verifiers/HS384Verifier.swift b/Sources/JSONWebAlgorithms/Signatures/HMAC/Verifiers/HS384Verifier.swift deleted file mode 100644 index f912ccb..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/HMAC/Verifiers/HS384Verifier.swift +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -struct HS384Verifier: Verifier { - var algorithm: String { SigningAlgorithm.HS384.rawValue } - - func verify(data: Data, signature: Data, key: JWK?) throws -> Bool { - guard let k = key?.key else { throw CryptoError.notValidPrivateKey } - let symmetryKey = SymmetricKey(data: k) - return HMAC.isValidAuthenticationCode(signature, authenticating: data, using: symmetryKey) - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/HMAC/Verifiers/HS512Verifier.swift b/Sources/JSONWebAlgorithms/Signatures/HMAC/Verifiers/HS512Verifier.swift deleted file mode 100644 index d71e32f..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/HMAC/Verifiers/HS512Verifier.swift +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey - -struct HS512Verifier: Verifier { - var algorithm: String { SigningAlgorithm.HS512.rawValue } - - func verify(data: Data, signature: Data, key: JWK?) throws -> Bool { - guard let k = key?.key else { throw CryptoError.notValidPrivateKey } - let symmetryKey = SymmetricKey(data: k) - return HMAC.isValidAuthenticationCode(signature, authenticating: data, using: symmetryKey) - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/MockedSigner.swift b/Sources/JSONWebAlgorithms/Signatures/MockedSigner.swift deleted file mode 100644 index 0c758ce..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/MockedSigner.swift +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebKey - -struct MockedSigner: Signer { - let algorithm: String - let algorithmDescription: String - func sign(data: Data, key: JWK) throws -> Data { - "MockedSignature".data(using: .utf8)! - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/MockedVerifier.swift b/Sources/JSONWebAlgorithms/Signatures/MockedVerifier.swift deleted file mode 100644 index f02eaaf..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/MockedVerifier.swift +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebKey - -struct MockedVerifier: Verifier { - let algorithm: String - let algorithmDescription: String - func verify(data: Data, signature: Data, key: JWK?) throws -> Bool { - false - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/RSA/Helpers/RSA+Security.swift b/Sources/JSONWebAlgorithms/Signatures/RSA/Helpers/RSA+Security.swift deleted file mode 100644 index 4c5561b..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/RSA/Helpers/RSA+Security.swift +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoSwift -import Foundation -import Security - -extension RSA { - func getSecKey() throws -> SecKey { - let raw = try externalRepresentation() - let attributes: [String:Any] = [ - kSecAttrKeyType as String: kSecAttrKeyTypeRSA, - kSecAttrKeyClass as String: d != nil ? kSecAttrKeyClassPrivate : kSecAttrKeyClassPublic, - kSecAttrKeySizeInBits as String: keySize, - kSecAttrIsPermanent as String: false - ] - var error:Unmanaged? = nil - guard let key = SecKeyCreateWithData( - raw as CFData, - attributes as CFDictionary, - &error - ) else { - let error = error?.takeUnretainedValue() - throw CryptoError.securityLayerError(internalStatus: (error as? NSError)?.code, internalError: (error as? NSError)) - } - return key - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/RSA/Signers/PS256Signer.swift b/Sources/JSONWebAlgorithms/Signatures/RSA/Signers/PS256Signer.swift deleted file mode 100644 index 9cd775e..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/RSA/Signers/PS256Signer.swift +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoSwift -import Foundation -import JSONWebKey - -struct PS256Signer: Signer { - var algorithm: String { SigningAlgorithm.PS256.rawValue } - - func sign(data: Data, key: JWK) throws -> Data { - guard - let n = key.n, - let e = key.e - else { throw CryptoError.notValidPrivateKey } - let privateKey: RSA - if - let p = key.p, - let q = key.q, - let d = key.d - { - privateKey = try RSA(n: BigUInteger(n), e: BigUInteger(e), d: BigUInteger(d), p: BigUInteger(p), q: BigUInteger(q)) - } else { - privateKey = RSA(n: BigUInteger(n), e: BigUInteger(e), d: key.d.map {BigUInteger($0)}) - } - - let secKey = try privateKey.getSecKey() - guard SecKeyIsAlgorithmSupported(secKey, .sign, .rsaSignatureMessagePSSSHA256) else { - throw CryptoError.algorithmNotSupported(alg: SecKeyAlgorithm.rsaSignatureMessagePSSSHA256.rawValue as String) - } - - var signingError: Unmanaged? - guard let signature = SecKeyCreateSignature(secKey, .rsaSignatureMessagePSSSHA256, data as CFData, &signingError) else { - let error = signingError?.takeRetainedValue() as? NSError - throw CryptoError.securityLayerError(internalStatus: error?.code, internalError: error) - } - - return signature as Data - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/RSA/Signers/PS384Signer.swift b/Sources/JSONWebAlgorithms/Signatures/RSA/Signers/PS384Signer.swift deleted file mode 100644 index f94aa12..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/RSA/Signers/PS384Signer.swift +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoSwift -import Foundation -import JSONWebKey - -struct PS384Signer: Signer { - var algorithm: String { SigningAlgorithm.PS384.rawValue } - - func sign(data: Data, key: JWK) throws -> Data { - guard - let n = key.n, - let e = key.e - else { throw CryptoError.notValidPrivateKey } - let privateKey: RSA - if - let p = key.p, - let q = key.q, - let d = key.d - { - privateKey = try RSA(n: BigUInteger(n), e: BigUInteger(e), d: BigUInteger(d), p: BigUInteger(p), q: BigUInteger(q)) - } else { - privateKey = RSA(n: BigUInteger(n), e: BigUInteger(e), d: key.d.map {BigUInteger($0)}) - } - - let secKey = try privateKey.getSecKey() - guard SecKeyIsAlgorithmSupported(secKey, .sign, .rsaSignatureMessagePSSSHA384) else { - throw CryptoError.algorithmNotSupported(alg: SecKeyAlgorithm.rsaSignatureMessagePSSSHA384.rawValue as String) - } - - var signingError: Unmanaged? - guard let signature = SecKeyCreateSignature(secKey, .rsaSignatureMessagePSSSHA384, data as CFData, &signingError) else { - let error = signingError?.takeRetainedValue() as? NSError - throw CryptoError.securityLayerError(internalStatus: error?.code, internalError: error) - } - - return signature as Data - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/RSA/Signers/PS512Signer.swift b/Sources/JSONWebAlgorithms/Signatures/RSA/Signers/PS512Signer.swift deleted file mode 100644 index 24738fc..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/RSA/Signers/PS512Signer.swift +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoSwift -import Foundation -import JSONWebKey - -struct PS512Signer: Signer { - var algorithm: String { SigningAlgorithm.PS512.rawValue } - - func sign(data: Data, key: JWK) throws -> Data { - guard - let n = key.n, - let e = key.e - else { throw CryptoError.notValidPrivateKey } - let privateKey: RSA - if - let p = key.p, - let q = key.q, - let d = key.d - { - privateKey = try RSA(n: BigUInteger(n), e: BigUInteger(e), d: BigUInteger(d), p: BigUInteger(p), q: BigUInteger(q)) - } else { - privateKey = RSA(n: BigUInteger(n), e: BigUInteger(e), d: key.d.map {BigUInteger($0)}) - } - - let secKey = try privateKey.getSecKey() - guard SecKeyIsAlgorithmSupported(secKey, .sign, .rsaSignatureMessagePSSSHA512) else { - throw CryptoError.algorithmNotSupported(alg: SecKeyAlgorithm.rsaSignatureMessagePSSSHA512.rawValue as String) - } - - var signingError: Unmanaged? - guard let signature = SecKeyCreateSignature(secKey, .rsaSignatureMessagePSSSHA512, data as CFData, &signingError) else { - let error = signingError?.takeRetainedValue() as? NSError - throw CryptoError.securityLayerError(internalStatus: error?.code, internalError: error) - } - - return signature as Data - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/RSA/Signers/RS256Signer.swift b/Sources/JSONWebAlgorithms/Signatures/RSA/Signers/RS256Signer.swift deleted file mode 100644 index d86e78b..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/RSA/Signers/RS256Signer.swift +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoSwift -import Foundation -import JSONWebKey - -struct RS256Signer: Signer { - var algorithm: String { SigningAlgorithm.RS256.rawValue } - - func sign(data: Data, key: JWK) throws -> Data { - guard - let n = key.n, - let e = key.e - else { throw CryptoError.notValidPrivateKey } - let privateKey: RSA - if - let p = key.p, - let q = key.q, - let d = key.d - { - privateKey = try RSA(n: BigUInteger(n), e: BigUInteger(e), d: BigUInteger(d), p: BigUInteger(p), q: BigUInteger(q)) - } else { - privateKey = RSA(n: BigUInteger(n), e: BigUInteger(e), d: key.d.map {BigUInteger($0)}) - } - - return try Data(privateKey.sign(data.bytes, variant: .message_pkcs1v15_SHA256)) - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/RSA/Signers/RS384Signer.swift b/Sources/JSONWebAlgorithms/Signatures/RSA/Signers/RS384Signer.swift deleted file mode 100644 index 25df972..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/RSA/Signers/RS384Signer.swift +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoSwift -import Foundation -import JSONWebKey - -struct RS384Signer: Signer { - var algorithm: String { SigningAlgorithm.RS384.rawValue } - - func sign(data: Data, key: JWK) throws -> Data { - guard - let n = key.n, - let e = key.e - else { throw CryptoError.notValidPrivateKey } - let privateKey: RSA - if - let p = key.p, - let q = key.q, - let d = key.d - { - privateKey = try RSA(n: BigUInteger(n), e: BigUInteger(e), d: BigUInteger(d), p: BigUInteger(p), q: BigUInteger(q)) - } else { - privateKey = RSA(n: BigUInteger(n), e: BigUInteger(e), d: key.d.map {BigUInteger($0)}) - } - - return try Data(privateKey.sign(data.bytes, variant: .message_pkcs1v15_SHA384)) - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/RSA/Signers/RS512Signer.swift b/Sources/JSONWebAlgorithms/Signatures/RSA/Signers/RS512Signer.swift deleted file mode 100644 index 6117974..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/RSA/Signers/RS512Signer.swift +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoSwift -import Foundation -import JSONWebKey - -struct RS512Signer: Signer { - var algorithm: String { SigningAlgorithm.RS512.rawValue } - - func sign(data: Data, key: JWK) throws -> Data { - guard - let n = key.n, - let e = key.e - else { throw CryptoError.notValidPrivateKey } - let privateKey: RSA - if - let p = key.p, - let q = key.q, - let d = key.d - { - privateKey = try RSA(n: BigUInteger(n), e: BigUInteger(e), d: BigUInteger(d), p: BigUInteger(p), q: BigUInteger(q)) - } else { - privateKey = RSA(n: BigUInteger(n), e: BigUInteger(e), d: key.d.map {BigUInteger($0)}) - } - - return try Data(privateKey.sign(data.bytes, variant: .message_pkcs1v15_SHA512)) - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/RSA/Verifiers/PS256Verifier.swift b/Sources/JSONWebAlgorithms/Signatures/RSA/Verifiers/PS256Verifier.swift deleted file mode 100644 index 6ab37ad..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/RSA/Verifiers/PS256Verifier.swift +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoSwift -import Foundation -import JSONWebKey - -struct PS256Verifier: Verifier { - var algorithm: String { SigningAlgorithm.PS256.rawValue } - - func verify(data: Data, signature: Data, key: JWK?) throws -> Bool { - guard - let n = key?.n, - let e = key?.e - else { throw CryptoError.notValidPrivateKey } - let publicKey: RSA - if - let p = key?.p, - let q = key?.q, - let d = key?.d - { - publicKey = try RSA(n: BigUInteger(n), e: BigUInteger(e), d: BigUInteger(d), p: BigUInteger(p), q: BigUInteger(q)) - } else { - publicKey = RSA(n: BigUInteger(n), e: BigUInteger(e), d: key?.d.map {BigUInteger($0)}) - } - - let secKey = try publicKey.getSecKey() - guard SecKeyIsAlgorithmSupported(secKey, .sign, .rsaSignatureMessagePSSSHA256) else { - throw CryptoError.algorithmNotSupported(alg: SecKeyAlgorithm.rsaSignatureMessagePSSSHA256.rawValue as String) - } - - var verificationError: Unmanaged? - let result = SecKeyVerifySignature( - secKey, - .rsaSignatureMessagePSSSHA256, - data as CFData, - signature as CFData, - &verificationError - ) - if let error = verificationError?.takeRetainedValue() as? NSError { - throw CryptoError.securityLayerError(internalStatus: error.code, internalError: error) - } - - return result - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/RSA/Verifiers/PS384Verifier.swift b/Sources/JSONWebAlgorithms/Signatures/RSA/Verifiers/PS384Verifier.swift deleted file mode 100644 index 1f77d22..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/RSA/Verifiers/PS384Verifier.swift +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoSwift -import Foundation -import JSONWebKey - -struct PS384Verifier: Verifier { - var algorithm: String { SigningAlgorithm.PS384.rawValue } - - func verify(data: Data, signature: Data, key: JWK?) throws -> Bool { - guard - let n = key?.n, - let e = key?.e - else { throw CryptoError.notValidPrivateKey } - let publicKey: RSA - if - let p = key?.p, - let q = key?.q, - let d = key?.d - { - publicKey = try RSA(n: BigUInteger(n), e: BigUInteger(e), d: BigUInteger(d), p: BigUInteger(p), q: BigUInteger(q)) - } else { - publicKey = RSA(n: BigUInteger(n), e: BigUInteger(e), d: key?.d.map {BigUInteger($0)}) - } - - let secKey = try publicKey.getSecKey() - guard SecKeyIsAlgorithmSupported(secKey, .sign, .rsaSignatureMessagePSSSHA384) else { - throw CryptoError.algorithmNotSupported(alg: SecKeyAlgorithm.rsaSignatureMessagePSSSHA384.rawValue as String) - } - - var verificationError: Unmanaged? - let result = SecKeyVerifySignature( - secKey, - .rsaSignatureMessagePSSSHA384, - data as CFData, - signature as CFData, - &verificationError - ) - if let error = verificationError?.takeRetainedValue() as? NSError { - throw CryptoError.securityLayerError(internalStatus: error.code, internalError: error) - } - - return result - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/RSA/Verifiers/PS512Verifier.swift b/Sources/JSONWebAlgorithms/Signatures/RSA/Verifiers/PS512Verifier.swift deleted file mode 100644 index 9590af4..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/RSA/Verifiers/PS512Verifier.swift +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoSwift -import Foundation -import JSONWebKey - -struct PS512Verifier: Verifier { - var algorithm: String { SigningAlgorithm.PS512.rawValue } - - func verify(data: Data, signature: Data, key: JWK?) throws -> Bool { - guard - let n = key?.n, - let e = key?.e - else { throw CryptoError.notValidPrivateKey } - let publicKey: RSA - if - let p = key?.p, - let q = key?.q, - let d = key?.d - { - publicKey = try RSA(n: BigUInteger(n), e: BigUInteger(e), d: BigUInteger(d), p: BigUInteger(p), q: BigUInteger(q)) - } else { - publicKey = RSA(n: BigUInteger(n), e: BigUInteger(e), d: key?.d.map {BigUInteger($0)}) - } - - let secKey = try publicKey.getSecKey() - guard SecKeyIsAlgorithmSupported(secKey, .sign, .rsaSignatureMessagePSSSHA512) else { - throw CryptoError.algorithmNotSupported(alg: SecKeyAlgorithm.rsaSignatureMessagePSSSHA512.rawValue as String) - } - - var verificationError: Unmanaged? - let result = SecKeyVerifySignature( - secKey, - .rsaSignatureMessagePSSSHA512, - data as CFData, - signature as CFData, - &verificationError - ) - if let error = verificationError?.takeRetainedValue() as? NSError { - throw CryptoError.securityLayerError(internalStatus: error.code, internalError: error) - } - - return result - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/RSA/Verifiers/RS256Verifier.swift b/Sources/JSONWebAlgorithms/Signatures/RSA/Verifiers/RS256Verifier.swift deleted file mode 100644 index 8f873e9..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/RSA/Verifiers/RS256Verifier.swift +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoSwift -import Foundation -import JSONWebKey - -struct RS256Verifier: Verifier { - var algorithm: String { SigningAlgorithm.RS256.rawValue } - - func verify(data: Data, signature: Data, key: JWK?) throws -> Bool { - guard - let n = key?.n, - let e = key?.e - else { throw CryptoError.notValidPrivateKey } - let publicKey: RSA - if - let p = key?.p, - let q = key?.q, - let d = key?.d - { - publicKey = try RSA(n: BigUInteger(n), e: BigUInteger(e), d: BigUInteger(d), p: BigUInteger(p), q: BigUInteger(q)) - } else { - publicKey = RSA(n: BigUInteger(n), e: BigUInteger(e), d: key?.d.map {BigUInteger($0)}) - } - - return try publicKey.verify(signature: signature.bytes, for: data.bytes, variant: .message_pkcs1v15_SHA256) - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/RSA/Verifiers/RS384Verifier.swift b/Sources/JSONWebAlgorithms/Signatures/RSA/Verifiers/RS384Verifier.swift deleted file mode 100644 index fff703f..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/RSA/Verifiers/RS384Verifier.swift +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoSwift -import Foundation -import JSONWebKey - -struct RS384Verifier: Verifier { - var algorithm: String { SigningAlgorithm.RS384.rawValue } - - func verify(data: Data, signature: Data, key: JWK?) throws -> Bool { - guard - let n = key?.n, - let e = key?.e - else { throw CryptoError.notValidPrivateKey } - let publicKey: RSA - if - let p = key?.p, - let q = key?.q, - let d = key?.d - { - publicKey = try RSA(n: BigUInteger(n), e: BigUInteger(e), d: BigUInteger(d), p: BigUInteger(p), q: BigUInteger(q)) - } else { - publicKey = RSA(n: BigUInteger(n), e: BigUInteger(e), d: key?.d.map {BigUInteger($0)}) - } - - return try publicKey.verify(signature: signature.bytes, for: data.bytes, variant: .message_pkcs1v15_SHA384) - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/RSA/Verifiers/RS512Verifier.swift b/Sources/JSONWebAlgorithms/Signatures/RSA/Verifiers/RS512Verifier.swift deleted file mode 100644 index 4abcece..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/RSA/Verifiers/RS512Verifier.swift +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoSwift -import Foundation -import JSONWebKey - -struct RS512Verifier: Verifier { - var algorithm: String { SigningAlgorithm.RS512.rawValue } - - func verify(data: Data, signature: Data, key: JWK?) throws -> Bool { - guard - let n = key?.n, - let e = key?.e - else { throw CryptoError.notValidPrivateKey } - let publicKey: RSA - if - let p = key?.p, - let q = key?.q, - let d = key?.d - { - publicKey = try RSA(n: BigUInteger(n), e: BigUInteger(e), d: BigUInteger(d), p: BigUInteger(p), q: BigUInteger(q)) - } else { - publicKey = RSA(n: BigUInteger(n), e: BigUInteger(e), d: key?.d.map {BigUInteger($0)}) - } - - return try publicKey.verify(signature: signature.bytes, for: data.bytes, variant: .message_pkcs1v15_SHA512) - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/Signer.swift b/Sources/JSONWebAlgorithms/Signatures/Signer.swift deleted file mode 100644 index 1e77184..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/Signer.swift +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebKey - -public protocol Signer { - var algorithm: String { get } - func sign(data: Data, key: JWK) throws -> Data -} diff --git a/Sources/JSONWebAlgorithms/Signatures/SigningAlgorithm.swift b/Sources/JSONWebAlgorithms/Signatures/SigningAlgorithm.swift deleted file mode 100644 index b17cdca..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/SigningAlgorithm.swift +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation - -/// `SigningAlgorithm` represents the various supported algorithms for signing in a JSON Web Signature (JWS). -/// Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs). -/// - `HS256`, `HS384`, `HS512`: HMAC (Hash-based Message Authentication Code) using SHA-256, SHA-384, and SHA-512 hash functions, respectively. -/// - `RS256`, `RS384`, `RS512`: RSASSA-PKCS1-v1_5 signature algorithm using SHA-256, SHA-384, and SHA-512 hash functions, respectively. -/// - `ES256`, `ES384`, `ES512`: ECDSA (Elliptic Curve Digital Signature Algorithm) using P-256, P-384, and P-521 curves along with SHA-256, SHA-384, and SHA-512 hash functions, respectively. -/// - `ES256K`: ECDSA using the secp256k1 curve and SHA-256 hash function. -/// - `PS256`, `PS384`, `PS512`: RSASSA-PSS (RSA Probabilistic Signature Scheme) using SHA-256, SHA-384, and SHA-512 hash functions, respectively, and MGF1 (Mask Generation Function 1). -/// - `none`: Represents the absence of a digital signature or MAC. -/// - `invalid`: A placeholder for an invalid or unsupported algorithm, useful for error handling or invalid state representation. -public enum SigningAlgorithm: String, Codable { - /// HMAC using SHA-256 - case HS256 = "HS256" - - /// HMAC using SHA-384 - case HS384 = "HS384" - - /// HMAC using SHA-512 - case HS512 = "HS512" - - /// RSASSA-PKCS1-v1_5 using SHA-256 - case RS256 = "RS256" - - /// RSASSA-PKCS1-v1_5 using SHA-384 - case RS384 = "RS384" - - /// RSASSA-PKCS1-v1_5 using SHA-512 - case RS512 = "RS512" - - /// ECDSA using P-256 and SHA-256 - case ES256 = "ES256" - - /// ECDSA using P-384 and SHA-384 - case ES384 = "ES384" - - /// ECDSA using P-521 and SHA-512 - case ES512 = "ES512" - - /// ECDSA using secp256k1 and SHA-256 - case ES256K = "ES256K" - - /// RSASSA-PSS using SHA-256 and MGF1 with SHA-256 - case PS256 = "PS256" - - /// RSASSA-PSS using SHA-384 and MGF1 with SHA-384 - case PS384 = "PS384" - - /// RSASSA-PSS using SHA-512 and MGF1 with SHA-512 - case PS512 = "PS512" - - /// EdDSA using Ed25519 - case EdDSA = "EdDSA" - - /// No digital signature or MAC performed - case none = "none" - - /// Invalid algorithm that will always fail - case invalid = "invalid" - - public var cryptoSigner: Signer? { - switch self { - case .HS256: - return HS256Signer() - case .HS384: - return HS384Signer() - case .HS512: - return HS512Signer() - case .RS256: - return RS256Signer() - case .RS384: - return RS384Signer() - case .RS512: - return RS512Signer() - case .ES256: - return ES256Signer() - case .ES384: - return ES384Signer() - case .ES512: - return ES512Signer() - case .ES256K: - return ES256KSigner() - case .PS256: - return PS256Signer() - case .PS384: - return PS384Signer() - case .PS512: - return PS512Signer() - case .EdDSA: - return EdDSASigner() - case .none: - return nil - case .invalid: - return nil - } - } - - public var cryptoVerifier: Verifier? { - switch self { - case .HS256: - return HS256Verifier() - case .HS384: - return HS384Verifier() - case .HS512: - return HS512Verifier() - case .RS256: - return RS256Verifier() - case .RS384: - return RS384Verifier() - case .RS512: - return RS512Verifier() - case .ES256: - return ES256Verifier() - case .ES384: - return ES384Verifier() - case .ES512: - return ES521Verifier() - case .ES256K: - return ES256KVerifier() - case .PS256: - return PS256Verifier() - case .PS384: - return PS384Verifier() - case .PS512: - return PS512Verifier() - case .EdDSA: - return EdDSAVerifier() - case .none: - return nil - case .invalid: - return nil - } - } -} diff --git a/Sources/JSONWebAlgorithms/Signatures/Verifier.swift b/Sources/JSONWebAlgorithms/Signatures/Verifier.swift deleted file mode 100644 index 5c4b331..0000000 --- a/Sources/JSONWebAlgorithms/Signatures/Verifier.swift +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebKey - -public protocol Verifier { - var algorithm: String { get } - func verify(data: Data, signature: Data, key: JWK?) throws -> Bool -} diff --git a/Sources/JSONWebEncryption/DefaultJWEHeaderImpl+Codable.swift b/Sources/JSONWebEncryption/DefaultJWEHeaderImpl+Codable.swift deleted file mode 100644 index 5011f61..0000000 --- a/Sources/JSONWebEncryption/DefaultJWEHeaderImpl+Codable.swift +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey -import Tools - -extension DefaultJWEHeaderImpl: Codable { - enum CodingKeys: String, CodingKey { - case keyManagementAlgorithm = "alg" - case encodingAlgorithm = "enc" - case compressionAlgorithm = "zip" - case jwkSetURL = "jku" - case jwk - case keyID = "kid" - case x509URL = "x5u" - case x509CertificateChain = "x5c" - case x509CertificateSHA1Thumbprint = "x5t" - case x509CertificateSHA256Thumbprint = "x5t#S256" - case type = "typ" - case contentType = "cty" - case critical = "crit" - case initializationVector = "iv" - case authenticationTag = "tag" - case ephemeralPublicKey = "epk" - case agreementPartyUInfo = "apu" - case agreementPartyVInfo = "apv" - case pbes2SaltInput = "p2s" - case pbes2Count = "p2c" - case senderKeyID = "skid" - } - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(keyManagementAlgorithm, forKey: .keyManagementAlgorithm) - try container.encodeIfPresent(encodingAlgorithm, forKey: .encodingAlgorithm) - try container.encodeIfPresent(compressionAlgorithm, forKey: .compressionAlgorithm) - try container.encodeIfPresent(jwkSetURL, forKey: .jwkSetURL) - try container.encodeIfPresent(jwk, forKey: .jwk) - try container.encodeIfPresent(keyID, forKey: .keyID) - try container.encodeIfPresent(x509URL, forKey: .x509URL) - try container.encodeIfPresent(x509CertificateChain, forKey: .x509CertificateChain) - try container.encodeIfPresent(x509CertificateSHA1Thumbprint, forKey: .x509CertificateSHA1Thumbprint) - try container.encodeIfPresent(x509CertificateSHA256Thumbprint, forKey: .x509CertificateSHA256Thumbprint) - try container.encodeIfPresent(ephemeralPublicKey, forKey: .ephemeralPublicKey) - try container.encodeIfPresent(type, forKey: .type) - try container.encodeIfPresent(contentType, forKey: .contentType) - try container.encodeIfPresent(critical, forKey: .critical) - try initializationVector.map { - try container.encodeIfPresent(Base64URL.encode($0), forKey: .initializationVector) - } - try authenticationTag.map { - try container.encodeIfPresent(Base64URL.encode($0), forKey: .authenticationTag) - } - try agreementPartyUInfo.map { - try container.encodeIfPresent(Base64URL.encode($0), forKey: .agreementPartyUInfo) - } - try agreementPartyVInfo.map { - try container.encodeIfPresent(Base64URL.encode($0), forKey: .agreementPartyVInfo) - } - try pbes2SaltInput.map { - try container.encodeIfPresent(Base64URL.encode($0), forKey: .pbes2SaltInput) - } - try pbes2SaltCount.map { - try container.encodeIfPresent(Base64URL.encode($0), forKey: .pbes2Count) - } - try container.encodeIfPresent(senderKeyID, forKey: .senderKeyID) - } - - public init(from decoder: Decoder) throws { - let container = try decoder.container(keyedBy: CodingKeys.self) - keyManagementAlgorithm = try container.decodeIfPresent(KeyManagementAlgorithm.self, forKey: .keyManagementAlgorithm) - encodingAlgorithm = try container.decodeIfPresent(ContentEncryptionAlgorithm.self, forKey: .encodingAlgorithm) - compressionAlgorithm = try container.decodeIfPresent(ContentCompressionAlgorithm.self, forKey: .compressionAlgorithm) - jwkSetURL = try container.decodeIfPresent(String.self, forKey: .jwkSetURL) - jwk = try container.decodeIfPresent(JWK.self, forKey: .jwk) - keyID = try container.decodeIfPresent(String.self, forKey: .keyID) - x509URL = try container.decodeIfPresent(String.self, forKey: .x509URL) - x509CertificateChain = try container.decodeIfPresent(String.self, forKey: .x509CertificateChain) - x509CertificateSHA1Thumbprint = try container.decodeIfPresent(String.self, forKey: .x509CertificateSHA1Thumbprint) - x509CertificateSHA256Thumbprint = try container.decodeIfPresent(String.self, forKey: .x509CertificateSHA256Thumbprint) - ephemeralPublicKey = try container.decodeIfPresent(JWK.self, forKey: .ephemeralPublicKey) - type = try container.decodeIfPresent(String.self, forKey: .type) - contentType = try container.decodeIfPresent(String.self, forKey: .contentType) - critical = try container.decodeIfPresent(String.self, forKey: .critical) - senderKeyID = try container.decodeIfPresent(String.self, forKey: .senderKeyID) - let initializationVectorBase64Url = try container.decodeIfPresent(String.self, forKey: .initializationVector) - initializationVector = try initializationVectorBase64Url.map { try Base64URL.decode($0) } - let autheticationTagBase64Url = try container.decodeIfPresent(String.self, forKey: .authenticationTag) - authenticationTag = try autheticationTagBase64Url.map { try Base64URL.decode($0) } - let partyUInfoBase64Url = try container.decodeIfPresent(String.self, forKey: .agreementPartyUInfo) - agreementPartyUInfo = try partyUInfoBase64Url.map { try Base64URL.decode($0) } - let partyVInfoBase64Url = try container.decodeIfPresent(String.self, forKey: .agreementPartyVInfo) - agreementPartyVInfo = try partyVInfoBase64Url.map { try Base64URL.decode($0) } - let pbes2SaltInputBase64Url = try container.decodeIfPresent(String.self, forKey: .pbes2SaltInput) - pbes2SaltInput = try pbes2SaltInputBase64Url.map { try Base64URL.decode($0) } - let pbes2SaltCountBase64Url = try container.decodeIfPresent(String.self, forKey: .initializationVector) - pbes2SaltCount = try pbes2SaltCountBase64Url.map { try Base64URL.decode($0) } - } -} diff --git a/Sources/JSONWebEncryption/EncryptionModule/Decryptors/AESDecryptor.swift b/Sources/JSONWebEncryption/EncryptionModule/Decryptors/AESDecryptor.swift deleted file mode 100644 index bb17d45..0000000 --- a/Sources/JSONWebEncryption/EncryptionModule/Decryptors/AESDecryptor.swift +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey -import Tools - -struct AESJWEDecryptor: JWEDecryptor { - var supportedKeyManagmentAlgorithms: [KeyManagementAlgorithm] = [ - .a128KW, - .a192KW, - .a256KW, - .a128GCMKW, - .a192GCMKW, - .a256GCMKW - ] - - var supportedContentEncryptionAlgorithms: [ContentEncryptionAlgorithm] = [ - .a128GCM, - .a192GCM, - .a256GCM, - .a128CBCHS256, - .a192CBCHS384, - .a256CBCHS512 - ] - - func decrypt< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader - >( - protectedHeader: P?, - unprotectedHeader: U?, - cipher: Data, - recipientHeader: R?, - encryptedKey: Data?, - initializationVector: Data?, - authenticationTag: Data?, - additionalAuthenticationData: Data?, - senderKey: JWK?, - recipientKey: JWK?, - sharedKey: JWK? - ) throws -> Data { - guard let alg = getKeyAlgorithm( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingKeyAlgorithm - } - - guard let enc = getEncoding( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingContentEncryptionAlgorithm - } - - guard isSupported( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader, - supportedKeyAlgorithms: supportedKeyManagmentAlgorithms, - supportedContentEncryptionAlgorithms: supportedContentEncryptionAlgorithms - ) else { - throw JWE.JWEError.decryptionNotSupported( - alg: alg, - enc: enc, - supportedAlgs: supportedKeyManagmentAlgorithms, - supportedEnc: supportedContentEncryptionAlgorithms - ) - } - - guard let kek = sharedKey ?? recipientKey else{ - throw JWE.JWEError.missingKek - } - - guard let encryptedKey else { - throw JWE.JWEError.missingEncryptedKey - } - - guard let contentIv = initializationVector else { - throw JWE.JWEError.missingContentIV - } - - guard let contentTag = authenticationTag else { - throw JWE.JWEError.missingContentAuthenticationTag - } - - let cek: Data - switch alg { - case .a128KW, .a192KW, .a256KW: - guard - let cekAux = try alg.unwrapper?.contentKeyDecrypt( - encryptedKey: encryptedKey, - using: kek, - arguments: [] - ) - else { - throw JWE.JWEError.internalErrorUnWrapperMissingFor(alg: alg) - } - cek = cekAux - case .a128GCMKW, .a192GCMKW, .a256GCMKW: - guard let keyIv = getKeyEncryptionInitializationVector( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingKeyIV - } - guard let keyTag = getKeyEncryptionAuthenticationTag( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingKeyTag - } - guard - let cekAux = try alg.unwrapper?.contentKeyDecrypt( - encryptedKey: encryptedKey, - using: kek, - arguments: [ - .initializationVector(keyIv), - .authenticationTag(keyTag) - ] - ) - else { - throw JWE.JWEError.internalErrorUnWrapperMissingFor(alg: alg) - } - cek = cekAux - default: - throw JWE.JWEError.unsupportedOperation(alg: alg, enc: enc) - } - - let aad = try AAD.computeAAD(header: protectedHeader, aad: additionalAuthenticationData) - - let payload = try enc.decryptor.decrypt( - cipher: cipher, - using: cek, - arguments: [ - .initializationVector(contentIv), - .additionalAuthenticationData(aad), - .authenticationTag(contentTag) - ] - ) - - return try getContentCompressionAlg( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - )?.decompressor.decompress(input: payload) ?? payload - } -} diff --git a/Sources/JSONWebEncryption/EncryptionModule/Decryptors/DirectDecryptor.swift b/Sources/JSONWebEncryption/EncryptionModule/Decryptors/DirectDecryptor.swift deleted file mode 100644 index 02ec001..0000000 --- a/Sources/JSONWebEncryption/EncryptionModule/Decryptors/DirectDecryptor.swift +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey - -struct DirectJWEDecryptor: JWEDecryptor { - - var supportedKeyManagmentAlgorithms: [KeyManagementAlgorithm] = [ - .direct - ] - - var supportedContentEncryptionAlgorithms: [ContentEncryptionAlgorithm] = [ - .a128GCM, - .a192GCM, - .a256GCM, - .a128CBCHS256, - .a192CBCHS384, - .a256CBCHS512 - ] - - func decrypt< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader - >( - protectedHeader: P?, - unprotectedHeader: U?, - cipher: Data, - recipientHeader: R?, - encryptedKey: Data?, - initializationVector: Data?, - authenticationTag: Data?, - additionalAuthenticationData: Data?, - senderKey: JWK?, - recipientKey: JWK?, - sharedKey: JWK? - ) throws -> Data { - guard let enc = getEncoding( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingContentEncryptionAlgorithm - } - - guard isSupported( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader, - supportedKeyAlgorithms: supportedKeyManagmentAlgorithms, - supportedContentEncryptionAlgorithms: supportedContentEncryptionAlgorithms - ) else { - throw JWE.JWEError.decryptionNotSupported( - alg: nil, - enc: enc, - supportedAlgs: supportedKeyManagmentAlgorithms, - supportedEnc: supportedContentEncryptionAlgorithms - ) - } - - guard let contentIv = initializationVector else { - throw JWE.JWEError.missingContentIV - } - - guard let contentTag = authenticationTag else { - throw JWE.JWEError.missingContentAuthenticationTag - } - - guard let cek = sharedKey?.key else { - throw JWE.JWEError.missingCek - } - - let aad = try AAD.computeAAD(header: protectedHeader, aad: additionalAuthenticationData) - - let payload = try enc.decryptor.decrypt( - cipher: cipher, - using: cek, - arguments: [ - .initializationVector(contentIv), - .additionalAuthenticationData(aad), - .authenticationTag(contentTag) - ] - ) - return try getContentCompressionAlg( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - )?.decompressor.decompress(input: payload) ?? payload - } -} diff --git a/Sources/JSONWebEncryption/EncryptionModule/Decryptors/ECDH1PUDecryptor.swift b/Sources/JSONWebEncryption/EncryptionModule/Decryptors/ECDH1PUDecryptor.swift deleted file mode 100644 index b13d1a9..0000000 --- a/Sources/JSONWebEncryption/EncryptionModule/Decryptors/ECDH1PUDecryptor.swift +++ /dev/null @@ -1,302 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey -import Tools - -struct ECDH1PUJWEDecryptor: JWEDecryptor { - - var supportedKeyManagmentAlgorithms: [KeyManagementAlgorithm] = [ - .ecdh1PU, - .ecdh1PUA128KW, - .ecdh1PUA192KW, - .ecdh1PUA256KW - ] - - var supportedContentEncryptionAlgorithms: [ContentEncryptionAlgorithm] = [ - .a128GCM, - .a192GCM, - .a256GCM, - .a128CBCHS256, - .a192CBCHS384, - .a256CBCHS512 - ] - - func decrypt< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader - >( - protectedHeader: P?, - unprotectedHeader: U?, - cipher: Data, - recipientHeader: R?, - encryptedKey: Data?, - initializationVector: Data?, - authenticationTag: Data?, - additionalAuthenticationData: Data?, - senderKey: JWK?, - recipientKey: JWK?, - sharedKey: JWK? - ) throws -> Data { - guard let alg = getKeyAlgorithm( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingKeyAlgorithm - } - - guard let enc = getEncoding( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingContentEncryptionAlgorithm - } - - guard isSupported( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader, - supportedKeyAlgorithms: supportedKeyManagmentAlgorithms, - supportedContentEncryptionAlgorithms: supportedContentEncryptionAlgorithms - ) else { - throw JWE.JWEError.decryptionNotSupported( - alg: alg, - enc: enc, - supportedAlgs: supportedKeyManagmentAlgorithms, - supportedEnc: supportedContentEncryptionAlgorithms - ) - } - - guard let senderKey else{ - throw JWE.JWEError.missingSenderKey - } - - guard let recipientKey else{ - throw JWE.JWEError.missingRecipientKey - } - - guard let ephemeralKey = getEphemeralKey( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - )?.publicKey else { - throw JWE.JWEError.missingEphemeralKey - } - - guard - let secretKeyZ = try alg - .agreement? - .agreeUponZ( - privateKey: recipientKey, - publicKey: senderKey, - ephemeralKey: ephemeralKey, - sender: false - ) - else { - throw JWE.JWEError.internalErrorAgreementNotAvailableFor(alg: alg) - } - - let aad = try AAD.computeAAD(header: protectedHeader, aad: additionalAuthenticationData) - - return try decryptWithZ( - keyZ: secretKeyZ, - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - cipher: cipher, - recipientHeader: recipientHeader, - encryptedKey: encryptedKey, - initializationVector: initializationVector, - authenticationTag: authenticationTag, - additionalAuthenticationData: aad - ) - } - - private func decryptWithZ< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader - >( - keyZ: Data, - protectedHeader: P?, - unprotectedHeader: U?, - cipher: Data, - recipientHeader: R?, - encryptedKey: Data?, - initializationVector: Data?, - authenticationTag: Data?, - additionalAuthenticationData: Data - ) throws -> Data { - guard let alg = getKeyAlgorithm( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingKeyAlgorithm - } - - guard let enc = getEncoding( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingContentEncryptionAlgorithm - } - - guard let contentIv = initializationVector else { - throw JWE.JWEError.missingContentIV - } - - guard let contentTag = authenticationTag else { - throw JWE.JWEError.missingContentAuthenticationTag - } - - let cek: Data - - if let keyDecryptor = alg.unwrapper { - guard let encryptedKey else { - throw JWE.JWEError.missingEncryptedKey - } - - let sharedKey = try deriveSharedKey( - sharedKey: keyZ, - keyLengthInBits: try sharedKeyLength( - keyManagementAlgo: alg, - encryptionAlgorithm: enc - ), - keyAlgorithm: alg, - encodingAlgorithm: enc, - partyUInfo: getPartyUInfo( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ), - partyVInfo: getPartyVInfo( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ), - authenticationTag: contentTag - ) - cek = try keyDecryptor.contentKeyDecrypt( - encryptedKey: encryptedKey, - using: .init(keyType: .octetSequence, key: sharedKey), - arguments: [] - ) - } else { - cek = try deriveSharedKey( - sharedKey: keyZ, - keyLengthInBits: try sharedKeyLength( - keyManagementAlgo: alg, - encryptionAlgorithm: enc - ), - keyAlgorithm: alg, - encodingAlgorithm: enc, - partyUInfo: getPartyUInfo( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ), - partyVInfo: getPartyVInfo( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ), - authenticationTag: nil, - isDirect: true - ) - } - - let payload = try enc.decryptor.decrypt( - cipher: cipher, - using: cek, - arguments: [ - .initializationVector(contentIv), - .authenticationTag(contentTag), - .additionalAuthenticationData(additionalAuthenticationData) - ] - ) - - return try getContentCompressionAlg( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - )?.decompressor.decompress(input: payload) ?? payload - } - - private func deriveSharedKey( - sharedKey: Data, - keyLengthInBits: Int, - keyAlgorithm: KeyManagementAlgorithm, - encodingAlgorithm: ContentEncryptionAlgorithm, - partyUInfo: Data?, - partyVInfo: Data?, - authenticationTag: Data?, - isDirect: Bool = false - ) throws -> Data { - guard - let derivation = keyAlgorithm.derivation - else { - throw JWE.JWEError.internalErrorDerivationNotAvailableFor(alg: keyAlgorithm) - } - let algorithmID: Data - if isDirect { - algorithmID = encodingAlgorithm.rawValue.data(using: .ascii) ?? .init() - } else { - algorithmID = keyAlgorithm.rawValue.data(using: .ascii) ?? .init() - } - - let tagData: Data - if isDirect { - tagData = .init() - } else { - tagData = authenticationTag ?? .init() - - } - - return try derivation.deriveKey( - key: sharedKey, - keyLengthInBits: keyLengthInBits, - algorithmId: algorithmID, - partyUInfo: partyUInfo ?? .init(), - partyVInfo: partyVInfo ?? .init(), - tag: tagData, - other: [:] - ) - } - - private func sharedKeyLength( - keyManagementAlgo: KeyManagementAlgorithm, - encryptionAlgorithm: ContentEncryptionAlgorithm - ) throws -> Int { - switch keyManagementAlgo { - case .ecdh1PU: - return encryptionAlgorithm.keySizeInBits - case .ecdh1PUA128KW: - return 128 - case .ecdh1PUA192KW: - return 192 - case .ecdh1PUA256KW: - return 256 - default: - throw JWE.JWEError.unsupportedOperation(alg: keyManagementAlgo, enc: encryptionAlgorithm) - } - } -} diff --git a/Sources/JSONWebEncryption/EncryptionModule/Decryptors/ECDHDecryptor.swift b/Sources/JSONWebEncryption/EncryptionModule/Decryptors/ECDHDecryptor.swift deleted file mode 100644 index 1c14b6f..0000000 --- a/Sources/JSONWebEncryption/EncryptionModule/Decryptors/ECDHDecryptor.swift +++ /dev/null @@ -1,269 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey -import Tools - -struct ECDHJWEDecryptor: JWEDecryptor { - - var supportedKeyManagmentAlgorithms: [KeyManagementAlgorithm] = [ - .ecdhES, - .ecdhESA128KW, - .ecdhESA192KW, - .ecdhESA256KW - ] - - var supportedContentEncryptionAlgorithms: [ContentEncryptionAlgorithm] = [ - .a128GCM, - .a192GCM, - .a256GCM, - .a128CBCHS256, - .a192CBCHS384, - .a256CBCHS512 - ] - - func decrypt< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader - >( - protectedHeader: P?, - unprotectedHeader: U?, - cipher: Data, - recipientHeader: R?, - encryptedKey: Data?, - initializationVector: Data?, - authenticationTag: Data?, - additionalAuthenticationData: Data?, - senderKey: JWK?, - recipientKey: JWK?, - sharedKey: JWK? - ) throws -> Data { - guard let alg = getKeyAlgorithm( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingKeyAlgorithm - } - - guard let enc = getEncoding( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingContentEncryptionAlgorithm - } - - guard isSupported( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader, - supportedKeyAlgorithms: supportedKeyManagmentAlgorithms, - supportedContentEncryptionAlgorithms: supportedContentEncryptionAlgorithms - ) else { - throw JWE.JWEError.decryptionNotSupported( - alg: alg, - enc: enc, - supportedAlgs: supportedKeyManagmentAlgorithms, - supportedEnc: supportedContentEncryptionAlgorithms - ) - } - - guard let recipientKey else{ - throw JWE.JWEError.missingRecipientKey - } - - guard - let ephemeralKey = getEphemeralKey( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - )?.publicKey - else { - throw JWE.JWEError.missingEphemeralKey - } - - guard - let secretKeyZ = try alg - .agreement? - .agreeUponZ( - privateKey: recipientKey, - publicKey: ephemeralKey, - ephemeralKey: nil, - sender: false - ) - else { - throw JWE.JWEError.internalErrorAgreementNotAvailableFor(alg: alg) - } - - let aad = try AAD.computeAAD(header: protectedHeader, aad: additionalAuthenticationData) - - return try decryptWithZ( - keyZ: secretKeyZ, - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - cipher: cipher, - recipientHeader: recipientHeader, - encryptedKey: encryptedKey, - initializationVector: initializationVector, - authenticationTag: authenticationTag, - additionalAuthenticationData: aad - ) - } - - private func decryptWithZ< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader - >( - keyZ: Data, - protectedHeader: P?, - unprotectedHeader: U?, - cipher: Data, - recipientHeader: R?, - encryptedKey: Data?, - initializationVector: Data?, - authenticationTag: Data?, - additionalAuthenticationData: Data - ) throws -> Data { - guard let alg = getKeyAlgorithm( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingKeyAlgorithm - } - - guard let enc = getEncoding( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingContentEncryptionAlgorithm - } - - guard let contentIv = initializationVector else { - throw JWE.JWEError.missingContentIV - } - - guard let contentTag = authenticationTag else { - throw JWE.JWEError.missingContentAuthenticationTag - } - - let sharedKey = try deriveSharedKey( - sharedKey: keyZ, - keyLengthInBits: try sharedKeyLength( - keyManagementAlgo: alg, - encryptionAlgorithm: enc - ), - keyAlgorithm: alg, - encodingAlgorithm: enc, - partyUInfo: getPartyUInfo( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ), - partyVInfo: getPartyVInfo( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) - ) - - let cek: Data - if let keyDecryptor = alg.unwrapper { - guard let encryptedKey else { - throw JWE.JWEError.missingEncryptedKey - } - - cek = try keyDecryptor.contentKeyDecrypt( - encryptedKey: encryptedKey, - using: .init(keyType: .octetSequence, key: sharedKey), - arguments: [] - ) - } else { - cek = sharedKey - } - - let payload = try enc.decryptor.decrypt( - cipher: cipher, - using: cek, - arguments: [ - .initializationVector(contentIv), - .authenticationTag(contentTag), - .additionalAuthenticationData(additionalAuthenticationData) - ] - ) - - return try getContentCompressionAlg( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - )?.decompressor.decompress(input: payload) ?? payload - } - - private func deriveSharedKey( - sharedKey: Data, - keyLengthInBits: Int, - keyAlgorithm: KeyManagementAlgorithm, - encodingAlgorithm: ContentEncryptionAlgorithm, - partyUInfo: Data?, - partyVInfo: Data? - ) throws -> Data { - guard - let derivation = keyAlgorithm.derivation - else { - throw JWE.JWEError.internalErrorDerivationNotAvailableFor(alg: keyAlgorithm) - } - let algorithmID: Data - if keyAlgorithm.wrapper != nil { - algorithmID = keyAlgorithm.rawValue.data(using: .ascii) ?? .init() - } else { - algorithmID = encodingAlgorithm.rawValue.data(using: .ascii) ?? .init() - } - - return try derivation.deriveKey( - key: sharedKey, - keyLengthInBits: keyLengthInBits, - algorithmId: algorithmID, - partyUInfo: partyUInfo ?? .init(), - partyVInfo: partyVInfo ?? .init(), - tag: Data(), - other: [:] - ) - } - - private func sharedKeyLength( - keyManagementAlgo: KeyManagementAlgorithm, - encryptionAlgorithm: ContentEncryptionAlgorithm - ) throws -> Int { - switch keyManagementAlgo { - case .ecdhES: - return encryptionAlgorithm.keySizeInBits - case .ecdhESA128KW: - return 128 - case .ecdhESA192KW: - return 192 - case .ecdhESA256KW: - return 256 - default: - throw JWE.JWEError.unsupportedOperation(alg: keyManagementAlgo, enc: encryptionAlgorithm) - } - } -} diff --git a/Sources/JSONWebEncryption/EncryptionModule/Decryptors/JWEDecryptor.swift b/Sources/JSONWebEncryption/EncryptionModule/Decryptors/JWEDecryptor.swift deleted file mode 100644 index b7e42cf..0000000 --- a/Sources/JSONWebEncryption/EncryptionModule/Decryptors/JWEDecryptor.swift +++ /dev/null @@ -1,202 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey - -public protocol JWEDecryptor { - var supportedKeyManagmentAlgorithms: [KeyManagementAlgorithm] { get } - var supportedContentEncryptionAlgorithms: [ContentEncryptionAlgorithm] { get } - - func decrypt< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader - >( - protectedHeader: P?, - unprotectedHeader: U?, - cipher: Data, - recipientHeader: R?, - encryptedKey: Data?, - initializationVector: Data?, - authenticationTag: Data?, - additionalAuthenticationData: Data?, - senderKey: JWK?, - recipientKey: JWK?, - sharedKey: JWK? - ) throws -> Data -} - -public protocol JWEMultiDecryptor { - func decrypt< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader - >( - protectedHeader: P?, - unprotectedHeader: U?, - cipher: Data, - recipients: [(header: R?, encryptedKey: Data?)], - initializationVector: Data?, - authenticationTag: Data?, - senderKey: JWK?, - recipientKey: JWK?, - sharedKey: JWK?, - additionalAuthenticationData: Data?, - tryAllRecipients: Bool, - encryptionModule: JWEEncryptionModule - ) throws -> Data -} - -extension JWEDecryptor { - func decrypt< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader - >( - protectedHeader: P? = nil as DefaultJWEHeaderImpl?, - unprotectedHeader: U? = nil as DefaultJWEHeaderImpl?, - cipher: Data, - recipientHeader: R? = nil as DefaultJWEHeaderImpl?, - encryptedKey: Data? = nil, - initializationVector: Data? = nil, - authenticationTag: Data? = nil, - additionalAuthenticationData: Data? = nil, - senderKey: JWK? = nil, - recipientKey: JWK? = nil, - sharedKey: JWK? = nil - ) throws -> Data { - try self.decrypt( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - cipher: cipher, - recipientHeader: recipientHeader, - encryptedKey: encryptedKey, - initializationVector: initializationVector, - authenticationTag: authenticationTag, - additionalAuthenticationData: additionalAuthenticationData, - senderKey: senderKey, - recipientKey: recipientKey, - sharedKey: sharedKey - ) - } - - func decrypt< - R: JWERegisteredFieldsHeader - >( - encodedProtectedHeader: Data?, - encodedUnprotectedHeaderData: Data?, - cipher: Data, - recipientHeader: R? = nil as DefaultJWEHeaderImpl?, - encryptedKey: Data?, - initializationVector: Data?, - authenticationTag: Data?, - additionalAuthenticationData: Data?, - senderKey: JWK?, - recipientKey: JWK?, - sharedKey: JWK? - ) throws -> Data { - let aad = try AAD.computeAAD(header: encodedProtectedHeader, aad: additionalAuthenticationData) - - return try self.decrypt( - protectedHeader: encodedProtectedHeader - .map { try JSONDecoder().decode(DefaultJWEHeaderImpl.self, from: $0) }, - unprotectedHeader: encodedUnprotectedHeaderData - .map { try JSONDecoder().decode(DefaultJWEHeaderImpl.self, from: $0) }, - cipher: cipher, - recipientHeader: recipientHeader, - encryptedKey: encryptedKey, - initializationVector: initializationVector, - authenticationTag: authenticationTag, - additionalAuthenticationData: aad, - senderKey: senderKey, - recipientKey: recipientKey, - sharedKey: sharedKey - ) - } -} - -extension JWEMultiDecryptor { - func decrypt< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader - >( - protectedHeader: P? = nil as DefaultJWEHeaderImpl?, - unprotectedHeader: U? = nil as DefaultJWEHeaderImpl?, - cipher: Data, - recipients: [(header: R?, encryptedKey: Data?)], - initializationVector: Data? = nil, - authenticationTag: Data? = nil, - senderKey: JWK? = nil, - recipientKey: JWK? = nil, - sharedKey: JWK? = nil, - additionalAuthenticationData: Data? = nil, - tryAllRecipients: Bool = false, - encryptionModule: JWEEncryptionModule = .default - ) throws -> Data { - try self.decrypt( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - cipher: cipher, - recipients: recipients, - initializationVector: initializationVector, - authenticationTag: authenticationTag, - senderKey: senderKey, - recipientKey: recipientKey, - sharedKey: sharedKey, - additionalAuthenticationData: additionalAuthenticationData, - tryAllRecipients: tryAllRecipients, - encryptionModule: encryptionModule - ) - } - - func decrypt< - R: JWERegisteredFieldsHeader - >( - encodedProtectedHeader: Data?, - encodedUnprotectedHeaderData: Data?, - cipher: Data, - recipients: [(header: R?, encryptedKey: Data?)], - initializationVector: Data?, - authenticationTag: Data?, - senderKey: JWK?, - recipientKey: JWK?, - sharedKey: JWK?, - additionalAuthenticationData: Data?, - tryAllRecipients: Bool = false, - encryptionModule: JWEEncryptionModule = .default - ) throws -> Data { - let aad = try AAD.computeAAD(header: encodedProtectedHeader, aad: additionalAuthenticationData) - return try self.decrypt( - protectedHeader: encodedProtectedHeader - .map { try JSONDecoder().decode(DefaultJWEHeaderImpl.self, from: $0) }, - unprotectedHeader: encodedUnprotectedHeaderData - .map { try JSONDecoder().decode(DefaultJWEHeaderImpl.self, from: $0) }, - cipher: cipher, - recipients: recipients, - initializationVector: initializationVector, - authenticationTag: authenticationTag, - senderKey: senderKey, - recipientKey: recipientKey, - sharedKey: sharedKey, - additionalAuthenticationData: aad, - tryAllRecipients: tryAllRecipients, - encryptionModule: encryptionModule - ) - } -} diff --git a/Sources/JSONWebEncryption/EncryptionModule/Decryptors/MultiDecryptor.swift b/Sources/JSONWebEncryption/EncryptionModule/Decryptors/MultiDecryptor.swift deleted file mode 100644 index b74b094..0000000 --- a/Sources/JSONWebEncryption/EncryptionModule/Decryptors/MultiDecryptor.swift +++ /dev/null @@ -1,149 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey - -struct MultiDecryptor: JWEMultiDecryptor { - func decrypt< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader - >( - protectedHeader: P?, - unprotectedHeader: U?, - cipher: Data, - recipients: [(header: R?, encryptedKey: Data?)], - initializationVector: Data?, - authenticationTag: Data?, - senderKey: JWK?, - recipientKey: JWK?, - sharedKey: JWK?, - additionalAuthenticationData: Data?, - tryAllRecipients: Bool, - encryptionModule: JWEEncryptionModule - ) throws -> Data { - let aad = try AAD.computeAAD(header: protectedHeader, aad: additionalAuthenticationData) - - guard let key = recipientKey ?? sharedKey else { - throw JWE.JWEError.missingRecipientKey - } - - guard !tryAllRecipients else { - let recipient = try recipients.first { - guard let alg = getKeyAlgorithm( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: $0.header - ) else { - throw JWE.JWEError.missingKeyAlgorithm - } - - return (try? encryptionModule.decryptor(alg: alg).decrypt( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - cipher: cipher, - recipientHeader: $0.header, - encryptedKey: $0.encryptedKey, - initializationVector: initializationVector, - authenticationTag: authenticationTag, - additionalAuthenticationData: aad, - senderKey: senderKey, - recipientKey: recipientKey, - sharedKey: sharedKey - )) != nil - } - - guard let recipient else { - throw JWE.JWEError.recipientCannotBeFoundFor(jwk: key) - } - - guard let alg = getKeyAlgorithm( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipient.header - ) else { - throw JWE.JWEError.missingKeyAlgorithm - } - - return try encryptionModule.decryptor(alg: alg).decrypt( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - cipher: cipher, - recipientHeader: recipient.header, - encryptedKey: recipient.encryptedKey, - initializationVector: initializationVector, - authenticationTag: authenticationTag, - additionalAuthenticationData: aad, - senderKey: senderKey, - recipientKey: recipientKey, - sharedKey: sharedKey - ) - } - - guard let recipient = getRecipient( - recipients: recipients, - jwk: key, - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader - ) else { - throw JWE.JWEError.recipientCannotBeFoundFor(jwk: key) - } - - guard let alg = getKeyAlgorithm( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipient.header - ) else { - throw JWE.JWEError.missingKeyAlgorithm - } - - return try encryptionModule.decryptor(alg: alg).decrypt( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - cipher: cipher, - recipientHeader: recipient.header, - encryptedKey: recipient.encryptedKey, - initializationVector: initializationVector, - authenticationTag: authenticationTag, - additionalAuthenticationData: aad, - senderKey: senderKey, - recipientKey: recipientKey, - sharedKey: sharedKey - ) - } -} - -private func getRecipient( - recipients: [(header: R?, encryptedKey: Data?)], - jwk: JWK?, - protectedHeader: JWERegisteredFieldsHeader?, - unprotectedHeader: JWERegisteredFieldsHeader? -) -> (header: R?, encryptedKey: Data?)? { - guard recipients.count == 1 else { - return recipients.first { - recipientMatch( - jwk: jwk, - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: $0.header - ) - } - } - return recipients.first -} - diff --git a/Sources/JSONWebEncryption/EncryptionModule/Decryptors/RSADecryptor.swift b/Sources/JSONWebEncryption/EncryptionModule/Decryptors/RSADecryptor.swift deleted file mode 100644 index db87e0e..0000000 --- a/Sources/JSONWebEncryption/EncryptionModule/Decryptors/RSADecryptor.swift +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey - -struct RSAJWEDecryptor: JWEDecryptor { - - var supportedKeyManagmentAlgorithms: [KeyManagementAlgorithm] = [ - .rsaOAEP256, - .rsaOAEP, - .rsa1_5 - ] - - var supportedContentEncryptionAlgorithms: [ContentEncryptionAlgorithm] = [ - .a128GCM, - .a192GCM, - .a256GCM, - .a128CBCHS256, - .a192CBCHS384, - .a256CBCHS512 - ] - - func decrypt< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader - >( - protectedHeader: P?, - unprotectedHeader: U?, - cipher: Data, - recipientHeader: R?, - encryptedKey: Data?, - initializationVector: Data?, - authenticationTag: Data?, - additionalAuthenticationData: Data?, - senderKey: JWK?, - recipientKey: JWK?, - sharedKey: JWK? - ) throws -> Data { - guard let alg = getKeyAlgorithm( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingKeyAlgorithm - } - - guard let enc = getEncoding( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingContentEncryptionAlgorithm - } - - guard isSupported( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader, - supportedKeyAlgorithms: supportedKeyManagmentAlgorithms, - supportedContentEncryptionAlgorithms: supportedContentEncryptionAlgorithms - ) else { - throw JWE.JWEError.decryptionNotSupported( - alg: alg, - enc: enc, - supportedAlgs: supportedKeyManagmentAlgorithms, - supportedEnc: supportedContentEncryptionAlgorithms - ) - } - - guard let encryptedKey else { - throw JWE.JWEError.missingEncryptedKey - } - - guard let contentIv = initializationVector else { - throw JWE.JWEError.missingContentIV - } - - guard let contentTag = authenticationTag else { - throw JWE.JWEError.missingContentAuthenticationTag - } - - guard let recipientKey else { - throw JWE.JWEError.missingRecipientKey - } - - guard let keyUnwrapper = alg.unwrapper else { - throw JWE.JWEError.internalErrorUnWrapperMissingFor(alg: alg) - } - - let cek = try keyUnwrapper.contentKeyDecrypt( - encryptedKey: encryptedKey, - using: recipientKey, - arguments: [] - ) - - let aad = try AAD.computeAAD(header: protectedHeader, aad: additionalAuthenticationData) - let payload = try enc.decryptor.decrypt( - cipher: cipher, - using: cek, - arguments: [ - .initializationVector(contentIv), - .authenticationTag(contentTag), - .additionalAuthenticationData(aad) - ] - ) - - return try getContentCompressionAlg( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - )?.decompressor.decompress(input: payload) ?? payload - } -} diff --git a/Sources/JSONWebEncryption/EncryptionModule/Encryptors/AESEncryptor.swift b/Sources/JSONWebEncryption/EncryptionModule/Encryptors/AESEncryptor.swift deleted file mode 100644 index 22de1d2..0000000 --- a/Sources/JSONWebEncryption/EncryptionModule/Encryptors/AESEncryptor.swift +++ /dev/null @@ -1,179 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey -import Tools - -struct AESJWEEncryptor: JWEEncryptor { - var supportedKeyManagmentAlgorithms: [KeyManagementAlgorithm] = [ - .a128KW, - .a192KW, - .a256KW, - .a128GCMKW, - .a192GCMKW, - .a256GCMKW - ] - - var supportedContentEncryptionAlgorithms: [ContentEncryptionAlgorithm] = [ - .a128GCM, - .a192GCM, - .a256GCM, - .a128CBCHS256, - .a192CBCHS384, - .a256CBCHS512 - ] - - func encrypt< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader - >( - payload: Data, - senderKey: JWK?, - recipientKey: JWK?, - protectedHeader: P?, - unprotectedHeader: U?, - recipientHeader: R?, - cek: Data?, - initializationVector: Data?, - additionalAuthenticationData: Data?, - hasMultiRecipients: Bool - ) throws -> JWEParts { - guard let alg = getKeyAlgorithm( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingKeyAlgorithm - } - - guard let enc = getEncoding( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingContentEncryptionAlgorithm - } - - guard isSupported( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader, - supportedKeyAlgorithms: supportedKeyManagmentAlgorithms, - supportedContentEncryptionAlgorithms: supportedContentEncryptionAlgorithms - ) else { - throw JWE.JWEError.encryptionNotSupported( - alg: alg, - enc: enc, - supportedAlgs: supportedKeyManagmentAlgorithms, - supportedEnc: supportedContentEncryptionAlgorithms - ) - } - - guard let recipientKey else { - throw JWE.JWEError.missingRecipientKey - } - - guard - let wrapper = alg.wrapper - else { - throw JWE.JWEError.internalErrorWrapperMissingFor(alg: alg) - } - - var finalRecipientHeader = recipientHeader - ?? protectedHeader.map { R.init(from: $0) } - ?? R.init() - - var finalProtectedHeader = protectedHeader - ?? recipientHeader.map { P.init(from: $0) } - ?? P.init() - - let cek = try cek ?? enc.encryptor.generateCEK() - - let encryptedKey: Data - switch alg { - case .a128KW, .a192KW, .a256KW: - let result = try wrapper.contentKeyEncrypt( - cek: cek, - using: recipientKey, - arguments: [] - ) - encryptedKey = result.encryptedKey - case .a128GCMKW, .a192GCMKW, .a256GCMKW: - let keyIv = getKeyEncryptionInitializationVector( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) - - let result = try wrapper.contentKeyEncrypt( - cek: cek, - using: recipientKey, - arguments: [ - keyIv.map { .initializationVector($0) } - ].compactMap { $0 } - ) - if let keyIv = result.initializationVector, let tag = result.authenticationTag { - if hasMultiRecipients { - finalRecipientHeader.initializationVector = keyIv - finalRecipientHeader.authenticationTag = tag - } else { - finalProtectedHeader.initializationVector = keyIv - finalProtectedHeader.authenticationTag = tag - } - } - encryptedKey = result.encryptedKey - default: - throw JWE.JWEError.unsupportedOperation(alg: alg, enc: enc) - } - - let contentIv = try initializationVector - ?? enc.encryptor.generateInitializationVector() - let aad = try AAD.computeAAD(header: finalProtectedHeader, aad: additionalAuthenticationData) - - let finalPayload: Data - if let compressAlg = getContentCompressionAlg( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) { - finalPayload = try compressAlg.compressor.compress(input: payload) - } else { - finalPayload = payload - } - - let encryption = try enc.encryptor.encrypt( - payload: finalPayload, - using: cek, - arguments: [ - .initializationVector(contentIv), - .additionalAuthenticationData(aad) - ] - ) - - return .init( - protectedHeader: finalProtectedHeader, - recipientHeader: finalRecipientHeader, - cipherText: encryption.cipher, - encryptedKey: encryptedKey, - additionalAuthenticationData: aad, - initializationVector: contentIv, - authenticationTag: encryption.authenticationData - ) - } -} diff --git a/Sources/JSONWebEncryption/EncryptionModule/Encryptors/DirectEncrypter.swift b/Sources/JSONWebEncryption/EncryptionModule/Encryptors/DirectEncrypter.swift deleted file mode 100644 index 93ce383..0000000 --- a/Sources/JSONWebEncryption/EncryptionModule/Encryptors/DirectEncrypter.swift +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey - -struct DirectJWEEncryptor: JWEEncryptor { - - var supportedKeyManagmentAlgorithms: [KeyManagementAlgorithm] = [ - .direct - ] - - var supportedContentEncryptionAlgorithms: [ContentEncryptionAlgorithm] = [ - .a128GCM, - .a192GCM, - .a256GCM, - .a128CBCHS256, - .a192CBCHS384, - .a256CBCHS512 - ] - - func encrypt< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader - >( - payload: Data, - senderKey: JWK?, - recipientKey: JWK?, - protectedHeader: P?, - unprotectedHeader: U?, - recipientHeader: R?, - cek: Data?, - initializationVector: Data?, - additionalAuthenticationData: Data?, - hasMultiRecipients: Bool - ) throws -> JWEParts { - guard let enc = getEncoding( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingContentEncryptionAlgorithm - } - - guard isSupported( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader, - supportedKeyAlgorithms: supportedKeyManagmentAlgorithms, - supportedContentEncryptionAlgorithms: supportedContentEncryptionAlgorithms - ) else { - throw JWE.JWEError.encryptionNotSupported( - alg: nil, - enc: enc, - supportedAlgs: supportedKeyManagmentAlgorithms, - supportedEnc: supportedContentEncryptionAlgorithms - ) - } - - let cek = try cek ?? enc.encryptor.generateCEK() - let contentIv = try initializationVector - ?? enc.encryptor.generateInitializationVector() - let aad = try AAD.computeAAD( - header: protectedHeader, - aad: additionalAuthenticationData - ) - - let finalPayload: Data - if let compressAlg = getContentCompressionAlg( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) { - finalPayload = try compressAlg.compressor.compress(input: payload) - } else { - finalPayload = payload - } - - let encryption = try enc.encryptor.encrypt( - payload: finalPayload, - using: cek, - arguments: [ - .initializationVector(contentIv), - .additionalAuthenticationData(aad) - ] - ) - - return .init( - protectedHeader: protectedHeader, - recipientHeader: recipientHeader, - cipherText: encryption.cipher, - encryptedKey: nil, - additionalAuthenticationData: aad, - initializationVector: contentIv, - authenticationTag: encryption.authenticationData - ) - } -} diff --git a/Sources/JSONWebEncryption/EncryptionModule/Encryptors/ECDH1PUEncrypter.swift b/Sources/JSONWebEncryption/EncryptionModule/Encryptors/ECDH1PUEncrypter.swift deleted file mode 100644 index 0dd825c..0000000 --- a/Sources/JSONWebEncryption/EncryptionModule/Encryptors/ECDH1PUEncrypter.swift +++ /dev/null @@ -1,357 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey -import Tools - -struct ECDH1PUJWEEncryptor: JWEEncryptor { - let masterEphemeralKey: Bool - - let supportedKeyManagmentAlgorithms: [KeyManagementAlgorithm] = [ - .ecdh1PU, - .ecdh1PUA128KW, - .ecdh1PUA192KW, - .ecdh1PUA256KW - ] - - let supportedContentEncryptionAlgorithms: [ContentEncryptionAlgorithm] = [ - .a128GCM, - .a192GCM, - .a256GCM, - .a128CBCHS256, - .a192CBCHS384, - .a256CBCHS512 - ] - - init(masterEphemeralKey: Bool = false) { - self.masterEphemeralKey = masterEphemeralKey - } - - func encrypt< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader - >( - payload: Data, - senderKey: JWK?, - recipientKey: JWK?, - protectedHeader: P?, - unprotectedHeader: U?, - recipientHeader: R?, - cek: Data?, - initializationVector: Data?, - additionalAuthenticationData: Data?, - hasMultiRecipients: Bool - ) throws -> JWEParts { - guard let alg = getKeyAlgorithm( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingKeyAlgorithm - } - - guard let enc = getEncoding( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingContentEncryptionAlgorithm - } - - guard isSupported( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader, - supportedKeyAlgorithms: supportedKeyManagmentAlgorithms, - supportedContentEncryptionAlgorithms: supportedContentEncryptionAlgorithms - ) else { - throw JWE.JWEError.encryptionNotSupported( - alg: alg, - enc: enc, - supportedAlgs: supportedKeyManagmentAlgorithms, - supportedEnc: supportedContentEncryptionAlgorithms - ) - } - - guard let senderKey else { - throw JWE.JWEError.missingSenderKey - } - - guard let recipientKey else { - throw JWE.JWEError.missingRecipientKey - } - - guard let ephemeralKeyPair = try getEphemeralKey( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) ?? senderKey.keyGeneration?.generateKeyPairJWK(purpose: .keyAgreement) else { - throw JWE.JWEError.missingEphemeralKey - } - - var finalProtectedHeader = protectedHeader - ?? recipientHeader.map { P.init(key: recipientKey, header: $0) } - ?? P.init(from: recipientKey) - - var finalRecipientHeader = recipientHeader - ?? protectedHeader.map { R.init(key: recipientKey, header: $0) } - ?? R.init(from: recipientKey) - - if masterEphemeralKey || !hasMultiRecipients { - finalProtectedHeader.ephemeralPublicKey = ephemeralKeyPair.publicKey - } else { - finalRecipientHeader.ephemeralPublicKey = ephemeralKeyPair.publicKey - } - - guard - let secretKeyZ = try alg - .agreement? - .agreeUponZ( - privateKey: senderKey, - publicKey: recipientKey, - ephemeralKey: ephemeralKeyPair, - sender: true - ) - else { - throw JWE.JWEError.internalErrorAgreementNotAvailableFor(alg: alg) - } - - let aad = try AAD.computeAAD(header: finalProtectedHeader, aad: additionalAuthenticationData) - return try encryptWithZ( - payload: payload, - keyZ: secretKeyZ, - protectedHeader: finalProtectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: finalRecipientHeader, - cek: cek, - initializationVector: initializationVector, - additionalAuthenticationData: aad - ) - } - - private func encryptWithZ< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader - >( - payload: Data, - keyZ: Data, - protectedHeader: P?, - unprotectedHeader: U?, - recipientHeader: R?, - cek: Data?, - initializationVector: Data?, - additionalAuthenticationData: Data - ) throws -> JWEParts { - guard let alg = getKeyAlgorithm( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingKeyAlgorithm - } - - guard let enc = getEncoding( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingContentEncryptionAlgorithm - } - - if let keyEncryptor = alg.wrapper { - let cek = try cek ?? enc.encryptor.generateCEK() - let contentIv = try initializationVector ?? - enc.encryptor.generateInitializationVector() - - let finalPayload: Data - if let compressAlg = getContentCompressionAlg( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) { - finalPayload = try compressAlg.compressor.compress(input: payload) - } else { - finalPayload = payload - } - - let encryptionResult = try enc.encryptor.encrypt( - payload: finalPayload, - using: cek, - arguments: [ - .initializationVector(contentIv), - .additionalAuthenticationData(additionalAuthenticationData) - ] - ) - - let sharedKey = try deriveSharedKey( - sharedKey: keyZ, - keyLengthInBits: try sharedKeyLength( - keyManagementAlgo: alg, - encryptionAlgorithm: enc - ), - keyAlgorithm: alg, - encodingAlgorithm: enc, - partyUInfo: getPartyUInfo( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ), - partyVInfo: getPartyVInfo( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ), - authenticationTag: encryptionResult.authenticationData, - isDirect: false - ) - - let encryptedKey = try keyEncryptor.contentKeyEncrypt( - cek: cek, - using: .init(keyType: .octetSequence, key: sharedKey), - arguments: [ - .authenticationTag(encryptionResult.authenticationData) - ]) - - return .init( - protectedHeader: protectedHeader, - recipientHeader: recipientHeader ?? protectedHeader.map { R.init(from: $0) }, - cipherText: encryptionResult.cipher, - encryptedKey: encryptedKey.encryptedKey, - additionalAuthenticationData: additionalAuthenticationData, - initializationVector: contentIv, - authenticationTag: encryptionResult.authenticationData - ) - } else { - let cek = try deriveSharedKey( - sharedKey: keyZ, - keyLengthInBits: try sharedKeyLength( - keyManagementAlgo: alg, - encryptionAlgorithm: enc - ), - keyAlgorithm: alg, - encodingAlgorithm: enc, - partyUInfo: getPartyUInfo( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ), - partyVInfo: getPartyVInfo( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ), - authenticationTag: nil, - isDirect: true - ) - - let contentIv = try initializationVector - ?? enc.encryptor.generateInitializationVector() - - let finalPayload: Data - if let compressAlg = getContentCompressionAlg( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) { - finalPayload = try compressAlg.compressor.compress(input: payload) - } else { - finalPayload = payload - } - - let encryptionResult = try enc.encryptor.encrypt( - payload: finalPayload, - using: cek, - arguments: [ - .initializationVector(contentIv), - .additionalAuthenticationData(additionalAuthenticationData) - ] - ) - - return .init( - protectedHeader: protectedHeader, - recipientHeader: recipientHeader ?? protectedHeader.map { R.init(from: $0) }, - cipherText: encryptionResult.cipher, - encryptedKey: nil, - additionalAuthenticationData: additionalAuthenticationData, - initializationVector: contentIv, - authenticationTag: encryptionResult.authenticationData - ) - } - } - - private func deriveSharedKey( - sharedKey: Data, - keyLengthInBits: Int, - keyAlgorithm: KeyManagementAlgorithm, - encodingAlgorithm: ContentEncryptionAlgorithm, - partyUInfo: Data?, - partyVInfo: Data?, - authenticationTag: Data?, - isDirect: Bool = false - ) throws -> Data { - guard - let derivation = keyAlgorithm.derivation - else { - throw JWE.JWEError.internalErrorDerivationNotAvailableFor(alg: keyAlgorithm) - } - let algorithmID: Data - if isDirect { - algorithmID = encodingAlgorithm.rawValue.data(using: .ascii) ?? .init() - } else { - algorithmID = keyAlgorithm.rawValue.data(using: .ascii) ?? .init() - } - - let tagData: Data - if isDirect { - tagData = .init() - } else { - tagData = authenticationTag ?? .init() - - } - - return try derivation.deriveKey( - key: sharedKey, - keyLengthInBits: keyLengthInBits, - algorithmId: algorithmID, - partyUInfo: partyUInfo ?? .init(), - partyVInfo: partyVInfo ?? .init(), - tag: tagData, - other: [:] - ) - } - - private func sharedKeyLength( - keyManagementAlgo: KeyManagementAlgorithm, - encryptionAlgorithm: ContentEncryptionAlgorithm - ) throws -> Int { - switch keyManagementAlgo { - case .ecdh1PU: - return encryptionAlgorithm.keySizeInBits - case .ecdh1PUA128KW: - return 128 - case .ecdh1PUA192KW: - return 192 - case .ecdh1PUA256KW: - return 256 - default: - throw JWE.JWEError.unsupportedOperation(alg: keyManagementAlgo, enc: encryptionAlgorithm) - } - } -} diff --git a/Sources/JSONWebEncryption/EncryptionModule/Encryptors/ECDHEncrypter.swift b/Sources/JSONWebEncryption/EncryptionModule/Encryptors/ECDHEncrypter.swift deleted file mode 100644 index 0c1bb7a..0000000 --- a/Sources/JSONWebEncryption/EncryptionModule/Encryptors/ECDHEncrypter.swift +++ /dev/null @@ -1,292 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey - -struct ECDHJWEEncryptor: JWEEncryptor { - let masterEphemeralKey: Bool - - let supportedKeyManagmentAlgorithms: [KeyManagementAlgorithm] = [ - .ecdhES, - .ecdhESA128KW, - .ecdhESA192KW, - .ecdhESA256KW - ] - - let supportedContentEncryptionAlgorithms: [ContentEncryptionAlgorithm] = [ - .a128GCM, - .a192GCM, - .a256GCM, - .a128CBCHS256, - .a192CBCHS384, - .a256CBCHS512 - ] - - init(masterEphemeralKey: Bool = false) { - self.masterEphemeralKey = masterEphemeralKey - } - - func encrypt< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader - >( - payload: Data, - senderKey: JWK?, - recipientKey: JWK?, - protectedHeader: P?, - unprotectedHeader: U?, - recipientHeader: R?, - cek: Data?, - initializationVector: Data?, - additionalAuthenticationData: Data?, - hasMultiRecipients: Bool - ) throws -> JWEParts{ - guard let alg = getKeyAlgorithm( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingKeyAlgorithm - } - - guard let enc = getEncoding( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingContentEncryptionAlgorithm - } - - guard isSupported( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader, - supportedKeyAlgorithms: supportedKeyManagmentAlgorithms, - supportedContentEncryptionAlgorithms: supportedContentEncryptionAlgorithms - ) else { - throw JWE.JWEError.encryptionNotSupported( - alg: alg, - enc: enc, - supportedAlgs: supportedKeyManagmentAlgorithms, - supportedEnc: supportedContentEncryptionAlgorithms - ) - } - - guard let recipientKey else { - throw JWE.JWEError.missingRecipientKey - } - - guard let ephemeralKeyPair = try getEphemeralKey( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) ?? recipientKey.keyGeneration?.generateKeyPairJWK(purpose: .keyAgreement) else { - throw JWE.JWEError.missingEphemeralKey - } - - var finalProtectedHeader = protectedHeader - ?? recipientHeader.map { P.init(key: recipientKey, header: $0) } - ?? P.init(from: recipientKey) - - var finalRecipientHeader = recipientHeader - ?? protectedHeader.map { R.init(key: recipientKey, header: $0) } - ?? R.init(from: recipientKey) - - if masterEphemeralKey || !hasMultiRecipients { - finalProtectedHeader.ephemeralPublicKey = ephemeralKeyPair.publicKey - } else { - finalRecipientHeader.ephemeralPublicKey = ephemeralKeyPair.publicKey - } - - guard - let secretKeyZ = try alg - .agreement? - .agreeUponZ( - privateKey: ephemeralKeyPair, - publicKey: recipientKey, - ephemeralKey: nil, - sender: true - ) - else { - throw JWE.JWEError.internalErrorAgreementNotAvailableFor(alg: alg) - } - - let aad = try AAD.computeAAD(header: finalProtectedHeader, aad: additionalAuthenticationData) - - return try encryptWithZ( - payload: payload, - keyZ: secretKeyZ, - protectedHeader: finalProtectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: finalRecipientHeader, - cek: cek, - initializationVector: initializationVector, - additionalAuthenticationData: aad - ) - } - - private func encryptWithZ< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader - >( - payload: Data, - keyZ: Data, - protectedHeader: P?, - unprotectedHeader: U?, - recipientHeader: R?, - cek: Data?, - initializationVector: Data?, - additionalAuthenticationData: Data - ) throws -> JWEParts { - guard let alg = getKeyAlgorithm( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingKeyAlgorithm - } - - guard let enc = getEncoding( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingContentEncryptionAlgorithm - } - - let sharedKey = try deriveSharedKey( - sharedKey: keyZ, - keyLengthInBits: try sharedKeyLength( - keyManagementAlgo: alg, - encryptionAlgorithm: enc - ), - keyAlgorithm: alg, - encodingAlgorithm: enc, - partyUInfo: getPartyUInfo( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ), - partyVInfo: getPartyVInfo( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) - ) - - let usingCek: Data - let encryptedKey: Data? - - if let keyEncryptor = alg.wrapper { - usingCek = try cek ?? enc.encryptor.generateCEK() - let result = try keyEncryptor.contentKeyEncrypt( - cek: usingCek, - using: .init(keyType: .octetSequence, key: sharedKey), - arguments: [] - ) - encryptedKey = result.encryptedKey - } else { - usingCek = sharedKey - encryptedKey = nil - } - - let contentIv = try initializationVector - ?? enc.encryptor.generateInitializationVector() - - let finalPayload: Data - if let compressAlg = getContentCompressionAlg( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) { - finalPayload = try compressAlg.compressor.compress(input: payload) - } else { - finalPayload = payload - } - - let encryptionResult = try enc.encryptor.encrypt( - payload: finalPayload, - using: usingCek, - arguments: [ - .initializationVector(contentIv), - .additionalAuthenticationData(additionalAuthenticationData) - ] - ) - - return .init( - protectedHeader: protectedHeader, - recipientHeader: recipientHeader ?? protectedHeader.map { R.init(from: $0) }, - cipherText: encryptionResult.cipher, - encryptedKey: encryptedKey, - additionalAuthenticationData: additionalAuthenticationData, - initializationVector: contentIv, - authenticationTag: encryptionResult.authenticationData - ) - } - - private func deriveSharedKey( - sharedKey: Data, - keyLengthInBits: Int, - keyAlgorithm: KeyManagementAlgorithm, - encodingAlgorithm: ContentEncryptionAlgorithm, - partyUInfo: Data?, - partyVInfo: Data? - ) throws -> Data { - guard - let derivation = keyAlgorithm.derivation - else { - throw JWE.JWEError.internalErrorDerivationNotAvailableFor(alg: keyAlgorithm) - } - let algorithmID: Data - if keyAlgorithm.wrapper != nil { - algorithmID = keyAlgorithm.rawValue.data(using: .ascii) ?? .init() - } else { - algorithmID = encodingAlgorithm.rawValue.data(using: .ascii) ?? .init() - } - - return try derivation.deriveKey( - key: sharedKey, - keyLengthInBits: keyLengthInBits, - algorithmId: algorithmID, - partyUInfo: partyUInfo ?? .init(), - partyVInfo: partyVInfo ?? .init(), - tag: Data(), - other: [:] - ) - } - - private func sharedKeyLength( - keyManagementAlgo: KeyManagementAlgorithm, - encryptionAlgorithm: ContentEncryptionAlgorithm - ) throws -> Int { - switch keyManagementAlgo { - case .ecdhES: - return encryptionAlgorithm.keySizeInBits - case .ecdhESA128KW: - return 128 - case .ecdhESA192KW: - return 192 - case .ecdhESA256KW: - return 256 - default: - throw JWE.JWEError.unsupportedOperation(alg: keyManagementAlgo, enc: encryptionAlgorithm) - } - } -} diff --git a/Sources/JSONWebEncryption/EncryptionModule/Encryptors/JWEEncrypter.swift b/Sources/JSONWebEncryption/EncryptionModule/Encryptors/JWEEncrypter.swift deleted file mode 100644 index 2ca38de..0000000 --- a/Sources/JSONWebEncryption/EncryptionModule/Encryptors/JWEEncrypter.swift +++ /dev/null @@ -1,122 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey - -public protocol JWEEncryptor { - var supportedKeyManagmentAlgorithms: [KeyManagementAlgorithm] { get } - var supportedContentEncryptionAlgorithms: [ContentEncryptionAlgorithm] { get } - - func encrypt< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader - >( - payload: Data, - senderKey: JWK?, - recipientKey: JWK?, - protectedHeader: P?, - unprotectedHeader: U?, - recipientHeader: R?, - cek: Data?, - initializationVector: Data?, - additionalAuthenticationData: Data?, - hasMultiRecipients: Bool - ) throws -> JWEParts -} - -public protocol JWEMultiEncryptor { - func encrypt< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader - >( - payload: Data, - senderKey: JWK?, - recipients: [(header: R?, key: JWK)], - protectedHeader: P?, - unprotectedHeader: U?, - cek: Data?, - initializationVector: Data?, - additionalAuthenticationData: Data?, - encryptionModule: JWEEncryptionModule - ) throws -> [JWEParts] -} - -extension JWEEncryptor { - func encrypt< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader - >( - payload: Data, - senderKey: JWK? = nil, - recipientKey: JWK? = nil, - protectedHeader: P? = nil as DefaultJWEHeaderImpl?, - unprotectedHeader: U? = nil as DefaultJWEHeaderImpl?, - recipientHeader: R? = nil as DefaultJWEHeaderImpl?, - cek: Data? = nil, - initializationVector: Data? = nil, - additionalAuthenticationData: Data? = nil, - multiRecipients: Bool = false - ) throws -> JWEParts { - try self.encrypt( - payload: payload, - senderKey: senderKey, - recipientKey: recipientKey, - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader, - cek: cek, - initializationVector: initializationVector, - additionalAuthenticationData: additionalAuthenticationData, - hasMultiRecipients: multiRecipients - ) - } -} - -extension JWEMultiEncryptor { - public func encrypt< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader - >( - payload: Data, - senderKey: JWK? = nil, - recipientsKeys: [JWK], - protectedHeader: P? = nil as DefaultJWEHeaderImpl?, - unprotectedHeader: U? = nil as DefaultJWEHeaderImpl?, - cek: Data? = nil, - initializationVector: Data? = nil, - additionalAuthenticationData: Data? = nil, - encryptionModule: JWEEncryptionModule = .default - ) throws -> [JWEParts] { - try self.encrypt( - payload: payload, - senderKey: senderKey, - recipients: recipientsKeys.map { - (DefaultJWEHeaderImpl(from: $0), $0) - }, - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - cek: cek, - initializationVector: initializationVector, - additionalAuthenticationData: additionalAuthenticationData, - encryptionModule: encryptionModule - ) - } -} diff --git a/Sources/JSONWebEncryption/EncryptionModule/Encryptors/MultiEncryptor.swift b/Sources/JSONWebEncryption/EncryptionModule/Encryptors/MultiEncryptor.swift deleted file mode 100644 index e38592a..0000000 --- a/Sources/JSONWebEncryption/EncryptionModule/Encryptors/MultiEncryptor.swift +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey - -struct MultiEncryptor: JWEMultiEncryptor { - func encrypt< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader - >( - payload: Data, - senderKey: JWK?, - recipients: [(header: R?, key: JWK)], - protectedHeader: P?, - unprotectedHeader: U?, - cek: Data?, - initializationVector: Data?, - additionalAuthenticationData: Data?, - encryptionModule: JWEEncryptionModule = .default - ) throws -> [JWEParts] { - guard let enc = getEncoding( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: nil - ) else { - throw JWE.JWEError.missingContentEncryptionAlgorithm - } - - let cek = try enc.encryptor.generateCEK() - var recipients = recipients - let firstRecipient = recipients.removeFirst() - - guard let alg = getKeyAlgorithm( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: firstRecipient.header - ) else { - throw JWE.JWEError.missingKeyAlgorithm - } - - let firstEncryption = try encryptionModule.encryptor(alg: alg).encrypt( - payload: payload, - senderKey: senderKey, - recipientKey: firstRecipient.key, - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: firstRecipient.header ?? R.init(from: firstRecipient.key), - cek: cek, - initializationVector: initializationVector, - additionalAuthenticationData: additionalAuthenticationData, - hasMultiRecipients: true - ) - - return try [firstEncryption] + recipients.map { recipientHeader, key in - guard let alg = getKeyAlgorithm( - protectedHeader: firstEncryption.protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingKeyAlgorithm - } - - return try encryptionModule.encryptor(alg: alg).encrypt( - payload: payload, - senderKey: senderKey, - recipientKey: key, - protectedHeader: firstEncryption.protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader ?? R.init(from: key), - cek: cek, - initializationVector: initializationVector, - additionalAuthenticationData: additionalAuthenticationData, - hasMultiRecipients: true - ) - } - } -} diff --git a/Sources/JSONWebEncryption/EncryptionModule/Encryptors/RSAEncrypter.swift b/Sources/JSONWebEncryption/EncryptionModule/Encryptors/RSAEncrypter.swift deleted file mode 100644 index d709dde..0000000 --- a/Sources/JSONWebEncryption/EncryptionModule/Encryptors/RSAEncrypter.swift +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey - -struct RSAJWEEncryptor: JWEEncryptor { - - var supportedKeyManagmentAlgorithms: [KeyManagementAlgorithm] = [ - .rsaOAEP256, - .rsaOAEP, - .rsa1_5 - ] - - var supportedContentEncryptionAlgorithms: [ContentEncryptionAlgorithm] = [ - .a128GCM, - .a192GCM, - .a256GCM, - .a128CBCHS256, - .a192CBCHS384, - .a256CBCHS512 - ] - - func encrypt< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader - >( - payload: Data, - senderKey: JWK?, - recipientKey: JWK?, - protectedHeader: P?, - unprotectedHeader: U?, - recipientHeader: R?, - cek: Data?, - initializationVector: Data?, - additionalAuthenticationData: Data?, - hasMultiRecipients: Bool - ) throws -> JWEParts { - guard let alg = getKeyAlgorithm( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingKeyAlgorithm - } - - guard let enc = getEncoding( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) else { - throw JWE.JWEError.missingContentEncryptionAlgorithm - } - - guard isSupported( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader, - supportedKeyAlgorithms: supportedKeyManagmentAlgorithms, - supportedContentEncryptionAlgorithms: supportedContentEncryptionAlgorithms - ) else { - throw JWE.JWEError.encryptionNotSupported( - alg: alg, - enc: enc, - supportedAlgs: supportedKeyManagmentAlgorithms, - supportedEnc: supportedContentEncryptionAlgorithms - ) - } - - guard let recipientKey else { - throw JWE.JWEError.missingRecipientKey - } - - let cek = try cek ?? enc.encryptor.generateCEK() - let result = try alg.wrapper?.contentKeyEncrypt( - cek: cek, - using: recipientKey, - arguments: [] - ) - - let contentIv = try initializationVector - ?? enc.encryptor.generateInitializationVector() - let aad = try AAD.computeAAD(header: protectedHeader, aad: additionalAuthenticationData) - - let finalPayload: Data - if let compressAlg = getContentCompressionAlg( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) { - finalPayload = try compressAlg.compressor.compress(input: payload) - } else { - finalPayload = payload - } - - let encryption = try enc.encryptor.encrypt( - payload: finalPayload, - using: cek, - arguments: [ - .initializationVector(contentIv), - .additionalAuthenticationData(aad) - ] - ) - - let finalHeader = recipientHeader - ?? protectedHeader.map { R.init(from: $0) } - ?? R.init() - - return .init( - protectedHeader: protectedHeader, - recipientHeader: finalHeader, - cipherText: encryption.cipher, - encryptedKey: result?.encryptedKey, - additionalAuthenticationData: aad, - initializationVector: contentIv, - authenticationTag: encryption.authenticationData - ) - } -} diff --git a/Sources/JSONWebEncryption/EncryptionModule/JWE+EncryptionModule.swift b/Sources/JSONWebEncryption/EncryptionModule/JWE+EncryptionModule.swift deleted file mode 100644 index 35a73a1..0000000 --- a/Sources/JSONWebEncryption/EncryptionModule/JWE+EncryptionModule.swift +++ /dev/null @@ -1,5 +0,0 @@ -import Foundation - -extension JWE { - public static var encryptionModule: JWEEncryptionModule = .default -} diff --git a/Sources/JSONWebEncryption/EncryptionModule/JWEEncryptionModule.swift b/Sources/JSONWebEncryption/EncryptionModule/JWEEncryptionModule.swift deleted file mode 100644 index 7bb7186..0000000 --- a/Sources/JSONWebEncryption/EncryptionModule/JWEEncryptionModule.swift +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms - -/// `JWEEncryptionProvider` represents an encryption provider for JSON Web Encryption (JWE) with a specific algorithm family. -public struct JWEEncryptionProvider: Hashable { - /// The family of key management algorithm. - public let family: KeyManagementAlgorithm.Family - - /// Encryptor conforming to the specified key management algorithm family. - let encryptor: JWEEncryptor - - /// Decryptor conforming to the specified key management algorithm family. - let decryptor: JWEDecryptor - - /// Initializes a new encryption provider with specified algorithm family, encryptor, and decryptor. - /// - Parameters: - /// - family: The family of key management algorithms. - /// - encryptor: The encryptor instance. - /// - decryptor: The decryptor instance. - public init( - family: KeyManagementAlgorithm.Family, - encryptor: JWEEncryptor, - decryptor: JWEDecryptor - ) { - self.family = family - self.encryptor = encryptor - self.decryptor = decryptor - } - - /// Determines if the provider supports a given key management algorithm. - /// - Parameter alg: The key management algorithm to check. - /// - Returns: `true` if the provider supports the algorithm, otherwise `false`. - public func supportsKeyAlgorithm(_ alg: KeyManagementAlgorithm) -> Bool { - alg.family == family - } - - public func hash(into hasher: inout Hasher) { - hasher.combine(family.rawValue) - } - - public static func == (lhs: JWEEncryptionProvider, rhs: JWEEncryptionProvider) -> Bool { - lhs.family == rhs.family - } -} - -/// `JWEEncryptionModule` manages a collection of `JWEEncryptionProvider` instances and provides encryption and decryption functionalities. -public struct JWEEncryptionModule { - /// A set of registered encryption providers. - public let registeredEncryptions: Set - - /// Multi-encryptor for handling multiple encryption operations. - public let multiEncryptor: JWEMultiEncryptor - - /// Multi-decryptor for handling multiple decryption operations. - public let multiDecryptor: JWEMultiDecryptor - - /// Returns an encryptor for a given key management algorithm. - /// - Parameter alg: The key management algorithm. - /// - Throws: `JWE.JWEError.unsupportedEncryption` if no encryptor supports the algorithm. - /// - Returns: The corresponding `JWEEncryptor`. - func encryptor(alg: KeyManagementAlgorithm) throws -> JWEEncryptor { - guard - let provider = registeredEncryptions.first(where: { $0.supportsKeyAlgorithm(alg) }) - else { - throw JWE.JWEError.unsupportedEncryption(alg: alg) - } - return provider.encryptor - } - - /// Returns a decryptor for a given key management algorithm. - /// - Parameter alg: The key management algorithm. - /// - Throws: `JWE.JWEError.unsupportedEncryption` if no decryptor supports the algorithm. - /// - Returns: The corresponding `JWEDecryptor`. - func decryptor(alg: KeyManagementAlgorithm) throws -> JWEDecryptor { - guard - let provider = registeredEncryptions.first(where: { $0.supportsKeyAlgorithm(alg) }) - else { - throw JWE.JWEError.unsupportedEncryption(alg: alg) - } - return provider.decryptor - } -} - -extension JWEEncryptionModule { - /// The default `JWEEncryptionModule` instance with a predefined set of encryption providers. - public static var `default`: JWEEncryptionModule = .init( - registeredEncryptions: Set( - [ - .init(family: .aes, encryptor: AESJWEEncryptor(), decryptor: AESJWEDecryptor()), - .init(family: .direct, encryptor: DirectJWEEncryptor(), decryptor: DirectJWEDecryptor()), - .init(family: .ecdh1pu, encryptor: ECDH1PUJWEEncryptor(), decryptor: ECDH1PUJWEDecryptor()), - .init(family: .ecdhes, encryptor: ECDHJWEEncryptor(), decryptor: ECDHJWEDecryptor()), - .init(family: .rsa, encryptor: RSAJWEEncryptor(), decryptor: RSAJWEDecryptor()), - .init(family: .aes, encryptor: AESJWEEncryptor(), decryptor: AESJWEDecryptor()), - ] - ), - multiEncryptor: MultiEncryptor(), - multiDecryptor: MultiDecryptor() - ) -} diff --git a/Sources/JSONWebEncryption/Helpers/AAD.swift b/Sources/JSONWebEncryption/Helpers/AAD.swift deleted file mode 100644 index 1116fa0..0000000 --- a/Sources/JSONWebEncryption/Helpers/AAD.swift +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import Tools - -struct AAD { - static func computeAAD(header: H?, aad: Data?) throws -> Data { - guard let header else { return .init() } - let jsonData = try JSONEncoder.jose.encode(header) - return try computeAAD(header: jsonData, aad: aad) - } - - static func computeAAD(header: Data?, aad: Data?) throws -> Data { - if let aad { - if - let aadStr = String(data: aad, encoding: .ascii), - (try? Base64URL.decode(aadStr)) != nil - { - return aad - } - guard !isAADAlreadyComposed(aad: aad) else { - return aad - } - let encodedHeader = Base64URL.encode(header ?? .init()) - let encodedAAD = Base64URL.encode(aad) - let aadResult = [ - encodedHeader, - encodedAAD - ].joined(separator: ".").data(using: .ascii) ?? .init() - return aadResult - } - return Base64URL.encode(header ?? .init()).data(using: .ascii) ?? .init() - } - - private static func isAADAlreadyComposed(aad: Data) -> Bool { - guard - let str = String(data: aad, encoding: .ascii) - else { - return false - } - let headerBase64 = str.components(separatedBy: ".")[0] - guard - let decodedHeader = try? Base64URL.decode(headerBase64) - else { - return false - } - return true - } - - static func validateComposedHeader(header: Data?, aad: Data) -> Bool { - guard - let header, - let str = String(data: aad, encoding: .ascii) - else { - return false - } - let components = str.components(separatedBy: ".") - guard let base64Header = components.first else { - return false - } - return base64Header == Base64URL.encode(header) - } -} diff --git a/Sources/JSONWebEncryption/Helpers/JWEHelpers.swift b/Sources/JSONWebEncryption/Helpers/JWEHelpers.swift deleted file mode 100644 index e198be6..0000000 --- a/Sources/JSONWebEncryption/Helpers/JWEHelpers.swift +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey - -func isSupported( - protectedHeader: JWERegisteredFieldsHeader?, - unprotectedHeader: JWERegisteredFieldsHeader?, - recipientHeader: JWERegisteredFieldsHeader?, - supportedKeyAlgorithms: [KeyManagementAlgorithm], - supportedContentEncryptionAlgorithms: [ContentEncryptionAlgorithm] -) -> Bool { - guard - let keyAlg = getKeyAlgorithm( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ), - let encAlg = getEncoding( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: recipientHeader - ) - else { return false } - - return supportedKeyAlgorithms.contains(keyAlg) - && supportedContentEncryptionAlgorithms.contains(encAlg) -} - -func recipientMatch( - jwk: JWK?, - protectedHeader: JWERegisteredFieldsHeader?, - unprotectedHeader: JWERegisteredFieldsHeader?, - recipientHeader: JWERegisteredFieldsHeader? -) -> Bool { - recipientMatch(jwk: jwk, header: recipientHeader) - || recipientMatch(jwk: jwk, header: protectedHeader) - || recipientMatch(jwk: jwk, header: unprotectedHeader) -} - -func recipientMatch( - jwk: JWK?, - header: JWERegisteredFieldsHeader? -) -> Bool { - guard let header, let jwk else { - return false - } - if let thumbprint = try? jwk.thumbprint() { - if thumbprint == header.keyID { - return true - } - - if - let hThumbprint = try? header.jwk?.thumbprint(), - hThumbprint == thumbprint - { - return true - } - } - - if let x509Url = header.x509URL, x509Url == jwk.x509URL { return true } - if - let x509CertificateSHA256Thumbprint = header.x509CertificateSHA256Thumbprint, - x509CertificateSHA256Thumbprint == jwk.x509CertificateSHA256Thumbprint - { return true } - - if - let x509CertificateSHA1Thumbprint = header.x509CertificateSHA1Thumbprint, - x509CertificateSHA1Thumbprint == jwk.x509CertificateSHA1Thumbprint - { return true } - - if let keyID = header.keyID, keyID == jwk.keyID { return true } - - return false -} diff --git a/Sources/JSONWebEncryption/Helpers/JWERegisteredFieldsHeader+Helpers.swift b/Sources/JSONWebEncryption/Helpers/JWERegisteredFieldsHeader+Helpers.swift deleted file mode 100644 index 9cfd801..0000000 --- a/Sources/JSONWebEncryption/Helpers/JWERegisteredFieldsHeader+Helpers.swift +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey -import Tools - -func getKeyAlgorithm( - protectedHeader: JWERegisteredFieldsHeader?, - unprotectedHeader: JWERegisteredFieldsHeader?, - recipientHeader: JWERegisteredFieldsHeader? -) -> KeyManagementAlgorithm? { - recipientHeader?.keyManagementAlgorithm - ?? protectedHeader?.keyManagementAlgorithm - ?? unprotectedHeader?.keyManagementAlgorithm -} - -func getEncoding( - protectedHeader: JWERegisteredFieldsHeader?, - unprotectedHeader: JWERegisteredFieldsHeader?, - recipientHeader: JWERegisteredFieldsHeader? -) -> ContentEncryptionAlgorithm? { - protectedHeader?.encodingAlgorithm - ?? recipientHeader?.encodingAlgorithm - ?? unprotectedHeader?.encodingAlgorithm -} - -func getContentCompressionAlg( - protectedHeader: JWERegisteredFieldsHeader?, - unprotectedHeader: JWERegisteredFieldsHeader?, - recipientHeader: JWERegisteredFieldsHeader? -) -> ContentCompressionAlgorithm? { - protectedHeader?.compressionAlgorithm - ?? recipientHeader?.compressionAlgorithm - ?? unprotectedHeader?.compressionAlgorithm -} - -func getKeyEncryptionInitializationVector( - protectedHeader: JWERegisteredFieldsHeader?, - unprotectedHeader: JWERegisteredFieldsHeader?, - recipientHeader: JWERegisteredFieldsHeader? -) -> Data? { - recipientHeader?.initializationVector - ?? protectedHeader?.initializationVector - ?? unprotectedHeader?.initializationVector -} - -func getKeyEncryptionAuthenticationTag( - protectedHeader: JWERegisteredFieldsHeader?, - unprotectedHeader: JWERegisteredFieldsHeader?, - recipientHeader: JWERegisteredFieldsHeader? -) -> Data? { - recipientHeader?.authenticationTag - ?? protectedHeader?.authenticationTag - ?? unprotectedHeader?.authenticationTag -} - -func getPartyUInfo( - protectedHeader: JWERegisteredFieldsHeader?, - unprotectedHeader: JWERegisteredFieldsHeader?, - recipientHeader: JWERegisteredFieldsHeader? -) -> Data? { - recipientHeader?.agreementPartyUInfo - ?? protectedHeader?.agreementPartyUInfo - ?? unprotectedHeader?.agreementPartyUInfo -} - -func getPartyVInfo( - protectedHeader: JWERegisteredFieldsHeader?, - unprotectedHeader: JWERegisteredFieldsHeader?, - recipientHeader: JWERegisteredFieldsHeader? -) -> Data? { - recipientHeader?.agreementPartyVInfo - ?? protectedHeader?.agreementPartyVInfo - ?? unprotectedHeader?.agreementPartyVInfo -} - -func getEphemeralKey( - protectedHeader: JWERegisteredFieldsHeader?, - unprotectedHeader: JWERegisteredFieldsHeader?, - recipientHeader: JWERegisteredFieldsHeader? -) -> JWK? { - recipientHeader?.ephemeralPublicKey - ?? protectedHeader?.ephemeralPublicKey - ?? unprotectedHeader?.ephemeralPublicKey -} diff --git a/Sources/JSONWebEncryption/JWE+Decrypt.swift b/Sources/JSONWebEncryption/JWE+Decrypt.swift deleted file mode 100644 index ad0157e..0000000 --- a/Sources/JSONWebEncryption/JWE+Decrypt.swift +++ /dev/null @@ -1,204 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey -import Tools - -extension JWE { - /// Initializes a `JWE` object from a compact serialization string. - /// This method decodes the serialized string into its respective components. - /// - Parameters: - /// - compactString: The compact serialization string of the JWE. - /// - encryptionModule: The encryption module to use, defaulting to the standard module. - /// - Throws: `JWEError.invalidJWECompactString` if the compact string format is invalid. - public init( - compactString: String - ) throws { - let components = compactString.components(separatedBy: ".") - guard components.count == 5 else { - throw JWEError.invalidJWECompactString - } - - try self.init( - protectedHeader: Base64URL.decode(components[0]), - encryptedKey: Base64URL.decode(components[1]), - initializationVector: Base64URL.decode(components[2]), - cipher: Base64URL.decode(components[3]), - authenticationTag: Base64URL.decode(components[4]) - ) - } - - /// Decrypts the `JWE` object and returns the decrypted data. - /// - Parameters: - /// - senderKey: The sender's key, if applicable. - /// - recipientKey: The recipient's key, if applicable. - /// - sharedKey: A shared key, if applicable. - /// - encryptionModule: The encryption module to use, defaulting to the standard module. - /// - Returns: The decrypted data as `Data`. - /// - Throws: Relevant decryption errors. - public func decrypt( - senderKey: JWK? = nil, - recipientKey: JWK? = nil, - sharedKey: JWK? = nil - ) throws -> Data { - guard let alg = getKeyAlgorithm( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: nil - ) else { - throw JWEError.missingKeyAlgorithm - } - - return try JWE.encryptionModule.decryptor(alg: alg).decrypt( - encodedProtectedHeader: protectedHeaderData, - encodedUnprotectedHeaderData: unprotectedHeaderData, - cipher: cipher, - encryptedKey: encryptedKey, - initializationVector: initializationVector, - authenticationTag: authenticationTag, - additionalAuthenticationData: additionalAuthenticatedData, - senderKey: senderKey, - recipientKey: recipientKey, - sharedKey: sharedKey - ) - } - - /// Static method to decrypt a JWE from a compact serialization string. - /// - Parameters: - /// - compactString: The compact serialization string of the JWE. - /// - senderKey: The sender's key, if applicable. - /// - recipientKey: The recipient's key, if applicable. - /// - sharedKey: A shared key, if applicable. - /// - encryptionModule: The encryption module to use, defaulting to the standard module. - /// - Returns: The decrypted data as `Data`. - /// - Throws: Relevant decryption errors. - public static func decrypt( - compactString: String, - senderKey: JWK? = nil, - recipientKey: JWK? = nil, - sharedKey: JWK? = nil - ) throws -> Data { - try JWE(compactString: compactString) - .decrypt( - senderKey: senderKey, - recipientKey: recipientKey, - sharedKey: sharedKey - ) - } - - /// Static method to decrypt a JWE from a JSON representation. - /// - Parameters: - /// - jweJson: The JSON data representing the JWE. - /// - senderKey: The sender's key, if applicable. - /// - recipientKey: The recipient's key, if applicable. - /// - sharedKey: A shared key, if applicable. - /// - encryptionModule: The encryption module to use, defaulting to the standard module. - /// - Returns: The decrypted data as `Data`. - /// - Throws: Relevant decryption errors. - public static func decrypt( - jweJson: Data, - senderKey: JWK? = nil, - recipientKey: JWK? = nil, - sharedKey: JWK? = nil, - tryAllRecipients: Bool = false - ) throws -> Data { - let jsonObj = try JSONDecoder().decode(JWEJson.self, from: jweJson) - return try decrypt( - jweJson: jsonObj, - senderKey: senderKey, - recipientKey: recipientKey, - sharedKey: sharedKey, - tryAllRecipients: tryAllRecipients - ) - } - - // Static method to decrypt a JWE from a JSON representation. - /// - Parameters: - /// - jweJson: The `JWEJson` object representing the JWE. - /// - senderKey: The sender's key, if applicable. - /// - recipientKey: The recipient's key, if applicable. - /// - sharedKey: A shared key, if applicable. - /// - encryptionModule: The encryption module to use, defaulting to the standard module. - /// - Returns: The decrypted data as `Data`. - /// - Throws: Relevant decryption errors. - public static func decrypt< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader - >( - jweJson: JWEJson, - senderKey: JWK? = nil, - recipientKey: JWK? = nil, - sharedKey: JWK? = nil, - tryAllRecipients: Bool = false - ) throws -> Data { - let aad = try AAD.computeAAD( - header: jweJson.protectedData, - aad: jweJson.addtionalAuthenticatedData - ) - - return try encryptionModule.multiDecryptor.decrypt( - encodedProtectedHeader: jweJson.protectedData, - encodedUnprotectedHeaderData: jweJson.sharedProtectedData, - cipher: jweJson.cipherText, - recipients: jweJson.recipients.map { ($0.header, $0.encryptedKey)}, - initializationVector: jweJson.initializationVector, - authenticationTag: jweJson.authenticationTag, - senderKey: senderKey, - recipientKey: recipientKey, - sharedKey: sharedKey, - additionalAuthenticationData: aad, - tryAllRecipients: tryAllRecipients - ) - } -} - -extension JWEJson { - func getRecipient(jwk: JWK) -> Recipient? { - recipients.first { - if let thumbprint = try? jwk.thumbprint() { - if thumbprint == $0.header?.keyID { - return true - } - - if - let hThumbprint = try? $0.header?.jwk?.thumbprint(), - hThumbprint == thumbprint - { - return true - } - } - guard let header = $0.header else { return false } - - if let x509Url = header.x509URL, x509Url == jwk.x509URL { return true } - if - let x509CertificateSHA256Thumbprint = header.x509CertificateSHA256Thumbprint, - x509CertificateSHA256Thumbprint == jwk.x509CertificateSHA256Thumbprint - { return true } - - if - let x509CertificateSHA1Thumbprint = header.x509CertificateSHA1Thumbprint, - x509CertificateSHA1Thumbprint == jwk.x509CertificateSHA1Thumbprint - { return true } - - if let keyID = header.keyID, keyID == jwk.keyID { return true } - - return false - } - } -} diff --git a/Sources/JSONWebEncryption/JWE+Encrypt.swift b/Sources/JSONWebEncryption/JWE+Encrypt.swift deleted file mode 100644 index a68ffdf..0000000 --- a/Sources/JSONWebEncryption/JWE+Encrypt.swift +++ /dev/null @@ -1,347 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey - -extension JWE { - - /// Initializes a `JWE` object for encryption, given the payload and various encryption parameters. - /// - Parameters: - /// - payload: The data to be encrypted. - /// - keyManagementAlg: The key management algorithm to use. - /// - encryptionAlgorithm: The content encryption algorithm. - /// - senderKey: Optional sender's key. - /// - recipientKey: Optional recipient's key. - /// - cek: Optional Content Encryption Key. - /// - initializationVector: Optional initialization vector. - /// - additionalAuthenticationData: Optional additional authenticated data. - /// - encryptionModule: The encryption module to use, defaulting to the standard module. - /// - Throws: Encryption related errors. - public init( - payload: Data, - keyManagementAlg: KeyManagementAlgorithm, - encryptionAlgorithm: ContentEncryptionAlgorithm, - senderKey: JWK? = nil, - recipientKey: JWK? = nil, - cek: Data? = nil, - initializationVector: Data? = nil, - additionalAuthenticationData: Data? = nil - ) throws { - let protectedHeader = DefaultJWEHeaderImpl( - keyManagementAlgorithm: keyManagementAlg, - encodingAlgorithm: encryptionAlgorithm, - compressionAlgorithm: nil - ) - - let parts = try JWE.encryptionModule.encryptor(alg: keyManagementAlg).encrypt( - payload: payload, - senderKey: senderKey, - recipientKey: recipientKey, - protectedHeader: protectedHeader, - cek: cek, - initializationVector: initializationVector, - additionalAuthenticationData: additionalAuthenticationData - ) - let finalProtectedHeader = parts.protectedHeader ?? protectedHeader - self.protectedHeader = finalProtectedHeader - self.protectedHeaderData = try JSONEncoder.jose.encode(finalProtectedHeader) - self.unprotectedHeader = nil - self.unprotectedHeaderData = nil - self.initializationVector = parts.initializationVector - self.additionalAuthenticatedData = parts.additionalAuthenticationData - self.authenticationTag = parts.authenticationTag - self.cipher = parts.cipherText - self.encryptedKey = parts.encryptedKey - } - - /// Initializes a `JWE` object with specified protected and shared headers. - /// - Parameters: - /// - payload: The data to be encrypted. - /// - protectedHeader: Optional protected header. - /// - unprotectedHeader: Optional shared header. - /// - senderKey: Optional sender's key. - /// - recipientKey: Optional recipient's key. - /// - cek: Optional Content Encryption Key. - /// - initializationVector: Optional initialization vector. - /// - additionalAuthenticationData: Optional additional authenticated data. - /// - encryptionModule: The encryption module to use, defaulting to the standard module. - /// - Throws: Encryption related errors. - public init( - payload: Data, - protectedHeader: P? = nil as DefaultJWEHeaderImpl?, - unprotectedHeader: U? = nil as DefaultJWEHeaderImpl?, - senderKey: JWK? = nil, - recipientKey: JWK? = nil, - cek: Data? = nil, - initializationVector: Data? = nil, - additionalAuthenticationData: Data? = nil - ) throws { - guard - let alg = getKeyAlgorithm( - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - recipientHeader: nil - ) - else { - throw JWE.JWEError.missingKeyAlgorithm - } - - let parts = try JWE.encryptionModule.encryptor(alg: alg).encrypt( - payload: payload, - senderKey: senderKey, - recipientKey: recipientKey, - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - cek: cek, - initializationVector: initializationVector, - additionalAuthenticationData: additionalAuthenticationData - ) - - let finalProtectedHeader = parts.protectedHeader.map { P.init(from: $0) } - ?? protectedHeader - ?? P.init() - - self.protectedHeader = finalProtectedHeader - self.protectedHeaderData = try JSONEncoder.jose.encode(finalProtectedHeader) - self.unprotectedHeader = unprotectedHeader - self.unprotectedHeaderData = try unprotectedHeader.map { try JSONEncoder.jose.encode($0) } - self.initializationVector = parts.initializationVector - self.additionalAuthenticatedData = parts.additionalAuthenticationData - self.authenticationTag = parts.authenticationTag - self.cipher = parts.cipherText - self.encryptedKey = parts.encryptedKey - } - - /// Initializes a `JWE` object with specified protected and shared headers. - /// - Parameters: - /// - payload: The data to be encrypted. - /// - keyManagementAlg: The key encryption algorithm to be used. - /// - encryptionAlgorithm: The content encryption algorithm to be used. - /// - unprotectedHeader: Optional shared header. - /// - senderKey: Optional sender's key. - /// - recipientKey: Optional recipient's key. - /// - cek: Optional Content Encryption Key. - /// - initializationVector: Optional initialization vector. - /// - additionalAuthenticationData: Optional additional authenticated data. - /// - encryptionModule: The encryption module to use, defaulting to the standard module. - /// - Throws: Encryption related errors. - public init( - payload: Data, - keyManagementAlg: KeyManagementAlgorithm, - encryptionAlgorithm: ContentEncryptionAlgorithm, - unprotectedHeader: U? = nil as DefaultJWEHeaderImpl?, - senderKey: JWK? = nil, - recipientKey: JWK? = nil, - cek: Data? = nil, - additionalAuthenticationData: Data? = nil - ) throws { - let protectedHeader = DefaultJWEHeaderImpl( - keyManagementAlgorithm: keyManagementAlg, - encodingAlgorithm: encryptionAlgorithm - ) - - try self.init( - payload: payload, - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - senderKey: senderKey, - recipientKey: recipientKey, - cek: cek, - additionalAuthenticationData: additionalAuthenticationData - ) - } - - /// Creates a JSON serialization of a `JWE` object with custom headers and multiple recipients. - /// This method allows for a high degree of flexibility by accepting generic header types and a list of recipients. - /// - Parameters: - /// - payload: The data to be encrypted. - /// - protectedHeader: Optional custom protected header. It should conform to `JWERegisteredFieldsHeader`. - /// - unprotectedHeader: Optional custom shared unprotected header. It also should conform to `JWERegisteredFieldsHeader`. - /// - senderKey: Optional sender's key. Used in scenarios where the sender needs to be authenticated. - /// - recipients: An array of tuples, each containing a recipient-specific header and a recipient's key. - /// - cek: Optional Content Encryption Key. If not provided, it will be generated. - /// - initializationVector: Optional initialization vector. Used for certain encryption algorithms to provide additional randomness. - /// - additionalAuthenticationData: Optional additional authenticated data. This data is authenticated but not encrypted. - /// - encryptionModule: The encryption module to use, defaulting to the standard module. Allows for custom encryption processes. - /// - Returns: A `JWEJson` object representing the serialized JWE. The type parameters `P`, `U`, and `R` represent the types of the protected, unprotected, and recipient-specific headers, respectively. - /// - Throws: Serialization related errors, typically arising from encryption or encoding failures. Throws `JWE.JWEError.noRecipients` if there are no recipients provided. - public static func jsonSerialization< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader - >( - payload: Data, - protectedHeader: P? = nil as DefaultJWEHeaderImpl?, - unprotectedHeader: U? = nil as DefaultJWEHeaderImpl?, - senderKey: JWK? = nil, - recipients: [(header: R, key: JWK)], - cek: Data? = nil, - initializationVector: Data? = nil, - additionalAuthenticationData: Data? = nil - ) throws -> JWEJson { - let recipientParts = try encryptionModule.multiEncryptor.encrypt( - payload: payload, - senderKey: senderKey, - recipients: recipients.map { ($0.header, $0.key) }, - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - cek: cek, - initializationVector: initializationVector, - additionalAuthenticationData: additionalAuthenticationData, - encryptionModule: encryptionModule - ) - - guard let firstRecipient = recipientParts.first else { - throw JWE.JWEError.noRecipients - } - - let protectedHeader = firstRecipient.protectedHeader ?? protectedHeader - - return JWEJson( - protected: protectedHeader, - protectedData: try JSONEncoder.jose.encode(protectedHeader), - sharedProtected: unprotectedHeader, - sharedProtectedData: try JSONEncoder.jose.encode(unprotectedHeader), - recipients: try recipientParts.map { - try .init(header: $0.recipientHeader, encryptedKey: $0.encryptedKey) - }, - cipherText: firstRecipient.cipherText, - addtionalAuthenticatedData: additionalAuthenticationData, - initializationVector: firstRecipient.initializationVector, - authenticationTag: firstRecipient.authenticationTag - ) - } - - /// Creates a JSON serialization of a `JWE` object using a specified encryption algorithm and a set of recipients, - /// with a custom unprotected header. - /// This method allows for specifying a custom shared unprotected header while using default headers for the protected - /// and recipient-specific headers. - /// - Parameters: - /// - payload: The data to be encrypted. - /// - encryptionAlgorithm: The content encryption algorithm to be used. - /// - unprotectedHeader: Optional custom shared unprotected header, conforming to `JWERegisteredFieldsHeader`. - /// - senderKey: Optional sender's key. Used in scenarios where the sender needs to be authenticated. - /// - recipients: An array of tuples, each containing a key management algorithm and a recipient's key. - /// - cek: Optional Content Encryption Key. If not provided, it will be generated. - /// - initializationVector: Optional initialization vector. Used for certain encryption algorithms to provide additional randomness. - /// - additionalAuthenticationData: Optional additional authenticated data. This data is authenticated but not encrypted. - /// - encryptionModule: The encryption module to use, defaulting to the standard module. Allows for custom encryption processes. - /// - Returns: A `JWEJson` object representing the serialized JWE. - /// The type parameter `U` represents the type of the custom unprotected header. - /// - Throws: Serialization related errors, typically arising from encryption or encoding failures. - public static func jsonSerialization( - payload: Data, - encryptionAlgorithm: ContentEncryptionAlgorithm, - unprotectedHeader: U? = nil as DefaultJWEHeaderImpl?, - senderKey: JWK? = nil, - recipients: [(alg: KeyManagementAlgorithm, key: JWK)], - cek: Data? = nil, - initializationVector: Data? = nil, - additionalAuthenticationData: Data? = nil - ) throws -> JWEJson { - let protectedHeader = DefaultJWEHeaderImpl( - encodingAlgorithm: encryptionAlgorithm, - compressionAlgorithm: nil - ) - - return try jsonSerialization( - payload: payload, - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - senderKey: senderKey, - recipients: recipients.map { - (DefaultJWEHeaderImpl(keyManagementAlgorithm: $0.alg), $0.key) - }, - cek: cek, - initializationVector: initializationVector, - additionalAuthenticationData: additionalAuthenticationData - ) - } - - /// Creates a JSON serialization of a `JWE` object using a specified encryption algorithm and a set of recipients. - /// This method is particularly used when you have multiple recipients and a single encryption algorithm. - /// - Parameters: - /// - payload: The data to be encrypted. - /// - encryptionAlgorithm: The content encryption algorithm to be used. - /// - senderKey: Optional sender's key. Used in scenarios where the sender needs to be authenticated. - /// - recipients: An array of tuples, each containing a key management algorithm and a recipient's key. - /// - cek: Optional Content Encryption Key. If not provided, it will be generated. - /// - initializationVector: Optional initialization vector. Used for certain encryption algorithms to provide additional randomness. - /// - additionalAuthenticationData: Optional additional authenticated data. This data is authenticated but not encrypted. - /// - encryptionModule: The encryption module to use, defaulting to the standard module. Allows for custom encryption processes. - /// - Returns: A `JWEJson` object representing the serialized JWE. - /// - Throws: Serialization related errors, typically arising from encryption or encoding failures. - public static func jsonSerialization( - payload: Data, - encryptionAlgorithm: ContentEncryptionAlgorithm, - senderKey: JWK? = nil, - recipients: [(alg: KeyManagementAlgorithm, key: JWK)], - cek: Data? = nil, - initializationVector: Data? = nil, - additionalAuthenticationData: Data? = nil - ) throws -> JWEJson { - return try jsonSerialization( - payload: payload, - encryptionAlgorithm: encryptionAlgorithm, - unprotectedHeader: nil, - senderKey: senderKey, - recipients: recipients, - cek: cek, - initializationVector: initializationVector, - additionalAuthenticationData: additionalAuthenticationData - ) - } - - /// Creates a JSON serialization of a `JWE` object, primarily for cases with multiple recipient keys. - /// - Parameters: - /// - payload: The data to be encrypted. - /// - protectedHeader: Optional protected header. - /// - unprotectedHeader: Optional shared header. - /// - senderKey: Optional sender's key. - /// - recipientKeys: Array of recipient keys. - /// - cek: Optional Content Encryption Key. - /// - initializationVector: Optional initialization vector. - /// - additionalAuthenticationData: Optional additional authenticated data. - /// - encryptionModule: The encryption module to use, defaulting to the standard module. - /// - Returns: A `JWEJson` object representing the JWE. - /// - Throws: Serialization related errors. - public static func jsonSerialization< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader - >( - payload: Data, - protectedHeader: P? = nil as DefaultJWEHeaderImpl?, - unprotectedHeader: U? = nil as DefaultJWEHeaderImpl?, - senderKey: JWK? = nil, - recipientKeys: [JWK], - cek: Data? = nil, - initializationVector: Data? = nil, - additionalAuthenticationData: Data? = nil - ) throws -> JWEJson { - return try jsonSerialization( - payload: payload, - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - senderKey: senderKey, - recipients: recipientKeys.map { (DefaultJWEHeaderImpl(from: $0), $0)}, - cek: cek, - initializationVector: initializationVector, - additionalAuthenticationData: additionalAuthenticationData - ) - } -} diff --git a/Sources/JSONWebEncryption/JWE+Error.swift b/Sources/JSONWebEncryption/JWE+Error.swift deleted file mode 100644 index dd9f83b..0000000 --- a/Sources/JSONWebEncryption/JWE+Error.swift +++ /dev/null @@ -1,130 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey - -extension JWE { - /// `JWEError` is an enumeration representing various errors that can occur during the JSON Web Encryption (JWE) processes. - enum JWEError: LocalizedError { - /// Error indicating that decryption is not supported for the specified algorithms. - /// - Parameters: - /// - alg: The key management algorithm used or attempted to be used. - /// - enc: The content encryption algorithm used or attempted to be used. - /// - supportedAlgs: The list of supported key management algorithms. - /// - supportedEnc: The list of supported content encryption algorithms. - case decryptionNotSupported( - alg: KeyManagementAlgorithm?, - enc: ContentEncryptionAlgorithm?, - supportedAlgs: [KeyManagementAlgorithm], - supportedEnc: [ContentEncryptionAlgorithm] - ) - - /// Error indicating that encryption is not supported for the specified algorithms. - /// - Parameters: - /// - alg: The key management algorithm used or attempted to be used. - /// - enc: The content encryption algorithm used or attempted to be used. - /// - supportedAlgs: The list of supported key management algorithms. - /// - supportedEnc: The list of supported content encryption algorithms. - case encryptionNotSupported( - alg: KeyManagementAlgorithm?, - enc: ContentEncryptionAlgorithm?, - supportedAlgs: [KeyManagementAlgorithm], - supportedEnc: [ContentEncryptionAlgorithm] - ) - - /// Indicates that the Key ID ('kid') is missing, which is often crucial for identifying the correct key for processing. - case missingKid - - /// Error indicating that the Content Encryption Key (CEK) is missing. - case missingCek - - /// Error indicating that the Key Encryption Key (KEK) is missing. - case missingKek - - /// Error indicating that the encrypted key component of JWE is missing. - case missingEncryptedKey - - /// Error indicating that the Initialization Vector (IV) for content encryption is missing. - case missingContentIV - - /// Error indicating that the Authentication Tag for content encryption is missing. - case missingContentAuthenticationTag - - /// Error indicating that the Initialization Vector (IV) for the key encryption is missing. - case missingKeyIV - - /// Error indicating that the Authentication Tag for the key encryption is missing. - case missingKeyTag - - /// Error indicating that the recipient's key is missing. - case missingRecipientKey - - /// Error indicating that the sender's key is missing. - case missingSenderKey - - /// Error indicating that the key management algorithm is missing. - case missingKeyAlgorithm - - /// Error indicating that the content encryption algorithm is missing. - case missingContentEncryptionAlgorithm - - /// Error indicating that the ephemeral key (temporary key used in some key agreement protocols) is missing. - case missingEphemeralKey - - /// Error indicating that the JWE compact string is invalid or malformed. - case invalidJWECompactString - - /// Error indicating that no recipients are provided for the JWE. - case noRecipients - - /// Error indicating that a recipient cannot be found for a provided JSON Web Key (JWK). - /// - Parameter jwk: The JWK for which a recipient cannot be found. - case recipientCannotBeFoundFor(jwk: JWK) - - /// Error indicating that an internal wrapper is missing for a specified key management algorithm. - /// - Parameter alg: The algorithm for which the wrapper is missing. - case internalErrorWrapperMissingFor(alg: KeyManagementAlgorithm) - - /// Error indicating that an internal unwrapper is missing for a specified key management algorithm. - /// - Parameter alg: The algorithm for which the unwrapper is missing. - case internalErrorUnWrapperMissingFor(alg: KeyManagementAlgorithm) - - /// Error indicating that key agreement is not available for a specified algorithm. - /// - Parameter alg: The algorithm for which the key agreement funcionality is missing. - case internalErrorAgreementNotAvailableFor(alg: KeyManagementAlgorithm) - - /// Error indicating that key derivation is not available for a specified algorithm. - /// - Parameter alg: The algorithm for which the key derivation funcionality is missing. - case internalErrorDerivationNotAvailableFor(alg: KeyManagementAlgorithm) - - /// Error indicating that the operation is unsupported for the specified algorithm(s). - /// - Parameters: - /// - alg: The key management algorithm used or attempted to be used. - /// - enc: The content encryption algorithm used or attempted to be used. - case unsupportedOperation(alg: KeyManagementAlgorithm?, enc: ContentEncryptionAlgorithm?) - - /// Error indicating that the specified encryption algorithm is unsupported. - /// - Parameters: - /// - alg: The key management algorithm used or attempted to be used. - /// - enc: The content encryption algorithm used or attempted to be used. - case unsupportedEncryption(alg: KeyManagementAlgorithm) - - /// General error indicating that something went wrong in the JWE process, not covered by other error types. - case somethingWentWrong - } -} diff --git a/Sources/JSONWebEncryption/JWE+Json.swift b/Sources/JSONWebEncryption/JWE+Json.swift deleted file mode 100644 index cf055ca..0000000 --- a/Sources/JSONWebEncryption/JWE+Json.swift +++ /dev/null @@ -1,186 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey -import Tools - -public typealias DefaultJWEJson = JWEJson - -/// `JWEJson` represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types. -/// - Type parameters: -/// - P: A type conforming to `JWERegisteredFieldsHeader` used for the protected header. -/// - U: A type conforming to `JWERegisteredFieldsHeader` used for the shared protected header. -/// - R: A type conforming to `JWERegisteredFieldsHeader` used for the recipient-specific header. -public struct JWEJson< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - R: JWERegisteredFieldsHeader -> { - - /// `Recipient` represents a recipient in a JWE JSON object, containing header and key information. - public struct Recipient { - /// The recipient-specific header. - let header: R? - - /// The raw data of the recipient-specific header. - let headerData: Data? - - /// The encrypted key for the recipient. - let encryptedKey: Data? - - /// Initializes a recipient with header data and an encrypted key. - /// - Parameters: - /// - headerData: The raw data of the recipient-specific header. - /// - encryptedKey: The encrypted key. - /// - Throws: Errors during the decoding of the recipient-specific header. - init( - headerData: Data? = nil, - encryptedKey: Data? = nil - ) throws { - self.header = try headerData.map { try JSONDecoder().decode(R.self, from: $0) } - self.headerData = headerData - self.encryptedKey = encryptedKey - } - - /// Initializes a recipient with a header object and an encrypted key. - /// - Parameters: - /// - header: The recipient-specific header. - /// - encryptedKey: The encrypted key. - /// - Throws: Errors during the encoding of the recipient-specific header. - init( - header: R? = nil, - encryptedKey: Data? = nil - ) throws { - self.header = header - self.headerData = try header.map { try JSONEncoder.jose.encode($0) } - self.encryptedKey = encryptedKey - } - - public func getKid() throws -> String { - guard let kid = header?.keyID else { - throw JWE.JWEError.missingKid - } - return kid - } - } - - /// The protected header. - public let protected: P? - - /// The raw data of the protected header. - public let protectedData: Data? - - /// The shared protected header. - public let sharedProtected: U? - - /// The raw data of the shared protected header. - public let sharedProtectedData: Data? - - /// The list of recipients of the JWE. - public let recipients: [Recipient] - - /// The encrypted content (cipher text). - public let cipherText: Data - - /// Additional authenticated data. - public let addtionalAuthenticatedData: Data? - - /// The initialization vector used in the encryption algorithm. - public let initializationVector: Data? - - /// The authentication tag verifying the integrity of the encrypted content. - public let authenticationTag: Data? - - public func getKids() -> [String] { - recipients.compactMap { try? $0.getKid() } - } -} - -extension JWEJson.Recipient: Codable { - enum CodingKeys: String, CodingKey { - case header - case encryptedKey = "encrypted_key" - } - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(header, forKey: .header) - try encryptedKey.map { try container.encodeIfPresent(Base64URL.encode($0), forKey: .encryptedKey)} - } - - public init(from decoder: Decoder) throws { - let container = try decoder.container(keyedBy: CodingKeys.self) - let header = try container.decodeIfPresent(R.self, forKey: .header) - let headerData = try header.map { try JSONEncoder.jose.encode($0) } - self.headerData = headerData - self.header = header - - let encryptedKeyBase64 = try container.decodeIfPresent(String.self, forKey: .encryptedKey) - encryptedKey = try encryptedKeyBase64.map { try Base64URL.decode($0) } ?? Data() - } -} - -extension JWEJson: Codable { - enum CodingKeys: String, CodingKey { - case protected - case unprotected - case recipients - case ciphertext - case initializationVector = "iv" - case authenticationTag = "tag" - case addtionalAuthenticatedData = "aad" - } - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try protectedData.map { try container.encodeIfPresent(Base64URL.encode($0), forKey: .protected)} - try container.encodeIfPresent(sharedProtected, forKey: .unprotected) - try initializationVector.map { try container.encodeIfPresent(Base64URL.encode($0), forKey: .initializationVector)} - try authenticationTag.map { try container.encodeIfPresent(Base64URL.encode($0), forKey: .authenticationTag)} - try addtionalAuthenticatedData.map { try container.encodeIfPresent(Base64URL.encode($0), forKey: .addtionalAuthenticatedData)} - try container.encodeIfPresent(recipients, forKey: .recipients) - try container.encodeIfPresent(Base64URL.encode(cipherText), forKey: .ciphertext) - } - - public init(from decoder: Decoder) throws { - let container = try decoder.container(keyedBy: CodingKeys.self) - let protectedBase64 = try container.decodeIfPresent(String.self, forKey: .protected) - let protectedData = try protectedBase64.map { try Base64URL.decode($0) } - self.protectedData = protectedData - self.protected = try protectedData.map { try JSONDecoder().decode(P.self, from: $0) } - - let unprotected = try container.decodeIfPresent(U.self, forKey: .unprotected) - let unprotectedData = try unprotected.map { try JSONEncoder.jose.encode($0) } - self.sharedProtectedData = unprotectedData - self.sharedProtected = unprotected - - let ivBase64 = try container.decodeIfPresent(String.self, forKey: .initializationVector) - self.initializationVector = try ivBase64.map { try Base64URL.decode($0) } - - let tagBase64 = try container.decodeIfPresent(String.self, forKey: .authenticationTag) - self.authenticationTag = try tagBase64.map { try Base64URL.decode($0) } - - let cipherBase64 = try container.decode(String.self, forKey: .ciphertext) - self.cipherText = try Base64URL.decode(cipherBase64) - - let aadBase64 = try container.decodeIfPresent(String.self, forKey: .addtionalAuthenticatedData) - self.addtionalAuthenticatedData = try aadBase64.map { try Base64URL.decode($0) } - - self.recipients = try container.decodeIfPresent([Recipient].self, forKey: .recipients) ?? [] - } -} diff --git a/Sources/JSONWebEncryption/JWE.swift b/Sources/JSONWebEncryption/JWE.swift deleted file mode 100644 index 8129306..0000000 --- a/Sources/JSONWebEncryption/JWE.swift +++ /dev/null @@ -1,123 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import Tools - -/// `JWE` struct represents a JSON Web Encryption (JWE) object. -/// It provides mechanisms to encrypt content, represented as the `cipher`, along with various headers and authentication data. -public struct JWE { - /// The `protectedHeader` is a JWE header with registered fields that are integrity protected. - public let protectedHeader: JWERegisteredFieldsHeader - - /// `protectedHeaderData` represents the raw binary data of the protected header. - public let protectedHeaderData: Data - - /// The `cipher` contains the encrypted payload. - public let cipher: Data - - /// `unprotectedHeader` is an optional JWE header with registered fields that are not integrity protected. - public let unprotectedHeader: JWERegisteredFieldsHeader? - - /// `unprotectedHeaderData` represents the raw binary data of the shared unprotected header, if available. - public let unprotectedHeaderData: Data? - - /// `encryptedKey` is an optional field containing the encrypted key used to encrypt the payload. - public let encryptedKey: Data? - - /// `initializationVector` is an optional field used in certain encryption algorithms to provide additional randomness. - public let initializationVector: Data? - - /// `authenticationTag` is an optional field used to store integrity information about the payload and headers. - public let authenticationTag: Data? - - /// `additionalAuthenticatedData` is optional extra data that can be authenticated along with the payload but is not encrypted. - public let additionalAuthenticatedData: Data? - - /// Initializes a new `JWE` object with the specified parameters. - /// - Parameters: - /// - protectedHeader: The protected header with registered fields. - /// - protectedHeaderData: The raw data of the protected header. - /// - cipher: The encrypted content. - /// - unprotectedHeader: Optional shared unprotected header. - /// - unprotectedHeaderData: Optional raw data of the shared unprotected header. - /// - encryptedKey: Optional encrypted key. - /// - initializationVector: Optional initialization vector. - /// - authenticationTag: Optional authentication tag. - /// - additionalAuthenticatedData: Optional additional authenticated data. - public init( - protectedHeader: JWERegisteredFieldsHeader, - protectedHeaderData: Data, - cipher: Data, - unprotectedHeader: JWERegisteredFieldsHeader? = nil, - unprotectedHeaderData: Data? = nil, - encryptedKey: Data? = nil, - initializationVector: Data? = nil, - authenticationTag: Data? = nil, - additionalAuthenticatedData: Data? = nil - ) { - self.protectedHeader = protectedHeader - self.protectedHeaderData = protectedHeaderData - self.unprotectedHeader = unprotectedHeader - self.unprotectedHeaderData = unprotectedHeaderData - self.encryptedKey = encryptedKey - self.initializationVector = initializationVector - self.cipher = cipher - self.authenticationTag = authenticationTag - self.additionalAuthenticatedData = additionalAuthenticatedData - } - - /// Initializes a new `JWE` object by decoding the protected header from the provided data and setting other parameters. - /// Throws an error if the protected header cannot be decoded. - /// - Parameters: - /// - protectedHeader: The raw data of the protected header. - /// - encryptedKey: The encrypted key. - /// - initializationVector: The initialization vector. - /// - cipher: The encrypted content. - /// - authenticationTag: The authentication tag. - public init( - protectedHeader: Data, - encryptedKey: Data, - initializationVector: Data, - cipher: Data, - authenticationTag: Data - ) throws { - self.init( - protectedHeader: try JSONDecoder().decode(DefaultJWEHeaderImpl.self, from: protectedHeader), - protectedHeaderData: protectedHeader, - cipher: cipher, - unprotectedHeader: nil, - unprotectedHeaderData: nil, - encryptedKey: encryptedKey, - initializationVector: initializationVector, - authenticationTag: authenticationTag, - additionalAuthenticatedData: nil - ) - } - - /// Generates a compact serialization of the `JWE` object. - /// This serialization is a string representation consisting of base64url-encoded values separated by periods. - /// - Returns: A compact serialized string representation of the JWE object. - public func compactSerialization() -> String { - return [ - Base64URL.encode(protectedHeaderData), - Base64URL.encode(encryptedKey ?? .init()), - Base64URL.encode(initializationVector ?? .init()), - Base64URL.encode(cipher), - Base64URL.encode(authenticationTag ?? .init()) - ].joined(separator: ".") - } -} diff --git a/Sources/JSONWebEncryption/JWEParts.swift b/Sources/JSONWebEncryption/JWEParts.swift deleted file mode 100644 index 7657196..0000000 --- a/Sources/JSONWebEncryption/JWEParts.swift +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation - -// `JWEParts` represents the constituent parts of a JSON Web Encryption (JWE) object. -/// It's a generic struct that can accommodate different types of headers for both protected and recipient-specific data. -/// - Type parameters: -/// - P: A type conforming to `JWERegisteredFieldsHeader` used for the protected header. -/// - R: A type conforming to `JWERegisteredFieldsHeader` used for the recipient-specific header. -public struct JWEParts { - /// The protected header, containing shared information about the encryption. - let protectedHeader: P? - - /// The recipient-specific header, potentially containing information tailored for the individual recipient. - let recipientHeader: R? - - /// The ciphertext, which is the encrypted content. - let cipherText: Data - - /// The encrypted key, used to decrypt the content. - let encryptedKey: Data? - - /// Additional authenticated data, if any, used in the encryption process. - let additionalAuthenticationData: Data? - - /// The initialization vector used in the encryption process, for algorithms that require it. - let initializationVector: Data? - - /// The authentication tag, verifying the integrity and authenticity of the encrypted content. - let authenticationTag: Data? - - /// Initializes a new `JWEParts` instance with the specified components. - /// - Parameters: - /// - protectedHeader: The protected header of the JWE. - /// - recipientHeader: The recipient-specific header of the JWE. - /// - cipherText: The encrypted content. - /// - encryptedKey: The encrypted key used for decryption. - /// - additionalAuthenticationData: Optional additional data authenticated along with the payload. - /// - initializationVector: Optional initialization vector for certain encryption algorithms. - /// - authenticationTag: Optional authentication tag for verifying integrity and authenticity. - init( - protectedHeader: P?, - recipientHeader: R?, - cipherText: Data, - encryptedKey: Data?, - additionalAuthenticationData: Data?, - initializationVector: Data?, - authenticationTag: Data? - ) { - self.protectedHeader = protectedHeader - self.recipientHeader = recipientHeader - self.encryptedKey = encryptedKey - self.additionalAuthenticationData = additionalAuthenticationData - self.initializationVector = initializationVector - self.cipherText = cipherText - self.authenticationTag = authenticationTag - } -} diff --git a/Sources/JSONWebEncryption/JWERegisteredFieldsHeader.swift b/Sources/JSONWebEncryption/JWERegisteredFieldsHeader.swift deleted file mode 100644 index eb6b21e..0000000 --- a/Sources/JSONWebEncryption/JWERegisteredFieldsHeader.swift +++ /dev/null @@ -1,298 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey - -/// `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. -public protocol JWERegisteredFieldsHeader: JWARegisteredFieldsHeader { - /// The algorithm used for key management in the JWE process. - var keyManagementAlgorithm: KeyManagementAlgorithm? { get set } - - /// The algorithm used for encoding the content in the JWE process. - var encodingAlgorithm: ContentEncryptionAlgorithm? { get set } - - /// The compression algorithm used, if any, for compressing the payload before encryption. - var compressionAlgorithm: ContentCompressionAlgorithm? { get set } - - /// URL pointing to a set of JSON-encoded public keys for key discovery. - var jwkSetURL: String? { get set } - - /// JSON Web Key representing the key used to encrypt or validate the JWE payload. - var jwk: JWK? { get set } - - /// Identifier for the key used in the JWE process, facilitating key selection. - var keyID: String? { get set } - - /// URL pointing to an X.509 public key certificate or certificate chain. - var x509URL: String? { get set } - - /// X.509 public key certificate or certificate chain in string format. - var x509CertificateChain: String? { get set } - - /// Base64URL-encoded SHA-1 thumbprint of the DER encoding of an X.509 certificate, used for key identification. - var x509CertificateSHA1Thumbprint: String? { get set } - - /// Base64URL-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate. - var x509CertificateSHA256Thumbprint: String? { get set } - - /// Type of the token, typically used to declare a MIME type. - var type: String? { get set } - - /// Media type of the complete JWE, describing the payload content type. - var contentType: String? { get set } - - /// List of critical headers that must be understood and processed. - var critical: String? { get set } - - /// Key ID of the sender's key, used in the `ECDH-1PU` key agreement algorithm. - var senderKeyID: String? { get set } - - /// Initializes a new header with the specified parameters. - /// - Parameters: - /// - keyManagementAlgorithm: Algorithm used for key management. - /// - encodingAlgorithm: Algorithm used for content encryption. - /// - compressionAlgorithm: Optional compression algorithm. - /// - keyID: Optional identifier for the key. - /// - jwkSetURL: Optional URL for the JSON Web Key Set. - /// - jwk: Optional JSON Web Key. - /// - x509URL: Optional URL for X.509 public key certificate. - /// - x509CertificateChain: Optional X.509 certificate chain. - /// - x509CertificateSHA1Thumbprint: Optional SHA-1 thumbprint of X.509 certificate. - /// - x509CertificateSHA256Thumbprint: Optional SHA-256 thumbprint of X.509 certificate. - /// - type: Optional type of the token. - /// - contentType: Optional content type of the JWE. - /// - critical: Optional list of critical headers. - /// - senderKeyId: Optional Key ID of the sender's key. - init( - keyManagementAlgorithm: KeyManagementAlgorithm?, - encodingAlgorithm: ContentEncryptionAlgorithm?, - compressionAlgorithm: ContentCompressionAlgorithm?, - keyID: String?, - jwkSetURL: String?, - jwk: JWK?, - x509URL: String?, - x509CertificateChain: String?, - x509CertificateSHA1Thumbprint: String?, - x509CertificateSHA256Thumbprint: String?, - type: String?, - contentType: String?, - critical: String?, - ephemeralPublicKey: JWK?, - agreementPartyUInfo: Data?, - agreementPartyVInfo: Data?, - initializationVector: Data?, - authenticationTag: Data?, - pbes2SaltInput: Data?, - pbes2SaltCount: Data?, - senderKeyId: String? - ) -} - -extension JWERegisteredFieldsHeader { - public init( - keyManagementAlgorithm: KeyManagementAlgorithm? = nil, - encodingAlgorithm: ContentEncryptionAlgorithm? = nil, - compressionAlgorithm: ContentCompressionAlgorithm? = nil, - keyID: String? = nil, - jwkSetURL: String? = nil, - jwk: JWK? = nil, - x509URL: String? = nil, - x509CertificateChain: String? = nil, - x509CertificateSHA1Thumbprint: String? = nil, - x509CertificateSHA256Thumbprint: String? = nil, - type: String? = nil, - contentType: String? = nil, - critical: String? = nil, - ephemeralPublicKey: JWK? = nil, - agreementPartyUInfo: Data? = nil, - agreementPartyVInfo: Data? = nil, - initializationVector: Data? = nil, - authenticationTag: Data? = nil, - pbes2SaltInput: Data? = nil, - pbes2SaltCount: Data? = nil, - senderKeyId: String? = nil - ) { - self.init( - keyManagementAlgorithm: keyManagementAlgorithm, - encodingAlgorithm: encodingAlgorithm, - compressionAlgorithm: compressionAlgorithm, - keyID: keyID, - jwkSetURL: jwkSetURL, - jwk: jwk, - x509URL: x509URL, - x509CertificateChain: x509CertificateChain, - x509CertificateSHA1Thumbprint: x509CertificateSHA1Thumbprint, - x509CertificateSHA256Thumbprint: x509CertificateSHA256Thumbprint, - type: type, - contentType: contentType, - critical: critical, - ephemeralPublicKey: ephemeralPublicKey, - agreementPartyUInfo: agreementPartyUInfo, - agreementPartyVInfo: agreementPartyVInfo, - initializationVector: initializationVector, - authenticationTag: authenticationTag, - pbes2SaltInput: pbes2SaltInput, - pbes2SaltCount: pbes2SaltCount, - senderKeyId: senderKeyId - ) - } - - init(from: JWERegisteredFieldsHeader) { - self.init( - keyManagementAlgorithm: from.keyManagementAlgorithm, - encodingAlgorithm: from.encodingAlgorithm, - compressionAlgorithm: from.compressionAlgorithm, - keyID: from.keyID, - jwkSetURL: from.jwkSetURL, - jwk: from.jwk, - x509URL: from.x509URL, - x509CertificateChain: from.x509CertificateChain, - x509CertificateSHA1Thumbprint: from.x509CertificateSHA1Thumbprint, - x509CertificateSHA256Thumbprint: from.x509CertificateSHA256Thumbprint, - type: from.type, - contentType: from.contentType, - critical: from.critical, - ephemeralPublicKey: from.ephemeralPublicKey, - agreementPartyUInfo: from.agreementPartyUInfo, - agreementPartyVInfo: from.agreementPartyVInfo, - initializationVector: from.initializationVector, - authenticationTag: from.authenticationTag, - pbes2SaltInput: from.pbes2SaltInput, - pbes2SaltCount: from.pbes2SaltCount, - senderKeyId: from.senderKeyID - ) - } - - public init(from: JWK) { - self.init( - keyID: from.keyID, - x509URL: from.x509URL, - x509CertificateChain: from.x509CertificateChain, - x509CertificateSHA1Thumbprint: from.x509CertificateSHA1Thumbprint, - x509CertificateSHA256Thumbprint: from.x509CertificateSHA256Thumbprint - ) - } - - init(key: JWK, header: JWERegisteredFieldsHeader) { - self.init( - keyManagementAlgorithm: header.keyManagementAlgorithm, - encodingAlgorithm: header.encodingAlgorithm, - keyID: key.keyID, - jwkSetURL: header.jwkSetURL, - jwk: header.jwk, - x509URL: key.x509URL, - x509CertificateChain: key.x509CertificateChain, - x509CertificateSHA1Thumbprint: key.x509CertificateSHA1Thumbprint, - x509CertificateSHA256Thumbprint: key.x509CertificateSHA256Thumbprint, - ephemeralPublicKey: header.ephemeralPublicKey, - agreementPartyUInfo: header.agreementPartyUInfo, - agreementPartyVInfo: header.agreementPartyVInfo, - initializationVector: header.initializationVector, - authenticationTag: header.authenticationTag, - pbes2SaltInput: header.pbes2SaltInput, - pbes2SaltCount: header.pbes2SaltCount, - senderKeyId: header.senderKeyID - ) - } -} - -/// `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. -public struct DefaultJWEHeaderImpl: JWERegisteredFieldsHeader { - public var keyManagementAlgorithm: KeyManagementAlgorithm? - public var encodingAlgorithm: ContentEncryptionAlgorithm? - public var compressionAlgorithm: ContentCompressionAlgorithm? - public var keyID: String? - public var jwkSetURL: String? - public var jwk: JWK? - public var x509URL: String? - public var x509CertificateChain: String? - public var x509CertificateSHA1Thumbprint: String? - public var x509CertificateSHA256Thumbprint: String? - public var type: String? - public var contentType: String? - public var critical: String? - public var ephemeralPublicKey: JWK? - public var agreementPartyUInfo: Data? - public var agreementPartyVInfo: Data? - public var initializationVector: Data? - public var authenticationTag: Data? - public var pbes2SaltInput: Data? - public var pbes2SaltCount: Data? - public var senderKeyID: String? - - /// Initializes a new `DefaultJWSHeaderImpl` instance with optional parameters for each field. - /// - Parameters: - /// - algorithm: The signing algorithm to be used (optional). - /// - keyID: The Key ID hint (optional). - /// - jwkSetURL: The URL for a set of JSON-encoded public keys (optional). - /// - jwk: The JSON Web Key (optional). - /// - x509URL: The URL for the X.509 public key certificate or certificate chain (optional). - /// - x509CertificateChain: The X.509 public key certificate or certificate chain (optional). - /// - x509CertificateSHA1Thumbprint: The SHA-1 thumbprint of the X.509 certificate (optional). - /// - x509CertificateSHA256Thumbprint: The SHA-256 thumbprint of the X.509 certificate (optional). - /// - type: The type of token (optional). - /// - contentType: The media type of the complete JWS (optional). - /// - critical: Indications of extensions that must be understood and processed (optional). - public init( - keyManagementAlgorithm: KeyManagementAlgorithm?, - encodingAlgorithm: ContentEncryptionAlgorithm?, - compressionAlgorithm: ContentCompressionAlgorithm?, - keyID: String?, - jwkSetURL: String?, - jwk: JWK?, - x509URL: String?, - x509CertificateChain: String?, - x509CertificateSHA1Thumbprint: String?, - x509CertificateSHA256Thumbprint: String?, - type: String?, - contentType: String?, - critical: String?, - ephemeralPublicKey: JWK?, - agreementPartyUInfo: Data?, - agreementPartyVInfo: Data?, - initializationVector: Data?, - authenticationTag: Data?, - pbes2SaltInput: Data?, - pbes2SaltCount: Data?, - senderKeyId: String? - ) { - self.keyManagementAlgorithm = keyManagementAlgorithm - self.encodingAlgorithm = encodingAlgorithm - self.compressionAlgorithm = compressionAlgorithm - self.keyID = keyID - self.jwkSetURL = jwkSetURL - self.jwk = jwk - self.x509URL = x509URL - self.x509CertificateChain = x509CertificateChain - self.x509CertificateSHA1Thumbprint = x509CertificateSHA1Thumbprint - self.x509CertificateSHA256Thumbprint = x509CertificateSHA256Thumbprint - self.type = type - self.contentType = contentType - self.critical = critical - self.ephemeralPublicKey = ephemeralPublicKey - self.agreementPartyUInfo = agreementPartyUInfo - self.agreementPartyVInfo = agreementPartyVInfo - self.initializationVector = initializationVector - self.authenticationTag = authenticationTag - self.pbes2SaltInput = pbes2SaltInput - self.pbes2SaltCount = pbes2SaltCount - self.senderKeyID = senderKeyId - } -} diff --git a/Sources/JSONWebEncryption/KeyManagementAlgorithm+Family.swift b/Sources/JSONWebEncryption/KeyManagementAlgorithm+Family.swift deleted file mode 100644 index 3b7b610..0000000 --- a/Sources/JSONWebEncryption/KeyManagementAlgorithm+Family.swift +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms - -extension KeyManagementAlgorithm { - /// `Family` is an enumeration representing different families of cryptographic algorithms. - public enum Family: String, CaseIterable { - /// RSA family of algorithms. - case rsa = "RSA" - - /// AES (Advanced Encryption Standard) family of algorithms. - case aes = "AES" - - /// ECDH-ES (Elliptic Curve Diffie-Hellman Ephemeral Static) family of algorithms. - case ecdhes = "ECDH-ES" - - /// ECDH-1PU family of algorithms, a variant of ECDH used in some key agreement protocols. - case ecdh1pu = "ECDH-1PU" - - /// PBES2 (Password-Based Encryption Scheme 2) family of algorithms. - case pbes2 = "PBES2" - - /// Direct use of a shared symmetric key. - case direct = "DIRECT" - } - - /// Property to determine the family of the cryptographic algorithm. - /// Based on the algorithm used, it categorizes into one of the defined families. - public var family: Family { - switch self { - case .rsa1_5, .rsaOAEP, .rsaOAEP256: - return .rsa - case .a128KW, .a192KW, .a256KW, .a128GCMKW, .a192GCMKW, .a256GCMKW: - return .aes - case .direct: - return .direct - case .ecdhES, .ecdhESA128KW, .ecdhESA192KW, .ecdhESA256KW: - return .ecdhes - case .pbes2HS256A128KW, .pbes2HS384A192KW, .pbes2HS512A256KW: - return .pbes2 - case .ecdh1PU, .ecdh1PUA128KW, .ecdh1PUA192KW, .ecdh1PUA256KW: - return .ecdh1pu - } - } -} diff --git a/Sources/JSONWebKey/Curve448.swift b/Sources/JSONWebKey/Curve448.swift deleted file mode 100644 index 8ca2d22..0000000 --- a/Sources/JSONWebKey/Curve448.swift +++ /dev/null @@ -1,135 +0,0 @@ -// Copyright © 2023 Proxy, Inc. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -import CryptoKit -import Foundation -@_implementationOnly import OpenSSL - -/// The Curve448 Elliptic Curve. -public enum Curve448 { - static let keySize = 56 -} - -extension Curve448 { - public enum KeyAgreement { - public struct PublicKey { - let x: Data - - /// Initializes a Curve448 Key for Key Agreement. - /// - /// - Parameter rawRepresentation: The data representation of the key - /// - Returns: An initialized key if the data is valid. - /// - Throws: Throws if the data is not a valid key. - public init(rawRepresentation: some ContiguousBytes) throws { - x = rawRepresentation.withUnsafeBytes { Data($0) } - var keyData = [UInt8](x) - let pkey = EVP_PKEY_new_raw_public_key(EVP_PKEY_X448, nil, &keyData, Curve448.keySize) - defer { EVP_PKEY_free(pkey) } - if pkey == nil { - throw CryptoKitError.underlyingCoreCryptoError(error: -1) - } - } - - /// A data representation of the public key - public var rawRepresentation: Data { - x - } - } - - public struct PrivateKey { - let d: Data - - /// Generates a new X448 private key. - public init() { - var pkey: OpaquePointer? - let ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_X448, nil) - defer { EVP_PKEY_CTX_free(ctx) } - EVP_PKEY_keygen_init(ctx) - EVP_PKEY_keygen(ctx, &pkey) - var keyLength = 0 - EVP_PKEY_get_raw_private_key(pkey, nil, &keyLength) - var keyData = [UInt8](repeating: 0, count: keyLength) - EVP_PKEY_get_raw_private_key(pkey, &keyData, &keyLength) - d = Data(keyData) - EVP_PKEY_free(pkey) - } - - /// Initializes the key with data. - /// - /// - Parameter data: The 56-bytes representation of the private key. - public init(rawRepresentation: some ContiguousBytes) throws { - d = rawRepresentation.withUnsafeBytes { Data($0) } - var keyData = [UInt8](d) - let pkey = EVP_PKEY_new_raw_private_key(EVP_PKEY_X448, nil, &keyData, Curve448.keySize) - defer { EVP_PKEY_free(pkey) } - if pkey == nil { - throw CryptoKitError.underlyingCoreCryptoError(error: -1) - } - } - - /// Returns the associated X448 public key. - /// - /// - Returns: The public key - public var publicKey: Curve448.KeyAgreement.PublicKey { - var keyData = [UInt8](d) - let pkey = EVP_PKEY_new_raw_private_key(EVP_PKEY_X448, nil, &keyData, Curve448.keySize) - defer { EVP_PKEY_free(pkey) } - var keyLength = 0 - EVP_PKEY_get_raw_public_key(pkey, nil, &keyLength) - var publicKeyData = [UInt8](repeating: 0, count: keyLength) - EVP_PKEY_get_raw_public_key(pkey, &publicKeyData, &keyLength) - return (try? Curve448.KeyAgreement.PublicKey(rawRepresentation: publicKeyData)).unsafelyUnwrapped - } - - /// Performs an elliptic curve Diffie-Hellmann key agreement over X448. - /// - /// - Parameter publicKeyShare: The public key share to perform the key agreement with. - /// - Returns: The shared secret - /// - Throws: Throws if the operation failed to be performed. - public func sharedSecretFromKeyAgreement(with publicKeyShare: Curve448.KeyAgreement.PublicKey) throws -> Data { - var sharedSecretKeyLength = 0 - var keyData = [UInt8](d) - let pkey = EVP_PKEY_new_raw_private_key(EVP_PKEY_X448, nil, &keyData, Curve448.keySize) - var peerKeyData = [UInt8](publicKeyShare.x) - let peerKey = EVP_PKEY_new_raw_public_key(EVP_PKEY_X448, nil, &peerKeyData, Curve448.keySize) - let ctx = EVP_PKEY_CTX_new(pkey, nil) - defer { - EVP_PKEY_free(pkey) - EVP_PKEY_free(peerKey) - EVP_PKEY_CTX_free(ctx) - } - if ctx == nil { - throw CryptoKitError.incorrectKeySize - } - let result_EVP_PKEY_derive_init = EVP_PKEY_derive_init(ctx) - if result_EVP_PKEY_derive_init <= 0 { - throw CryptoKitError.underlyingCoreCryptoError(error: result_EVP_PKEY_derive_init) - } - let result_EVP_PKEY_derive_set_peer = EVP_PKEY_derive_set_peer(ctx, peerKey) - if result_EVP_PKEY_derive_set_peer <= 0 { - throw CryptoKitError.underlyingCoreCryptoError(error: result_EVP_PKEY_derive_set_peer) - } - let result1_EVP_PKEY_derive = EVP_PKEY_derive(ctx, nil, &sharedSecretKeyLength) - if result1_EVP_PKEY_derive <= 0 { - throw CryptoKitError.underlyingCoreCryptoError(error: result1_EVP_PKEY_derive) - } - var sharedSecretKey = [UInt8](repeating: 0, count: sharedSecretKeyLength) - let result2_EVP_PKEY_derive = EVP_PKEY_derive(ctx, &sharedSecretKey, &sharedSecretKeyLength) - if result2_EVP_PKEY_derive <= 0 { - throw CryptoKitError.underlyingCoreCryptoError(error: result2_EVP_PKEY_derive) - } - return Data(sharedSecretKey) - } - - /// A data representation of the private key - public var rawRepresentation: Data { - d - } - } - } -} diff --git a/Sources/JSONWebKey/JWK+Codable.swift b/Sources/JSONWebKey/JWK+Codable.swift deleted file mode 100644 index 20380e6..0000000 --- a/Sources/JSONWebKey/JWK+Codable.swift +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright © 2023 Proxy, Inc. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -import Foundation -import Tools - -extension JWK: Codable { - enum CodingKeys: String, CodingKey { - case keyType = "kty" - case publicKeyUse = "use" - case keyOperations = "keyOps" - case algorithm = "alg" - case key = "k" - case keyID = "kid" - case x509URL = "x5u" - case x509CertificateChain = "x5c" - case x509CertificateSHA1Thumbprint = "x5t" - case x509CertificateSHA256Thumbprint = "x5t#S256" - case curve = "crv" - case e, p, q, n, x, y, d - } - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(keyType, forKey: .keyType) - try container.encodeIfPresent(publicKeyUse, forKey: .publicKeyUse) - try container.encodeIfPresent(keyOperations, forKey: .keyOperations) - try container.encodeIfPresent(algorithm, forKey: .algorithm) - if let value = key { - try container.encodeIfPresent(Base64URL.encode(value), forKey: .key) - } - try container.encodeIfPresent(keyID, forKey: .keyID) - try container.encodeIfPresent(x509URL, forKey: .x509URL) - try container.encodeIfPresent(x509CertificateChain, forKey: .x509CertificateChain) - try container.encodeIfPresent(x509CertificateSHA1Thumbprint, forKey: .x509CertificateSHA1Thumbprint) - try container.encodeIfPresent(x509CertificateSHA256Thumbprint, forKey: .x509CertificateSHA256Thumbprint) - try container.encodeIfPresent(curve, forKey: .curve) - if let value = e { - try container.encodeIfPresent(Base64URL.encode(value), forKey: .e) - } - if let value = p { - try container.encodeIfPresent(Base64URL.encode(value), forKey: .p) - } - if let value = q { - try container.encodeIfPresent(Base64URL.encode(value), forKey: .q) - } - if let value = n { - try container.encodeIfPresent(Base64URL.encode(value), forKey: .n) - } - if let value = x { - try container.encodeIfPresent(Base64URL.encode(value), forKey: .x) - } - if let value = y { - try container.encodeIfPresent(Base64URL.encode(value), forKey: .y) - } - if let value = d { - try container.encodeIfPresent(Base64URL.encode(value), forKey: .d) - } - } - - public init(from decoder: Decoder) throws { - let container = try decoder.container(keyedBy: CodingKeys.self) - keyType = try container.decode(JWK.KeyType.self, forKey: .keyType) - publicKeyUse = try container.decodeIfPresent(JWK.PublicKeyUse.self, forKey: .publicKeyUse) - keyOperations = try container.decodeIfPresent([JWK.KeyOperations].self, forKey: .keyOperations) - algorithm = try container.decodeIfPresent(String.self, forKey: .algorithm) - if let value = try container.decodeIfPresent(String.self, forKey: .key) { - key = try Base64URL.decode(value) - } - keyID = try container.decodeIfPresent(String.self, forKey: .keyID) - x509URL = try container.decodeIfPresent(String.self, forKey: .x509URL) - x509CertificateChain = try container.decodeIfPresent(String.self, forKey: .x509CertificateChain) - x509CertificateSHA1Thumbprint = try container.decodeIfPresent(String.self, forKey: .x509CertificateSHA1Thumbprint) - x509CertificateSHA256Thumbprint = try container.decodeIfPresent(String.self, forKey: .x509CertificateSHA256Thumbprint) - curve = try container.decodeIfPresent(JWK.CryptographicCurve.self, forKey: .curve) - if let value = try container.decodeIfPresent(String.self, forKey: .e) { - e = try Base64URL.decode(value) - } - if let value = try container.decodeIfPresent(String.self, forKey: .p) { - p = try Base64URL.decode(value) - } - if let value = try container.decodeIfPresent(String.self, forKey: .q) { - q = try Base64URL.decode(value) - } - if let value = try container.decodeIfPresent(String.self, forKey: .n) { - n = try Base64URL.decode(value) - } - if let value = try container.decodeIfPresent(String.self, forKey: .x) { - x = try Base64URL.decode(value) - } - if let value = try container.decodeIfPresent(String.self, forKey: .y) { - y = try Base64URL.decode(value) - } - if let value = try container.decodeIfPresent(String.self, forKey: .d) { - d = try Base64URL.decode(value) - } - } -} diff --git a/Sources/JSONWebKey/JWK+Error.swift b/Sources/JSONWebKey/JWK+Error.swift deleted file mode 100644 index 7eabb9c..0000000 --- a/Sources/JSONWebKey/JWK+Error.swift +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright © 2023 Proxy, Inc. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -public extension JWK { - /// An error that can be thrown when working with JWKs. - /// - /// This enumeration defines the errors that can be thrown when working with JWKs. - enum Error: Swift.Error, Equatable { - /// The keys used in the JWE are incompatible. - case jweIncompatibleKeys - - /// The key type is not supported. - case notSupported - - /// The "x" component of an EC or OKP key is missing. - case missingXComponent - - /// The "y" component of an EC key is missing. - case missingYComponent - - /// The "d" component of an EC or RSA key is missing. - case missingDComponent - - /// The "p" and "q" components of a RSA key is missing. - case missingPrimesComponent - - /// The "n" component of an RSA key is missing. - case missingNComponent - - /// The "e" component of an RSA key is missing. - case missingEComponent - - /// The specified key ID was not found in the JWK set. - case keyWithIDNotFound(String) - - /// The key was not found in the JWK set. - case keyNotFound - } -} diff --git a/Sources/JSONWebKey/JWK+Thumbprint.swift b/Sources/JSONWebKey/JWK+Thumbprint.swift deleted file mode 100644 index d6cea3e..0000000 --- a/Sources/JSONWebKey/JWK+Thumbprint.swift +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright © 2023 Proxy, Inc. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -import CryptoKit -import Foundation -import Tools - -public extension JWK { - /// Calculates the JWK thumbprint as per [RFC 7638](https://www.rfc-editor.org/rfc/rfc7638) - /// - /// - Parameters: - /// - hashFunction: The hash function to use for the JWK thumbprint calculation. Defaults to SHA-256. - /// - Returns: The Base64URL-encoded JWK thumbprint. - /// - Throws: `JWK.Error.notSupported` if the JWK type is not supported. - func thumbprint( - with _: H = CryptoKit.SHA256() - ) throws -> String where H: HashFunction { - // Get required members of JWK - // See https://www.rfc-editor.org/rfc/rfc7638#section-3.2 - let requiredMembers: [String: Any] - switch keyType { - case .ellipticCurve: - guard let curve, let x, let y else { - throw JWK.Error.notSupported - } - requiredMembers = [ - "crv": curve.rawValue, - "kty": keyType.rawValue, - "x": Base64URL.encode(x), - "y": Base64URL.encode(y), - ] - case .octetKeyPair: - guard let curve, let x else { - throw JWK.Error.notSupported - } - requiredMembers = [ - "crv": curve.rawValue, - "kty": keyType.rawValue, - "x": Base64URL.encode(x), - ] - default: - throw JWK.Error.notSupported - } - - // Construct JSON object with sorted keys - let jsonData = try JSONSerialization.data( - withJSONObject: requiredMembers, - options: .sortedKeys - ) - - // Hash the JSON data using the specified hash function - let hashData = H.hash(data: jsonData).withUnsafeBytes { Data($0) } - - // Encode the hash data as a Base64URL string and return it - return Base64URL.encode(hashData) - } -} diff --git a/Sources/JSONWebKey/JWK.swift b/Sources/JSONWebKey/JWK.swift deleted file mode 100644 index 30f084f..0000000 --- a/Sources/JSONWebKey/JWK.swift +++ /dev/null @@ -1,167 +0,0 @@ -// Copyright © 2023 Proxy, Inc. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -import CryptoKit -import Foundation - -/// A JSON Web Key (JWK) representation [RFC7517](https://www.rfc-editor.org/rfc/rfc7517) -public struct JWK: Equatable, Hashable { - /// The key type. - public var keyType: KeyType - - /// The intended use of the public key. - public var publicKeyUse: PublicKeyUse? - - /// The key operations that the key is intended to be used for. - public var keyOperations: [KeyOperations]? - - /// The algorithm intended for use with the key. - public var algorithm: String? - - /// The key value in case of a symmetric key (oct). - public var key: Data? - - /// The key ID. - public var keyID: String? - - /// The X.509 URL. - public var x509URL: String? - - /// The X.509 Certificate Chain. - public var x509CertificateChain: String? - - /// The X.509 certificate SHA-1 thumbprint. - public var x509CertificateSHA1Thumbprint: String? - - /// The X.509 certificate SHA-256 thumbprint. - public var x509CertificateSHA256Thumbprint: String? - - /// The cryptographic curve used with an EC key. - public var curve: CryptographicCurve? - - /// The value of the "e" parameter for an RSA key. - public var e: Data? - - /// The value of the "e" parameter for an RSA key. - public var p: Data? - - /// The value of the "q" parameter for an RSA key. - public var q: Data? - - /// The value of the "n" parameter for an RSA key. - public var n: Data? - - /// The value of the "dp" parameter for an RSA key. - public var dp: Data? - - /// The value of the "dq" parameter for an RSA key. - public var dq: Data? - - /// The value of the "qi" parameter for an RSA key. - public var qi: Data? - - /// The value of the "x" parameter for an EC or OKP key. - public var x: Data? - - /// The value of the "y" parameter for an EC key. - public var y: Data? - - /// The value of the "d" parameter for an EC or RSA key. - public var d: Data? - - // MARK: - Init - - public init( - keyType: KeyType, - publicKeyUse: PublicKeyUse? = nil, - keyOperations: [KeyOperations]? = nil, - algorithm: String? = nil, - key: Data? = nil, - keyID: String? = nil, - x509URL: String? = nil, - x509CertificateChain: String? = nil, - x509CertificateSHA1Thumbprint: String? = nil, - x509CertificateSHA256Thumbprint: String? = nil, - curve: CryptographicCurve? = nil, - e: Data? = nil, - p: Data? = nil, - q: Data? = nil, - n: Data? = nil, - dp: Data? = nil, - dq: Data? = nil, - qi: Data? = nil, - x: Data? = nil, - y: Data? = nil, - d: Data? = nil - ) { - self.keyType = keyType - self.publicKeyUse = publicKeyUse - self.keyOperations = keyOperations - self.algorithm = algorithm - self.key = key - self.keyID = keyID - self.x509URL = x509URL - self.x509CertificateChain = x509CertificateChain - self.x509CertificateSHA1Thumbprint = x509CertificateSHA1Thumbprint - self.x509CertificateSHA256Thumbprint = x509CertificateSHA256Thumbprint - self.curve = curve - self.e = e - self.p = p - self.q = q - self.dp = dp - self.dq = dq - self.qi = qi - self.n = n - self.x = x - self.y = y - self.d = d - } -} - -public extension JWK { - /// The key type. - /// - /// For more information, see - /// - https://www.rfc-editor.org/rfc/rfc7518#section-6.1 - /// - https://www.rfc-editor.org/rfc/rfc8037#section-2 - enum KeyType: String, Codable, Equatable { - case ellipticCurve = "EC" - case rsa = "RSA" - case octetSequence = "oct" - case octetKeyPair = "OKP" - } - - /// The intended use of the public key. - /// - /// For more information, see https://www.rfc-editor.org/rfc/rfc7517#section-4.2 - enum PublicKeyUse: String, Codable, Equatable { - case signature = "sig" - case encryption = "enc" - } - - /// The key operations that the key is intended to be used for. - /// - /// For more information, see https://www.rfc-editor.org/rfc/rfc7517#section-4.3 - enum KeyOperations: String, Codable, Equatable { - case sign, verify, encrypt, decrypt, wrapKey, unwrapKey, deriveKey, deriveBits - } - - /// The cryptographic curves. - /// - /// For more information, see https://www.rfc-editor.org/rfc/rfc7518#section-6.1 - enum CryptographicCurve: String, Codable, CaseIterable, Equatable { - case p256 = "P-256" - case p384 = "P-384" - case p521 = "P-521" - case x25519 = "X25519" - case ed25519 = "Ed25519" - case x448 = "X448" - case ed448 = "Ed448" - case secp256k1 - } -} diff --git a/Sources/JSONWebKey/JWKSet.swift b/Sources/JSONWebKey/JWKSet.swift deleted file mode 100644 index 37ed8c5..0000000 --- a/Sources/JSONWebKey/JWKSet.swift +++ /dev/null @@ -1,48 +0,0 @@ -/// A set of JSON Web Keys (JWKs). This is a JSON object that contains an array of JWK objects. -public struct JWKSet: Codable { - /// The array of JWKs. - public var keys: [JWK] - - /// Initializes a new instance of the JWKSet struct. - /// - /// - Parameter keys: The array of JWKs to include in the set. - public init(keys: [JWK]) { - self.keys = keys - } -} - -public extension JWKSet { - /// Returns the key with the given id, if found. - /// - Parameter id: The id of the key to search for. - /// - Returns: The JWK with the given id. - /// - Throws: `JWK.Error.keyWithIDNotFound` if no key with the given id is found. - func key(withID id: String) throws -> JWK { - guard let key = keys.first(where: { $0.keyID == id }) else { - throw JWK.Error.keyWithIDNotFound(id) - } - return key - } - - /// Returns the JWK with the given use, if found. - /// - Parameter use: The use of the key to search for. - /// - Returns: The JWK with the given use. - /// - Throws: `JWK.Error.keyNotFound` if no key with the given use is found. - func key(withPublicKeyUse use: JWK.PublicKeyUse) throws -> JWK { - guard let key = keys.first(where: { $0.publicKeyUse == use }) else { - throw JWK.Error.keyNotFound - } - return key - } - - /// Returns a JWK that is suitable for key agreement with the given JWK. - /// The returned JWK must have the same `use`, `keyType`, and `crv` parameters as the given JWK. - /// - Parameter key: The JWK to use as a basis for selecting a suitable key for key agreement. - /// - Returns: A JWK that is suitable for key agreement with the given JWK. - /// - Throws: `JWK.Error.keyNotFound` if no suitable key is found. - func keySuitableForKeyAgreement(with key: JWK) throws -> JWK { - guard let suitableKey = keys.first(where: { $0.publicKeyUse == key.publicKeyUse && $0.keyType == key.keyType && $0.curve == key.curve }) else { - throw JWK.Error.keyNotFound - } - return suitableKey - } -} diff --git a/Sources/JSONWebSignature/DefaultJWSHeaderImpl+Codable.swift b/Sources/JSONWebSignature/DefaultJWSHeaderImpl+Codable.swift deleted file mode 100644 index 41907a8..0000000 --- a/Sources/JSONWebSignature/DefaultJWSHeaderImpl+Codable.swift +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey - -extension DefaultJWSHeaderImpl: Codable { - enum CodingKeys: String, CodingKey { - case algorithm = "alg" - case jwkSetURL = "jku" - case jwk - case keyID = "kid" - case x509URL = "x5u" - case x509CertificateChain = "x5c" - case x509CertificateSHA1Thumbprint = "x5t" - case x509CertificateSHA256Thumbprint = "x5t#S256" - case type = "typ" - case contentType = "cty" - case critical = "crit" - case initializationVector = "iv" - case authenticationTag = "tag" - case ephemeralPublicKey = "epk" - case agreementPartyUInfo = "apu" - case agreementPartyVInfo = "apv" - case pbes2SaltInput = "p2s" - case pbes2Count = "p2c" - case senderKeyID = "skid" - } - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(algorithm, forKey: .algorithm) - try container.encodeIfPresent(jwkSetURL, forKey: .jwkSetURL) - try container.encodeIfPresent(jwk, forKey: .jwk) - try container.encodeIfPresent(keyID, forKey: .keyID) - try container.encodeIfPresent(x509URL, forKey: .x509URL) - try container.encodeIfPresent(x509CertificateChain, forKey: .x509CertificateChain) - try container.encodeIfPresent(x509CertificateSHA1Thumbprint, forKey: .x509CertificateSHA1Thumbprint) - try container.encodeIfPresent(x509CertificateSHA256Thumbprint, forKey: .x509CertificateSHA256Thumbprint) - try container.encodeIfPresent(type, forKey: .type) - try container.encodeIfPresent(contentType, forKey: .contentType) - try container.encodeIfPresent(critical, forKey: .critical) - } - - public init(from decoder: Decoder) throws { - let container = try decoder.container(keyedBy: CodingKeys.self) - algorithm = try container.decodeIfPresent(SigningAlgorithm.self, forKey: .algorithm) - jwkSetURL = try container.decodeIfPresent(String.self, forKey: .jwkSetURL) - jwk = try container.decodeIfPresent(JWK.self, forKey: .jwk) - keyID = try container.decodeIfPresent(String.self, forKey: .keyID) - x509URL = try container.decodeIfPresent(String.self, forKey: .x509URL) - x509CertificateChain = try container.decodeIfPresent(String.self, forKey: .x509CertificateChain) - x509CertificateSHA1Thumbprint = try container.decodeIfPresent(String.self, forKey: .x509CertificateSHA1Thumbprint) - x509CertificateSHA256Thumbprint = try container.decodeIfPresent(String.self, forKey: .x509CertificateSHA256Thumbprint) - type = try container.decodeIfPresent(String.self, forKey: .type) - contentType = try container.decodeIfPresent(String.self, forKey: .contentType) - critical = try container.decodeIfPresent(String.self, forKey: .critical) - } -} diff --git a/Sources/JSONWebSignature/JWK+SigningAlgorithm.swift b/Sources/JSONWebSignature/JWK+SigningAlgorithm.swift deleted file mode 100644 index 3609de2..0000000 --- a/Sources/JSONWebSignature/JWK+SigningAlgorithm.swift +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey - -extension JWK { - func signingAlgorithm() throws -> SigningAlgorithm { - switch keyType { - case .rsa: - switch algorithm { - case SigningAlgorithm.RS256.rawValue: - return SigningAlgorithm.RS256 - case SigningAlgorithm.RS384.rawValue: - return SigningAlgorithm.RS384 - case SigningAlgorithm.RS512.rawValue: - return SigningAlgorithm.RS512 - case SigningAlgorithm.PS256.rawValue: - return SigningAlgorithm.PS256 - case SigningAlgorithm.PS384.rawValue: - return SigningAlgorithm.PS384 - case SigningAlgorithm.PS512.rawValue: - return SigningAlgorithm.PS512 - default: - throw JWS.JWSError.unsupportedAlgorithm(keyType: keyType.rawValue, algorithm: algorithm) - } - case .ellipticCurve: - guard let curve else { throw JWS.JWSError.missingCurve } - switch curve { - case .p256: - return SigningAlgorithm.ES256 - case .p384: - return SigningAlgorithm.ES384 - case .p521: - return SigningAlgorithm.ES512 - case .secp256k1: - return SigningAlgorithm.ES256K - default: - throw JWS.JWSError.unsupportedAlgorithm(keyType: keyType.rawValue, algorithm: algorithm, curve: curve.rawValue) - } - case .octetKeyPair: - guard let curve else { throw JWS.JWSError.missingCurve } - switch curve { - case .ed25519: - return SigningAlgorithm.EdDSA - default: - throw JWS.JWSError.unsupportedAlgorithm( - keyType: keyType.rawValue, - algorithm: algorithm, - curve: curve.rawValue - ) - } - case .octetSequence: - switch algorithm { - case SigningAlgorithm.HS256.rawValue: - return SigningAlgorithm.HS256 - case SigningAlgorithm.HS384.rawValue: - return SigningAlgorithm.HS384 - case SigningAlgorithm.HS512.rawValue: - return SigningAlgorithm.HS512 - default: - throw JWS.JWSError.unsupportedAlgorithm(keyType: keyType.rawValue, algorithm: algorithm, curve: curve?.rawValue) - } - } - } -} diff --git a/Sources/JSONWebSignature/JWS+Error.swift b/Sources/JSONWebSignature/JWS+Error.swift deleted file mode 100644 index d177557..0000000 --- a/Sources/JSONWebSignature/JWS+Error.swift +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation - -extension JWS { - /// `JWSError` enumerates the various errors that can occur when processing JSON Web Signatures (JWS). - public enum JWSError: LocalizedError { - /// Indicates a generic error where something went wrong but no specific information is available. - case somethingWentWrong - - /// Represents an error where the JWS input string is invalid. - case invalidString - - /// Indicates an unsupported algorithm error, optionally providing details about the key type, algorithm, or curve. - case unsupportedAlgorithm(keyType: String? = nil, algorithm: String? = nil, curve: String? = nil) - - /// Indicates a missing curve error, typically in the context of elliptic curve cryptography. - case missingCurve - - /// Indicates a mismatch between the algorithm specified in the key and the one specified in the JWS header. - case keyAlgorithmAndHeaderAlgorithmAreNotEqual(header: String, key: String) - - /// Indicates a mismatch between the algorithm specified in the protected header and the header. - case protectedHeaderAlgorithmAndHeaderAlgorithmAreNotEqual(header: String, protectedHeader: String) - - /// Represents an error where the necessary algorithm information is missing. - case missingAlgorithm - - /// Indicates that the Key ID ('kid') is missing, which is often crucial for identifying the correct key for processing. - case missingKid - - /// Represents an error where the necessary key information is missing. - case missingKey - - /// Indicates that no signature with algorithm or kid that matches the provided JSON Web Key (JWK). - case noSignatureForJWK(jwkAlg: String?, jwkKid: String?) - - /// Represents an error when multiple signatures cannot be flattened into a single signature. - case multipleSignaturesCantBeFlattened - - /// Indicates a failure in decoding either the complete JSON or the flattened JSON structure. - case couldNotDecodeCompleteJsonOrFlattened - } -} diff --git a/Sources/JSONWebSignature/JWS+Helper.swift b/Sources/JSONWebSignature/JWS+Helper.swift deleted file mode 100644 index 0a5d559..0000000 --- a/Sources/JSONWebSignature/JWS+Helper.swift +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import Tools - -extension JWS { - static func buildSigningData(header: Data, data: Data) throws -> Data { - guard let signingData = [header, data] - .map({ Base64URL.encode($0) }) - .joined(separator: ".") - .data(using: .utf8) - else { - throw JWSError.somethingWentWrong - } - return signingData - } - - static func buildJWSString(header: Data, data: Data, signature: Data) throws -> String { - return [header, data, signature] - .map({ Base64URL.encode($0) }) - .joined(separator: ".") - } -} diff --git a/Sources/JSONWebSignature/JWS+Json.swift b/Sources/JSONWebSignature/JWS+Json.swift deleted file mode 100644 index 17ae89a..0000000 --- a/Sources/JSONWebSignature/JWS+Json.swift +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey -import Tools - -public typealias DefaultJWSJson = JWSJson - -/// `JWSJson` represents a JSON Web Signature (JWS) object with support for multiple signatures. -/// It is a generic struct allowing custom types for the protected and unprotected headers. -/// -/// - Parameters: -/// - P: The type of the protected header, conforming to `JWSRegisteredFieldsHeader`. -/// - H: The type of the unprotected header, conforming to `JWSRegisteredFieldsHeader`. -public struct JWSJson: Codable { - - /// `Signature` represents a single signature within the `JWSJson`, including its associated headers and signature data. - public struct Signature { - /// Raw data of the protected header. This header is encoded and included in the JWS signature calculation. - public let protectedHeaderData: Data? - - /// An instance of the protected header. Contains metadata about the signature and, optionally, the payload. - /// It provides structured access to the header fields when available. - public let protectedHeader: P? - - /// Raw data of the unprotected header. This header is not included in the JWS signature calculation. - /// It's typically used for storing header fields that do not need to be integrity-protected. - public let unprotectedHeaderData: Data? - - /// An instance of the unprotected header. Contains additional metadata that is not included in the signature. - /// Similar to `protectedHeader`, it provides structured access to the header fields. - public let unprotectedHeader: H? - - /// The signature data. This is the cryptographic result of signing the payload along with the protected header. - public let signature: Data - - /// Initializes a new `Signature` instance with optional header data and signature. - /// - Parameters: - /// - protectedData: The raw data of the protected header. - /// - protected: The protected header instance. - /// - headerData: The raw data of the unprotected header. - /// - header: The unprotected header instance. - /// - signature: The signature data. - /// - Throws: An error if encoding the headers fails. - public init( - protectedData: Data? = nil, - protected: P?, - headerData: Data? = nil, - header: H?, - signature: Data - ) throws { - self.protectedHeaderData = try protectedData ?? protected.map { try JSONEncoder.jose.encode($0) } - self.protectedHeader = protected - self.unprotectedHeaderData = try headerData ?? header.map { try JSONEncoder.jose.encode($0) } - self.unprotectedHeader = header - self.signature = signature - } - - /// Retrieves the Key ID (`kid`) from the headers. - /// - Throws: `JWS.JWSError.missingKid` if both protected and unprotected headers are missing the `kid`. - /// - Returns: The Key ID (`kid`) if available. - public func getKid() throws -> String { - guard let protectedKid = protectedHeader?.keyID else { - guard let headerKid = unprotectedHeader?.keyID else { - throw JWS.JWSError.missingKid - } - return headerKid - } - return protectedKid - } - - /// Constructs a `JWS` instance from the signature and payload. - /// - Parameter payload: The payload data to be included in the `JWS`. - /// - Throws: An error if the `JWS` initialization fails. - /// - Returns: A `JWS` instance. - public func jws(payload: Data) throws -> JWS { - try JWS.init( - protectedHeaderData: protectedHeaderData ?? Data(), - data: payload, - signature: signature - ) - } - - /// Validates and returns the algorithm used in the headers. - /// - Throws: `JWS.JWSError.missingAlgorithm` if both protected and unprotected headers are missing the algorithm. - /// - Returns: The signing algorithm if available. - func validateAlg() throws -> SigningAlgorithm? { - guard let protectedAlg = protectedHeader?.algorithm else { - guard let headerAlg = unprotectedHeader?.algorithm else { - throw JWS.JWSError.missingAlgorithm - } - return headerAlg - } - return protectedAlg - } - } - - /// The payload data of the `JWSJson`. - public let payload: Data - - /// An array of `Signature` instances representing each signature in the `JWSJson`. - public let signatures: [Signature] - - /// Retrieves all Key IDs (`kid`) from the signatures. - /// - Returns: An array of Key IDs (`kid`). - public func getKids() -> [String] { - signatures.compactMap { try? $0.getKid() } - } - - /// Converts the `JWSJson` into a flattened format. - /// - Throws: An error if the flattening process fails. - /// - Returns: A `JWSJsonFlattened` instance. - public func flattened() throws -> JWSJsonFlattened { - try .init(fullJson: self) - } - - /// Filters and finds the signatures that match a given `JWK`. - /// - Parameter jwk: The `JWK` used for filtering. - /// - Returns: An array of `Signature` instances that match the given `JWK`. - func findSignaturesForJWK(jwk: JWK) -> [Signature] { - signatures.filter { - let result = ( - try? jwk.keyID == $0.getKid() - || jwk.algorithm == $0.validateAlg()?.rawValue - ) ?? false - return result - } - } -} - -extension JWSJson.Signature: Codable { - enum CodingKeys: String, CodingKey { - case protected - case signature - case header - } - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(protectedHeaderData.map { Base64URL.encode($0) }, forKey: .protected) - try container.encodeIfPresent(Base64URL.encode(signature), forKey: .signature) - try container.encodeIfPresent(unprotectedHeader, forKey: .header) - } - - public init(from decoder: Decoder) throws { - let container = try decoder.container(keyedBy: CodingKeys.self) - let protectedBase64 = try container.decodeIfPresent(String.self, forKey: .protected) - let protectedData = try protectedBase64.map { try Base64URL.decode($0) } - self.protectedHeaderData = protectedData - self.protectedHeader = try protectedData.map { try JSONDecoder().decode(P.self, from: $0) } - - let signatureBase64 = try container.decodeIfPresent(String.self, forKey: .signature) - signature = try signatureBase64.map { try Base64URL.decode($0) } ?? Data() - - let header = try container.decodeIfPresent(H.self, forKey: .header) - self.unprotectedHeaderData = try header.map { try JSONEncoder.jose.encode($0) } - self.unprotectedHeader = header - } -} diff --git a/Sources/JSONWebSignature/JWS+JsonFlattened.swift b/Sources/JSONWebSignature/JWS+JsonFlattened.swift deleted file mode 100644 index 3d03b72..0000000 --- a/Sources/JSONWebSignature/JWS+JsonFlattened.swift +++ /dev/null @@ -1,196 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import JSONWebAlgorithms -import JSONWebKey -import Foundation -import Tools - -/// `JWSJsonFlattened` represents a JSON Web Signature (JWS) object in a flattened JSON format. -/// It is a generic struct allowing custom types for the protected and unprotected headers. -/// -/// - Parameters: -/// - P: The type of the protected header, conforming to `JWSRegisteredFieldsHeader`. -/// - H: The type of the unprotected header, conforming to `JWSRegisteredFieldsHeader`. -public struct JWSJsonFlattened { - /// Represents the payload of the JWS. This is the data that was signed. - public let payload: Data - - /// Raw data of the protected header. This header is encoded and included in the JWS signature calculation. - public let protectedHeaderData: Data? - - /// An instance of the protected header. Contains metadata about the signature and, optionally, the payload. - public let protectedHeader: P? - - /// Raw data of the unprotected header. This header is not included in the JWS signature calculation. - public let unprotectedHeaderData: Data? - - /// An instance of the unprotected header. Contains additional metadata that is not included in the signature. - public let unprotectedHeader: H? - - /// The signature data. This is the result of signing the payload and the protected header. - public let signature: Data - - /// Base64URL encoded representation of the payload. - public var encodedPayload: String { - Base64URL.encode(payload) - } - - /// Base64URL encoded representation of the protected header data. Returns `nil` if `protectedHeaderData` is `nil`. - public var encodedProtectedHeader: String? { - protectedHeaderData.map { Base64URL.encode($0) } - } - - /// Base64URL encoded representation of the unprotected header data. Returns `nil` if `unprotectedHeaderData` is `nil`. - public var encodedHeader: String? { - unprotectedHeaderData.map { Base64URL.encode($0) } - } - - /// Base64URL encoded representation of the signature. - public var encodedSignature: String { - Base64URL.encode(signature) - } - - /// Initializes a new `JWSJsonFlattened` instance. - /// - Parameters: - /// - payload: The payload data. - /// - protectedData: The raw data of the protected header. - /// - protected: The protected header instance. - /// - headerData: The raw data of the unprotected header. - /// - header: The unprotected header instance. - /// - signature: The signature data. - public init( - payload: Data, - protectedData: Data?, - protected: P?, - headerData: Data?, - header: H?, - signature: Data - ) { - self.payload = payload - self.protectedHeaderData = protectedData - self.protectedHeader = protected - self.unprotectedHeaderData = headerData - self.unprotectedHeader = header - self.signature = signature - } - - public init(fullJson: JWSJson) throws { - guard - fullJson.signatures.count == 1, - let signature = fullJson.signatures.first - else { - throw JWS.JWSError.multipleSignaturesCantBeFlattened - } - - self.payload = fullJson.payload - self.unprotectedHeader = signature.unprotectedHeader - self.unprotectedHeaderData = signature.unprotectedHeaderData - self.protectedHeader = signature.protectedHeader - self.protectedHeaderData = signature.protectedHeaderData - self.signature = signature.signature - } - - /// Retrieves the Key ID (`kid`) from the headers. - /// - Throws: `JWS.JWSError.missingKid` if both protected and unprotected headers are missing the `kid`. - /// - Returns: The Key ID (`kid`) if available. - public func getKid() throws -> String { - guard let protectedKid = protectedHeader?.keyID else { - guard let headerKid = unprotectedHeader?.keyID else { - throw JWS.JWSError.missingKid - } - return headerKid - } - return protectedKid - } - - /// Constructs a `JWS` instance from the flattened structure. - /// - Throws: An error if the `JWS` initialization fails. - /// - Returns: A `JWS` instance. - public func jws() throws -> JWS { - try JWS.init( - protectedHeaderData: protectedHeaderData ?? Data(), - data: payload, - signature: signature - ) - } - - /// Converts the `JWSJsonFlattened` into a full `JWSJson` format. - /// - Throws: An error if the conversion process fails. - /// - Returns: A `JWSJson` object. - public func fullJson() throws -> JWSJson { - try .init( - payload: payload, - signatures: [ - .init( - protectedData: protectedHeaderData, - protected: protectedHeader, - headerData: unprotectedHeaderData, - header: unprotectedHeader, - signature: signature - ) - ] - ) - } - - /// Validates and returns the algorithm used in the headers. - /// - Throws: `JWS.JWSError.missingAlgorithm` if both protected and unprotected headers are missing the algorithm. - /// - Returns: The signing algorithm if available. - func validateAlg() throws -> SigningAlgorithm? { - guard let protectedAlg = protectedHeader?.algorithm else { - guard let headerAlg = unprotectedHeader?.algorithm else { - throw JWS.JWSError.missingAlgorithm - } - return headerAlg - } - return protectedAlg - } -} - -extension JWSJsonFlattened: Codable { - enum CodingKeys: String, CodingKey { - case protected - case signature - case header - case payload - } - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(protectedHeaderData.map { Base64URL.encode($0) }, forKey: .protected) - try container.encodeIfPresent(Base64URL.encode(signature), forKey: .signature) - try container.encodeIfPresent(unprotectedHeader, forKey: .header) - try container.encode(Base64URL.encode(payload), forKey: .payload) - } - - public init(from decoder: Decoder) throws { - let container = try decoder.container(keyedBy: CodingKeys.self) - let protectedBase64 = try container.decodeIfPresent(String.self, forKey: .protected) - let protectedData = try protectedBase64.map { try Base64URL.decode($0) } - self.protectedHeaderData = protectedData - self.protectedHeader = try protectedData.map { try JSONDecoder().decode(P.self, from: $0) } - - let signatureBase64 = try container.decodeIfPresent(String.self, forKey: .signature) - signature = try signatureBase64.map { try Base64URL.decode($0) } ?? Data() - - let header = try container.decodeIfPresent(H.self, forKey: .header) - self.unprotectedHeaderData = try header.map { try JSONEncoder.jose.encode($0) } - self.unprotectedHeader = header - - let payloadBase64 = try container.decode(String.self, forKey: .payload) - self.payload = try Base64URL.decode(payloadBase64) - } -} diff --git a/Sources/JSONWebSignature/JWS+Sign.swift b/Sources/JSONWebSignature/JWS+Sign.swift deleted file mode 100644 index 2322a5a..0000000 --- a/Sources/JSONWebSignature/JWS+Sign.swift +++ /dev/null @@ -1,301 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey -import Tools - -extension JWS { - - /// Initializes a new `JWS` instance using raw header data, payload data, and a JSON Web Key (JWK). - /// The header is prepared for the JWK, and the signature is generated using the provided key. - /// - /// - Parameters: - /// - payload: The payload data. - /// - protectedHeaderData: The raw header data. - /// - key: The `JWK` used for signing. - /// - Throws: An error if the signing process fails, or if the key is missing. - public init(payload: Data, protectedHeaderData: Data, key: JWK?) throws { - let signature: Data - let header = try prepareHeaderForJWK(header: protectedHeaderData, jwk: key) - let protectedHeader = try JSONDecoder().decode(DefaultJWSHeaderImpl.self, from: header) - if let signer = protectedHeader.algorithm?.cryptoSigner { - guard let key else { - throw JWSError.missingKey - } - let signingData = try JWS.buildSigningData(header: header, data: payload) - signature = try signer.sign(data: signingData, key: key) - } else { - signature = Data() - } - self.protectedHeaderData = header - self.protectedHeader = protectedHeader - self.payload = payload - self.signature = signature - self.compactSerialization = try JWS.buildJWSString(header: header, data: payload, signature: signature) - } - - /// Initializes a new `JWS` instance using a `JWSProtectedFieldsHeader` instance, payload data, and a JSON Web Key (JWK). - /// The header is encoded and then prepared for the JWK, and the signature is generated using the provided key. - /// - /// - Parameters: - /// - header: The `JWSProtectedFieldsHeader` instance. - /// - data: The payload data. - /// - key: The `JWK` used for signing. - /// - Throws: An error if the signing process fails, or if the key is missing. - public init(payload: Data, protectedHeader: JWSRegisteredFieldsHeader, key: JWK?) throws { - let signature: Data - let headerData = try JSONEncoder.jose.encode(protectedHeader) - let header = try prepareHeaderForJWK(header: headerData, jwk: key) - if let signer = protectedHeader.algorithm?.cryptoSigner { - guard let key else { - throw JWSError.missingKey - } - let signingData = try JWS.buildSigningData(header: headerData, data: payload) - signature = try signer.sign(data: signingData, key: key) - } else { - signature = Data() - } - self.protectedHeaderData = header - self.protectedHeader = protectedHeader - self.payload = payload - self.signature = signature - self.compactSerialization = try JWS.buildJWSString(header: headerData, data: payload, signature: signature) - } - - /// Convenience initializer to create a `JWS` instance using payload data and a JSON Web Key (JWK). - /// The signing algorithm is determined from the key, and a default header is created and used. - /// - /// - Parameters: - /// - data: The payload data. - /// - key: The `JWK` used for signing. - /// - Throws: An error if the signing process fails or if the key is inappropriate for the determined algorithm. - public init(payload: Data, key: JWK) throws { - let algorithm = try key.signingAlgorithm() - let header = DefaultJWSHeaderImpl(algorithm: algorithm) - try self.init(payload: payload, protectedHeader: header, key: key) - } - - /// Generates a JSON serialization of the JWS object with multiple signatures, each corresponding to a different key in the provided array. - /// This method is used when a payload needs to be signed with multiple keys. - /// - /// - Parameters: - /// - payload: The payload data to be signed. - /// - keys: An array of `JWK`s used for signing. - /// - Returns: A `JWSJson` object representing the signed payload with multiple signatures. - /// - Throws: An error if the signing process fails. - static func jsonSerialization( - payload: Data, - keys: [JWK] - ) throws -> JWSJson { - let signatures = try keys - .map { - let jws = try JWS.init(payload: payload, key: $0) - let header = $0.keyID != nil ? DefaultJWSHeaderImpl(from: $0) : jws.protectedHeader - - // This should never be triggered, I just feel the JWS interface is quite right, and dont want to add any generics. - guard - let typedProtected = jws.protectedHeader as? DefaultJWSHeaderImpl, - let typedHeader = header as? DefaultJWSHeaderImpl - else { - throw JWSError.somethingWentWrong - } - - return try JWSJson.Signature( - protectedData: jws.protectedHeaderData, - protected: typedProtected, - header: typedHeader, - signature: jws.signature - ) - } - - return try jsonSerialization(payload: payload, signatures: signatures) - } - - /// Encodes the JWS object with multiple signatures into JSON data. - /// This is a wrapper around the `jsonSerialization(payload:keys:)` method that encodes the result into JSON. - /// - /// - Parameters: - /// - payload: The payload data to be signed. - /// - keys: An array of `JWK`s used for signing. - /// - Returns: JSON encoded data representing the signed payload with multiple signatures. - /// - Throws: An error if the JSON encoding process fails. - public static func jsonSerialization( - payload: Data, - keys: [JWK] - ) throws -> Data { - let json: JWSJson = try jsonSerialization(payload: payload, keys: keys) - return try JSONEncoder.jose.encode(json) - } - - /// Generates a JSON serialization of the JWS object with signatures for a given payload, protected header, header, and keys. - /// This method allows for specifying custom types for the protected header and header. - /// - /// - Parameters: - /// - payload: The payload data. - /// - protectedHeader: The protected header instance. - /// - unprotectedHeader: An optional header instance. - /// - keys: An array of `JWK`s used for signing. - /// - Returns: A `JWSJson` object with the specified header types. - /// - Throws: An error if the signing process fails. - static func jsonSerialization( - payload: Data, - protectedHeader: P, - unprotectedHeader: H? = nil as DefaultJWSHeaderImpl?, - keys: [JWK] - ) throws -> JWSJson { - let signatures = try keys - .map { - let jws = try JWS.init(payload: payload, protectedHeader: protectedHeader, key: $0) - // This should never be triggered, I just feel the JWS interface is quite right, and dont want to add any generics. - guard - let typedProtected = jws.protectedHeader as? P - else { - throw JWSError.somethingWentWrong - } - - return try JWSJson.Signature( - protectedData: jws.protectedHeaderData, - protected: typedProtected, - header: unprotectedHeader, - signature: jws.signature - ) - } - - return try jsonSerialization(payload: payload, signatures: signatures) - } - - /// Encodes the JWS object into JSON data, allowing for custom protected header and header types. - /// This method provides a way to serialize the JWS object with specified header types into JSON. - /// - /// - Parameters: - /// - payload: The payload data. - /// - protectedHeader: The protected header instance. - /// - unprotectedHeader: An optional header instance. - /// - keys: An array of `JWK`s used for signing. - /// - Returns: JSON encoded data with the specified header types. - /// - Throws: An error if the JSON encoding process fails. - public static func jsonSerialization( - payload: Data, - protectedHeader: P, - unprotectedHeader: H? = nil as DefaultJWSHeaderImpl?, - keys: [JWK] - ) throws -> Data { - let json: JWSJson = try jsonSerialization( - payload: payload, - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - keys: keys - ) - return try JSONEncoder.jose.encode(json) - } - - static func jsonSerialization( - payload: Data, - signatures: [JWSJson.Signature] - ) throws -> JWSJson { - return JWSJson.init(payload: payload, signatures: signatures) - } - - static func jsonSerialization( - payload: Data, - signatures: [JWSJson.Signature] - ) throws -> Data { - let json: JWSJson = try jsonSerialization(payload: payload, signatures: signatures) - return try JSONEncoder.jose.encode(json) - } - - /// Generates a flattened JSON serialization of the JWS object for a single key. - /// This method is useful when there is only one signer and a compact JSON representation is preferred. - /// - /// - Parameters: - /// - payload: The payload data to be signed. - /// - key: The `JWK` used for signing. - /// - Returns: Flattened JSON encoded data representing the signed payload. - /// - Throws: An error if the signing or JSON encoding process fails. - public static func jsonSerializationFlattened( - payload: Data, - key: JWK - ) throws -> Data { - let json: JWSJson = try jsonSerialization(payload: payload, keys: [key]) - return try JSONEncoder.jose.encode(json.flattened()) - } - - /// Generates a flattened JSON serialization of the JWS object for a single key, allowing for custom protected header and header types. - /// This method is similar to `jsonSerializationFlattened(payload:key:)` but allows specifying custom header types. - /// - /// - Parameters: - /// - payload: The payload data. - /// - protectedHeader: The protected header instance. - /// - unprotectedHeader: An optional header instance. - /// - key: The `JWK` used for signing. - /// - Returns: Flattened JSON encoded data with the specified header types. - /// - Throws: An error if the signing or JSON encoding process fails. - public static func jsonSerializationFlattened( - payload: Data, - protectedHeader: P, - unprotectedHeader: H? = nil as DefaultJWSHeaderImpl?, - key: JWK - ) throws -> Data { - let json: JWSJson = try jsonSerialization( - payload: payload, - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - keys: [key] - ) - - return try JSONEncoder.jose.encode(json.flattened()) - } - - /// Generates a flattened JSON serialization of the JWS object for a single key, allowing for custom protected header and header types. - /// This method is similar to `jsonSerializationFlattened(payload:key:)` but allows specifying custom header types. - /// - /// - Parameters: - /// - payload: The payload data. - /// - protectedHeader: The protected header instance. - /// - unprotectedHeader: An optional header instance. - /// - key: The `JWK` used for signing. - /// - Returns: A `JWSJsonFlattened` object with the specified header types. - /// - Throws: An error if the signing or JSON encoding process fails. - public static func jsonSerializationFlattened( - payload: Data, - protectedHeader: P, - unprotectedHeader: H? = nil as DefaultJWSHeaderImpl?, - key: JWK - ) throws -> JWSJsonFlattened { - let json: JWSJson = try jsonSerialization( - payload: payload, - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - keys: [key] - ) - - return try json.flattened() - } -} - -private func prepareHeaderForJWK(header: Data, jwk: JWK?) throws -> Data { - if - var jsonObj = try JSONSerialization.jsonObject(with: header) as? [String: Any], - jsonObj["alg"] == nil - { - jsonObj["alg"] = jwk?.algorithm as? String - return try JSONSerialization.joseSerialization(withJSONObject: jsonObj) - } else { - return header - } -} diff --git a/Sources/JSONWebSignature/JWS+Verify.swift b/Sources/JSONWebSignature/JWS+Verify.swift deleted file mode 100644 index 2ad86ea..0000000 --- a/Sources/JSONWebSignature/JWS+Verify.swift +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey - -extension JWS { - /// Verifies the signature of the JWS instance using the provided JSON Web Key (JWK). - /// - /// - Parameter key: The `JWK` used for verification. - /// - Returns: `true` if the signature is valid, `false` otherwise. - /// - Throws: `JWSError` if there's a mismatch in algorithms between the key and the header, - /// if the algorithm is unsupported, or other errors encountered during verification. - public func verify(key: JWK?) throws -> Bool { - guard SigningAlgorithm.none != protectedHeader.algorithm else { - return true - } - guard let key else { - throw JWSError.missingKey - } - try key.algorithm.map { - guard $0 == protectedHeader.algorithm?.rawValue else { - throw JWSError.keyAlgorithmAndHeaderAlgorithmAreNotEqual( - header: protectedHeader.algorithm?.rawValue ?? "", - key: $0 - ) - } - } - - guard - let verifier = protectedHeader.algorithm?.cryptoVerifier - else { - throw JWSError.unsupportedAlgorithm( - keyType: protectedHeader.jwk?.keyType.rawValue, - algorithm: protectedHeader.algorithm?.rawValue, - curve: protectedHeader.jwk?.curve?.rawValue - ) - } - let signingData = try JWS.buildSigningData(header: protectedHeaderData, data: payload) - return try verifier.verify(data: signingData, signature: signature, key: key) - } - - /// Verifies the signature of a JWS JSON object using a single JSON Web Key (JWK). - /// Can validate either all signatures or just one, depending on the `validateAll` parameter. - /// - /// - Parameters: - /// - jwsJson: The JWS JSON data to be verified. - /// - jwk: The `JWK` used for verification. - /// - validateAll: If `true`, validates all signatures; otherwise, validates at least one. - /// - Returns: `true` if the signature(s) are valid according to the provided parameters, `false` otherwise. - /// - Throws: `JWSError` for errors encountered during verification. - public static func verify(jwsJson: Data, jwk: JWK, validateAll: Bool = false) throws -> Bool { - let json: JWSJson = try decodeFullOrFlattenedJson(json: jwsJson) - - if validateAll { - guard try json.signatures - .map({ try $0.jws(payload: json.payload) }) - .contains(where: { (try? $0.verify(key: jwk)) ?? false }) - else { - return false - } - return true - } else { - let filteredSignatures = json.findSignaturesForJWK(jwk: jwk) - guard !filteredSignatures.isEmpty else { - throw JWSError.noSignatureForJWK(jwkAlg: jwk.algorithm, jwkKid: jwk.keyID) - } - return try filteredSignatures.map { try $0.jws(payload: json.payload) }.allSatisfy { try $0.verify(key: jwk) } - } - } - - /// Verifies the signature of a JWS JSON object using an array of JSON Web Keys (JWKs). - /// Depending on the `allNeedToVerify` parameter, either all keys need to verify the signature successfully, - /// or at least one key needs to succeed. - /// - /// - Parameters: - /// - jwsJson: The JWS JSON data to be verified. - /// - jwks: An array of `JWK`s used for verification. - /// - allNeedToVerify: If `true`, all keys must verify the signature successfully; otherwise, at least one key must succeed. - /// - Returns: `true` if the signature(s) are valid according to the provided parameters, `false` otherwise. - /// - Throws: `JWSError` for errors encountered during verification. - public static func verify(jwsJson: Data, jwks: [JWK], allNeedToVerify: Bool = false) throws -> Bool { - if allNeedToVerify { - return try jwks.allSatisfy { try JWS.verify(jwsJson: jwsJson, jwk: $0) } - } else { - return try jwks.contains { try JWS.verify(jwsJson: jwsJson, jwk: $0) } - } - } -} - -func decodeFullOrFlattenedJson< - P: JWSRegisteredFieldsHeader, H: JWSRegisteredFieldsHeader ->(json: Data) throws -> JWSJson { - guard - let completeJson = try? JSONDecoder() - .decode( - JWSJson.self, - from: json - ) else { - guard let flattened = try? JSONDecoder().decode(JWSJsonFlattened.self, from: json) else { - throw JWS.JWSError.couldNotDecodeCompleteJsonOrFlattened - } - return try flattened.fullJson() - } - return completeJson -} diff --git a/Sources/JSONWebSignature/JWS.swift b/Sources/JSONWebSignature/JWS.swift deleted file mode 100644 index 933e952..0000000 --- a/Sources/JSONWebSignature/JWS.swift +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey -import Tools - -/// `JWS` represents a JSON Web Signature (JWS) structure as defined in [RFC7515](https://tools.ietf.org/html/rfc7515). -/// It encapsulates the protected header, payload, and signature of a JWS, -/// and provides functionality for initializing and manipulating JWS objects in compliance with the standard. -public struct JWS { - /// The protected header fields of the JWS as specified in RFC 7515. - /// This header contains metadata about the type of signature and algorithm used. - public let protectedHeader: JWSRegisteredFieldsHeader - - /// The payload data that is signed, conforming to RFC 7515 specifications. - public let payload: Data - - /// The signature of the JWS - /// It is computed based on the protected header and the payload data. - public let signature: Data - - /// The compact serialization of the JWS as a string, following the format outlined in RFC 7515. - /// This string is a Base64URL encoded representation of the header, payload, and signature. - public let compactSerialization: String - - /// The raw header data, as used in the JWS structure. - public let protectedHeaderData: Data - - /// Initializes a new JWS object using raw header data, payload data, and signature, - /// as per the structure and encoding rules. - /// Throws an error if the header data cannot be decoded into a `JWSProtectedFieldsHeader`. - /// - /// - Parameters: - /// - header: The raw header data. - /// - data: The payload data. - /// - signature: The signature data. - public init(protectedHeaderData: Data, data: Data, signature: Data) throws { - self.protectedHeaderData = protectedHeaderData - self.protectedHeader = try JSONDecoder().decode(DefaultJWSHeaderImpl.self, from: protectedHeaderData) - self.payload = data - self.signature = signature - self.compactSerialization = try JWS.buildJWSString( - header: protectedHeaderData, - data: data, - signature: signature - ) - } - - /// Initializes a new JWS object using a `JWSProtectedFieldsHeader` instance, payload data, and signature, - /// encoding the header. - /// - /// - Parameters: - /// - header: The `JWSProtectedFieldsHeader` instance. - /// - data: The payload data. - /// - signature: The signature data. - public init(protectedHeader: JWSRegisteredFieldsHeader, data: Data, signature: Data) throws { - let headerData = try JSONEncoder.jose.encode(protectedHeader) - self.protectedHeaderData = headerData - self.protectedHeader = protectedHeader - self.payload = data - self.signature = signature - self.compactSerialization = try JWS.buildJWSString(header: headerData, data: data, signature: signature) - } - - /// Initializes a new JWS object from a compact serialization string. - /// Decodes the header, payload, and signature from the string. - /// Throws an error if the string format is invalid or decoding fails. - /// - /// - Parameters: - /// - jwsString: The compact serialization string of the JWS. - /// - headerType: The type of the header to decode into. - public init(jwsString: String, headerType: JWSRegisteredFieldsHeader.Type) throws { - let components = jwsString.components(separatedBy: ".") - guard components.count == 3 else { - throw JWSError.invalidString - } - let headerDecoded = try Base64URL.decode(components[0]) - self.payload = try Base64URL.decode(components[1]) - self.signature = try Base64URL.decode(components[2]) - self.protectedHeaderData = headerDecoded - self.protectedHeader = try JSONDecoder().decode(headerType, from: headerDecoded) - self.compactSerialization = jwsString - } - - /// Initializes a new JWS object from a compact serialization string using a default header type, - /// following the format and decoding rules specified in RFC 7515. - /// - /// - Parameter jwsString: The compact serialization string of the JWS. - public init(jwsString: String) throws { - try self.init(jwsString: jwsString, headerType: DefaultJWSHeaderImpl.self) - } -} diff --git a/Sources/JSONWebSignature/JWSRegisteredFieldsHeader.swift b/Sources/JSONWebSignature/JWSRegisteredFieldsHeader.swift deleted file mode 100644 index 6b8a88f..0000000 --- a/Sources/JSONWebSignature/JWSRegisteredFieldsHeader.swift +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebAlgorithms -import JSONWebKey - -/// `JWSProtectedFieldsHeader` protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS). -/// It includes various optional fields that can be included in a JWS Header. -public protocol JWSRegisteredFieldsHeader: Codable { - /// The signing algorithm to be used. - var algorithm: SigningAlgorithm? { get set } - - /// URL that refers to a resource for a set of JSON-encoded public keys. - var jwkSetURL: String? { get set } - - /// JSON Web Key representing the key used to sign the payload. - var jwk: JWK? { get set } - - /// Key ID hint indicating which key was used to secure the JWS. - var keyID: String? { get set } - - /// URL for the X.509 public key certificate or certificate chain corresponding to the key used to sign the JWS. - var x509URL: String? { get set } - - /// X.509 public key certificate or certificate chain. - var x509CertificateChain: String? { get set } - - /// Base64URL-encoded SHA-1 thumbprint (a.k.a. digest) of the DER encoding of an X.509 certificate. - var x509CertificateSHA1Thumbprint: String? { get set } - - /// Base64URL-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate. - var x509CertificateSHA256Thumbprint: String? { get set } - - /// Type of token - typically used to declare a MIME type. - var type: String? { get set } - - /// Media type of the complete JWS. - var contentType: String? { get set } - - /// Indicates extensions to this protocol that must be understood and processed. - var critical: String? { get set } -} - -/// `DefaultJWSHeaderImpl` is a default implementation of the `JWSProtectedFieldsHeader` protocol. -/// It provides storage for the common fields found in a JWS protected header. -public struct DefaultJWSHeaderImpl: JWSRegisteredFieldsHeader { - public var algorithm: SigningAlgorithm? - public var keyID: String? - public var jwkSetURL: String? - public var jwk: JWK? - public var x509URL: String? - public var x509CertificateChain: String? - public var x509CertificateSHA1Thumbprint: String? - public var x509CertificateSHA256Thumbprint: String? - public var type: String? - public var contentType: String? - public var critical: String? - - /// Initializes a new `DefaultJWSHeaderImpl` instance with optional parameters for each field. - /// - Parameters: - /// - algorithm: The signing algorithm to be used (optional). - /// - keyID: The Key ID hint (optional). - /// - jwkSetURL: The URL for a set of JSON-encoded public keys (optional). - /// - jwk: The JSON Web Key (optional). - /// - x509URL: The URL for the X.509 public key certificate or certificate chain (optional). - /// - x509CertificateChain: The X.509 public key certificate or certificate chain (optional). - /// - x509CertificateSHA1Thumbprint: The SHA-1 thumbprint of the X.509 certificate (optional). - /// - x509CertificateSHA256Thumbprint: The SHA-256 thumbprint of the X.509 certificate (optional). - /// - type: The type of token (optional). - /// - contentType: The media type of the complete JWS (optional). - /// - critical: Indications of extensions that must be understood and processed (optional). - public init( - algorithm: SigningAlgorithm? = nil, - keyID: String? = nil, - jwkSetURL: String? = nil, - jwk: JWK? = nil, - x509URL: String? = nil, - x509CertificateChain: String? = nil, - x509CertificateSHA1Thumbprint: String? = nil, - x509CertificateSHA256Thumbprint: String? = nil, - type: String? = nil, - contentType: String? = nil, - critical: String? = nil - ) { - self.algorithm = algorithm - self.keyID = keyID - self.jwkSetURL = jwkSetURL - self.jwk = jwk - self.x509URL = x509URL - self.x509CertificateChain = x509CertificateChain - self.x509CertificateSHA1Thumbprint = x509CertificateSHA1Thumbprint - self.x509CertificateSHA256Thumbprint = x509CertificateSHA256Thumbprint - self.type = type - self.contentType = contentType - self.critical = critical - } - - public init(from: JWK) { - self.init( - keyID: from.keyID, - x509URL: from.x509URL, - x509CertificateChain: from.x509CertificateChain, - x509CertificateSHA1Thumbprint: from.x509CertificateSHA1Thumbprint, - x509CertificateSHA256Thumbprint: from.x509CertificateSHA256Thumbprint - ) - } -} diff --git a/Sources/JSONWebToken/DefaultJWTClaims+Codable.swift b/Sources/JSONWebToken/DefaultJWTClaims+Codable.swift deleted file mode 100644 index 01218d6..0000000 --- a/Sources/JSONWebToken/DefaultJWTClaims+Codable.swift +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation - -extension DefaultJWTClaimsImpl: Codable { - enum CodingKeys: String, CodingKey { - case issuer = "iss" - case subject = "sub" - case audience = "aud" - case expirationTime = "exp" - case notBeforeTime = "nbf" - case issuedAt = "iat" - case jwtID = "jti" - } - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(issuer, forKey: .issuer) - try container.encodeIfPresent(subject, forKey: .subject) - try container.encodeIfPresent(audience, forKey: .audience) - try container.encodeIfPresent(expirationTime, forKey: .expirationTime) - try container.encodeIfPresent(notBeforeTime, forKey: .notBeforeTime) - try container.encodeIfPresent(issuedAt, forKey: .issuedAt) - try container.encodeIfPresent(jwtID, forKey: .jwtID) - } - - public init(from decoder: Decoder) throws { - let container = try decoder.container(keyedBy: CodingKeys.self) - issuer = try container.decodeIfPresent(String.self, forKey: .issuer) - subject = try container.decodeIfPresent(String.self, forKey: .subject) - audience = try container.decodeIfPresent([String].self, forKey: .audience) - expirationTime = try container.decodeIfPresent(Date.self, forKey: .expirationTime) - notBeforeTime = try container.decodeIfPresent(Date.self, forKey: .notBeforeTime) - issuedAt = try container.decodeIfPresent(Date.self, forKey: .issuedAt) - jwtID = try container.decodeIfPresent(String.self, forKey: .jwtID) - } -} diff --git a/Sources/JSONWebToken/JWT+Encryption.swift b/Sources/JSONWebToken/JWT+Encryption.swift deleted file mode 100644 index e136c46..0000000 --- a/Sources/JSONWebToken/JWT+Encryption.swift +++ /dev/null @@ -1,188 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebKey -import JSONWebEncryption - -extension JWT { - - /// Encrypts the payload of a JWT and returns it in JWE format. - /// - /// - Parameters: - /// - payload: The payload to encrypt, conforming to `JWTRegisteredFieldsClaims`. - /// - protectedHeader: A header with fields that will be protected (encrypted). - /// - unprotectedHeader: An optional header with fields that will be unprotected (not encrypted). - /// - senderKey: An optional `JWK` representing the sender's key. - /// - recipientKey: An optional `JWK` representing the recipient's key. - /// - sharedKey: An optional shared symmetric key used in key agreement protocols. - /// - cek: An optional content encryption key. - /// - initializationVector: An optional initialization vector for the encryption algorithm. - /// - additionalAuthenticationData: Optional additional data authenticated along with the payload. - /// - Returns: An instance of `JWT` in JWE format with the encrypted payload. - /// - Throws: An error if the encryption process fails. - public static func encrypt< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader - >( - payload: C, - protectedHeader: P, - unprotectedHeader: U? = nil as DefaultJWEHeaderImpl?, - senderKey: JWK?, - recipientKey: JWK?, - sharedKey: JWK?, - cek: Data? = nil, - initializationVector: Data? = nil, - additionalAuthenticationData: Data? = nil - ) throws -> JWT { - var protectedHeader = protectedHeader - protectedHeader.type = "JWT" - - return JWT( - payload: payload, - format: .jwe(try JWE( - payload: JSONEncoder.jose.encode(payload), - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - senderKey: senderKey, - recipientKey: recipientKey, - cek: cek, - initializationVector: initializationVector, - additionalAuthenticationData: additionalAuthenticationData - )) - ) - } - - /// Encrypts a JWT string as a nested JWT in JWE format. - /// - /// This method is used for creating a nested JWT, where the payload is another JWT string. - /// It encrypts the provided JWT string and wraps it in a new JWE structure. - /// - /// - Parameters: - /// - jwtString: The JWT string to be encrypted. - /// - protectedHeader: A header with fields that will be protected (encrypted) in the outer JWE layer. - /// - unprotectedHeader: An optional header with fields that will be unprotected (not encrypted) in the outer JWE layer. - /// - senderKey: An optional `JWK` representing the sender's key for the outer JWE layer. - /// - recipientKey: An optional `JWK` representing the recipient's key for the outer JWE layer. - /// - sharedKey: An optional shared symmetric key used in key agreement protocols for the outer JWE layer. - /// - cek: An optional content encryption key for the outer JWE layer. - /// - initializationVector: An optional initialization vector for the outer JWE encryption algorithm. - /// - additionalAuthenticationData: Optional additional data authenticated along with the payload for the outer JWE layer. - /// - Returns: A string representing the encrypted JWT in JWE format. - /// - Throws: An error if the encryption process fails. - public static func encryptAsNested< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader - >( - jwt: JWT, - protectedHeader: P, - unprotectedHeader: U? = nil as DefaultJWEHeaderImpl?, - senderKey: JWK? = nil, - recipientKey: JWK? = nil, - sharedKey: JWK? = nil, - cek: Data? = nil, - initializationVector: Data? = nil, - additionalAuthenticationData: Data? = nil - ) throws -> JWE { - var protectedHeader = protectedHeader - protectedHeader.contentType = "JWT" - - return try JWE( - payload: jwt.jwtString.tryToData(), - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - senderKey: senderKey, - recipientKey: recipientKey, - cek: cek, - initializationVector: initializationVector, - additionalAuthenticationData: additionalAuthenticationData - ) - } - - /// Encrypts a JWT payload as a nested JWT in JWE format with distinct outer and inner JWE headers. - /// - /// This method creates a nested JWE structure with two layers of encryption. The inner layer encrypts the payload, - /// and the outer layer encrypts the resulting JWT from the inner encryption. - /// - /// - Parameters: - /// - payload: The payload to encrypt, conforming to `JWTRegisteredFieldsClaims`. - /// - protectedHeader: A header with fields that will be protected (encrypted) in the outer JWE layer. - /// - unprotectedHeader: An optional header with fields that will be unprotected (not encrypted) in the outer JWE layer. - /// - senderKey: An optional `JWK` representing the sender's key for the outer JWE layer. - /// - recipientKey: An optional `JWK` representing the recipient's key for the outer JWE layer. - /// - sharedKey: An optional shared symmetric key used in key agreement protocols for the outer JWE layer. - /// - cek: An optional content encryption key for the outer JWE layer. - /// - initializationVector: An optional initialization vector for the outer JWE encryption algorithm. - /// - additionalAuthenticationData: Optional additional data authenticated along with the payload for the outer JWE layer. - /// - nestedProtectedHeader: A header with fields that will be protected (encrypted) in the inner JWE layer. - /// - nestedUnprotectedHeader: An optional header with fields that will be unprotected (not encrypted) in the inner JWE layer. - /// - nestedSenderKey: An optional `JWK` representing the sender's key for the inner JWE layer. - /// - nestedRecipientKey: An optional `JWK` representing the recipient's key for the inner JWE layer. - /// - nestedSharedKey: An optional shared symmetric key used in key agreement protocols for the inner JWE layer. - /// - nestedCek: An optional content encryption key for the inner JWE layer. - /// - nestedInitializationVector: An optional initialization vector for the inner JWE encryption algorithm. - /// - nestedAdditionalAuthenticationData: Optional additional data authenticated along with the payload for the inner JWE layer. - /// - Returns: A `JWE` instance representing the doubly encrypted nested JWT. - /// - Throws: An error if the encryption process fails. - public static func encryptAsNested< - P: JWERegisteredFieldsHeader, - U: JWERegisteredFieldsHeader, - NP: JWERegisteredFieldsHeader, - NU: JWERegisteredFieldsHeader - >( - payload: C, - protectedHeader: P, - unprotectedHeader: U? = nil as DefaultJWEHeaderImpl?, - senderKey: JWK? = nil, - recipientKey: JWK? = nil, - sharedKey: JWK? = nil, - cek: Data? = nil, - initializationVector: Data? = nil, - additionalAuthenticationData: Data? = nil, - nestedProtectedHeader: NP, - nestedUnprotectedHeader: NU? = nil as DefaultJWEHeaderImpl?, - nestedSenderKey: JWK? = nil, - nestedRecipientKey: JWK? = nil, - nestedSharedKey: JWK? = nil, - nestedCek: Data? = nil, - nestedInitializationVector: Data? = nil, - nestedAdditionalAuthenticationData: Data? = nil - ) throws -> JWE { - let jwt = try encrypt( - payload: payload, - protectedHeader: nestedProtectedHeader, - unprotectedHeader: nestedUnprotectedHeader, - senderKey: nestedSenderKey, - recipientKey: nestedRecipientKey, - sharedKey: nestedSharedKey, - cek: nestedCek, - initializationVector: nestedInitializationVector, - additionalAuthenticationData: nestedAdditionalAuthenticationData - ) - - return try encryptAsNested( - jwt: jwt, - protectedHeader: protectedHeader, - unprotectedHeader: unprotectedHeader, - senderKey: senderKey, - recipientKey: recipientKey, - sharedKey: sharedKey, - cek: cek, - initializationVector: initializationVector, - additionalAuthenticationData: additionalAuthenticationData - ) - } -} diff --git a/Sources/JSONWebToken/JWT+Error.swift b/Sources/JSONWebToken/JWT+Error.swift deleted file mode 100644 index 50dae56..0000000 --- a/Sources/JSONWebToken/JWT+Error.swift +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation - -extension JWT { - /// `JWTError` is an enumeration representing various errors that can occur while processing JSON Web Tokens (JWTs). - enum JWTError: LocalizedError { - /// General error case when something goes wrong but the exact reason is unspecified or unknown. - case somethingWentWrong - - /// Error indicating that the sender's key is missing. This is typically required for operations like signing or key agreement. - case missingSenderKey - - /// Error indicating that a key required for verifying a nested JWT is missing. - /// This error is thrown when the necessary key for a nested JWT layer is not provided, - /// making it impossible to verify the integrity or authenticity of the nested JWT. - case missingNestedJWTKey - - /// Error indicating that the signature of the JWT is invalid. This can occur during verification if the signature does not match the payload or is malformed. - case invalidSignature - - /// Error indicating a mismatch between the expected issuer (`iss` claim) and the actual issuer of the JWT. - case issuerMismatch - - /// Error indicating that the JWT has expired (`exp` claim) and is no longer valid. - case expired - - /// Error indicating that the JWT is not yet valid (`nbf` claim) as the current time is before the specified not-before time. - case notYetValid - - /// Error indicating that the JWT's issue time (`iat` claim) is set in the future, which is an invalid condition. - case issuedInTheFuture - - /// Error indicating a mismatch between the expected audience (`aud` claim) and the actual audience of the JWT. - case audienceMismatch - } -} diff --git a/Sources/JSONWebToken/JWT+Signing.swift b/Sources/JSONWebToken/JWT+Signing.swift deleted file mode 100644 index 03f5fad..0000000 --- a/Sources/JSONWebToken/JWT+Signing.swift +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebKey -import JSONWebSignature - -extension JWT { - /// Creates a signed JWT using the provided payload, header, and key. - /// - /// This method signs the payload and creates a JWT in JWS (JSON Web Signature) format. - /// - /// - Parameters: - /// - payload: The payload to be included in the JWT, conforming to `JWTRegisteredFieldsClaims`. - /// - protectedHeader: A `JWSRegisteredFieldsHeader` containing header fields that will be protected in the JWS. - /// - key: The `JWK` (JSON Web Key) used for signing the payload. - /// - Returns: A `JWT` instance in JWS format with the signed payload. - /// - Throws: An error if the signing process fails. - public static func signed( - payload: C, - protectedHeader: P, - key: JWK? - ) throws -> JWT { - var protectedHeader = protectedHeader - protectedHeader.type = "JWT" - - return JWT( - payload: payload, - format: .jws(try JWS( - payload: JSONEncoder.jose.encode(payload), - protectedHeader: protectedHeader, - key: key - )) - ) - } - - /// Signs a JWT payload as a nested JWT in JWS format with distinct inner and outer JWS headers. - /// - /// This method creates a nested JWS structure where the payload is first signed using the inner header and key, - /// then the resulting JWT string is signed again using the outer header and key. - /// - /// - Parameters: - /// - payload: The payload to be signed, conforming to `JWTRegisteredFieldsClaims`. - /// - protectedHeader: A `JWSRegisteredFieldsHeader` containing header fields for the outer JWS layer. - /// - key: The `JWK` used for signing the outer JWT string. - /// - nestedProtectedHeader: A `JWSRegisteredFieldsHeader` containing header fields for the inner JWS layer. - /// - nestedKey: The `JWK` used for signing the inner JWT payload. - /// - Returns: A `JWS` instance representing the doubly signed nested JWT. - /// - Throws: An error if the signing process fails. - public static func signedAsNested< - P: JWSRegisteredFieldsHeader, - NP: JWSRegisteredFieldsHeader - >( - payload: C, - protectedHeader: P, - key: JWK?, - nestedProtectedHeader: NP, - nestedKey: JWK? - ) throws -> JWS { - let jwt = try signed( - payload: payload, - protectedHeader: nestedProtectedHeader, - key: nestedKey - ) - - return try signedAsNested( - jwtString: jwt.jwtString, - protectedHeader: protectedHeader, - key: key - ) - } - - /// Signs a JWT string as a nested JWT in JWS format. - /// - /// This method is used for creating a nested JWT, where the payload is another JWT string. - /// It signs the provided JWT string and wraps it in a new JWS structure. - /// - /// - Parameters: - /// - jwtString: The JWT string to be signed. - /// - protectedHeader: A `JWSRegisteredFieldsHeader` containing header fields that will be protected in the JWS. - /// - key: The `JWK` used for signing the JWT string. - /// - Returns: A string representing the signed JWT in JWS format. - /// - Throws: An error if the signing process fails. - public static func signedAsNested( - jwtString: String, - protectedHeader: P, - key: JWK? - ) throws -> JWS { - var protectedHeader = protectedHeader - protectedHeader.contentType = "JWT" - - return try JWS( - payload: JSONEncoder.jose.encode(jwtString.tryToData()), - protectedHeader: protectedHeader, - key: key - ) - } -} diff --git a/Sources/JSONWebToken/JWT+Verification.swift b/Sources/JSONWebToken/JWT+Verification.swift deleted file mode 100644 index 4ff05ce..0000000 --- a/Sources/JSONWebToken/JWT+Verification.swift +++ /dev/null @@ -1,215 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebEncryption -import JSONWebKey -import JSONWebSignature - -extension JWT { - - /// Verifies a JWT string and returns a decoded JWT if successful. - /// - /// This method supports both JWS (JSON Web Signature) and JWE (JSON Web Encryption) formats. It first determines the format of the JWT based on the number of components separated by dots in the JWT string. The method also handles nested JWTs, verifying each layer as needed. - /// - /// - Parameters: - /// - jwtString: The JWT string to be verified and decoded. - /// - senderKey: An optional `JWK` representing the sender's key, used for verifying a JWS. - /// - recipientKey: An optional `JWK` representing the recipient's key, used for decrypting a JWE. - /// - nestedKeys: An array of `JWK` used for verifying nested JWTs. - /// - expectedIssuer: An optional expected issuer (`iss` claim) to validate. - /// - expectedAudience: An optional expected audience (`aud` claim) to validate. - /// - Returns: A `JWT` instance containing the payload and format. - /// - Throws: `JWTError` if verification fails, the signature is invalid, claims validation fails, the JWT format is incorrect, or if nested JWT keys are missing. - public static func verify( - jwtString: String, - senderKey: JWK? = nil, - recipientKey: JWK? = nil, - nestedKeys: [JWK] = [], - expectedIssuer: String? = nil, - expectedAudience: String? = nil - ) throws -> JWT { - let components = jwtString.components(separatedBy: ".") - switch components.count { - case 3: - let jws = try JWS(jwsString: jwtString) - if jws.protectedHeader.contentType == "JWT" { - guard let key = getKeyForJWSHeader( - keys: nestedKeys, - header: jws.protectedHeader - ) else { throw JWTError.missingNestedJWTKey } - - return try verify( - jwtString: jws.payload.tryToString(), - senderKey: key, - recipientKey: nil, - nestedKeys: nestedKeys, - expectedIssuer: expectedIssuer, - expectedAudience: expectedAudience - ) - } - let payload = try JSONDecoder().decode(C.self, from: jws.payload) - - guard try jws.verify(key: senderKey) else { - throw JWTError.invalidSignature - } - try validateClaims( - claims: payload, - expectedIssuer: expectedIssuer, - expectedAudience: expectedAudience - ) - return .init(payload: payload, format: .jws(jws)) - case 5: - let jwe = try JWE(compactString: jwtString) - - let decryptedPayload = try jwe.decrypt( - senderKey: senderKey, - recipientKey: recipientKey - ) - - if jwe.protectedHeader.contentType == "JWT" { - guard let key = getKeyForJWEHeader( - keys: nestedKeys, - header: jwe.protectedHeader - ) else { throw JWTError.missingNestedJWTKey } - - return try verify( - jwtString: decryptedPayload.tryToString(), - senderKey: senderKey, - recipientKey: key, - nestedKeys: nestedKeys, - expectedIssuer: expectedIssuer, - expectedAudience: expectedAudience - ) - } - let payload = try JSONDecoder().decode(C.self, from: decryptedPayload) - return .init(payload: payload, format: .jwe(jwe)) - default: - throw JWTError.somethingWentWrong - } - } -} - -public func validateClaims( - claims: JWTRegisteredFieldsClaims, - expectedIssuer: String? = nil, - expectedAudience: String? = nil -) throws { - let currentDate = Date() - - // Validate Issuer - if let expectedIssuer = expectedIssuer, let issuer = claims.issuer { - guard issuer == expectedIssuer else { - throw DefaultJWT.JWTError.issuerMismatch - } - } - - // Validate Expiration Time - if let expirationTime = claims.expirationTime { - guard currentDate < expirationTime else { - throw DefaultJWT.JWTError.expired - } - } - - // Validate Not Before Time - if let notBeforeTime = claims.notBeforeTime { - guard currentDate >= notBeforeTime else { - throw DefaultJWT.JWTError.notYetValid - } - } - - // Validate Issued At - if let issuedAt = claims.issuedAt { - guard issuedAt <= currentDate else { - throw DefaultJWT.JWTError.issuedInTheFuture - } - } - - // Validate Audience - if let expectedAudience = expectedAudience, let audience = claims.audience { - guard audience.contains(expectedAudience) else { - throw DefaultJWT.JWTError.audienceMismatch - } - } - - try claims.validateExtraClaims() -} - -private func getKeyForJWSHeader(keys: [JWK], header: JWSRegisteredFieldsHeader?) -> JWK? { - keys.first { - if let thumbprint = try? $0.thumbprint() { - if thumbprint == header?.keyID { - return true - } - - if - let hThumbprint = try? header?.jwk?.thumbprint(), - hThumbprint == thumbprint - { - return true - } - } - guard let header else { return false } - - if let x509Url = header.x509URL, x509Url == $0.x509URL { return true } - if - let x509CertificateSHA256Thumbprint = header.x509CertificateSHA256Thumbprint, - x509CertificateSHA256Thumbprint == $0.x509CertificateSHA256Thumbprint - { return true } - - if - let x509CertificateSHA1Thumbprint = header.x509CertificateSHA1Thumbprint, - x509CertificateSHA1Thumbprint == $0.x509CertificateSHA1Thumbprint - { return true } - - if let keyID = header.keyID, keyID == $0.keyID { return true } - - return false - } -} - -private func getKeyForJWEHeader(keys: [JWK], header: JWERegisteredFieldsHeader?) -> JWK? { - keys.first { - if let thumbprint = try? $0.thumbprint() { - if thumbprint == header?.keyID { - return true - } - - if - let hThumbprint = try? header?.jwk?.thumbprint(), - hThumbprint == thumbprint - { - return true - } - } - guard let header else { return false } - - if let x509Url = header.x509URL, x509Url == $0.x509URL { return true } - if - let x509CertificateSHA256Thumbprint = header.x509CertificateSHA256Thumbprint, - x509CertificateSHA256Thumbprint == $0.x509CertificateSHA256Thumbprint - { return true } - - if - let x509CertificateSHA1Thumbprint = header.x509CertificateSHA1Thumbprint, - x509CertificateSHA1Thumbprint == $0.x509CertificateSHA1Thumbprint - { return true } - - if let keyID = header.keyID, keyID == $0.keyID { return true } - - return false - } -} diff --git a/Sources/JSONWebToken/JWT.swift b/Sources/JSONWebToken/JWT.swift deleted file mode 100644 index 4258919..0000000 --- a/Sources/JSONWebToken/JWT.swift +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation -import JSONWebSignature -import JSONWebEncryption -import JSONWebKey - -/// `JWT` represents a JSON Web Token which is a compact, URL-safe means of representing claims to be transferred between two parties. -/// -/// The `JWT` struct is generic over `C`, which must conform to the `JWTRegisteredFieldsClaims` protocol. This allows for flexibility in defining the set of claims a JWT can carry. -/// -/// - Parameters: -/// - C: The type of claims the JWT carries. Must conform to `JWTRegisteredFieldsClaims`. -public struct JWT { - /// `Format` is an enumeration that defines the two possible formats for a JWT: JWE and JWS. - public enum Format { - /// JWE format, representing an encrypted JWT. - case jwe(JWE) - - /// JWS format, representing a signed JWT. - case jws(JWS) - } - - /// The payload of the JWT, containing the claims. - public let payload: C - - /// The format of the JWT, either JWE (encrypted) or JWS (signed). - public let format: Format - - /// A computed property that returns the JWT in its compact string representation. - /// If the JWT is in JWE format, it returns the compact serialization of the JWE. - /// If in JWS format, it returns the compact serialization of the JWS. - public var jwtString: String { - switch format { - case .jwe(let jwe): - return jwe.compactSerialization() - case .jws(let jws): - return jws.compactSerialization - } - } -} diff --git a/Sources/JSONWebToken/JWTRegisteredFieldsClaims.swift b/Sources/JSONWebToken/JWTRegisteredFieldsClaims.swift deleted file mode 100644 index c0f2b6b..0000000 --- a/Sources/JSONWebToken/JWTRegisteredFieldsClaims.swift +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation - -typealias DefaultJWT = JWT - -/// `JWTRegisteredFieldsClaims` is a protocol defining the standard claims typically included in a JWT. -/// Conforming types can represent the payload of a JWT, encompassing both registered claim names and custom claims. -public protocol JWTRegisteredFieldsClaims: Codable { - // "iss" claim representing the issuer of the JWT. - var issuer: String? { get } - // "sub" claim representing the subject of the JWT. - var subject: String? { get } - // "aud" claim representing the audience(s) of the JWT. - var audience: [String]? { get } - // "exp" claim representing the expiration time of the JWT. - var expirationTime: Date? { get } - // "nbf" claim representing the time before which the JWT must not be accepted. - var notBeforeTime: Date? { get } - // "iat" claim representing the time at which the JWT was issued. - var issuedAt: Date? { get } - // "jti" claim representing a unique identifier for the JWT. - var jwtID: String? { get } - - /// Validates extra claims in the JWT. - /// - Throws: `JWTError` if any claim validations fail. - func validateExtraClaims() throws -} - -/// `DefaultJWTClaimsImpl` is a struct implementing the `JWTRegisteredFieldsClaims` protocol, providing a default set of claims. -public struct DefaultJWTClaimsImpl: JWTRegisteredFieldsClaims { - public let issuer: String? - public let subject: String? - public let audience: [String]? - public let expirationTime: Date? - public let notBeforeTime: Date? - public let issuedAt: Date? - public let jwtID: String? - - /// Initializes a new `DefaultJWTClaimsImpl` instance with optional parameters for each standard claim. - public init( - issuer: String? = nil, - subject: String? = nil, - audience: [String]? = nil, - expirationTime: Date? = nil, - notBeforeTime: Date? = nil, - issuedAt: Date? = nil, - jwtID: String? = nil - ) { - self.issuer = issuer - self.subject = subject - self.audience = audience - self.expirationTime = expirationTime - self.notBeforeTime = notBeforeTime - self.issuedAt = issuedAt - self.jwtID = jwtID - } - - public func validateExtraClaims() throws {} -} diff --git a/Sources/JoseDocs/JoseDocs.swift b/Sources/JoseDocs/JoseDocs.swift deleted file mode 100644 index 1397164..0000000 --- a/Sources/JoseDocs/JoseDocs.swift +++ /dev/null @@ -1,4 +0,0 @@ -@_exported import JSONWebAlgorithms -@_exported import JSONWebKey -@_exported import JSONWebSignature -@_exported import JSONWebEncryption diff --git a/Sources/Tools/Base64URL.swift b/Sources/Tools/Base64URL.swift deleted file mode 100644 index da1d925..0000000 --- a/Sources/Tools/Base64URL.swift +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright © 2023 Proxy, Inc. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -import Foundation - -/// A simple implementation of Base64URL decoding and encoding. -/// For more information, see https://www.rfc-editor.org/rfc/rfc4648#section-5. -public enum Base64URL { - /// Decodes a Base64URL-encoded string to a Data object. - /// - /// - Parameter value: The Base64URL-encoded string to be decoded. - /// - /// - Throws: `Base64URLError.invalidBase64` if the input string is not a valid Base64URL-encoded string. - /// `Base64URLError.unableToCreateDataFromBase64String` if the input string cannot be converted to a Data object. - public static func decode(_ value: String) throws -> Data { - var base64 = value - base64 = base64.replacingOccurrences(of: "-", with: "+") - base64 = base64.replacingOccurrences(of: "_", with: "/") - - // Properly pad the string. - switch base64.count % 4 { - case 0: break - case 2: base64 += "==" - case 3: base64 += "=" - default: throw Base64URL.Error.invalidBase64 - } - - guard let data = Data(base64Encoded: base64) else { - throw Base64URL.Error.unableToCreateDataFromBase64String(base64) - } - - return data - } - - /// Encodes a Data object to a Base64URL-encoded string. - /// - /// - Parameter value: The Data object to be encoded. - public static func encode(_ value: Data) -> String { - value.base64EncodedString() - .replacingOccurrences(of: "=", with: "") - .replacingOccurrences(of: "+", with: "-") - .replacingOccurrences(of: "/", with: "_") - } -} - -extension Base64URL { - /// Enum for handling Base64URLErrors. - enum Error: Swift.Error { - /// The input string is not a valid Base64URL-encoded string. - case invalidBase64 - /// The input string cannot be converted to a Data object. - case unableToCreateDataFromBase64String(String) - } -} diff --git a/Sources/Tools/DataRepresentable.swift b/Sources/Tools/DataRepresentable.swift deleted file mode 100644 index 4dfc89c..0000000 --- a/Sources/Tools/DataRepresentable.swift +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright © 2023 Proxy, Inc. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -import Foundation - -/// A protocol that defines a type that can be converted to and from a little-endian byte buffer. -public protocol DataRepresentable { - /// Initializes an instance of the conforming type from a little-endian byte buffer. - /// - /// - Parameter dataRepresentation: A little-endian byte buffer. - /// - Throws: A `CocoaError` with a `coderInvalidValue` code if the byte buffer has an invalid size. - init(dataRepresentation: ContiguousBytes) throws - - /// Returns a little-endian byte buffer representation of the conforming type. - /// - /// - Returns: A little-endian byte buffer representation of the conforming type. - var dataRepresentation: Data { get } -} - -public extension DataRepresentable { - /// Initializes an instance of the conforming type from a little-endian byte buffer. - /// - /// - Parameter dataRepresentation: A little-endian byte buffer. - /// - Throws: A `CocoaError` with a `coderInvalidValue` code if the byte buffer has an invalid size. - init(dataRepresentation: ContiguousBytes) throws { - self = try dataRepresentation.withUnsafeBytes { - guard - $0.count == MemoryLayout.size, - let baseAddress = $0.baseAddress - else { - throw CocoaError(.coderInvalidValue) - } - return baseAddress.bindMemory(to: Self.self, capacity: 1).pointee - } - } - - /// Returns a little-endian byte buffer representation of the conforming type. - /// - /// - Returns: A little-endian byte buffer representation of the conforming type. - var dataRepresentation: Data { - var value = self - return withUnsafeBytes(of: &value) { - Data($0) - } - } -} - -extension UInt32: DataRepresentable {} -extension UInt64: DataRepresentable {} diff --git a/Sources/Tools/HelperExtensions.swift b/Sources/Tools/HelperExtensions.swift deleted file mode 100644 index 5c7cb8e..0000000 --- a/Sources/Tools/HelperExtensions.swift +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation - -public struct EncodingError: Error {} - -public extension Data { - func tryToString() throws -> String { - guard let str = String(data: self, encoding: .utf8) else { - throw EncodingError() - } - return str - } -} - -public extension String { - func tryToData() throws -> Data { - guard let data = self.data(using: .utf8) else { - throw EncodingError() - } - return data - } -} diff --git a/Sources/Tools/JSONEncoder+JoseEncoder.swift b/Sources/Tools/JSONEncoder+JoseEncoder.swift deleted file mode 100644 index 669bb71..0000000 --- a/Sources/Tools/JSONEncoder+JoseEncoder.swift +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Foundation - -extension JSONEncoder { - public static var jose: JSONEncoder { - let encoder = JSONEncoder() - encoder.outputFormatting = [.sortedKeys, .withoutEscapingSlashes] - return encoder - } -} - -extension JSONSerialization { - public static func joseSerialization(withJSONObject object: Any) throws -> Data { - try data(withJSONObject: object, options: [.sortedKeys, .withoutEscapingSlashes]) - } -} diff --git a/Tests/JWATests/ES256KTests.swift b/Tests/JWATests/ES256KTests.swift deleted file mode 100644 index 16d59ec..0000000 --- a/Tests/JWATests/ES256KTests.swift +++ /dev/null @@ -1 +0,0 @@ -// Just a file so it doesnt break diff --git a/Tests/JWATests/EdDSATests.swift b/Tests/JWATests/EdDSATests.swift deleted file mode 100644 index 58dfef3..0000000 --- a/Tests/JWATests/EdDSATests.swift +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@testable import JSONWebAlgorithms -import JSONWebKey -import XCTest - -final class EdDSATests: XCTestCase { - - func testEdDSACycle() throws { - let payload = "Test".data(using: .utf8)! - let key = JWK.testingCurve25519KPair - let signature = try EdDSASigner().sign(data: payload, key: key) - XCTAssertTrue(try EdDSAVerifier().verify( - data: payload, - signature: signature, - key: key - )) - } -} diff --git a/Tests/JWATests/Mocks/JWK+Testing.swift b/Tests/JWATests/Mocks/JWK+Testing.swift deleted file mode 100644 index fde65d1..0000000 --- a/Tests/JWATests/Mocks/JWK+Testing.swift +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoSwift -import CryptoKit -import Foundation -import JSONWebKey -import secp256k1 - -extension JWK { - static var testingES256Pair: JWK { - let privateKey = P256.Signing.PrivateKey() - return privateKey.jwkRepresentation - } - - static var testingES384Pair: JWK { - let privateKey = P384.KeyAgreement.PrivateKey() - return privateKey.jwkRepresentation - } - - static var testingES521Pair: JWK { - let privateKey = P521.KeyAgreement.PrivateKey() - return privateKey.jwkRepresentation - } - - static var testingES256KPair: JWK { - let privateKey = try! secp256k1.KeyAgreement.PrivateKey() - return privateKey.jwkRepresentation - } - - static var testingCurve25519KPair: JWK { - let privateKey = Curve25519.Signing.PrivateKey() - return privateKey.jwkRepresentation - } - - static var testingRSAKPair: JWK { - let rsaKey = try! RSA(keySize: 256) - return JWK(keyType: .rsa, e: rsaKey.e.serialize(), n: rsaKey.n.serialize(), d: rsaKey.d?.serialize()) - } -} diff --git a/Tests/JWETests/AESTests.swift b/Tests/JWETests/AESTests.swift deleted file mode 100644 index cd43b55..0000000 --- a/Tests/JWETests/AESTests.swift +++ /dev/null @@ -1,215 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import XCTest -@testable import JSONWebEncryption -import JSONWebAlgorithms -import JSONWebKey -import Tools - -final class AESTests: XCTestCase { - func testAES128Cycle() throws { - let payload = try "Test".tryToData() - - let keyAlg = KeyManagementAlgorithm.a128KW - let encAlg = ContentEncryptionAlgorithm.a128GCM - - let header = DefaultJWEHeaderImpl( - keyManagementAlgorithm: keyAlg, - encodingAlgorithm: encAlg - ) - - let sharedKey = JWK.generateKek(sizeInBits: 128) - - let jwe = try AESJWEEncryptor().encrypt( - payload: payload, - recipientKey: sharedKey, - protectedHeader: header - ) - - let decrypted = try AESJWEDecryptor().decrypt( - protectedHeader: jwe.protectedHeader!, - cipher: jwe.cipherText, - encryptedKey: jwe.encryptedKey, - initializationVector: jwe.initializationVector, - authenticationTag: jwe.authenticationTag, - additionalAuthenticationData: jwe.additionalAuthenticationData, - sharedKey: sharedKey - ) - - XCTAssertEqual(payload, decrypted) - } - - func testAES192Cycle() throws { - let payload = try "Test".tryToData() - - let keyAlg = KeyManagementAlgorithm.a192KW - let encAlg = ContentEncryptionAlgorithm.a192GCM - - let header = DefaultJWEHeaderImpl( - keyManagementAlgorithm: keyAlg, - encodingAlgorithm: encAlg - ) - - let sharedKey = JWK.generateKek(sizeInBits: 192) - - let jwe = try AESJWEEncryptor().encrypt( - payload: payload, - recipientKey: sharedKey, - protectedHeader: header - ) - - let decrypted = try AESJWEDecryptor().decrypt( - protectedHeader: jwe.protectedHeader!, - cipher: jwe.cipherText, - encryptedKey: jwe.encryptedKey, - initializationVector: jwe.initializationVector, - authenticationTag: jwe.authenticationTag, - additionalAuthenticationData: jwe.additionalAuthenticationData, - sharedKey: sharedKey - ) - - XCTAssertEqual(payload, decrypted) - } - - func testAES256Cycle() throws { - let payload = try "Test".tryToData() - - let keyAlg = KeyManagementAlgorithm.a256KW - let encAlg = ContentEncryptionAlgorithm.a256GCM - - let header = DefaultJWEHeaderImpl( - keyManagementAlgorithm: keyAlg, - encodingAlgorithm: encAlg - ) - - let sharedKey = JWK.generateKek(sizeInBits: 256) - - let jwe = try AESJWEEncryptor().encrypt( - payload: payload, - recipientKey: sharedKey, - protectedHeader: header - ) - - let decrypted = try AESJWEDecryptor().decrypt( - protectedHeader: jwe.protectedHeader!, - cipher: jwe.cipherText, - encryptedKey: jwe.encryptedKey, - initializationVector: jwe.initializationVector, - authenticationTag: jwe.authenticationTag, - additionalAuthenticationData: jwe.additionalAuthenticationData, - sharedKey: sharedKey - ) - - XCTAssertEqual(payload, decrypted) - } - - func testAES128GCMCycle() throws { - let payload = try "Test".tryToData() - - let keyAlg = KeyManagementAlgorithm.a128GCMKW - let encAlg = ContentEncryptionAlgorithm.a128GCM - - let header = DefaultJWEHeaderImpl( - keyManagementAlgorithm: keyAlg, - encodingAlgorithm: encAlg - ) - - let sharedKey = JWK.generateKek(sizeInBits: 128) - - let jwe = try AESJWEEncryptor().encrypt( - payload: payload, - recipientKey: sharedKey, - protectedHeader: header - ) - - let decrypted = try AESJWEDecryptor().decrypt( - protectedHeader: jwe.protectedHeader!, - cipher: jwe.cipherText, - encryptedKey: jwe.encryptedKey, - initializationVector: jwe.initializationVector, - authenticationTag: jwe.authenticationTag, - additionalAuthenticationData: jwe.additionalAuthenticationData, - sharedKey: sharedKey - ) - - XCTAssertEqual(payload, decrypted) - } - - func testAES192GCMCycle() throws { - let payload = try "Test".tryToData() - - let keyAlg = KeyManagementAlgorithm.a192GCMKW - let encAlg = ContentEncryptionAlgorithm.a192GCM - - let header = DefaultJWEHeaderImpl( - keyManagementAlgorithm: keyAlg, - encodingAlgorithm: encAlg - ) - - let sharedKey = JWK.generateKek(sizeInBits: 192) - - let jwe = try AESJWEEncryptor().encrypt( - payload: payload, - recipientKey: sharedKey, - protectedHeader: header - ) - - let decrypted = try AESJWEDecryptor().decrypt( - protectedHeader: jwe.protectedHeader!, - cipher: jwe.cipherText, - encryptedKey: jwe.encryptedKey, - initializationVector: jwe.initializationVector, - authenticationTag: jwe.authenticationTag, - additionalAuthenticationData: jwe.additionalAuthenticationData, - sharedKey: sharedKey - ) - - XCTAssertEqual(payload, decrypted) - } - - func testAES256GCMCycle() throws { - let payload = try "Test".tryToData() - - let keyAlg = KeyManagementAlgorithm.a256GCMKW - let encAlg = ContentEncryptionAlgorithm.a256GCM - - let header = DefaultJWEHeaderImpl( - keyManagementAlgorithm: keyAlg, - encodingAlgorithm: encAlg - ) - - let sharedKey = JWK.generateKek(sizeInBits: 256) - - let jwe = try AESJWEEncryptor().encrypt( - payload: payload, - recipientKey: sharedKey, - protectedHeader: header - ) - - let decrypted = try AESJWEDecryptor().decrypt( - protectedHeader: jwe.protectedHeader!, - cipher: jwe.cipherText, - encryptedKey: jwe.encryptedKey, - initializationVector: jwe.initializationVector, - authenticationTag: jwe.authenticationTag, - additionalAuthenticationData: jwe.additionalAuthenticationData, - sharedKey: sharedKey - ) - - XCTAssertEqual(payload, decrypted) - } -} diff --git a/Tests/JWETests/DirectTests.swift b/Tests/JWETests/DirectTests.swift deleted file mode 100644 index f97011b..0000000 --- a/Tests/JWETests/DirectTests.swift +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import XCTest -@testable import JSONWebEncryption -import JSONWebAlgorithms -import JSONWebKey -import Tools - -final class DirectTests: XCTestCase { - func testDirectCycle() throws { - let payload = try "Test".tryToData() - - let keyAlg = KeyManagementAlgorithm.direct - let encAlg = ContentEncryptionAlgorithm.a256CBCHS512 - - let header = DefaultJWEHeaderImpl( - keyManagementAlgorithm: keyAlg, - encodingAlgorithm: encAlg - ) - - let secretKey = try encAlg.encryptor.generateCEK() - - let jwe = try DirectJWEEncryptor().encrypt( - payload: payload, - protectedHeader: header, - cek: secretKey - ) - - let decrypted = try DirectJWEDecryptor().decrypt( - protectedHeader: jwe.protectedHeader!, - cipher: jwe.cipherText, - encryptedKey: jwe.encryptedKey, - initializationVector: jwe.initializationVector, - authenticationTag: jwe.authenticationTag, - additionalAuthenticationData: jwe.additionalAuthenticationData, - sharedKey: .init(keyType: .octetSequence, key: secretKey) - ) - - XCTAssertEqual(payload, decrypted) - } -} diff --git a/Tests/JWETests/ECDH1PUTests.swift b/Tests/JWETests/ECDH1PUTests.swift deleted file mode 100644 index e361b1d..0000000 --- a/Tests/JWETests/ECDH1PUTests.swift +++ /dev/null @@ -1,204 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import XCTest -@testable import JSONWebEncryption -import JSONWebAlgorithms -import JSONWebKey -import Tools - -final class ECDH1PUTests: XCTestCase { - func testECDH1PUCycle() throws { - let payload = try "Test".tryToData() - let aliceKey = JWK.testingES256Pair - let bobKey = JWK.testingES256Pair - - let keyAlg = KeyManagementAlgorithm.ecdh1PU - let encAlg = ContentEncryptionAlgorithm.a128GCM - - let header = try DefaultJWEHeaderImpl( - keyManagementAlgorithm: keyAlg, - encodingAlgorithm: encAlg, - agreementPartyUInfo: Base64URL.encode("Alice".tryToData()).tryToData(), - agreementPartyVInfo: Base64URL.encode("Bob".tryToData()).tryToData() - ) - - let jwe = try ECDH1PUJWEEncryptor().encrypt( - payload: payload, - senderKey: aliceKey, - recipientKey: bobKey, - protectedHeader: header - ) - - - let decrypted = try ECDH1PUJWEDecryptor().decrypt( - protectedHeader: jwe.protectedHeader!, - cipher: jwe.cipherText, - encryptedKey: jwe.encryptedKey, - initializationVector: jwe.initializationVector, - authenticationTag: jwe.authenticationTag, - additionalAuthenticationData: jwe.additionalAuthenticationData, - senderKey: aliceKey, - recipientKey: bobKey - ) - - XCTAssertEqual(payload, decrypted) - } - - func testECDH1PUA128KWCycle() throws { - let payload = try "Test".tryToData() - let aliceKey = JWK.testingES256Pair - let bobKey = JWK.testingES256Pair - - let keyAlg = KeyManagementAlgorithm.ecdh1PUA128KW - let encAlg = ContentEncryptionAlgorithm.a128CBCHS256 - - let header = try DefaultJWEHeaderImpl( - keyManagementAlgorithm: keyAlg, - encodingAlgorithm: encAlg, - agreementPartyUInfo: Base64URL.encode("Alice".tryToData()).tryToData(), - agreementPartyVInfo: Base64URL.encode("Bob".tryToData()).tryToData() - ) - - let jwe = try ECDH1PUJWEEncryptor().encrypt( - payload: payload, - senderKey: aliceKey, - recipientKey: bobKey, - protectedHeader: header - ) - - let decrypted = try ECDH1PUJWEDecryptor().decrypt( - protectedHeader: jwe.protectedHeader!, - cipher: jwe.cipherText, - encryptedKey: jwe.encryptedKey, - initializationVector: jwe.initializationVector, - authenticationTag: jwe.authenticationTag, - additionalAuthenticationData: jwe.additionalAuthenticationData, - senderKey: aliceKey, - recipientKey: bobKey - ) - - XCTAssertEqual(payload, decrypted) - } - - func testECDH1PUA192KWCycle() throws { - let payload = try "Test".tryToData() - let aliceKey = JWK.testingES256Pair - let bobKey = JWK.testingES256Pair - - let keyAlg = KeyManagementAlgorithm.ecdh1PUA192KW - let encAlg = ContentEncryptionAlgorithm.a128CBCHS256 - - let header = try DefaultJWEHeaderImpl( - keyManagementAlgorithm: keyAlg, - encodingAlgorithm: encAlg, - agreementPartyUInfo: Base64URL.encode("Alice".tryToData()).tryToData(), - agreementPartyVInfo: Base64URL.encode("Bob".tryToData()).tryToData() - ) - - let jwe = try ECDH1PUJWEEncryptor().encrypt( - payload: payload, - senderKey: aliceKey, - recipientKey: bobKey, - protectedHeader: header - ) - - let decrypted = try ECDH1PUJWEDecryptor().decrypt( - protectedHeader: jwe.protectedHeader!, - cipher: jwe.cipherText, - encryptedKey: jwe.encryptedKey, - initializationVector: jwe.initializationVector, - authenticationTag: jwe.authenticationTag, - additionalAuthenticationData: jwe.additionalAuthenticationData, - senderKey: aliceKey, - recipientKey: bobKey - ) - - XCTAssertEqual(payload, decrypted) - } - - func testECDH1PUA256KWCycle() throws { - let payload = try "Test".tryToData() - let aliceKey = JWK.testingES256Pair - let bobKey = JWK.testingES256Pair - - let keyAlg = KeyManagementAlgorithm.ecdh1PUA256KW - let encAlg = ContentEncryptionAlgorithm.a128GCM - - let header = try DefaultJWEHeaderImpl( - keyManagementAlgorithm: keyAlg, - encodingAlgorithm: encAlg, - agreementPartyUInfo: Base64URL.encode("Alice".tryToData()).tryToData(), - agreementPartyVInfo: Base64URL.encode("Bob".tryToData()).tryToData() - ) - - let jwe = try ECDH1PUJWEEncryptor().encrypt( - payload: payload, - senderKey: aliceKey, - recipientKey: bobKey, - protectedHeader: header - ) - - let decrypted = try ECDH1PUJWEDecryptor().decrypt( - protectedHeader: jwe.protectedHeader!, - cipher: jwe.cipherText, - encryptedKey: jwe.encryptedKey, - initializationVector: jwe.initializationVector, - authenticationTag: jwe.authenticationTag, - additionalAuthenticationData: jwe.additionalAuthenticationData, - senderKey: aliceKey, - recipientKey: bobKey - ) - - XCTAssertEqual(payload, decrypted) - } - - func testECDH1PUA256KWCurve25519Cycle() throws { - let payload = try "Test".tryToData() - let aliceKey = JWK.testingCurve25519KPair - let bobKey = JWK.testingCurve25519KPair - - let keyAlg = KeyManagementAlgorithm.ecdh1PUA256KW - let encAlg = ContentEncryptionAlgorithm.a256CBCHS512 - - let header = try DefaultJWEHeaderImpl( - keyManagementAlgorithm: keyAlg, - encodingAlgorithm: encAlg, - agreementPartyUInfo: Base64URL.encode("Alice".tryToData()).tryToData(), - agreementPartyVInfo: Base64URL.encode("Bob".tryToData()).tryToData() - ) - - let jwe = try ECDH1PUJWEEncryptor().encrypt( - payload: payload, - senderKey: aliceKey, - recipientKey: bobKey, - protectedHeader: header - ) - - let decrypted = try ECDH1PUJWEDecryptor().decrypt( - protectedHeader: jwe.protectedHeader!, - cipher: jwe.cipherText, - encryptedKey: jwe.encryptedKey, - initializationVector: jwe.initializationVector, - authenticationTag: jwe.authenticationTag, - additionalAuthenticationData: jwe.additionalAuthenticationData, - senderKey: aliceKey, - recipientKey: bobKey - ) - - XCTAssertEqual(payload.toHexString(), decrypted.toHexString()) - } -} diff --git a/Tests/JWETests/ECDHESTests.swift b/Tests/JWETests/ECDHESTests.swift deleted file mode 100644 index 81b8fc3..0000000 --- a/Tests/JWETests/ECDHESTests.swift +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import XCTest -@testable import JSONWebEncryption -import JSONWebAlgorithms -import JSONWebKey -import Tools - -final class ECDHESTests: XCTestCase { - func testECDHESCycle() throws { - let payload = try "Test".tryToData() - let aliceKey = JWK.testingES256Pair - let bobKey = JWK.testingES256Pair - - let keyAlg = KeyManagementAlgorithm.ecdhES - let encAlg = ContentEncryptionAlgorithm.a128GCM - - let header = try DefaultJWEHeaderImpl( - keyManagementAlgorithm: keyAlg, - encodingAlgorithm: encAlg, - agreementPartyUInfo: Base64URL.encode("Alice".tryToData()).tryToData(), - agreementPartyVInfo: Base64URL.encode("Bob".tryToData()).tryToData() - ) - - let jwe = try ECDHJWEEncryptor().encrypt( - payload: payload, - senderKey: aliceKey, - recipientKey: bobKey, - protectedHeader: header - ) - - let decrypted = try ECDHJWEDecryptor().decrypt( - protectedHeader: jwe.protectedHeader!, - cipher: jwe.cipherText, - encryptedKey: jwe.encryptedKey, - initializationVector: jwe.initializationVector, - authenticationTag: jwe.authenticationTag, - additionalAuthenticationData: jwe.additionalAuthenticationData, - senderKey: aliceKey, - recipientKey: bobKey - ) - - XCTAssertEqual(payload, decrypted) - } - - func testECDHESA256KWCycle() throws { - let payload = try "Test".tryToData() - let aliceKey = JWK.testingES256Pair - let bobKey = JWK.testingES256Pair - - let keyAlg = KeyManagementAlgorithm.ecdhESA128KW - let encAlg = ContentEncryptionAlgorithm.a128CBCHS256 - - let header = try DefaultJWEHeaderImpl( - keyManagementAlgorithm: keyAlg, - encodingAlgorithm: encAlg, - agreementPartyUInfo: Base64URL.encode("Alice".tryToData()).tryToData(), - agreementPartyVInfo: Base64URL.encode("Bob".tryToData()).tryToData() - ) - - let jwe = try ECDHJWEEncryptor().encrypt( - payload: payload, - senderKey: aliceKey, - recipientKey: bobKey, - protectedHeader: header - ) - - let decrypted = try ECDHJWEDecryptor().decrypt( - protectedHeader: jwe.protectedHeader!, - cipher: jwe.cipherText, - encryptedKey: jwe.encryptedKey, - initializationVector: jwe.initializationVector, - authenticationTag: jwe.authenticationTag, - additionalAuthenticationData: jwe.additionalAuthenticationData, - senderKey: aliceKey, - recipientKey: bobKey - ) - - XCTAssertEqual(payload, decrypted) - } -} diff --git a/Tests/JWETests/Mocks/JWK+Testing.swift b/Tests/JWETests/Mocks/JWK+Testing.swift deleted file mode 100644 index 2637059..0000000 --- a/Tests/JWETests/Mocks/JWK+Testing.swift +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoSwift -import CryptoKit -import Foundation -import JSONWebKey -import secp256k1 - -extension JWK { - static var testingES256Pair: JWK { - let privateKey = P256.Signing.PrivateKey() - return privateKey.jwkRepresentation - } - - static var testingES384Pair: JWK { - let privateKey = P384.KeyAgreement.PrivateKey() - return privateKey.jwkRepresentation - } - - static var testingES521Pair: JWK { - let privateKey = P521.KeyAgreement.PrivateKey() - return privateKey.jwkRepresentation - } - - static var testingES256KPair: JWK { - let privateKey = try! secp256k1.KeyAgreement.PrivateKey() - return privateKey.jwkRepresentation - } - - static var testingCurve25519KPair: JWK { - let privateKey = Curve25519.KeyAgreement.PrivateKey() - return privateKey.jwkRepresentation - } - - static func generateKek(sizeInBits: Int) -> JWK { - let kekData = Data(count: sizeInBits / 8) - return JWK(keyType: .octetSequence, key: kekData) - } - - static var testingRSAKPair: JWK { - let rsaKey = try! RSA(keySize: 256) - return JWK(keyType: .rsa, e: rsaKey.e.serialize(), n: rsaKey.n.serialize(), d: rsaKey.d?.serialize()) - } -} diff --git a/Tests/JWETests/RFC7516Tests.swift b/Tests/JWETests/RFC7516Tests.swift deleted file mode 100644 index 5989483..0000000 --- a/Tests/JWETests/RFC7516Tests.swift +++ /dev/null @@ -1,307 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import JSONWebAlgorithms -@testable import JSONWebEncryption -import JSONWebKey -import XCTest -import Tools - -final class RFC7516Tests: XCTestCase { - - func testA_1() throws { - let payload = "The true sign of intelligence is not knowledge but imagination.".data(using: .utf8)! - - let recipientJWK = try JSONDecoder().decode( - JWK.self, - from: """ - {"kty":"RSA", - "n":"oahUIoWw0K0usKNuOR6H4wkf4oBUXHTxRvgb48E-BVvxkeDNjbC4he8rUW - cJoZmds2h7M70imEVhRU5djINXtqllXI4DFqcI1DgjT9LewND8MW2Krf3S - psk_ZkoFnilakGygTwpZ3uesH-PFABNIUYpOiN15dsQRkgr0vEhxN92i2a - sbOenSZeyaxziK72UwxrrKoExv6kc5twXTq4h-QChLOln0_mtUZwfsRaMS - tPs6mS6XrgxnxbWhojf663tuEQueGC-FCMfra36C9knDFGzKsNa7LZK2dj - YgyD3JR_MB_4NUJW_TqOQtwHYbxevoJArm-L5StowjzGy-_bq6Gw", - "e":"AQAB", - "d":"kLdtIj6GbDks_ApCSTYQtelcNttlKiOyPzMrXHeI-yk1F7-kpDxY4-WY5N - WV5KntaEeXS1j82E375xxhWMHXyvjYecPT9fpwR_M9gV8n9Hrh2anTpTD9 - 3Dt62ypW3yDsJzBnTnrYu1iwWRgBKrEYY46qAZIrA2xAwnm2X7uGR1hghk - qDp0Vqj3kbSCz1XyfCs6_LehBwtxHIyh8Ripy40p24moOAbgxVw3rxT_vl - t3UVe4WO3JkJOzlpUf-KTVI2Ptgm-dARxTEtE-id-4OJr0h-K-VFs3VSnd - VTIznSxfyrj8ILL6MG_Uv8YAu7VILSB3lOW085-4qE3DzgrTjgyQ", - "p":"1r52Xk46c-LsfB5P442p7atdPUrxQSy4mti_tZI3Mgf2EuFVbUoDBvaRQ- - SWxkbkmoEzL7JXroSBjSrK3YIQgYdMgyAEPTPjXv_hI2_1eTSPVZfzL0lf - fNn03IXqWF5MDFuoUYE0hzb2vhrlN_rKrbfDIwUbTrjjgieRbwC6Cl0", - "q":"wLb35x7hmQWZsWJmB_vle87ihgZ19S8lBEROLIsZG4ayZVe9Hi9gDVCOBm - UDdaDYVTSNx_8Fyw1YYa9XGrGnDew00J28cRUoeBB_jKI1oma0Orv1T9aX - IWxKwd4gvxFImOWr3QRL9KEBRzk2RatUBnmDZJTIAfwTs0g68UZHvtc", - "dp":"ZK-YwE7diUh0qR1tR7w8WHtolDx3MZ_OTowiFvgfeQ3SiresXjm9gZ5KL - hMXvo-uz-KUJWDxS5pFQ_M0evdo1dKiRTjVw_x4NyqyXPM5nULPkcpU827 - rnpZzAJKpdhWAgqrXGKAECQH0Xt4taznjnd_zVpAmZZq60WPMBMfKcuE", - "dq":"Dq0gfgJ1DdFGXiLvQEZnuKEN0UUmsJBxkjydc3j4ZYdBiMRAy86x0vHCj - ywcMlYYg4yoC4YZa9hNVcsjqA3FeiL19rk8g6Qn29Tt0cj8qqyFpz9vNDB - UfCAiJVeESOjJDZPYHdHY8v1b-o-Z2X5tvLx-TCekf7oxyeKDUqKWjis", - "qi":"VIMpMYbPf47dT1w_zDUXfPimsSegnMOA1zTaX7aGk_8urY6R8-ZW1FxU7 - AlWAyLWybqq6t16VFd7hQd0y6flUK4SlOydB61gwanOsXGOAOv82cHq0E3 - eL4HrtZkUuKvnPrMnsUUFlfUdybVzxyjz9JF_XyaY14ardLSjf4L_FNY" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - ) - - let cek = Data([ - 177, 161, 244, 128, 84, 143, 225, 115, 63, 180, 3, 255, 107, 154, - 212, 246, 138, 7, 110, 91, 112, 46, 34, 105, 47, 130, 203, 46, 122, - 234, 64, 252, - ]) - - let initializationVector = Data([ - 227, 197, 117, 252, 2, 219, 233, 68, 180, 225, 77, 219, - ]) - - let serialization = try JWE( - payload: payload, - keyManagementAlg: .rsaOAEP, - encryptionAlgorithm: .a256GCM, - senderKey: nil, - recipientKey: recipientJWK, - cek: cek, - initializationVector: initializationVector, - additionalAuthenticationData: nil - ) - - let compact = serialization.compactSerialization() - - let jweCompact = try JWE(compactString: compact) - let decrypted = try jweCompact.decrypt(recipientKey: recipientJWK) - - XCTAssertEqual(payload, decrypted) - } - - func testA_1_7() throws { - let payload = "The true sign of intelligence is not knowledge but imagination.".data(using: .utf8)! - - let recipientJWK = try JSONDecoder().decode( - JWK.self, - from: """ - {"kty":"RSA", - "n":"oahUIoWw0K0usKNuOR6H4wkf4oBUXHTxRvgb48E-BVvxkeDNjbC4he8rUW - cJoZmds2h7M70imEVhRU5djINXtqllXI4DFqcI1DgjT9LewND8MW2Krf3S - psk_ZkoFnilakGygTwpZ3uesH-PFABNIUYpOiN15dsQRkgr0vEhxN92i2a - sbOenSZeyaxziK72UwxrrKoExv6kc5twXTq4h-QChLOln0_mtUZwfsRaMS - tPs6mS6XrgxnxbWhojf663tuEQueGC-FCMfra36C9knDFGzKsNa7LZK2dj - YgyD3JR_MB_4NUJW_TqOQtwHYbxevoJArm-L5StowjzGy-_bq6Gw", - "e":"AQAB", - "d":"kLdtIj6GbDks_ApCSTYQtelcNttlKiOyPzMrXHeI-yk1F7-kpDxY4-WY5N - WV5KntaEeXS1j82E375xxhWMHXyvjYecPT9fpwR_M9gV8n9Hrh2anTpTD9 - 3Dt62ypW3yDsJzBnTnrYu1iwWRgBKrEYY46qAZIrA2xAwnm2X7uGR1hghk - qDp0Vqj3kbSCz1XyfCs6_LehBwtxHIyh8Ripy40p24moOAbgxVw3rxT_vl - t3UVe4WO3JkJOzlpUf-KTVI2Ptgm-dARxTEtE-id-4OJr0h-K-VFs3VSnd - VTIznSxfyrj8ILL6MG_Uv8YAu7VILSB3lOW085-4qE3DzgrTjgyQ", - "p":"1r52Xk46c-LsfB5P442p7atdPUrxQSy4mti_tZI3Mgf2EuFVbUoDBvaRQ- - SWxkbkmoEzL7JXroSBjSrK3YIQgYdMgyAEPTPjXv_hI2_1eTSPVZfzL0lf - fNn03IXqWF5MDFuoUYE0hzb2vhrlN_rKrbfDIwUbTrjjgieRbwC6Cl0", - "q":"wLb35x7hmQWZsWJmB_vle87ihgZ19S8lBEROLIsZG4ayZVe9Hi9gDVCOBm - UDdaDYVTSNx_8Fyw1YYa9XGrGnDew00J28cRUoeBB_jKI1oma0Orv1T9aX - IWxKwd4gvxFImOWr3QRL9KEBRzk2RatUBnmDZJTIAfwTs0g68UZHvtc", - "dp":"ZK-YwE7diUh0qR1tR7w8WHtolDx3MZ_OTowiFvgfeQ3SiresXjm9gZ5KL - hMXvo-uz-KUJWDxS5pFQ_M0evdo1dKiRTjVw_x4NyqyXPM5nULPkcpU827 - rnpZzAJKpdhWAgqrXGKAECQH0Xt4taznjnd_zVpAmZZq60WPMBMfKcuE", - "dq":"Dq0gfgJ1DdFGXiLvQEZnuKEN0UUmsJBxkjydc3j4ZYdBiMRAy86x0vHCj - ywcMlYYg4yoC4YZa9hNVcsjqA3FeiL19rk8g6Qn29Tt0cj8qqyFpz9vNDB - UfCAiJVeESOjJDZPYHdHY8v1b-o-Z2X5tvLx-TCekf7oxyeKDUqKWjis", - "qi":"VIMpMYbPf47dT1w_zDUXfPimsSegnMOA1zTaX7aGk_8urY6R8-ZW1FxU7 - AlWAyLWybqq6t16VFd7hQd0y6flUK4SlOydB61gwanOsXGOAOv82cHq0E3 - eL4HrtZkUuKvnPrMnsUUFlfUdybVzxyjz9JF_XyaY14ardLSjf4L_FNY" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - ) - - let jweString = """ - eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00ifQ. - OKOawDo13gRp2ojaHV7LFpZcgV7T6DVZKTyKOMTYUmKoTCVJRgckCL9kiMT03JGe - ipsEdY3mx_etLbbWSrFr05kLzcSr4qKAq7YN7e9jwQRb23nfa6c9d-StnImGyFDb - Sv04uVuxIp5Zms1gNxKKK2Da14B8S4rzVRltdYwam_lDp5XnZAYpQdb76FdIKLaV - mqgfwX7XWRxv2322i-vDxRfqNzo_tETKzpVLzfiwQyeyPGLBIO56YJ7eObdv0je8 - 1860ppamavo35UgoRdbYaBcoh9QcfylQr66oc6vFWXRcZ_ZT2LawVCWTIy3brGPi - 6UklfCpIMfIjf7iGdXKHzg. - 48V1_ALb6US04U3b. - 5eym8TW_c8SuK0ltJ3rpYIzOeDQz7TALvtu6UG9oMo4vpzs9tX_EFShS8iB7j6ji - SdiwkIr3ajwQzaBtQD_A. - XFBoMYUZodetZdvTiFvSkQ - """.replacingWhiteSpacesAndNewLines() - - let serialization = try JWE.decrypt(compactString: jweString, recipientKey: recipientJWK) - - XCTAssertEqual(try payload.tryToString(), try serialization.tryToString()) - } - - func testA_3() throws { - let payload = "Live long and prosper.".data(using: .utf8)! - - let recipientJWK = try JSONDecoder().decode( - JWK.self, - from: """ - {"kty":"oct", - "k":"GawgguFyGrWKav7AX4VKUg" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - ) - - let cek = Data([ - 4, 211, 31, 197, 84, 157, 252, 254, 11, 100, 157, 250, 63, 170, 106, - 206, 107, 124, 212, 45, 111, 107, 9, 219, 200, 177, 0, 240, 143, 156, - 44, 207, - ]) - - let iv = Data([ - 3, 22, 60, 12, 43, 67, 104, 105, 108, 108, 105, 99, 111, 116, 104, - 101, - ]) - - let serialization = try JWE( - payload: payload, - keyManagementAlg: .a128KW, - encryptionAlgorithm: .a128CBCHS256, - senderKey: nil, - recipientKey: recipientJWK, - cek: cek, - initializationVector: iv, - additionalAuthenticationData: nil - ) - - XCTAssertEqual( - serialization.compactSerialization(), - """ - eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0. - 6KB707dM9YTIgHtLvtgWQ8mKwboJW3of9locizkDTHzBC2IlrT1oOQ. - AxY8DCtDaGlsbGljb3RoZQ. - KDlTtXchhZTGufMYmOYGS4HffxPSUrfmqCHXaI9wOGY. - U0m_YmjN04DJvceFICbCVQ - """.replacingWhiteSpacesAndNewLines() - ) - } - - func testA_4() throws { - let payload = "Live long and prosper.".data(using: .utf8)! - - let recipientJWK1 = try JSONDecoder().decode( - JWK.self, - from: """ - {"kty":"RSA", - "n":"sXchDaQebHnPiGvyDOAT4saGEUetSyo9MKLOoWFsueri23bOdgWp4Dy1Wl - UzewbgBHod5pcM9H95GQRV3JDXboIRROSBigeC5yjU1hGzHHyXss8UDpre - cbAYxknTcQkhslANGRUZmdTOQ5qTRsLAt6BTYuyvVRdhS8exSZEy_c4gs_ - 7svlJJQ4H9_NxsiIoLwAEk7-Q3UXERGYw_75IDrGA84-lA_-Ct4eTlXHBI - Y2EaV7t7LjJaynVJCpkv4LKjTTAumiGUIuQhrNhZLuF_RJLqHpM2kgWFLU - 7-VTdL1VbC2tejvcI2BlMkEpk1BzBZI0KQB0GaDWFLN-aEAw3vRw", - "e":"AQAB", - "d":"VFCWOqXr8nvZNyaaJLXdnNPXZKRaWCjkU5Q2egQQpTBMwhprMzWzpR8Sxq - 1OPThh_J6MUD8Z35wky9b8eEO0pwNS8xlh1lOFRRBoNqDIKVOku0aZb-ry - nq8cxjDTLZQ6Fz7jSjR1Klop-YKaUHc9GsEofQqYruPhzSA-QgajZGPbE_ - 0ZaVDJHfyd7UUBUKunFMScbflYAAOYJqVIVwaYR5zWEEceUjNnTNo_CVSj - -VvXLO5VZfCUAVLgW4dpf1SrtZjSt34YLsRarSb127reG_DUwg9Ch-Kyvj - T1SkHgUWRVGcyly7uvVGRSDwsXypdrNinPA4jlhoNdizK2zF2CWQ", - "p":"9gY2w6I6S6L0juEKsbeDAwpd9WMfgqFoeA9vEyEUuk4kLwBKcoe1x4HG68 - ik918hdDSE9vDQSccA3xXHOAFOPJ8R9EeIAbTi1VwBYnbTp87X-xcPWlEP - krdoUKW60tgs1aNd_Nnc9LEVVPMS390zbFxt8TN_biaBgelNgbC95sM", - "q":"uKlCKvKv_ZJMVcdIs5vVSU_6cPtYI1ljWytExV_skstvRSNi9r66jdd9-y - BhVfuG4shsp2j7rGnIio901RBeHo6TPKWVVykPu1iYhQXw1jIABfw-MVsN - -3bQ76WLdt2SDxsHs7q7zPyUyHXmps7ycZ5c72wGkUwNOjYelmkiNS0", - "dp":"w0kZbV63cVRvVX6yk3C8cMxo2qCM4Y8nsq1lmMSYhG4EcL6FWbX5h9yuv - ngs4iLEFk6eALoUS4vIWEwcL4txw9LsWH_zKI-hwoReoP77cOdSL4AVcra - Hawlkpyd2TWjE5evgbhWtOxnZee3cXJBkAi64Ik6jZxbvk-RR3pEhnCs", - "dq":"o_8V14SezckO6CNLKs_btPdFiO9_kC1DsuUTd2LAfIIVeMZ7jn1Gus_Ff - 7B7IVx3p5KuBGOVF8L-qifLb6nQnLysgHDh132NDioZkhH7mI7hPG-PYE_ - odApKdnqECHWw0J-F0JWnUd6D2B_1TvF9mXA2Qx-iGYn8OVV1Bsmp6qU", - "qi":"eNho5yRBEBxhGBtQRww9QirZsB66TrfFReG_CcteI1aCneT0ELGhYlRlC - tUkTRclIfuEPmNsNDPbLoLqqCVznFbvdB7x-Tl-m0l_eFTj2KiqwGqE9PZ - B9nNTwMVvH3VRRSLWACvPnSiwP8N5Usy-WRXS-V7TbpxIhvepTfE0NNo", - "kid":"2011-04-29" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - ) - - let recipientJWK2 = try JSONDecoder().decode( - JWK.self, - from: """ - {"kty":"oct", - "k":"GawgguFyGrWKav7AX4VKUg", - "kid":"7" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - ) - - let cek = Data([ - 4, 211, 31, 197, 84, 157, 252, 254, 11, 100, 157, 250, 63, 170, 106, - 206, 107, 124, 212, 45, 111, 107, 9, 219, 200, 177, 0, 240, 143, 156, - 44, 207, - ]) - - let iv = try Base64URL.decode("AxY8DCtDaGlsbGljb3RoZQ") - - let serialization = try JWE.jsonSerialization( - payload: payload, - encryptionAlgorithm: .a128CBCHS256, - unprotectedHeader: DefaultJWEHeaderImpl(jwkSetURL: "https://server.example.com/keys.jwks"), - senderKey: nil, - recipients: [ - (KeyManagementAlgorithm.rsa1_5, recipientJWK1), - (KeyManagementAlgorithm.a128KW, recipientJWK2) - ], - cek: cek, - initializationVector: iv, - additionalAuthenticationData: nil - ) - - XCTAssertEqual(Base64URL.encode(serialization.protectedData!), "eyJlbmMiOiJBMTI4Q0JDLUhTMjU2In0") - XCTAssertEqual(Base64URL.encode(serialization.initializationVector!), "AxY8DCtDaGlsbGljb3RoZQ") - - let validJson = """ - { - "protected": - "eyJlbmMiOiJBMTI4Q0JDLUhTMjU2In0", - "unprotected": - {"jku":"https://server.example.com/keys.jwks"}, - "recipients":[ - {"header": - {"alg":"RSA1_5","kid":"2011-04-29"}, - "encrypted_key": - "UGhIOguC7IuEvf_NPVaXsGMoLOmwvc1GyqlIKOK1nN94nHPoltGRhWhw7Zx0- - kFm1NJn8LE9XShH59_i8J0PH5ZZyNfGy2xGdULU7sHNF6Gp2vPLgNZ__deLKx - GHZ7PcHALUzoOegEI-8E66jX2E4zyJKx-YxzZIItRzC5hlRirb6Y5Cl_p-ko3 - YvkkysZIFNPccxRU7qve1WYPxqbb2Yw8kZqa2rMWI5ng8OtvzlV7elprCbuPh - cCdZ6XDP0_F8rkXds2vE4X-ncOIM8hAYHHi29NX0mcKiRaD0-D-ljQTP-cFPg - wCp6X-nZZd9OHBv-B3oWh2TbqmScqXMR4gp_A"}, - {"header": - {"alg":"A128KW","kid":"7"}, - "encrypted_key": - "6KB707dM9YTIgHtLvtgWQ8mKwboJW3of9locizkDTHzBC2IlrT1oOQ"}], - "iv": - "AxY8DCtDaGlsbGljb3RoZQ", - "ciphertext": - "KDlTtXchhZTGufMYmOYGS4HffxPSUrfmqCHXaI9wOGY", - "tag": - "Mz-VPPyU4RlcuYv1IwIvzw" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - - let decryption1 = try JWE.decrypt(jweJson: validJson, recipientKey: recipientJWK1) - let decryption2 = try JWE.decrypt(jweJson: validJson, recipientKey: recipientJWK2) - - XCTAssertEqual(payload, decryption1) - XCTAssertEqual(payload, decryption2) - } -} diff --git a/Tests/JWETests/RFC7520Tests.swift b/Tests/JWETests/RFC7520Tests.swift deleted file mode 100644 index 61d849a..0000000 --- a/Tests/JWETests/RFC7520Tests.swift +++ /dev/null @@ -1,1138 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import JSONWebAlgorithms -@testable import JSONWebEncryption -import JSONWebKey -import XCTest -import Tools - -final class RFC7520Tests: XCTestCase { - - let payload = "You can trust us to stick with you through thick and thin–to the bitter end. And you can trust us to keep any secret of yours–closer than you keep it yourself. But you cannot trust us to let you face trouble alone, and go off without a word. We are your friends, Frodo.".data(using: .utf8)! - - let rsaKeyJson = """ - { - "kty": "RSA", - "kid": "frodo.baggins@hobbiton.example", - "use": "enc", - "n": "maxhbsmBtdQ3CNrKvprUE6n9lYcregDMLYNeTAWcLj8NnPU9XIYegT - HVHQjxKDSHP2l-F5jS7sppG1wgdAqZyhnWvXhYNvcM7RfgKxqNx_xAHx - 6f3yy7s-M9PSNCwPC2lh6UAkR4I00EhV9lrypM9Pi4lBUop9t5fS9W5U - NwaAllhrd-osQGPjIeI1deHTwx-ZTHu3C60Pu_LJIl6hKn9wbwaUmA4c - R5Bd2pgbaY7ASgsjCUbtYJaNIHSoHXprUdJZKUMAzV0WOKPfA6OPI4oy - pBadjvMZ4ZAj3BnXaSYsEZhaueTXvZB4eZOAjIyh2e_VOIKVMsnDrJYA - VotGlvMQ", - "e": "AQAB", - "d": "Kn9tgoHfiTVi8uPu5b9TnwyHwG5dK6RE0uFdlpCGnJN7ZEi963R7wy - bQ1PLAHmpIbNTztfrheoAniRV1NCIqXaW_qS461xiDTp4ntEPnqcKsyO - 5jMAji7-CL8vhpYYowNFvIesgMoVaPRYMYT9TW63hNM0aWs7USZ_hLg6 - Oe1mY0vHTI3FucjSM86Nff4oIENt43r2fspgEPGRrdE6fpLc9Oaq-qeP - 1GFULimrRdndm-P8q8kvN3KHlNAtEgrQAgTTgz80S-3VD0FgWfgnb1PN - miuPUxO8OpI9KDIfu_acc6fg14nsNaJqXe6RESvhGPH2afjHqSy_Fd2v - pzj85bQQ", - "p": "2DwQmZ43FoTnQ8IkUj3BmKRf5Eh2mizZA5xEJ2MinUE3sdTYKSLtaE - oekX9vbBZuWxHdVhM6UnKCJ_2iNk8Z0ayLYHL0_G21aXf9-unynEpUsH - 7HHTklLpYAzOOx1ZgVljoxAdWNn3hiEFrjZLZGS7lOH-a3QQlDDQoJOJ - 2VFmU", - "q": "te8LY4-W7IyaqH1ExujjMqkTAlTeRbv0VLQnfLY2xINnrWdwiQ93_V - F099aP1ESeLja2nw-6iKIe-qT7mtCPozKfVtUYfz5HrJ_XY2kfexJINb - 9lhZHMv5p1skZpeIS-GPHCC6gRlKo1q-idn_qxyusfWv7WAxlSVfQfk8 - d6Et0", - "dp": "UfYKcL_or492vVc0PzwLSplbg4L3-Z5wL48mwiswbpzOyIgd2xHTH - QmjJpFAIZ8q-zf9RmgJXkDrFs9rkdxPtAsL1WYdeCT5c125Fkdg317JV - RDo1inX7x2Kdh8ERCreW8_4zXItuTl_KiXZNU5lvMQjWbIw2eTx1lpsf - lo0rYU", - "dq": "iEgcO-QfpepdH8FWd7mUFyrXdnOkXJBCogChY6YKuIHGc_p8Le9Mb - pFKESzEaLlN1Ehf3B6oGBl5Iz_ayUlZj2IoQZ82znoUrpa9fVYNot87A - CfzIG7q9Mv7RiPAderZi03tkVXAdaBau_9vs5rS-7HMtxkVrxSUvJY14 - TkXlHE", - "qi": "kC-lzZOqoFaZCr5l0tOVtREKoVqaAYhQiqIRGL-MzS4sCmRkxm5vZ - lXYx6RtE1n_AagjqajlkjieGlxTTThHD8Iga6foGBMaAr5uR1hGQpSc7 - Gl7CF1DZkBJMTQN6EshYzZfxW08mIO8M6Rzuh0beL6fG9mkDcIyPrBXx - 2bQ_mM" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - - let p384KeyJson = """ - { - "kty": "EC", - "kid": "peregrin.took@tuckborough.example", - "use": "enc", - "crv": "P-384", - "x": "YU4rRUzdmVqmRtWOs2OpDE_T5fsNIodcG8G5FWPrTPMyxpzsSOGaQL - pe2FpxBmu2", - "y": "A8-yxCHxkfBz3hKZfI1jUYMjUhsEveZ9THuwFjH2sCNdtksRJU7D5- - SkgaFL1ETP", - "d": "iTx2pk7wW-GqJkHcEkFQb2EFyYcO7RugmaW3mRrQVAOUiPommT0Idn - YK2xDlZh-j" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - - func testSection_5_1() throws { - let recipientJWK = try JSONDecoder().decode(JWK.self, from: rsaKeyJson) - let serialization = try JWE( - payload: payload, - protectedHeader: DefaultJWEHeaderImpl( - keyManagementAlgorithm: .rsa1_5, - encodingAlgorithm: .a128CBCHS256, - keyID: recipientJWK.keyID - ), - unprotectedHeader: DefaultJWEHeaderImpl(), - senderKey: nil, - recipientKey: recipientJWK, - cek: Base64URL.decode("3qyTVhIWt5juqZUCpfRqpvauwB956MEJL2Rt-8qXKSo"), - initializationVector: Base64URL.decode("bbd5sTkYwhAIqfHsx8DayA"), - additionalAuthenticationData: nil - ).compactSerialization() - - let decrypted = try JWE.decrypt( - compactString: serialization, - recipientKey: recipientJWK - ) - - XCTAssertEqual(payload, decrypted) - - let compactSerializationTestVector = """ - eyJhbGciOiJSU0ExXzUiLCJraWQiOiJmcm9kby5iYWdnaW5zQGhvYmJpdG9uLm - V4YW1wbGUiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0 - . - laLxI0j-nLH-_BgLOXMozKxmy9gffy2gTdvqzfTihJBuuzxg0V7yk1WClnQePF - vG2K-pvSlWc9BRIazDrn50RcRai__3TDON395H3c62tIouJJ4XaRvYHFjZTZ2G - Xfz8YAImcc91Tfk0WXC2F5Xbb71ClQ1DDH151tlpH77f2ff7xiSxh9oSewYrcG - TSLUeeCt36r1Kt3OSj7EyBQXoZlN7IxbyhMAfgIe7Mv1rOTOI5I8NQqeXXW8Vl - zNmoxaGMny3YnGir5Wf6Qt2nBq4qDaPdnaAuuGUGEecelIO1wx1BpyIfgvfjOh - MBs9M8XL223Fg47xlGsMXdfuY-4jaqVw - . - bbd5sTkYwhAIqfHsx8DayA - . - 0fys_TY_na7f8dwSfXLiYdHaA2DxUjD67ieF7fcVbIR62JhJvGZ4_FNVSiGc_r - aa0HnLQ6s1P2sv3Xzl1p1l_o5wR_RsSzrS8Z-wnI3Jvo0mkpEEnlDmZvDu_k8O - WzJv7eZVEqiWKdyVzFhPpiyQU28GLOpRc2VbVbK4dQKPdNTjPPEmRqcaGeTWZV - yeSUvf5k59yJZxRuSvWFf6KrNtmRdZ8R4mDOjHSrM_s8uwIFcqt4r5GX8TKaI0 - zT5CbL5Qlw3sRc7u_hg0yKVOiRytEAEs3vZkcfLkP6nbXdC_PkMdNS-ohP78T2 - O6_7uInMGhFeX4ctHG7VelHGiT93JfWDEQi5_V9UN1rhXNrYu-0fVMkZAKX3VW - i7lzA6BP430m - . - kvKuFBXHe5mQr4lqgobAUg - """.replacingWhiteSpacesAndNewLines() - - let decryptedTestVector = try JWE.decrypt( - compactString: compactSerializationTestVector, - recipientKey: recipientJWK - ) - - XCTAssertEqual(payload, decryptedTestVector) - } - - func testSection_5_2() throws { - let recipientJWK = try JSONDecoder().decode( - JWK.self, - from: """ - { - "kty": "RSA", - "kid": "samwise.gamgee@hobbiton.example", - "use": "enc", - "n": "wbdxI55VaanZXPY29Lg5hdmv2XhvqAhoxUkanfzf2-5zVUxa6prHRr - I4pP1AhoqJRlZfYtWWd5mmHRG2pAHIlh0ySJ9wi0BioZBl1XP2e-C-Fy - XJGcTy0HdKQWlrfhTm42EW7Vv04r4gfao6uxjLGwfpGrZLarohiWCPnk - Nrg71S2CuNZSQBIPGjXfkmIy2tl_VWgGnL22GplyXj5YlBLdxXp3XeSt - sqo571utNfoUTU8E4qdzJ3U1DItoVkPGsMwlmmnJiwA7sXRItBCivR4M - 5qnZtdw-7v4WuR4779ubDuJ5nalMv2S66-RPcnFAzWSKxtBDnFJJDGIU - e7Tzizjg1nms0Xq_yPub_UOlWn0ec85FCft1hACpWG8schrOBeNqHBOD - FskYpUc2LC5JA2TaPF2dA67dg1TTsC_FupfQ2kNGcE1LgprxKHcVWYQb - 86B-HozjHZcqtauBzFNV5tbTuB-TpkcvJfNcFLlH3b8mb-H_ox35FjqB - SAjLKyoeqfKTpVjvXhd09knwgJf6VKq6UC418_TOljMVfFTWXUxlnfhO - OnzW6HSSzD1c9WrCuVzsUMv54szidQ9wf1cYWf3g5qFDxDQKis99gcDa - iCAwM3yEBIzuNeeCa5dartHDb1xEB_HcHSeYbghbMjGfasvKn0aZRsnT - yC0xhWBlsolZE", - "e": "AQAB", - "alg": "RSA-OAEP", - "d": "n7fzJc3_WG59VEOBTkayzuSMM780OJQuZjN_KbH8lOZG25ZoA7T4Bx - cc0xQn5oZE5uSCIwg91oCt0JvxPcpmqzaJZg1nirjcWZ-oBtVk7gCAWq - -B3qhfF3izlbkosrzjHajIcY33HBhsy4_WerrXg4MDNE4HYojy68TcxT - 2LYQRxUOCf5TtJXvM8olexlSGtVnQnDRutxEUCwiewfmmrfveEogLx9E - A-KMgAjTiISXxqIXQhWUQX1G7v_mV_Hr2YuImYcNcHkRvp9E7ook0876 - DhkO8v4UOZLwA1OlUX98mkoqwc58A_Y2lBYbVx1_s5lpPsEqbbH-nqIj - h1fL0gdNfihLxnclWtW7pCztLnImZAyeCWAG7ZIfv-Rn9fLIv9jZ6r7r - -MSH9sqbuziHN2grGjD_jfRluMHa0l84fFKl6bcqN1JWxPVhzNZo01yD - F-1LiQnqUYSepPf6X3a2SOdkqBRiquE6EvLuSYIDpJq3jDIsgoL8Mo1L - oomgiJxUwL_GWEOGu28gplyzm-9Q0U0nyhEf1uhSR8aJAQWAiFImWH5W - _IQT9I7-yrindr_2fWQ_i1UgMsGzA7aOGzZfPljRy6z-tY_KuBG00-28 - S_aWvjyUc-Alp8AUyKjBZ-7CWH32fGWK48j1t-zomrwjL_mnhsPbGs0c - 9WsWgRzI-K8gE", - "p": "7_2v3OQZzlPFcHyYfLABQ3XP85Es4hCdwCkbDeltaUXgVy9l9etKgh - vM4hRkOvbb01kYVuLFmxIkCDtpi-zLCYAdXKrAK3PtSbtzld_XZ9nlsY - a_QZWpXB_IrtFjVfdKUdMz94pHUhFGFj7nr6NNxfpiHSHWFE1zD_AC3m - Y46J961Y2LRnreVwAGNw53p07Db8yD_92pDa97vqcZOdgtybH9q6uma- - RFNhO1AoiJhYZj69hjmMRXx-x56HO9cnXNbmzNSCFCKnQmn4GQLmRj9s - fbZRqL94bbtE4_e0Zrpo8RNo8vxRLqQNwIy85fc6BRgBJomt8QdQvIgP - gWCv5HoQ", - "q": "zqOHk1P6WN_rHuM7ZF1cXH0x6RuOHq67WuHiSknqQeefGBA9PWs6Zy - KQCO-O6mKXtcgE8_Q_hA2kMRcKOcvHil1hqMCNSXlflM7WPRPZu2qCDc - qssd_uMbP-DqYthH_EzwL9KnYoH7JQFxxmcv5An8oXUtTwk4knKjkIYG - RuUwfQTus0w1NfjFAyxOOiAQ37ussIcE6C6ZSsM3n41UlbJ7TCqewzVJ - aPJN5cxjySPZPD3Vp01a9YgAD6a3IIaKJdIxJS1ImnfPevSJQBE79-EX - e2kSwVgOzvt-gsmM29QQ8veHy4uAqca5dZzMs7hkkHtw1z0jHV90epQJ - JlXXnH8Q", - "dp": "19oDkBh1AXelMIxQFm2zZTqUhAzCIr4xNIGEPNoDt1jK83_FJA-xn - x5kA7-1erdHdms_Ef67HsONNv5A60JaR7w8LHnDiBGnjdaUmmuO8XAxQ - J_ia5mxjxNjS6E2yD44USo2JmHvzeeNczq25elqbTPLhUpGo1IZuG72F - ZQ5gTjXoTXC2-xtCDEUZfaUNh4IeAipfLugbpe0JAFlFfrTDAMUFpC3i - XjxqzbEanflwPvj6V9iDSgjj8SozSM0dLtxvu0LIeIQAeEgT_yXcrKGm - pKdSO08kLBx8VUjkbv_3Pn20Gyu2YEuwpFlM_H1NikuxJNKFGmnAq9Lc - nwwT0jvoQ", - "dq": "S6p59KrlmzGzaQYQM3o0XfHCGvfqHLYjCO557HYQf72O9kLMCfd_1 - VBEqeD-1jjwELKDjck8kOBl5UvohK1oDfSP1DleAy-cnmL29DqWmhgwM - 1ip0CCNmkmsmDSlqkUXDi6sAaZuntyukyflI-qSQ3C_BafPyFaKrt1fg - dyEwYa08pESKwwWisy7KnmoUvaJ3SaHmohFS78TJ25cfc10wZ9hQNOrI - ChZlkiOdFCtxDqdmCqNacnhgE3bZQjGp3n83ODSz9zwJcSUvODlXBPc2 - AycH6Ci5yjbxt4Ppox_5pjm6xnQkiPgj01GpsUssMmBN7iHVsrE7N2iz - nBNCeOUIQ", - "qi": "FZhClBMywVVjnuUud-05qd5CYU0dK79akAgy9oX6RX6I3IIIPckCc - iRrokxglZn-omAY5CnCe4KdrnjFOT5YUZE7G_Pg44XgCXaarLQf4hl80 - oPEf6-jJ5Iy6wPRx7G2e8qLxnh9cOdf-kRqgOS3F48Ucvw3ma5V6KGMw - QqWFeV31XtZ8l5cVI-I3NzBS7qltpUVgz2Ju021eyc7IlqgzR98qKONl - 27DuEES0aK0WE97jnsyO27Yp88Wa2RiBrEocM89QZI1seJiGDizHRUP4 - UZxw9zsXww46wy0P6f9grnYp7t8LkyDDk8eoI4KX6SNMNVcyVS9IWjlq - 8EzqZEKIA" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - ) - - let serialization = try JWE( - payload: payload, - protectedHeader: DefaultJWEHeaderImpl( - keyManagementAlgorithm: .rsaOAEP, - encodingAlgorithm: .a256GCM, - keyID: recipientJWK.keyID - ), - unprotectedHeader: DefaultJWEHeaderImpl(), - senderKey: nil, - recipientKey: recipientJWK, - cek: Base64URL.decode("mYMfsggkTAm0TbvtlFh2hyoXnbEzJQjMxmgLN3d8xXA"), - initializationVector: Base64URL.decode("-nBoKLH0YkLZPSI9"), - additionalAuthenticationData: nil - ).compactSerialization() - - let decrypted = try JWE.decrypt( - compactString: serialization, - recipientKey: recipientJWK - ) - - XCTAssertEqual(payload, decrypted) - - let compactSerializationTestVector = """ - eyJhbGciOiJSU0EtT0FFUCIsImtpZCI6InNhbXdpc2UuZ2FtZ2VlQGhvYmJpdG - 9uLmV4YW1wbGUiLCJlbmMiOiJBMjU2R0NNIn0 - . - rT99rwrBTbTI7IJM8fU3Eli7226HEB7IchCxNuh7lCiud48LxeolRdtFF4nzQi - beYOl5S_PJsAXZwSXtDePz9hk-BbtsTBqC2UsPOdwjC9NhNupNNu9uHIVftDyu - cvI6hvALeZ6OGnhNV4v1zx2k7O1D89mAzfw-_kT3tkuorpDU-CpBENfIHX1Q58 - -Aad3FzMuo3Fn9buEP2yXakLXYa15BUXQsupM4A1GD4_H4Bd7V3u9h8Gkg8Bpx - KdUV9ScfJQTcYm6eJEBz3aSwIaK4T3-dwWpuBOhROQXBosJzS1asnuHtVMt2pK - IIfux5BC6huIvmY7kzV7W7aIUrpYm_3H4zYvyMeq5pGqFmW2k8zpO878TRlZx7 - pZfPYDSXZyS0CfKKkMozT_qiCwZTSz4duYnt8hS4Z9sGthXn9uDqd6wycMagnQ - fOTs_lycTWmY-aqWVDKhjYNRf03NiwRtb5BE-tOdFwCASQj3uuAgPGrO2AWBe3 - 8UjQb0lvXn1SpyvYZ3WFc7WOJYaTa7A8DRn6MC6T-xDmMuxC0G7S2rscw5lQQU - 06MvZTlFOt0UvfuKBa03cxA_nIBIhLMjY2kOTxQMmpDPTr6Cbo8aKaOnx6ASE5 - Jx9paBpnNmOOKH35j_QlrQhDWUN6A2Gg8iFayJ69xDEdHAVCGRzN3woEI2ozDR - s - . - -nBoKLH0YkLZPSI9 - . - o4k2cnGN8rSSw3IDo1YuySkqeS_t2m1GXklSgqBdpACm6UJuJowOHC5ytjqYgR - L-I-soPlwqMUf4UgRWWeaOGNw6vGW-xyM01lTYxrXfVzIIaRdhYtEMRBvBWbEw - P7ua1DRfvaOjgZv6Ifa3brcAM64d8p5lhhNcizPersuhw5f-pGYzseva-TUaL8 - iWnctc-sSwy7SQmRkfhDjwbz0fz6kFovEgj64X1I5s7E6GLp5fnbYGLa1QUiML - 7Cc2GxgvI7zqWo0YIEc7aCflLG1-8BboVWFdZKLK9vNoycrYHumwzKluLWEbSV - maPpOslY2n525DxDfWaVFUfKQxMF56vn4B9QMpWAbnypNimbM8zVOw - . - UCGiqJxhBI3IFVdPalHHvA - """.replacingWhiteSpacesAndNewLines() - - let decryptedTestVector = try JWE.decrypt( - compactString: compactSerializationTestVector, - recipientKey: recipientJWK - ) - - XCTAssertEqual(payload, decryptedTestVector) - } - - func testSection_5_4() throws { - let recipientJWK = try JSONDecoder().decode(JWK.self, from: p384KeyJson) - - let serialization = try JWE( - payload: payload, - protectedHeader: DefaultJWEHeaderImpl( - keyManagementAlgorithm: .ecdhESA128KW, - encodingAlgorithm: .a128GCM, - keyID: recipientJWK.keyID, - ephemeralPublicKey: JSONDecoder().decode( - JWK.self, - from: """ - { - "kty": "EC", - "crv": "P-384", - "x": "uBo4kHPw6kbjx5l0xowrd_oYzBmaz-GKFZu4xAFFkbYiWgutEK6iuE - DsQ6wNdNg3", - "y": "sp3p5SGhZVC2faXumI-e9JU2Mo8KpoYrFDr5yPNVtW4PgEwZOyQTA- - JdaY8tb7E0", - "d": "D5H4Y_5PSKZvhfVFbcCYJOtcGZygRgfZkpsBr59Icmmhe9sW6nkZ8W - fwhinUfWJg" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - ) - ), - unprotectedHeader: DefaultJWEHeaderImpl(), - senderKey: nil, - recipientKey: recipientJWK, - cek: Base64URL.decode("Nou2ueKlP70ZXDbq9UrRwg"), - initializationVector: Base64URL.decode("mH-G2zVqgztUtnW_"), - additionalAuthenticationData: nil - ).compactSerialization() - - let decrypted = try JWE.decrypt( - compactString: serialization, - recipientKey: recipientJWK - ) - - XCTAssertEqual(payload, decrypted) - - let expectedSerializationTestVector = """ - eyJhbGciOiJFQ0RILUVTK0ExMjhLVyIsImtpZCI6InBlcmVncmluLnRvb2tAdH - Vja2Jvcm91Z2guZXhhbXBsZSIsImVwayI6eyJrdHkiOiJFQyIsImNydiI6IlAt - Mzg0IiwieCI6InVCbzRrSFB3Nmtiang1bDB4b3dyZF9vWXpCbWF6LUdLRlp1NH - hBRkZrYllpV2d1dEVLNml1RURzUTZ3TmROZzMiLCJ5Ijoic3AzcDVTR2haVkMy - ZmFYdW1JLWU5SlUyTW84S3BvWXJGRHI1eVBOVnRXNFBnRXdaT3lRVEEtSmRhWT - h0YjdFMCJ9LCJlbmMiOiJBMTI4R0NNIn0 - . - 0DJjBXri_kBcC46IkU5_Jk9BqaQeHdv2 - . - mH-G2zVqgztUtnW_ - . - tkZuOO9h95OgHJmkkrfLBisku8rGf6nzVxhRM3sVOhXgz5NJ76oID7lpnAi_cP - WJRCjSpAaUZ5dOR3Spy7QuEkmKx8-3RCMhSYMzsXaEwDdXta9Mn5B7cCBoJKB0 - IgEnj_qfo1hIi-uEkUpOZ8aLTZGHfpl05jMwbKkTe2yK3mjF6SBAsgicQDVCkc - Y9BLluzx1RmC3ORXaM0JaHPB93YcdSDGgpgBWMVrNU1ErkjcMqMoT_wtCex3w0 - 3XdLkjXIuEr2hWgeP-nkUZTPU9EoGSPj6fAS-bSz87RCPrxZdj_iVyC6QWcqAu - 07WNhjzJEPc4jVntRJ6K53NgPQ5p99l3Z408OUqj4ioYezbS6vTPlQ - . - WuGzxmcreYjpHGJoa17EBg - """.replacingWhiteSpacesAndNewLines() - - let decryptedTestVector = try JWE.decrypt( - compactString: expectedSerializationTestVector, - recipientKey: recipientJWK - ) - - XCTAssertEqual(payload, decryptedTestVector) - } - - func testSection_5_5() throws { - let payload = "You can trust us to stick with you through thick and thin–to the bitter end. And you can trust us to keep any secret of yours–closer than you keep it yourself. But you cannot trust us to let you face trouble alone, and go off without a word. We are your friends, Frodo.".data(using: .utf8)! - - let recipientJWK = try JSONDecoder().decode( - JWK.self, - from: """ - { - "kty": "EC", - "kid": "meriadoc.brandybuck@buckland.example", - "use": "enc", - "crv": "P-256", - "x": "Ze2loSV3wrroKUN_4zhwGhCqo3Xhu1td4QjeQ5wIVR0", - "y": "HlLtdXARY_f55A3fnzQbPcm6hgr34Mp8p-nuzQCE0Zw", - "d": "r_kHyZ-a06rmxM3yESK84r1otSg-aQcVStkRhA-iCM8" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - ) - - let serialization = try JWE( - payload: payload, - protectedHeader: DefaultJWEHeaderImpl( - keyManagementAlgorithm: .ecdhES, - encodingAlgorithm: .a128CBCHS256, - keyID: recipientJWK.keyID, - ephemeralPublicKey: JSONDecoder().decode( - JWK.self, - from: """ - { - "kty": "EC", - "crv": "P-256", - "x": "mPUKT_bAWGHIhg0TpjjqVsP1rXWQu_vwVOHHtNkdYoA", - "y": "8BQAsImGeAS46fyWw5MhYfGTT0IjBpFw2SS34Dv4Irs", - "d": "AtH35vJsQ9SGjYfOsjUxYXQKrPH3FjZHmEtSKoSN8cM" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - ) - ), - unprotectedHeader: DefaultJWEHeaderImpl(), - senderKey: nil, - recipientKey: recipientJWK, - cek: nil, - initializationVector: Base64URL.decode("yc9N8v5sYyv3iGQT926IUg"), - additionalAuthenticationData: nil - ).compactSerialization() - - let decrypted = try JWE.decrypt( - compactString: serialization, - recipientKey: recipientJWK - ) - - XCTAssertEqual(payload, decrypted) - - let expectedSerializationTestVector = """ - eyJhbGciOiJFQ0RILUVTIiwia2lkIjoibWVyaWFkb2MuYnJhbmR5YnVja0BidW - NrbGFuZC5leGFtcGxlIiwiZXBrIjp7Imt0eSI6IkVDIiwiY3J2IjoiUC0yNTYi - LCJ4IjoibVBVS1RfYkFXR0hJaGcwVHBqanFWc1AxclhXUXVfdndWT0hIdE5rZF - lvQSIsInkiOiI4QlFBc0ltR2VBUzQ2ZnlXdzVNaFlmR1RUMElqQnBGdzJTUzM0 - RHY0SXJzIn0sImVuYyI6IkExMjhDQkMtSFMyNTYifQ - . - . - yc9N8v5sYyv3iGQT926IUg - . - BoDlwPnTypYq-ivjmQvAYJLb5Q6l-F3LIgQomlz87yW4OPKbWE1zSTEFjDfhU9 - IPIOSA9Bml4m7iDFwA-1ZXvHteLDtw4R1XRGMEsDIqAYtskTTmzmzNa-_q4F_e - vAPUmwlO-ZG45Mnq4uhM1fm_D9rBtWolqZSF3xGNNkpOMQKF1Cl8i8wjzRli7- - IXgyirlKQsbhhqRzkv8IcY6aHl24j03C-AR2le1r7URUhArM79BY8soZU0lzwI - -sD5PZ3l4NDCCei9XkoIAfsXJWmySPoeRb2Ni5UZL4mYpvKDiwmyzGd65KqVw7 - MsFfI_K767G9C9Azp73gKZD0DyUn1mn0WW5LmyX_yJ-3AROq8p1WZBfG-ZyJ61 - 95_JGG2m9Csg - . - WCCkNa-x4BeB9hIDIfFuhg - """.replacingWhiteSpacesAndNewLines() - - let decryptedTestVector = try JWE.decrypt( - compactString: expectedSerializationTestVector, - recipientKey: recipientJWK - ) - - XCTAssertEqual(payload, decryptedTestVector) - } - - func testSection_5_6() throws { - let payload = "You can trust us to stick with you through thick and thin–to the bitter end. And you can trust us to keep any secret of yours–closer than you keep it yourself. But you cannot trust us to let you face trouble alone, and go off without a word. We are your friends, Frodo.".data(using: .utf8)! - - let recipientJWK = try JSONDecoder().decode( - JWK.self, - from: """ - { - "kty": "oct", - "kid": "77c7e2b8-6e13-45cf-8672-617b5b45243a", - "use": "enc", - "alg": "A128GCM", - "k": "XctOhJAkA-pD9Lh7ZgW_2A" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - ) - - let sharedSymmetricKey = try JSONDecoder().decode( - JWK.self, - from: """ - { - "kty": "oct", - "kid": "77c7e2b8-6e13-45cf-8672-617b5b45243a", - "use": "enc", - "alg": "A128GCM", - "k": "XctOhJAkA-pD9Lh7ZgW_2A" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - ) - - let serialization = try JWE( - payload: payload, - protectedHeader: DefaultJWEHeaderImpl( - keyManagementAlgorithm: .direct, - encodingAlgorithm: .a128GCM, - keyID: recipientJWK.keyID - ), - unprotectedHeader: DefaultJWEHeaderImpl(), - senderKey: nil, - recipientKey: recipientJWK, - cek: sharedSymmetricKey.key!, - initializationVector: Base64URL.decode("refa467QzzKx6QAB"), - additionalAuthenticationData: nil - ).compactSerialization() - - let decrypted = try JWE.decrypt( - compactString: serialization, - recipientKey: recipientJWK, - sharedKey: sharedSymmetricKey - ) - - XCTAssertEqual(payload, decrypted) - - let expectedSerializationTestVector = """ - eyJhbGciOiJkaXIiLCJraWQiOiI3N2M3ZTJiOC02ZTEzLTQ1Y2YtODY3Mi02MT - diNWI0NTI0M2EiLCJlbmMiOiJBMTI4R0NNIn0 - . - . - refa467QzzKx6QAB - . - JW_i_f52hww_ELQPGaYyeAB6HYGcR559l9TYnSovc23XJoBcW29rHP8yZOZG7Y - hLpT1bjFuvZPjQS-m0IFtVcXkZXdH_lr_FrdYt9HRUYkshtrMmIUAyGmUnd9zM - DB2n0cRDIHAzFVeJUDxkUwVAE7_YGRPdcqMyiBoCO-FBdE-Nceb4h3-FtBP-c_ - BIwCPTjb9o0SbdcdREEMJMyZBH8ySWMVi1gPD9yxi-aQpGbSv_F9N4IZAxscj5 - g-NJsUPbjk29-s7LJAGb15wEBtXphVCgyy53CoIKLHHeJHXex45Uz9aKZSRSIn - ZI-wjsY0yu3cT4_aQ3i1o-tiE-F8Ios61EKgyIQ4CWao8PFMj8TTnp - . - vbb32Xvllea2OtmHAdccRQ - """.replacingWhiteSpacesAndNewLines() - - let decryptedTestVector = try JWE.decrypt( - compactString: expectedSerializationTestVector, - recipientKey: recipientJWK, - sharedKey: sharedSymmetricKey - ) - - XCTAssertEqual(payload, decryptedTestVector) - } - - func testSection_5_7() throws { - let payload = "You can trust us to stick with you through thick and thin–to the bitter end. And you can trust us to keep any secret of yours–closer than you keep it yourself. But you cannot trust us to let you face trouble alone, and go off without a word. We are your friends, Frodo.".data(using: .utf8)! - - let recipientJWK = try JSONDecoder().decode( - JWK.self, - from: """ - { - "kty": "oct", - "kid": "18ec08e1-bfa9-4d95-b205-2b4dd1d4321d", - "use": "enc", - "alg": "A256GCMKW", - "k": "qC57l_uxcm7Nm3K-ct4GFjx8tM1U8CZ0NLBvdQstiS8" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - ) - - let serialization = try JWE( - payload: payload, - protectedHeader: DefaultJWEHeaderImpl( - keyManagementAlgorithm: .a256GCMKW, - encodingAlgorithm: .a128CBCHS256, - keyID: recipientJWK.keyID, - initializationVector: Base64URL.decode("KkYT0GX_2jHlfqN_") - ), - unprotectedHeader: DefaultJWEHeaderImpl(), - senderKey: nil, - recipientKey: recipientJWK, - cek: Base64URL.decode("UWxARpat23nL9ReIj4WG3D1ee9I4r-Mv5QLuFXdy_rE"), - initializationVector: Base64URL.decode("gz6NjyEFNm_vm8Gj6FwoFQ"), - additionalAuthenticationData: nil - ) - - let decrypted = try JWE.decrypt( - compactString: serialization.compactSerialization(), - recipientKey: recipientJWK - ) - - XCTAssertEqual(payload, decrypted) - - let expectedSerializationTestVector = """ - eyJhbGciOiJBMjU2R0NNS1ciLCJraWQiOiIxOGVjMDhlMS1iZmE5LTRkOTUtYj - IwNS0yYjRkZDFkNDMyMWQiLCJ0YWciOiJrZlBkdVZRM1QzSDZ2bmV3dC0ta3N3 - IiwiaXYiOiJLa1lUMEdYXzJqSGxmcU5fIiwiZW5jIjoiQTEyOENCQy1IUzI1Ni - J9 - . - lJf3HbOApxMEBkCMOoTnnABxs_CvTWUmZQ2ElLvYNok - . - gz6NjyEFNm_vm8Gj6FwoFQ - . - Jf5p9-ZhJlJy_IQ_byKFmI0Ro7w7G1QiaZpI8OaiVgD8EqoDZHyFKFBupS8iaE - eVIgMqWmsuJKuoVgzR3YfzoMd3GxEm3VxNhzWyWtZKX0gxKdy6HgLvqoGNbZCz - LjqcpDiF8q2_62EVAbr2uSc2oaxFmFuIQHLcqAHxy51449xkjZ7ewzZaGV3eFq - hpco8o4DijXaG5_7kp3h2cajRfDgymuxUbWgLqaeNQaJtvJmSMFuEOSAzw9Hde - b6yhdTynCRmu-kqtO5Dec4lT2OMZKpnxc_F1_4yDJFcqb5CiDSmA-psB2k0Jtj - xAj4UPI61oONK7zzFIu4gBfjJCndsZfdvG7h8wGjV98QhrKEnR7xKZ3KCr0_qR - 1B-gxpNk3xWU - . - DKW7jrb4WaRSNfbXVPlT5g - """.replacingWhiteSpacesAndNewLines() - - let decryptedTestVector = try JWE.decrypt( - compactString: expectedSerializationTestVector, - recipientKey: recipientJWK - ) - - XCTAssertEqual(payload, decryptedTestVector) - } - - func testSection_5_8() throws { - let payload = "You can trust us to stick with you through thick and thin–to the bitter end. And you can trust us to keep any secret of yours–closer than you keep it yourself. But you cannot trust us to let you face trouble alone, and go off without a word. We are your friends, Frodo.".data(using: .utf8)! - - let recipientJWK = try JSONDecoder().decode( - JWK.self, - from: """ - { - "kty": "oct", - "kid": "81b20965-8332-43d9-a468-82160ad91ac8", - "use": "enc", - "alg": "A128KW", - "k": "GZy6sIZ6wl9NJOKB-jnmVQ" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - ) - - let serialization = try JWE( - payload: payload, - protectedHeader: DefaultJWEHeaderImpl( - keyManagementAlgorithm: .a128KW, - encodingAlgorithm: .a128GCM, - keyID: recipientJWK.keyID - ), - unprotectedHeader: DefaultJWEHeaderImpl(), - senderKey: nil, - recipientKey: recipientJWK, - cek: Base64URL.decode("aY5_Ghmk9KxWPBLu_glx1w"), - initializationVector: Base64URL.decode("Qx0pmsDa8KnJc9Jo"), - additionalAuthenticationData: nil - ).compactSerialization() - - let decrypted = try JWE.decrypt( - compactString: serialization, - recipientKey: recipientJWK - ) - - XCTAssertEqual(payload, decrypted) - - let expectedSerializationTestVector = """ - eyJhbGciOiJBMTI4S1ciLCJraWQiOiI4MWIyMDk2NS04MzMyLTQzZDktYTQ2OC - 04MjE2MGFkOTFhYzgiLCJlbmMiOiJBMTI4R0NNIn0 - . - CBI6oDw8MydIx1IBntf_lQcw2MmJKIQx - . - Qx0pmsDa8KnJc9Jo - . - AwliP-KmWgsZ37BvzCefNen6VTbRK3QMA4TkvRkH0tP1bTdhtFJgJxeVmJkLD6 - 1A1hnWGetdg11c9ADsnWgL56NyxwSYjU1ZEHcGkd3EkU0vjHi9gTlb90qSYFfe - F0LwkcTtjbYKCsiNJQkcIp1yeM03OmuiYSoYJVSpf7ej6zaYcMv3WwdxDFl8RE - wOhNImk2Xld2JXq6BR53TSFkyT7PwVLuq-1GwtGHlQeg7gDT6xW0JqHDPn_H-p - uQsmthc9Zg0ojmJfqqFvETUxLAF-KjcBTS5dNy6egwkYtOt8EIHK-oEsKYtZRa - a8Z7MOZ7UGxGIMvEmxrGCPeJa14slv2-gaqK0kEThkaSqdYw0FkQZF - . - ER7MWJZ1FBI_NKvn7Zb1Lw - """.replacingWhiteSpacesAndNewLines() - - let decryptedTestVector = try JWE.decrypt( - compactString: expectedSerializationTestVector, - recipientKey: recipientJWK - ) - - XCTAssertEqual(payload, decryptedTestVector) - } - - func testSection_5_9() throws { - let payload = "You can trust us to stick with you through thick and thin–to the bitter end. And you can trust us to keep any secret of yours–closer than you keep it yourself. But you cannot trust us to let you face trouble alone, and go off without a word. We are your friends, Frodo.".data(using: .utf8)! - - let recipientJWK = try JSONDecoder().decode( - JWK.self, - from: """ - { - "kty": "oct", - "kid": "81b20965-8332-43d9-a468-82160ad91ac8", - "use": "enc", - "alg": "A128KW", - "k": "GZy6sIZ6wl9NJOKB-jnmVQ" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - ) - - let serialization = try JWE( - payload: payload, - protectedHeader: DefaultJWEHeaderImpl( - keyManagementAlgorithm: .a128KW, - encodingAlgorithm: .a128GCM, - compressionAlgorithm: .deflate, - keyID: recipientJWK.keyID - ), - unprotectedHeader: DefaultJWEHeaderImpl(), - senderKey: nil, - recipientKey: recipientJWK, - cek: Base64URL.decode("hC-MpLZSuwWv8sexS6ydfw"), - initializationVector: Base64URL.decode("p9pUq6XHY0jfEZIl"), - additionalAuthenticationData: nil - ).compactSerialization() - - let decrypted = try JWE.decrypt( - compactString: serialization, - recipientKey: recipientJWK - ) - - XCTAssertEqual(payload, decrypted) - - let expectedSerializationTestVector = """ - eyJhbGciOiJBMTI4S1ciLCJraWQiOiI4MWIyMDk2NS04MzMyLTQzZDktYTQ2OC - 04MjE2MGFkOTFhYzgiLCJlbmMiOiJBMTI4R0NNIiwiemlwIjoiREVGIn0 - . - 5vUT2WOtQxKWcekM_IzVQwkGgzlFDwPi - . - p9pUq6XHY0jfEZIl - . - HbDtOsdai1oYziSx25KEeTxmwnh8L8jKMFNc1k3zmMI6VB8hry57tDZ61jXyez - SPt0fdLVfe6Jf5y5-JaCap_JQBcb5opbmT60uWGml8blyiMQmOn9J--XhhlYg0 - m-BHaqfDO5iTOWxPxFMUedx7WCy8mxgDHj0aBMG6152PsM-w5E_o2B3jDbrYBK - hpYA7qi3AyijnCJ7BP9rr3U8kxExCpG3mK420TjOw - . - VILuUwuIxaLVmh5X-T7kmA - """.replacingWhiteSpacesAndNewLines() - - let decryptedTestVector = try JWE.decrypt( - compactString: expectedSerializationTestVector, - recipientKey: recipientJWK - ) - - XCTAssertEqual(payload, decryptedTestVector) - } - - func testSection_5_10() throws { - let payload = "You can trust us to stick with you through thick and thin–to the bitter end. And you can trust us to keep any secret of yours–closer than you keep it yourself. But you cannot trust us to let you face trouble alone, and go off without a word. We are your friends, Frodo.".data(using: .utf8)! - - let recipientJWK = try JSONDecoder().decode( - JWK.self, - from: """ - { - "kty": "oct", - "kid": "81b20965-8332-43d9-a468-82160ad91ac8", - "use": "enc", - "alg": "A128KW", - "k": "GZy6sIZ6wl9NJOKB-jnmVQ" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - ) - - let serialization = try JWE.jsonSerialization( - payload: payload, - protectedHeader: DefaultJWEHeaderImpl( - keyManagementAlgorithm: .a128KW, - encodingAlgorithm: .a128GCM, - keyID: recipientJWK.keyID - ), - recipientKeys: [recipientJWK], - cek: Base64URL.decode("75m1ALsYv10pZTKPWrsqdg"), - initializationVector: Base64URL.decode("veCx9ece2orS7c_N"), - additionalAuthenticationData: Base64URL.decode(""" - WyJ2Y2FyZCIsW1sidmVyc2lvbiIse30sInRleHQiLCI0LjAiXSxbImZuIix7fS - widGV4dCIsIk1lcmlhZG9jIEJyYW5keWJ1Y2siXSxbIm4iLHt9LCJ0ZXh0Iixb - IkJyYW5keWJ1Y2siLCJNZXJpYWRvYyIsIk1yLiIsIiJdXSxbImJkYXkiLHt9LC - J0ZXh0IiwiVEEgMjk4MiJdLFsiZ2VuZGVyIix7fSwidGV4dCIsIk0iXV1d - """.replacingWhiteSpacesAndNewLines()) - ) - - let decrypted = try JWE.decrypt( - jweJson: try JSONEncoder.jose.encode(serialization), - senderKey: nil, - recipientKey: recipientJWK, - sharedKey: nil - ) - - XCTAssertEqual(payload, decrypted) - - let expectedSerializationTestVector = """ - { - "recipients": [ - { - "encrypted_key": "4YiiQ_ZzH76TaIkJmYfRFgOV9MIpnx4X" - } - ], - "protected": "eyJhbGciOiJBMTI4S1ciLCJraWQiOiI4MWIyMDk2NS04Mz - MyLTQzZDktYTQ2OC04MjE2MGFkOTFhYzgiLCJlbmMiOiJBMTI4R0NNIn - 0", - "iv": "veCx9ece2orS7c_N", - "aad": "WyJ2Y2FyZCIsW1sidmVyc2lvbiIse30sInRleHQiLCI0LjAiXSxb - ImZuIix7fSwidGV4dCIsIk1lcmlhZG9jIEJyYW5keWJ1Y2siXSxbIm4i - LHt9LCJ0ZXh0IixbIkJyYW5keWJ1Y2siLCJNZXJpYWRvYyIsIk1yLiIs - IiJdXSxbImJkYXkiLHt9LCJ0ZXh0IiwiVEEgMjk4MiJdLFsiZ2VuZGVy - Iix7fSwidGV4dCIsIk0iXV1d", - "ciphertext": "Z_3cbr0k3bVM6N3oSNmHz7Lyf3iPppGf3Pj17wNZqteJ0 - Ui8p74SchQP8xygM1oFRWCNzeIa6s6BcEtp8qEFiqTUEyiNkOWDNoF14 - T_4NFqF-p2Mx8zkbKxI7oPK8KNarFbyxIDvICNqBLba-v3uzXBdB89fz - OI-Lv4PjOFAQGHrgv1rjXAmKbgkft9cB4WeyZw8MldbBhc-V_KWZslrs - LNygon_JJWd_ek6LQn5NRehvApqf9ZrxB4aq3FXBxOxCys35PhCdaggy - 2kfUfl2OkwKnWUbgXVD1C6HxLIlqHhCwXDG59weHrRDQeHyMRoBljoV3 - X_bUTJDnKBFOod7nLz-cj48JMx3SnCZTpbQAkFV", - "tag": "vOaH_Rajnpy_3hOtqvZHRA" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - - let decryptedTestVector = try JWE.decrypt( - jweJson: expectedSerializationTestVector, - senderKey: nil, - recipientKey: recipientJWK, - sharedKey: nil - ) - - XCTAssertEqual(payload, decryptedTestVector) - } - - func testSection_5_11() throws { - let payload = "You can trust us to stick with you through thick and thin–to the bitter end. And you can trust us to keep any secret of yours–closer than you keep it yourself. But you cannot trust us to let you face trouble alone, and go off without a word. We are your friends, Frodo.".data(using: .utf8)! - - let recipientJWK = try JSONDecoder().decode( - JWK.self, - from: """ - { - "kty": "oct", - "kid": "81b20965-8332-43d9-a468-82160ad91ac8", - "use": "enc", - "alg": "A128KW", - "k": "GZy6sIZ6wl9NJOKB-jnmVQ" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - ) - - let serialization = try JWE( - payload: payload, - protectedHeader: DefaultJWEHeaderImpl( - encodingAlgorithm: .a128GCM - ), - unprotectedHeader: DefaultJWEHeaderImpl( - keyManagementAlgorithm: .a128KW, - keyID: recipientJWK.keyID - ), - senderKey: nil, - recipientKey: recipientJWK, - cek: Base64URL.decode("WDgEptBmQs9ouUvArz6x6g"), - initializationVector: Base64URL.decode("WgEJsDS9bkoXQ3nR") - ).compactSerialization() - - let expectedSerializationTestVector = """ - { - "recipients": [ - { - "encrypted_key": "jJIcM9J-hbx3wnqhf5FlkEYos0sHsF0H" - } - ], - "unprotected": { - "alg": "A128KW", - "kid": "81b20965-8332-43d9-a468-82160ad91ac8" - }, - "protected": "eyJlbmMiOiJBMTI4R0NNIn0", - "iv": "WgEJsDS9bkoXQ3nR", - "ciphertext": "lIbCyRmRJxnB2yLQOTqjCDKV3H30ossOw3uD9DPsqLL2D - M3swKkjOwQyZtWsFLYMj5YeLht_StAn21tHmQJuuNt64T8D4t6C7kC9O - CCJ1IHAolUv4MyOt80MoPb8fZYbNKqplzYJgIL58g8N2v46OgyG637d6 - uuKPwhAnTGm_zWhqc_srOvgiLkzyFXPq1hBAURbc3-8BqeRb48iR1-_5 - g5UjWVD3lgiLCN_P7AW8mIiFvUNXBPJK3nOWL4teUPS8yHLbWeL83olU - 4UAgL48x-8dDkH23JykibVSQju-f7e-1xreHWXzWLHs1NqBbre0dEwK3 - HX_xM0LjUz77Krppgegoutpf5qaKg3l-_xMINmf", - "tag": "fNYLqpUe84KD45lvDiaBAQ" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - - let decryptedTestVector = try JWE.decrypt( - jweJson: expectedSerializationTestVector, - senderKey: nil, - recipientKey: recipientJWK, - sharedKey: nil - ) - - XCTAssertEqual(payload, decryptedTestVector) - } - - func testSection_5_12() throws { - let payload = "You can trust us to stick with you through thick and thin–to the bitter end. And you can trust us to keep any secret of yours–closer than you keep it yourself. But you cannot trust us to let you face trouble alone, and go off without a word. We are your friends, Frodo.".data(using: .utf8)! - - let recipientJWK = try JSONDecoder().decode( - JWK.self, - from: """ - { - "kty": "oct", - "kid": "81b20965-8332-43d9-a468-82160ad91ac8", - "use": "enc", - "alg": "A128KW", - "k": "GZy6sIZ6wl9NJOKB-jnmVQ" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - ) - - let serialization = try JWE( - payload: payload, - unprotectedHeader: DefaultJWEHeaderImpl( - keyManagementAlgorithm: .a128KW, - encodingAlgorithm: .a128GCM, - keyID: recipientJWK.keyID - ), - senderKey: nil, - recipientKey: recipientJWK, - cek: Base64URL.decode("WDgEptBmQs9ouUvArz6x6g"), - initializationVector: Base64URL.decode("WgEJsDS9bkoXQ3nR") - ).compactSerialization() - - let expectedSerializationTestVector = """ - { - "recipients": [ - { - "encrypted_key": "jJIcM9J-hbx3wnqhf5FlkEYos0sHsF0H" - } - ], - "unprotected": { - "alg": "A128KW", - "kid": "81b20965-8332-43d9-a468-82160ad91ac8" - }, - "protected": "eyJlbmMiOiJBMTI4R0NNIn0", - "iv": "WgEJsDS9bkoXQ3nR", - "ciphertext": "lIbCyRmRJxnB2yLQOTqjCDKV3H30ossOw3uD9DPsqLL2D - M3swKkjOwQyZtWsFLYMj5YeLht_StAn21tHmQJuuNt64T8D4t6C7kC9O - CCJ1IHAolUv4MyOt80MoPb8fZYbNKqplzYJgIL58g8N2v46OgyG637d6 - uuKPwhAnTGm_zWhqc_srOvgiLkzyFXPq1hBAURbc3-8BqeRb48iR1-_5 - g5UjWVD3lgiLCN_P7AW8mIiFvUNXBPJK3nOWL4teUPS8yHLbWeL83olU - 4UAgL48x-8dDkH23JykibVSQju-f7e-1xreHWXzWLHs1NqBbre0dEwK3 - HX_xM0LjUz77Krppgegoutpf5qaKg3l-_xMINmf", - "tag": "fNYLqpUe84KD45lvDiaBAQ" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - - let decryptedTestVector = try JWE.decrypt( - jweJson: expectedSerializationTestVector, - senderKey: nil, - recipientKey: recipientJWK, - sharedKey: nil - ) - - XCTAssertEqual(payload, decryptedTestVector) - } - - func testSection_5_13() throws { - let payload = "You can trust us to stick with you through thick and thin–to the bitter end. And you can trust us to keep any secret of yours–closer than you keep it yourself. But you cannot trust us to let you face trouble alone, and go off without a word. We are your friends, Frodo.".data(using: .utf8)! - - let recipientJWK1 = try JSONDecoder().decode( - JWK.self, - from: """ - { - "kty": "RSA", - "kid": "frodo.baggins@hobbiton.example", - "use": "enc", - "n": "maxhbsmBtdQ3CNrKvprUE6n9lYcregDMLYNeTAWcLj8NnPU9XIYegT - HVHQjxKDSHP2l-F5jS7sppG1wgdAqZyhnWvXhYNvcM7RfgKxqNx_xAHx - 6f3yy7s-M9PSNCwPC2lh6UAkR4I00EhV9lrypM9Pi4lBUop9t5fS9W5U - NwaAllhrd-osQGPjIeI1deHTwx-ZTHu3C60Pu_LJIl6hKn9wbwaUmA4c - R5Bd2pgbaY7ASgsjCUbtYJaNIHSoHXprUdJZKUMAzV0WOKPfA6OPI4oy - pBadjvMZ4ZAj3BnXaSYsEZhaueTXvZB4eZOAjIyh2e_VOIKVMsnDrJYA - VotGlvMQ", - "e": "AQAB", - "d": "Kn9tgoHfiTVi8uPu5b9TnwyHwG5dK6RE0uFdlpCGnJN7ZEi963R7wy - bQ1PLAHmpIbNTztfrheoAniRV1NCIqXaW_qS461xiDTp4ntEPnqcKsyO - 5jMAji7-CL8vhpYYowNFvIesgMoVaPRYMYT9TW63hNM0aWs7USZ_hLg6 - Oe1mY0vHTI3FucjSM86Nff4oIENt43r2fspgEPGRrdE6fpLc9Oaq-qeP - 1GFULimrRdndm-P8q8kvN3KHlNAtEgrQAgTTgz80S-3VD0FgWfgnb1PN - miuPUxO8OpI9KDIfu_acc6fg14nsNaJqXe6RESvhGPH2afjHqSy_Fd2v - pzj85bQQ", - "p": "2DwQmZ43FoTnQ8IkUj3BmKRf5Eh2mizZA5xEJ2MinUE3sdTYKSLtaE - oekX9vbBZuWxHdVhM6UnKCJ_2iNk8Z0ayLYHL0_G21aXf9-unynEpUsH - 7HHTklLpYAzOOx1ZgVljoxAdWNn3hiEFrjZLZGS7lOH-a3QQlDDQoJOJ - 2VFmU", - "q": "te8LY4-W7IyaqH1ExujjMqkTAlTeRbv0VLQnfLY2xINnrWdwiQ93_V - F099aP1ESeLja2nw-6iKIe-qT7mtCPozKfVtUYfz5HrJ_XY2kfexJINb - 9lhZHMv5p1skZpeIS-GPHCC6gRlKo1q-idn_qxyusfWv7WAxlSVfQfk8 - d6Et0", - "dp": "UfYKcL_or492vVc0PzwLSplbg4L3-Z5wL48mwiswbpzOyIgd2xHTH - QmjJpFAIZ8q-zf9RmgJXkDrFs9rkdxPtAsL1WYdeCT5c125Fkdg317JV - RDo1inX7x2Kdh8ERCreW8_4zXItuTl_KiXZNU5lvMQjWbIw2eTx1lpsf - lo0rYU", - "dq": "iEgcO-QfpepdH8FWd7mUFyrXdnOkXJBCogChY6YKuIHGc_p8Le9Mb - pFKESzEaLlN1Ehf3B6oGBl5Iz_ayUlZj2IoQZ82znoUrpa9fVYNot87A - CfzIG7q9Mv7RiPAderZi03tkVXAdaBau_9vs5rS-7HMtxkVrxSUvJY14 - TkXlHE", - "qi": "kC-lzZOqoFaZCr5l0tOVtREKoVqaAYhQiqIRGL-MzS4sCmRkxm5vZ - lXYx6RtE1n_AagjqajlkjieGlxTTThHD8Iga6foGBMaAr5uR1hGQpSc7 - Gl7CF1DZkBJMTQN6EshYzZfxW08mIO8M6Rzuh0beL6fG9mkDcIyPrBXx - 2bQ_mM" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - ) - - let recipientJWK2 = try JSONDecoder().decode( - JWK.self, - from: """ - { - "kty": "EC", - "kid": "peregrin.took@tuckborough.example", - "use": "enc", - "crv": "P-384", - "x": "YU4rRUzdmVqmRtWOs2OpDE_T5fsNIodcG8G5FWPrTPMyxpzsSOGaQL - pe2FpxBmu2", - "y": "A8-yxCHxkfBz3hKZfI1jUYMjUhsEveZ9THuwFjH2sCNdtksRJU7D5- - SkgaFL1ETP", - "d": "iTx2pk7wW-GqJkHcEkFQb2EFyYcO7RugmaW3mRrQVAOUiPommT0Idn - YK2xDlZh-j" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - ) - - let recipientJWK3 = try JSONDecoder().decode( - JWK.self, - from: """ - { - "kty": "oct", - "kid": "18ec08e1-bfa9-4d95-b205-2b4dd1d4321d", - "use": "enc", - "alg": "A256GCMKW", - "k": "qC57l_uxcm7Nm3K-ct4GFjx8tM1U8CZ0NLBvdQstiS8" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - ) - - let serialization = try JWE.jsonSerialization( - payload: payload, - protectedHeader: DefaultJWEHeaderImpl(encodingAlgorithm: .a128CBCHS256), - unprotectedHeader: DefaultJWEHeaderImpl(contentType: "text/plain"), - recipients: [ - (DefaultJWEHeaderImpl( - keyManagementAlgorithm: .rsa1_5, - keyID: recipientJWK1.keyID - ), recipientJWK1), - (DefaultJWEHeaderImpl( - keyManagementAlgorithm: .ecdhESA256KW, - keyID: recipientJWK2.keyID, - ephemeralPublicKey: JSONDecoder().decode( - JWK.self, - from: """ - { - "kty": "EC", - "crv": "P-384", - "x": "Uzdvk3pi5wKCRc1izp5_r0OjeqT-I68i8g2b8mva8diRhsE2xAn2Dt - MRb25Ma2CX", - "y": "VDrRyFJh-Kwd1EjAgmj5Eo-CTHAZ53MC7PjjpLioy3ylEjI1pOMbw9 - 1fzZ84pbfm", - "d": "1DKHfTv-PiifVw2VBHM_ZiVcwOMxkOyANS_lQHJcrDxVY3jhVCvZPw - MxJKIE793C" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - ) - ), recipientJWK2), - (DefaultJWEHeaderImpl( - keyManagementAlgorithm: .a256GCMKW, - keyID: recipientJWK3.keyID, - initializationVector: Base64URL.decode("AvpeoPZ9Ncn9mkBn"), - authenticationTag: Base64URL.decode("59Nqh1LlYtVIhfD3pgRGvw") - ), recipientJWK3), - ], - cek: Base64URL.decode("zXayeJ4gvm8NJr3IUInyokTUO-LbQNKEhe_zWlYbdpQ"), - initializationVector: Base64URL.decode("VgEIHY20EnzUtZFl2RpB1g") - ) - - let jsonData = try JSONEncoder.jose.encode(serialization) - - let decryptedRecipient1 = try JWE.decrypt( - jweJson: jsonData, - senderKey: nil, - recipientKey: recipientJWK1, - sharedKey: nil - ) - - let decryptedRecipient2 = try JWE.decrypt( - jweJson: jsonData, - senderKey: nil, - recipientKey: recipientJWK2, - sharedKey: nil - ) - - let decryptedRecipient3 = try JWE.decrypt( - jweJson: jsonData, - senderKey: nil, - recipientKey: recipientJWK3, - sharedKey: nil - ) - - XCTAssertEqual(payload, decryptedRecipient1) - XCTAssertEqual(payload, decryptedRecipient2) - XCTAssertEqual(payload, decryptedRecipient3) - - let expectedSerializationTestVector = """ - { - "recipients": [ - { - "encrypted_key": "dYOD28kab0Vvf4ODgxVAJXgHcSZICSOp8M51zj - wj4w6Y5G4XJQsNNIBiqyvUUAOcpL7S7-cFe7Pio7gV_Q06WmCSa- - vhW6me4bWrBf7cHwEQJdXihidAYWVajJIaKMXMvFRMV6iDlRr076 - DFthg2_AV0_tSiV6xSEIFqt1xnYPpmP91tc5WJDOGb-wqjw0-b-S - 1laS11QVbuP78dQ7Fa0zAVzzjHX-xvyM2wxj_otxr9clN1LnZMbe - YSrRicJK5xodvWgkpIdkMHo4LvdhRRvzoKzlic89jFWPlnBq_V4n - 5trGuExtp_-dbHcGlihqc_wGgho9fLMK8JOArYLcMDNQ", - "header": { - "alg": "RSA1_5", - "kid": "frodo.baggins@hobbiton.example" - } - }, - { - "encrypted_key": "ExInT0io9BqBMYF6-maw5tZlgoZXThD1zWKsHi - xJuw_elY4gSSId_w", - "header": { - "alg": "ECDH-ES+A256KW", - "kid": "peregrin.took@tuckborough.example", - "epk": { - "kty": "EC", - "crv": "P-384", - "x": "Uzdvk3pi5wKCRc1izp5_r0OjeqT-I68i8g2b8mva8diRhs - E2xAn2DtMRb25Ma2CX", - "y": "VDrRyFJh-Kwd1EjAgmj5Eo-CTHAZ53MC7PjjpLioy3ylEj - I1pOMbw91fzZ84pbfm" - } - } - }, - { - "encrypted_key": "a7CclAejo_7JSuPB8zeagxXRam8dwCfmkt9-Wy - TpS1E", - "header": { - "alg": "A256GCMKW", - "kid": "18ec08e1-bfa9-4d95-b205-2b4dd1d4321d", - "tag": "59Nqh1LlYtVIhfD3pgRGvw", - "iv": "AvpeoPZ9Ncn9mkBn" - } - } - ], - "unprotected": { - "cty": "text/plain" - }, - "protected": "eyJlbmMiOiJBMTI4Q0JDLUhTMjU2In0", - "iv": "VgEIHY20EnzUtZFl2RpB1g", - "ciphertext": "ajm2Q-OpPXCr7-MHXicknb1lsxLdXxK_yLds0KuhJzfWK - 04SjdxQeSw2L9mu3a_k1C55kCQ_3xlkcVKC5yr__Is48VOoK0k63_QRM - 9tBURMFqLByJ8vOYQX0oJW4VUHJLmGhF-tVQWB7Kz8mr8zeE7txF0MSa - P6ga7-siYxStR7_G07Thd1jh-zGT0wxM5g-VRORtq0K6AXpLlwEqRp7p - kt2zRM0ZAXqSpe1O6FJ7FHLDyEFnD-zDIZukLpCbzhzMDLLw2-8I14FQ - rgi-iEuzHgIJFIJn2wh9Tj0cg_kOZy9BqMRZbmYXMY9YQjorZ_P_JYG3 - ARAIF3OjDNqpdYe-K_5Q5crGJSDNyij_ygEiItR5jssQVH2ofDQdLCht - azE", - "tag": "BESYyFN7T09KY7i8zKs5_g" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)! - - let decryptedTestVectorRecipient1 = try JWE.decrypt( - jweJson: expectedSerializationTestVector, - senderKey: nil, - recipientKey: recipientJWK1, - sharedKey: nil - ) - - let decryptedTestVectorRecipient2 = try JWE.decrypt( - jweJson: expectedSerializationTestVector, - senderKey: nil, - recipientKey: recipientJWK2, - sharedKey: nil - ) - - let decryptedTestVectorRecipient3 = try JWE.decrypt( - jweJson: expectedSerializationTestVector, - senderKey: nil, - recipientKey: recipientJWK3, - sharedKey: nil - ) - - XCTAssertEqual(payload, decryptedTestVectorRecipient1) - XCTAssertEqual(payload, decryptedTestVectorRecipient2) - XCTAssertEqual(payload, decryptedTestVectorRecipient3) - } -} diff --git a/Tests/JWETests/RSATests.swift b/Tests/JWETests/RSATests.swift deleted file mode 100644 index 3e11737..0000000 --- a/Tests/JWETests/RSATests.swift +++ /dev/null @@ -1,239 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import XCTest -@testable import JSONWebEncryption -import JSONWebAlgorithms -import JSONWebKey -import Tools - -final class RSATests: XCTestCase { - func testRSAOAEPCycle() throws { - let payload = try "Test".tryToData() - let recipientJWK = try JSONDecoder().decode( - JWK.self, - from: """ - { - "kty": "RSA", - "kid": "samwise.gamgee@hobbiton.example", - "use": "enc", - "n": "wbdxI55VaanZXPY29Lg5hdmv2XhvqAhoxUkanfzf2-5zVUxa6prHRr - I4pP1AhoqJRlZfYtWWd5mmHRG2pAHIlh0ySJ9wi0BioZBl1XP2e-C-Fy - XJGcTy0HdKQWlrfhTm42EW7Vv04r4gfao6uxjLGwfpGrZLarohiWCPnk - Nrg71S2CuNZSQBIPGjXfkmIy2tl_VWgGnL22GplyXj5YlBLdxXp3XeSt - sqo571utNfoUTU8E4qdzJ3U1DItoVkPGsMwlmmnJiwA7sXRItBCivR4M - 5qnZtdw-7v4WuR4779ubDuJ5nalMv2S66-RPcnFAzWSKxtBDnFJJDGIU - e7Tzizjg1nms0Xq_yPub_UOlWn0ec85FCft1hACpWG8schrOBeNqHBOD - FskYpUc2LC5JA2TaPF2dA67dg1TTsC_FupfQ2kNGcE1LgprxKHcVWYQb - 86B-HozjHZcqtauBzFNV5tbTuB-TpkcvJfNcFLlH3b8mb-H_ox35FjqB - SAjLKyoeqfKTpVjvXhd09knwgJf6VKq6UC418_TOljMVfFTWXUxlnfhO - OnzW6HSSzD1c9WrCuVzsUMv54szidQ9wf1cYWf3g5qFDxDQKis99gcDa - iCAwM3yEBIzuNeeCa5dartHDb1xEB_HcHSeYbghbMjGfasvKn0aZRsnT - yC0xhWBlsolZE", - "e": "AQAB", - "alg": "RSA-OAEP", - "d": "n7fzJc3_WG59VEOBTkayzuSMM780OJQuZjN_KbH8lOZG25ZoA7T4Bx - cc0xQn5oZE5uSCIwg91oCt0JvxPcpmqzaJZg1nirjcWZ-oBtVk7gCAWq - -B3qhfF3izlbkosrzjHajIcY33HBhsy4_WerrXg4MDNE4HYojy68TcxT - 2LYQRxUOCf5TtJXvM8olexlSGtVnQnDRutxEUCwiewfmmrfveEogLx9E - A-KMgAjTiISXxqIXQhWUQX1G7v_mV_Hr2YuImYcNcHkRvp9E7ook0876 - DhkO8v4UOZLwA1OlUX98mkoqwc58A_Y2lBYbVx1_s5lpPsEqbbH-nqIj - h1fL0gdNfihLxnclWtW7pCztLnImZAyeCWAG7ZIfv-Rn9fLIv9jZ6r7r - -MSH9sqbuziHN2grGjD_jfRluMHa0l84fFKl6bcqN1JWxPVhzNZo01yD - F-1LiQnqUYSepPf6X3a2SOdkqBRiquE6EvLuSYIDpJq3jDIsgoL8Mo1L - oomgiJxUwL_GWEOGu28gplyzm-9Q0U0nyhEf1uhSR8aJAQWAiFImWH5W - _IQT9I7-yrindr_2fWQ_i1UgMsGzA7aOGzZfPljRy6z-tY_KuBG00-28 - S_aWvjyUc-Alp8AUyKjBZ-7CWH32fGWK48j1t-zomrwjL_mnhsPbGs0c - 9WsWgRzI-K8gE", - "p": "7_2v3OQZzlPFcHyYfLABQ3XP85Es4hCdwCkbDeltaUXgVy9l9etKgh - vM4hRkOvbb01kYVuLFmxIkCDtpi-zLCYAdXKrAK3PtSbtzld_XZ9nlsY - a_QZWpXB_IrtFjVfdKUdMz94pHUhFGFj7nr6NNxfpiHSHWFE1zD_AC3m - Y46J961Y2LRnreVwAGNw53p07Db8yD_92pDa97vqcZOdgtybH9q6uma- - RFNhO1AoiJhYZj69hjmMRXx-x56HO9cnXNbmzNSCFCKnQmn4GQLmRj9s - fbZRqL94bbtE4_e0Zrpo8RNo8vxRLqQNwIy85fc6BRgBJomt8QdQvIgP - gWCv5HoQ", - "q": "zqOHk1P6WN_rHuM7ZF1cXH0x6RuOHq67WuHiSknqQeefGBA9PWs6Zy - KQCO-O6mKXtcgE8_Q_hA2kMRcKOcvHil1hqMCNSXlflM7WPRPZu2qCDc - qssd_uMbP-DqYthH_EzwL9KnYoH7JQFxxmcv5An8oXUtTwk4knKjkIYG - RuUwfQTus0w1NfjFAyxOOiAQ37ussIcE6C6ZSsM3n41UlbJ7TCqewzVJ - aPJN5cxjySPZPD3Vp01a9YgAD6a3IIaKJdIxJS1ImnfPevSJQBE79-EX - e2kSwVgOzvt-gsmM29QQ8veHy4uAqca5dZzMs7hkkHtw1z0jHV90epQJ - JlXXnH8Q", - "dp": "19oDkBh1AXelMIxQFm2zZTqUhAzCIr4xNIGEPNoDt1jK83_FJA-xn - x5kA7-1erdHdms_Ef67HsONNv5A60JaR7w8LHnDiBGnjdaUmmuO8XAxQ - J_ia5mxjxNjS6E2yD44USo2JmHvzeeNczq25elqbTPLhUpGo1IZuG72F - ZQ5gTjXoTXC2-xtCDEUZfaUNh4IeAipfLugbpe0JAFlFfrTDAMUFpC3i - XjxqzbEanflwPvj6V9iDSgjj8SozSM0dLtxvu0LIeIQAeEgT_yXcrKGm - pKdSO08kLBx8VUjkbv_3Pn20Gyu2YEuwpFlM_H1NikuxJNKFGmnAq9Lc - nwwT0jvoQ", - "dq": "S6p59KrlmzGzaQYQM3o0XfHCGvfqHLYjCO557HYQf72O9kLMCfd_1 - VBEqeD-1jjwELKDjck8kOBl5UvohK1oDfSP1DleAy-cnmL29DqWmhgwM - 1ip0CCNmkmsmDSlqkUXDi6sAaZuntyukyflI-qSQ3C_BafPyFaKrt1fg - dyEwYa08pESKwwWisy7KnmoUvaJ3SaHmohFS78TJ25cfc10wZ9hQNOrI - ChZlkiOdFCtxDqdmCqNacnhgE3bZQjGp3n83ODSz9zwJcSUvODlXBPc2 - AycH6Ci5yjbxt4Ppox_5pjm6xnQkiPgj01GpsUssMmBN7iHVsrE7N2iz - nBNCeOUIQ", - "qi": "FZhClBMywVVjnuUud-05qd5CYU0dK79akAgy9oX6RX6I3IIIPckCc - iRrokxglZn-omAY5CnCe4KdrnjFOT5YUZE7G_Pg44XgCXaarLQf4hl80 - oPEf6-jJ5Iy6wPRx7G2e8qLxnh9cOdf-kRqgOS3F48Ucvw3ma5V6KGMw - QqWFeV31XtZ8l5cVI-I3NzBS7qltpUVgz2Ju021eyc7IlqgzR98qKONl - 27DuEES0aK0WE97jnsyO27Yp88Wa2RiBrEocM89QZI1seJiGDizHRUP4 - UZxw9zsXww46wy0P6f9grnYp7t8LkyDDk8eoI4KX6SNMNVcyVS9IWjlq - 8EzqZEKIA" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)!) - - let keyAlg = KeyManagementAlgorithm.rsaOAEP - let encAlg = ContentEncryptionAlgorithm.a256CBCHS512 - - let header = DefaultJWEHeaderImpl( - keyManagementAlgorithm: keyAlg, - encodingAlgorithm: encAlg - ) - - let jwe = try RSAJWEEncryptor().encrypt( - payload: payload, - recipientKey: recipientJWK, - protectedHeader: header - ) - - let decrypted = try RSAJWEDecryptor().decrypt( - protectedHeader: jwe.protectedHeader, - cipher: jwe.cipherText, - encryptedKey: jwe.encryptedKey, - initializationVector: jwe.initializationVector, - authenticationTag: jwe.authenticationTag, - additionalAuthenticationData: jwe.additionalAuthenticationData, - recipientKey: recipientJWK - ) - - XCTAssertEqual(payload, decrypted) - } - - func testRSAOAEP256Cycle() throws { - let payload = try "Test".tryToData() - let recipientJWK = try JSONDecoder().decode( - JWK.self, - from: """ - { - "kty": "RSA", - "kid": "samwise.gamgee@hobbiton.example", - "use": "enc", - "n": "wbdxI55VaanZXPY29Lg5hdmv2XhvqAhoxUkanfzf2-5zVUxa6prHRr - I4pP1AhoqJRlZfYtWWd5mmHRG2pAHIlh0ySJ9wi0BioZBl1XP2e-C-Fy - XJGcTy0HdKQWlrfhTm42EW7Vv04r4gfao6uxjLGwfpGrZLarohiWCPnk - Nrg71S2CuNZSQBIPGjXfkmIy2tl_VWgGnL22GplyXj5YlBLdxXp3XeSt - sqo571utNfoUTU8E4qdzJ3U1DItoVkPGsMwlmmnJiwA7sXRItBCivR4M - 5qnZtdw-7v4WuR4779ubDuJ5nalMv2S66-RPcnFAzWSKxtBDnFJJDGIU - e7Tzizjg1nms0Xq_yPub_UOlWn0ec85FCft1hACpWG8schrOBeNqHBOD - FskYpUc2LC5JA2TaPF2dA67dg1TTsC_FupfQ2kNGcE1LgprxKHcVWYQb - 86B-HozjHZcqtauBzFNV5tbTuB-TpkcvJfNcFLlH3b8mb-H_ox35FjqB - SAjLKyoeqfKTpVjvXhd09knwgJf6VKq6UC418_TOljMVfFTWXUxlnfhO - OnzW6HSSzD1c9WrCuVzsUMv54szidQ9wf1cYWf3g5qFDxDQKis99gcDa - iCAwM3yEBIzuNeeCa5dartHDb1xEB_HcHSeYbghbMjGfasvKn0aZRsnT - yC0xhWBlsolZE", - "e": "AQAB", - "alg": "RSA-OAEP", - "d": "n7fzJc3_WG59VEOBTkayzuSMM780OJQuZjN_KbH8lOZG25ZoA7T4Bx - cc0xQn5oZE5uSCIwg91oCt0JvxPcpmqzaJZg1nirjcWZ-oBtVk7gCAWq - -B3qhfF3izlbkosrzjHajIcY33HBhsy4_WerrXg4MDNE4HYojy68TcxT - 2LYQRxUOCf5TtJXvM8olexlSGtVnQnDRutxEUCwiewfmmrfveEogLx9E - A-KMgAjTiISXxqIXQhWUQX1G7v_mV_Hr2YuImYcNcHkRvp9E7ook0876 - DhkO8v4UOZLwA1OlUX98mkoqwc58A_Y2lBYbVx1_s5lpPsEqbbH-nqIj - h1fL0gdNfihLxnclWtW7pCztLnImZAyeCWAG7ZIfv-Rn9fLIv9jZ6r7r - -MSH9sqbuziHN2grGjD_jfRluMHa0l84fFKl6bcqN1JWxPVhzNZo01yD - F-1LiQnqUYSepPf6X3a2SOdkqBRiquE6EvLuSYIDpJq3jDIsgoL8Mo1L - oomgiJxUwL_GWEOGu28gplyzm-9Q0U0nyhEf1uhSR8aJAQWAiFImWH5W - _IQT9I7-yrindr_2fWQ_i1UgMsGzA7aOGzZfPljRy6z-tY_KuBG00-28 - S_aWvjyUc-Alp8AUyKjBZ-7CWH32fGWK48j1t-zomrwjL_mnhsPbGs0c - 9WsWgRzI-K8gE", - "p": "7_2v3OQZzlPFcHyYfLABQ3XP85Es4hCdwCkbDeltaUXgVy9l9etKgh - vM4hRkOvbb01kYVuLFmxIkCDtpi-zLCYAdXKrAK3PtSbtzld_XZ9nlsY - a_QZWpXB_IrtFjVfdKUdMz94pHUhFGFj7nr6NNxfpiHSHWFE1zD_AC3m - Y46J961Y2LRnreVwAGNw53p07Db8yD_92pDa97vqcZOdgtybH9q6uma- - RFNhO1AoiJhYZj69hjmMRXx-x56HO9cnXNbmzNSCFCKnQmn4GQLmRj9s - fbZRqL94bbtE4_e0Zrpo8RNo8vxRLqQNwIy85fc6BRgBJomt8QdQvIgP - gWCv5HoQ", - "q": "zqOHk1P6WN_rHuM7ZF1cXH0x6RuOHq67WuHiSknqQeefGBA9PWs6Zy - KQCO-O6mKXtcgE8_Q_hA2kMRcKOcvHil1hqMCNSXlflM7WPRPZu2qCDc - qssd_uMbP-DqYthH_EzwL9KnYoH7JQFxxmcv5An8oXUtTwk4knKjkIYG - RuUwfQTus0w1NfjFAyxOOiAQ37ussIcE6C6ZSsM3n41UlbJ7TCqewzVJ - aPJN5cxjySPZPD3Vp01a9YgAD6a3IIaKJdIxJS1ImnfPevSJQBE79-EX - e2kSwVgOzvt-gsmM29QQ8veHy4uAqca5dZzMs7hkkHtw1z0jHV90epQJ - JlXXnH8Q", - "dp": "19oDkBh1AXelMIxQFm2zZTqUhAzCIr4xNIGEPNoDt1jK83_FJA-xn - x5kA7-1erdHdms_Ef67HsONNv5A60JaR7w8LHnDiBGnjdaUmmuO8XAxQ - J_ia5mxjxNjS6E2yD44USo2JmHvzeeNczq25elqbTPLhUpGo1IZuG72F - ZQ5gTjXoTXC2-xtCDEUZfaUNh4IeAipfLugbpe0JAFlFfrTDAMUFpC3i - XjxqzbEanflwPvj6V9iDSgjj8SozSM0dLtxvu0LIeIQAeEgT_yXcrKGm - pKdSO08kLBx8VUjkbv_3Pn20Gyu2YEuwpFlM_H1NikuxJNKFGmnAq9Lc - nwwT0jvoQ", - "dq": "S6p59KrlmzGzaQYQM3o0XfHCGvfqHLYjCO557HYQf72O9kLMCfd_1 - VBEqeD-1jjwELKDjck8kOBl5UvohK1oDfSP1DleAy-cnmL29DqWmhgwM - 1ip0CCNmkmsmDSlqkUXDi6sAaZuntyukyflI-qSQ3C_BafPyFaKrt1fg - dyEwYa08pESKwwWisy7KnmoUvaJ3SaHmohFS78TJ25cfc10wZ9hQNOrI - ChZlkiOdFCtxDqdmCqNacnhgE3bZQjGp3n83ODSz9zwJcSUvODlXBPc2 - AycH6Ci5yjbxt4Ppox_5pjm6xnQkiPgj01GpsUssMmBN7iHVsrE7N2iz - nBNCeOUIQ", - "qi": "FZhClBMywVVjnuUud-05qd5CYU0dK79akAgy9oX6RX6I3IIIPckCc - iRrokxglZn-omAY5CnCe4KdrnjFOT5YUZE7G_Pg44XgCXaarLQf4hl80 - oPEf6-jJ5Iy6wPRx7G2e8qLxnh9cOdf-kRqgOS3F48Ucvw3ma5V6KGMw - QqWFeV31XtZ8l5cVI-I3NzBS7qltpUVgz2Ju021eyc7IlqgzR98qKONl - 27DuEES0aK0WE97jnsyO27Yp88Wa2RiBrEocM89QZI1seJiGDizHRUP4 - UZxw9zsXww46wy0P6f9grnYp7t8LkyDDk8eoI4KX6SNMNVcyVS9IWjlq - 8EzqZEKIA" - } - """.replacingWhiteSpacesAndNewLines().data(using: .utf8)!) - - let keyAlg = KeyManagementAlgorithm.rsaOAEP256 - let encAlg = ContentEncryptionAlgorithm.a256CBCHS512 - - let header = DefaultJWEHeaderImpl( - keyManagementAlgorithm: keyAlg, - encodingAlgorithm: encAlg - ) - - let jwe = try RSAJWEEncryptor().encrypt( - payload: payload, - recipientKey: recipientJWK, - protectedHeader: header - ) - - let decrypted = try RSAJWEDecryptor().decrypt( - protectedHeader: jwe.protectedHeader!, - cipher: jwe.cipherText, - encryptedKey: jwe.encryptedKey, - initializationVector: jwe.initializationVector, - authenticationTag: jwe.authenticationTag, - additionalAuthenticationData: jwe.additionalAuthenticationData, - recipientKey: recipientJWK - ) - - XCTAssertEqual(payload, decrypted) - } -} - -extension String { - /// Returns a new string with all whitespace and newline characters removed. - /// - /// This method creates a new string with all occurrences of whitespace and newline characters (spaces and line breaks) removed. The original string is not modified. - /// - /// - Returns: A new string with all whitespace and newline characters removed. - func replacingWhiteSpacesAndNewLines() -> String { - replacingOccurrences(of: " ", with: "") - .replacingOccurrences(of: "\n", with: "") - } -} diff --git a/Tests/JWKTests/JWKThumbprintTests.swift b/Tests/JWKTests/JWKThumbprintTests.swift deleted file mode 100644 index 0b354e6..0000000 --- a/Tests/JWKTests/JWKThumbprintTests.swift +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright © 2023 Proxy, Inc. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -@testable import JSONWebKey -import XCTest -import Tools - -final class JWKThumbprintTests: XCTestCase { - // See https://www.rfc-editor.org/rfc/rfc8037#appendix-A.3 - func test_RFC8037_Appendix_A_3() throws { - let jwk = try JWK( - keyType: .octetKeyPair, - curve: .ed25519, - x: Base64URL.decode("11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo") - ) - XCTAssertEqual(try jwk.thumbprint(), "kPrK_qmxVWaYVA9wwBF6Iuo3vVzz7TxHCTwXBygrS4k") - } -} diff --git a/Tests/JWSTests/JWSJsonTests.swift b/Tests/JWSTests/JWSJsonTests.swift deleted file mode 100644 index 9b61493..0000000 --- a/Tests/JWSTests/JWSJsonTests.swift +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import JSONWebKey -@testable import JSONWebSignature -import Tools -import XCTest - -final class JWSJsonTests: XCTestCase { - - func testJsonSerializationOneKeyOnlyES256() throws { - let keyJWK = "{\"kty\":\"EC\",\"kid\":\"1\",\"crv\":\"P-256\",\"x\":\"f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU\",\"y\":\"x_FEzRu9m36HLN_tue659LNpXW6pCyStikYjKIWI5a0\",\"d\":\"jpsQnnGQmL-YBIffH1136cspYG6-0iY7X1fCE9-E9LI\"}" - let jwk = try JSONDecoder().decode(JWK.self, from: keyJWK.data(using: .utf8)!) - - let payload = "{\"iss\":\"joe\",\"exp\":1300819380,\"http://example.com/is_root\":true}" - - let jws: Data = try JWS.jsonSerialization(payload: payload.data(using: .utf8)!, keys: [jwk]) - - let jsonSerilization = try JSONDecoder() - .decode(JWSJson.self, from: jws) - - XCTAssertEqual(jsonSerilization.signatures.count, 1) - XCTAssertEqual(try jsonSerilization.signatures.first!.validateAlg(), .ES256) - XCTAssertEqual(try jsonSerilization.signatures.first!.getKid(), "1") - XCTAssertTrue(try JWS.verify(jwsJson: jws, jwk: jwk)) - } - - func testJsonSerializationTwoKeysES256() throws { - let keyJWK = "{\"kty\":\"EC\",\"kid\":\"1\",\"crv\":\"P-256\",\"x\":\"f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU\",\"y\":\"x_FEzRu9m36HLN_tue659LNpXW6pCyStikYjKIWI5a0\",\"d\":\"jpsQnnGQmL-YBIffH1136cspYG6-0iY7X1fCE9-E9LI\"}" - - let keyJWK2 = "{\"kty\":\"EC\",\"kid\":\"2\",\"crv\":\"P-256\",\"x\":\"f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU\",\"y\":\"x_FEzRu9m36HLN_tue659LNpXW6pCyStikYjKIWI5a0\",\"d\":\"jpsQnnGQmL-YBIffH1136cspYG6-0iY7X1fCE9-E9LI\"}" - - let jwk1 = try JSONDecoder().decode(JWK.self, from: keyJWK.data(using: .utf8)!) - let jwk2 = try JSONDecoder().decode(JWK.self, from: keyJWK2.data(using: .utf8)!) - - let payload = "{\"iss\":\"joe\",\"exp\":1300819380,\"http://example.com/is_root\":true}" - - let jws: Data = try JWS.jsonSerialization(payload: payload.data(using: .utf8)!, keys: [jwk1, jwk2]) - - let jsonSerilization = try JSONDecoder() - .decode(JWSJson.self, from: jws) - - XCTAssertEqual(jsonSerilization.signatures.count, 2) - XCTAssertEqual(try jsonSerilization.signatures.filter { try $0.validateAlg() == .ES256 }.count, 2) - XCTAssertTrue(try jsonSerilization.signatures.contains { try $0.getKid() == "1"} ) - XCTAssertTrue(try jsonSerilization.signatures.contains { try $0.getKid() == "2"} ) - XCTAssertTrue(try JWS.verify(jwsJson: jws, jwk: jwk1)) - XCTAssertTrue(try JWS.verify(jwsJson: jws, jwk: jwk2)) - } - - func testJsonSerializationOneKeyES256_OtherES521() throws { - let keyJWK = "{\"kty\":\"EC\",\"kid\":\"1\",\"crv\":\"P-256\",\"x\":\"f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU\",\"y\":\"x_FEzRu9m36HLN_tue659LNpXW6pCyStikYjKIWI5a0\",\"d\":\"jpsQnnGQmL-YBIffH1136cspYG6-0iY7X1fCE9-E9LI\"}" - - let keyJWK2 = "{\"kty\":\"EC\",\"kid\":\"2\",\"crv\":\"P-521\",\"x\":\"AekpBQ8ST8a8VcfVOTNl353vSrDCLLJXmPk06wTjxrrjcBpXp5EOnYG_NjFZ6OvLFV1jSfS9tsz4qUxcWceqwQGk\",\"y\":\"ADSmRA43Z1DSNx_RvcLI87cdL07l6jQyyBXMoxVg_l2Th-x3S1WDhjDly79ajL4Kkd0AZMaZmh9ubmf63e3kyMj2\",\"d\":\"AY5pb7A0UFiB3RELSD64fTLOSV_jazdF7fLYyuTw8lOfRhWg6Y6rUrPAxerEzgdRhajnu0ferB0d53vM9mE15j2C\"}" - - let jwk1 = try JSONDecoder().decode(JWK.self, from: keyJWK.data(using: .utf8)!) - let jwk2 = try JSONDecoder().decode(JWK.self, from: keyJWK2.data(using: .utf8)!) - - let payload = "{\"iss\":\"joe\",\"exp\":1300819380,\"http://example.com/is_root\":true}" - - let jws: Data = try JWS.jsonSerialization(payload: payload.data(using: .utf8)!, keys: [jwk1, jwk2]) - - let jsonSerilization = try JSONDecoder() - .decode(JWSJson.self, from: jws) - - XCTAssertEqual(jsonSerilization.signatures.count, 2) - XCTAssertEqual(try jsonSerilization.signatures.filter { try $0.validateAlg() == .ES256 }.count, 1) - XCTAssertEqual(try jsonSerilization.signatures.filter { try $0.validateAlg() == .ES512 }.count, 1) - XCTAssertTrue(try jsonSerilization.signatures.contains { try $0.getKid() == "1"} ) - XCTAssertTrue(try jsonSerilization.signatures.contains { try $0.getKid() == "2"} ) - XCTAssertTrue(try JWS.verify(jwsJson: jws, jwk: jwk1)) - XCTAssertTrue(try JWS.verify(jwsJson: jws, jwk: jwk2)) - } - - func testJsonSerializationTrueES256Verification_FailES521VerificationWithRandomKey() throws { - let keyJWK = "{\"kty\":\"EC\",\"kid\":\"1\",\"crv\":\"P-256\",\"x\":\"f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU\",\"y\":\"x_FEzRu9m36HLN_tue659LNpXW6pCyStikYjKIWI5a0\",\"d\":\"jpsQnnGQmL-YBIffH1136cspYG6-0iY7X1fCE9-E9LI\"}" - let jwk1 = try JSONDecoder().decode(JWK.self, from: keyJWK.data(using: .utf8)!) - - let jws = """ -{"payload":"eyJpc3MiOiJqb2UiLCJleHAiOjEzMDA4MTkzODAsImh0dHA6Ly9leGFtcGxlLmNvbS9pc19yb290Ijp0cnVlfQ==","signatures":[{"header":{"kid":"1"},"protected":"eyJhbGciOiJFUzI1NiJ9","signature":"vlYj-Vt5onyW56JMnWA82dlylnf2ELGfrGXP7P_JVUY3Dftecm83ceW9w6FYF4ApacRym6Mu5n_NtWDPgK35yg"},{"header":{"kid":"2"},"protected":"eyJhbGciOiJFUzUxMiJ9","signature":"AST-iRjis7O62AjCJBdOk-n54P73JZ_hCJZHBMTcqbrBD7Nhd0PysbDGZQf1IsD2LHcAvL_H2LR-p-QsmDViooHQAI9LaK8abwQYIDrYNc9fGSaVdWw42qzqj_m9qGhM5jLEcGW-PrNYUGsJSsBC4daBXnxEUbCR7iR0UVaR00ngb4Ma"}]} -""" - - let jwkRandomKey = JWK.testingES521Pair - - XCTAssertTrue(try JWS.verify(jwsJson: jws.data(using: .utf8)!, jwk: jwk1)) - XCTAssertFalse(try JWS.verify(jwsJson: jws.data(using: .utf8)!, jwk: jwkRandomKey, validateAll: true)) - } - - func testJsonSerializationVerificationTrueWhenKeyIsValidWithoutKidAndValidateAllTrue() throws { - let keyJWK = "{\"kty\":\"EC\",\"kid\":\"1\",\"crv\":\"P-256\",\"x\":\"f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU\",\"y\":\"x_FEzRu9m36HLN_tue659LNpXW6pCyStikYjKIWI5a0\",\"d\":\"jpsQnnGQmL-YBIffH1136cspYG6-0iY7X1fCE9-E9LI\"}" - let jwk1 = try JSONDecoder().decode(JWK.self, from: keyJWK.data(using: .utf8)!) - - let keyJWKWithoutKid = "{\"kty\":\"EC\",\"crv\":\"P-256\",\"x\":\"f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU\",\"y\":\"x_FEzRu9m36HLN_tue659LNpXW6pCyStikYjKIWI5a0\",\"d\":\"jpsQnnGQmL-YBIffH1136cspYG6-0iY7X1fCE9-E9LI\"}" - let jwkWithoutKid = try JSONDecoder().decode(JWK.self, from: keyJWKWithoutKid.data(using: .utf8)!) - - let jws = """ -{"payload":"eyJpc3MiOiJqb2UiLCJleHAiOjEzMDA4MTkzODAsImh0dHA6Ly9leGFtcGxlLmNvbS9pc19yb290Ijp0cnVlfQ==","signatures":[{"header":{"kid":"1"},"protected":"eyJhbGciOiJFUzI1NiJ9","signature":"vlYj-Vt5onyW56JMnWA82dlylnf2ELGfrGXP7P_JVUY3Dftecm83ceW9w6FYF4ApacRym6Mu5n_NtWDPgK35yg"},{"header":{"kid":"2"},"protected":"eyJhbGciOiJFUzUxMiJ9","signature":"AST-iRjis7O62AjCJBdOk-n54P73JZ_hCJZHBMTcqbrBD7Nhd0PysbDGZQf1IsD2LHcAvL_H2LR-p-QsmDViooHQAI9LaK8abwQYIDrYNc9fGSaVdWw42qzqj_m9qGhM5jLEcGW-PrNYUGsJSsBC4daBXnxEUbCR7iR0UVaR00ngb4Ma"}]} -""" - - XCTAssertTrue(try JWS.verify(jwsJson: jws.data(using: .utf8)!, jwk: jwkWithoutKid, validateAll: true)) - } - - func testJsonSerializationVerificationFalseWhenKeyHasNoKid() throws { - let keyJWK = "{\"kty\":\"EC\",\"kid\":\"1\",\"crv\":\"P-256\",\"x\":\"f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU\",\"y\":\"x_FEzRu9m36HLN_tue659LNpXW6pCyStikYjKIWI5a0\",\"d\":\"jpsQnnGQmL-YBIffH1136cspYG6-0iY7X1fCE9-E9LI\"}" - let jwk1 = try JSONDecoder().decode(JWK.self, from: keyJWK.data(using: .utf8)!) - - let keyJWKWithoutKid = "{\"kty\":\"EC\",\"crv\":\"P-256\",\"x\":\"f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU\",\"y\":\"x_FEzRu9m36HLN_tue659LNpXW6pCyStikYjKIWI5a0\",\"d\":\"jpsQnnGQmL-YBIffH1136cspYG6-0iY7X1fCE9-E9LI\"}" - let jwkWithoutKid = try JSONDecoder().decode(JWK.self, from: keyJWKWithoutKid.data(using: .utf8)!) - - let jws = """ -{"payload":"eyJpc3MiOiJqb2UiLCJleHAiOjEzMDA4MTkzODAsImh0dHA6Ly9leGFtcGxlLmNvbS9pc19yb290Ijp0cnVlfQ==","signatures":[{"header":{"kid":"1"},"protected":"eyJhbGciOiJFUzI1NiJ9","signature":"vlYj-Vt5onyW56JMnWA82dlylnf2ELGfrGXP7P_JVUY3Dftecm83ceW9w6FYF4ApacRym6Mu5n_NtWDPgK35yg"},{"header":{"kid":"2"},"protected":"eyJhbGciOiJFUzUxMiJ9","signature":"AST-iRjis7O62AjCJBdOk-n54P73JZ_hCJZHBMTcqbrBD7Nhd0PysbDGZQf1IsD2LHcAvL_H2LR-p-QsmDViooHQAI9LaK8abwQYIDrYNc9fGSaVdWw42qzqj_m9qGhM5jLEcGW-PrNYUGsJSsBC4daBXnxEUbCR7iR0UVaR00ngb4Ma"}]} -""" - - XCTAssertThrowsError(try JWS.verify(jwsJson: jws.data(using: .utf8)!, jwk: jwkWithoutKid)) - } - - func testJsonSerializationOneKeyOnlyEdDSA() throws { - var keyJWK = JWK.testingCurve25519KPair - keyJWK.keyID = "1" - - let payload = "{\"iss\":\"joe\",\"exp\":1300819380,\"http://example.com/is_root\":true}" - - let jws: Data = try JWS.jsonSerialization(payload: payload.data(using: .utf8)!, keys: [keyJWK]) - - let jsonSerilization = try JSONDecoder() - .decode(JWSJson.self, from: jws) - - XCTAssertEqual(jsonSerilization.signatures.count, 1) - XCTAssertEqual(try jsonSerilization.signatures.first!.validateAlg(), .EdDSA) - XCTAssertEqual(try jsonSerilization.signatures.first!.getKid(), "1") - XCTAssertTrue(try JWS.verify(jwsJson: jws, jwk: keyJWK)) - } -} diff --git a/Tests/JWSTests/JWSTests.swift b/Tests/JWSTests/JWSTests.swift deleted file mode 100644 index 875b1d3..0000000 --- a/Tests/JWSTests/JWSTests.swift +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import JSONWebKey -@testable import JSONWebSignature -import Tools -import XCTest - -final class JWSTests: XCTestCase { - - func testAutomaticHeaderAlgorithmES256() throws { - let keyPair = JWK.testingES256Pair - let testJWS = try JWS(payload: "test".data(using: .utf8)!, key: keyPair) - XCTAssertEqual(testJWS.protectedHeader.algorithm, .ES256) - } - - func testAutomaticHeaderAlgorithmES384() throws { - let keyPair = JWK.testingES384Pair - let testJWS = try JWS(payload: "test".data(using: .utf8)!, key: keyPair) - XCTAssertEqual(testJWS.protectedHeader.algorithm, .ES384) - } - - func testAutomaticHeaderAlgorithmES521() throws { - let keyPair = JWK.testingES521Pair - let testJWS = try JWS(payload: "test".data(using: .utf8)!, key: keyPair) - XCTAssertEqual(testJWS.protectedHeader.algorithm, .ES512) - } - - func testAutomaticHeaderAlgorithmES256K() throws { - let keyPair = JWK.testingES256KPair - let testJWS = try JWS(payload: "test".data(using: .utf8)!, key: keyPair) - XCTAssertEqual(testJWS.protectedHeader.algorithm, .ES256K) - } - - func testJWSTamperedPayload() throws { - let originalJwsString = "eyJhbGciOiJFUzUxMiJ9.UGF5bG9hZA.AdwMgeerwtHoh-l192l60hp9wAHZFVJbLfD_UxMi70cwnZOYaRI1bKPWROc-mZZqwqT2SI-KGDKB34XO0aw_7XdtAG8GaSwFKdCAPZgoXD2YBJZCPEX3xKpRwcdOO8KpEHwJjyqOgzDO7iKvU8vcnwNrmxYbSW9ERBXukOXolLzeO_Jn" - let tamperedPayload = Base64URL.encode("tamperedPayload".data(using: .ascii)!) - let tamperedJwsString = "eyJhbGciOiJFUzUxMiJ9.\(tamperedPayload).AdwMgeerwtHoh-l192l60hp9wAHZFVJbLfD_UxMi70cwnZOYaRI1bKPWROc-mZZqwqT2SI-KGDKB34XO0aw_7XdtAG8GaSwFKdCAPZgoXD2YBJZCPEX3xKpRwcdOO8KpEHwJjyqOgzDO7iKvU8vcnwNrmxYbSW9ERBXukOXolLzeO_Jn" - - let keyJWK = "{\"kty\":\"EC\",\"crv\":\"P-521\",\"x\":\"AekpBQ8ST8a8VcfVOTNl353vSrDCLLJXmPk06wTjxrrjcBpXp5EOnYG_NjFZ6OvLFV1jSfS9tsz4qUxcWceqwQGk\",\"y\":\"ADSmRA43Z1DSNx_RvcLI87cdL07l6jQyyBXMoxVg_l2Th-x3S1WDhjDly79ajL4Kkd0AZMaZmh9ubmf63e3kyMj2\",\"d\":\"AY5pb7A0UFiB3RELSD64fTLOSV_jazdF7fLYyuTw8lOfRhWg6Y6rUrPAxerEzgdRhajnu0ferB0d53vM9mE15j2C\"}" - - let jwk = try JSONDecoder().decode(JWK.self, from: keyJWK.data(using: .utf8)!) - - let originalJWS = try JWS(jwsString: originalJwsString) - let tamperedJWS = try JWS(jwsString: tamperedJwsString) - - XCTAssertTrue(try originalJWS.verify(key: jwk)) - XCTAssertFalse(try tamperedJWS.verify(key: jwk)) - } - - func testJWSTamperedHeader() throws { - let originalJwsString = "eyJhbGciOiJFUzUxMiJ9.UGF5bG9hZA.AdwMgeerwtHoh-l192l60hp9wAHZFVJbLfD_UxMi70cwnZOYaRI1bKPWROc-mZZqwqT2SI-KGDKB34XO0aw_7XdtAG8GaSwFKdCAPZgoXD2YBJZCPEX3xKpRwcdOO8KpEHwJjyqOgzDO7iKvU8vcnwNrmxYbSW9ERBXukOXolLzeO_Jn" - let tamperedHeader = Base64URL.encode("{\"tampered\":\"tampered\",\"alg\":\"ES512\"}".data(using: .utf8)!) - let tamperedJwsString = "\(tamperedHeader).UGF5bG9hZA.AdwMgeerwtHoh-l192l60hp9wAHZFVJbLfD_UxMi70cwnZOYaRI1bKPWROc-mZZqwqT2SI-KGDKB34XO0aw_7XdtAG8GaSwFKdCAPZgoXD2YBJZCPEX3xKpRwcdOO8KpEHwJjyqOgzDO7iKvU8vcnwNrmxYbSW9ERBXukOXolLzeO_Jn" - - let keyJWK = "{\"kty\":\"EC\",\"crv\":\"P-521\",\"x\":\"AekpBQ8ST8a8VcfVOTNl353vSrDCLLJXmPk06wTjxrrjcBpXp5EOnYG_NjFZ6OvLFV1jSfS9tsz4qUxcWceqwQGk\",\"y\":\"ADSmRA43Z1DSNx_RvcLI87cdL07l6jQyyBXMoxVg_l2Th-x3S1WDhjDly79ajL4Kkd0AZMaZmh9ubmf63e3kyMj2\",\"d\":\"AY5pb7A0UFiB3RELSD64fTLOSV_jazdF7fLYyuTw8lOfRhWg6Y6rUrPAxerEzgdRhajnu0ferB0d53vM9mE15j2C\"}" - - let jwk = try JSONDecoder().decode(JWK.self, from: keyJWK.data(using: .utf8)!) - - let originalJWS = try JWS(jwsString: originalJwsString) - let tamperedJWS = try JWS(jwsString: tamperedJwsString) - - XCTAssertTrue(try originalJWS.verify(key: jwk)) - XCTAssertFalse(try tamperedJWS.verify(key: jwk)) - } - - func testJWSTamperedAlgorithm() throws { - let originalJwsString = "eyJhbGciOiJFUzUxMiJ9.UGF5bG9hZA.AdwMgeerwtHoh-l192l60hp9wAHZFVJbLfD_UxMi70cwnZOYaRI1bKPWROc-mZZqwqT2SI-KGDKB34XO0aw_7XdtAG8GaSwFKdCAPZgoXD2YBJZCPEX3xKpRwcdOO8KpEHwJjyqOgzDO7iKvU8vcnwNrmxYbSW9ERBXukOXolLzeO_Jn" - let tamperedHeader = Base64URL.encode("{\"tampered\":\"tampered\",\"alg\":\"ES256\"}".data(using: .utf8)!) - let tamperedJwsString = "\(tamperedHeader).UGF5bG9hZA.AdwMgeerwtHoh-l192l60hp9wAHZFVJbLfD_UxMi70cwnZOYaRI1bKPWROc-mZZqwqT2SI-KGDKB34XO0aw_7XdtAG8GaSwFKdCAPZgoXD2YBJZCPEX3xKpRwcdOO8KpEHwJjyqOgzDO7iKvU8vcnwNrmxYbSW9ERBXukOXolLzeO_Jn" - - let keyJWK = "{\"kty\":\"EC\",\"crv\":\"P-521\",\"alg\":\"ES512\",\"x\":\"AekpBQ8ST8a8VcfVOTNl353vSrDCLLJXmPk06wTjxrrjcBpXp5EOnYG_NjFZ6OvLFV1jSfS9tsz4qUxcWceqwQGk\",\"y\":\"ADSmRA43Z1DSNx_RvcLI87cdL07l6jQyyBXMoxVg_l2Th-x3S1WDhjDly79ajL4Kkd0AZMaZmh9ubmf63e3kyMj2\",\"d\":\"AY5pb7A0UFiB3RELSD64fTLOSV_jazdF7fLYyuTw8lOfRhWg6Y6rUrPAxerEzgdRhajnu0ferB0d53vM9mE15j2C\"}" - - let jwk = try JSONDecoder().decode(JWK.self, from: keyJWK.data(using: .utf8)!) - - let originalJWS = try JWS(jwsString: originalJwsString) - let tamperedJWS = try JWS(jwsString: tamperedJwsString) - - XCTAssertTrue(try originalJWS.verify(key: jwk)) - XCTAssertThrowsError(try tamperedJWS.verify(key: jwk)) - } -} diff --git a/Tests/JWSTests/Mocks/JWK+Testing.swift b/Tests/JWSTests/Mocks/JWK+Testing.swift deleted file mode 100644 index 1183ac8..0000000 --- a/Tests/JWSTests/Mocks/JWK+Testing.swift +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoKit -import Foundation -import JSONWebKey -import secp256k1 - -extension JWK { - static var testingES256Pair: JWK { - let privateKey = P256.Signing.PrivateKey() - return privateKey.jwkRepresentation - } - - static var testingES384Pair: JWK { - let privateKey = P384.Signing.PrivateKey() - return privateKey.jwkRepresentation - } - - static var testingES521Pair: JWK { - let privateKey = P521.Signing.PrivateKey() - return privateKey.jwkRepresentation - } - - static var testingCurve25519KPair: JWK { - let privateKey = Curve25519.Signing.PrivateKey() - return privateKey.jwkRepresentation - } - - static var testingES256KPair: JWK { - let privateKey = try! secp256k1.Signing.PrivateKey() - return privateKey.jwkRepresentation - } -} diff --git a/Tests/JWSTests/RFC7515Tests.swift b/Tests/JWSTests/RFC7515Tests.swift deleted file mode 100644 index 28d4834..0000000 --- a/Tests/JWSTests/RFC7515Tests.swift +++ /dev/null @@ -1,276 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import JSONWebAlgorithms -import JSONWebKey -@testable import JSONWebSignature -import Tools -import XCTest - -final class RFC7515Tests: XCTestCase { - - func disabled_testJWS_RFC7515_A1_1() throws { - // TODO: Re-enable test when flaky behaviour is discovered - // Warning: This test is unreliable, so it disabled, it needs to be investigated why sometimes it fails and others passes, the problem seems to be on Apple HMAC - // Input JWS String from RFC 7515 A.1.1 - // Related documentation: https://datatracker.ietf.org/doc/html/rfc7515#appendix-A.1 - let keyJWK = "{\"kty\":\"oct\",\"alg\":\"HS256\",\"k\":\"AyM1SysPpbyDfgZld3umj1qzKObwVMkoqQ-EstJQLr_T-1qS0gZH75aKtMN3Yj0iPS4hcgUuTwjAzZr1Z9CAow\"}" - let jwk = try JSONDecoder().decode(JWK.self, from: keyJWK.data(using: .utf8)!) - - let payload = "{\"iss\":\"joe\",\"exp\":1300819380,\"http://example.com/is_root\":true}" - - let jws = try JWS( - payload: payload.data(using: .utf8)!, - protectedHeader: DefaultJWSHeaderImpl(algorithm: .HS256, type: "JWT"), - key: jwk - ) - - XCTAssertEqual(jws.protectedHeader.algorithm, .HS256) - XCTAssertEqual(jws.protectedHeader.type, "JWT") - XCTAssertEqual(payload, String(data: jws.payload, encoding: .utf8)) - XCTAssertTrue(try jws.verify(key: jwk)) - } - - func testJWS_RFC7515_A1_2() throws { - // Input JWS String from RFC 7515 A.1.2 - // Related documentation: https://datatracker.ietf.org/doc/html/rfc7515#appendix-A.1.2 - let inputJwsString = "eyJ0eXAiOiJKV1QiLA0KICJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJqb2UiLA0KICJleHAiOjEzMDA4MTkzODAsDQogImh0dHA6Ly9leGFtcGxlLmNvbS9pc19yb290Ijp0cnVlfQ.dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk" - - - let keyJWK = "{\"kty\":\"oct\",\"alg\":\"HS256\",\"k\":\"AyM1SysPpbyDfgZld3umj1qzKObwVMkoqQ-EstJQLr_T-1qS0gZH75aKtMN3Yj0iPS4hcgUuTwjAzZr1Z9CAow\"}" - let jwk = try JSONDecoder().decode(JWK.self, from: keyJWK.data(using: .utf8)!) - - let payload = "{\"iss\":\"joe\",\r\n \"exp\":1300819380,\r\n \"http://example.com/is_root\":true}" - - let jws = try JWS(jwsString: inputJwsString) - - XCTAssertEqual(jws.protectedHeader.algorithm, .HS256) - XCTAssertEqual(payload, String(data: jws.payload, encoding: .utf8)) - XCTAssertTrue(try jws.verify(key: jwk)) - } - - func testJWS_RFC7515_A2_1() throws { - // Input JWS String from RFC 7515 A.2.1 - // Related documentation: https://datatracker.ietf.org/doc/html/rfc7515#appendix-A.2.1 - let keyJWK = JWK( - keyType: .rsa, - algorithm: SigningAlgorithm.RS256.rawValue, - e: try Base64URL.decode("AQAB"), - p: try Base64URL.decode("4BzEEOtIpmVdVEZNCqS7baC4crd0pqnRH_5IB3jw3bcxGn6QLvnEtfdUdiYrqBdss1l58BQ3KhooKeQTa9AB0Hw_Py5PJdTJNPY8cQn7ouZ2KKDcmnPGBY5t7yLc1QlQ5xHdwW1VhvKn-nXqhJTBgIPgtldC-KDV5z-y2XDwGUc"), - q: try Base64URL.decode("uQPEfgmVtjL0Uyyx88GZFF1fOunH3-7cepKmtH4pxhtCoHqpWmT8YAmZxaewHgHAjLYsp1ZSe7zFYHj7C6ul7TjeLQeZD_YwD66t62wDmpe_HlB-TnBA-njbglfIsRLtXlnDzQkv5dTltRJ11BKBBypeeF6689rjcJIDEz9RWdc"), - n: try Base64URL.decode("ofgWCuLjybRlzo0tZWJjNiuSfb4p4fAkd_wWJcyQoTbji9k0l8W26mPddxHmfHQp-Vaw-4qPCJrcS2mJPMEzP1Pt0Bm4d4QlL-yRT-SFd2lZS-pCgNMsD1W_YpRPEwOWvG6b32690r2jZ47soMZo9wGzjb_7OMg0LOL-bSf63kpaSHSXndS5z5rexMdbBYUsLA9e-KXBdQOS-UTo7WTBEMa2R2CapHg665xsmtdVMTBQY4uDZlxvb3qCo5ZwKh9kG4LT6_I5IhlJH7aGhyxXFvUK-DWNmoudF8NAco9_h9iaGNj8q2ethFkMLs91kzk2PAcDTW9gb54h4FRWyuXpoQ"), - dp: try Base64URL.decode("BwKfV3Akq5_MFZDFZCnW-wzl-CCo83WoZvnLQwCTeDv8uzluRSnm71I3QCLdhrqE2e9YkxvuxdBfpT_PI7Yz-FOKnu1R6HsJeDCjn12Sk3vmAktV2zb34MCdy7cpdTh_YVr7tss2u6vneTwrA86rZtu5Mbr1C1XsmvkxHQAdYo0"), - dq: try Base64URL.decode("h_96-mK1R_7glhsum81dZxjTnYynPbZpHziZjeeHcXYsXaaMwkOlODsWa7I9xXDoRwbKgB719rrmI2oKr6N3Do9U0ajaHF-NKJnwgjMd2w9cjz3_-kyNlxAr2v4IKhGNpmM5iIgOS1VZnOZ68m6_pbLBSp3nssTdlqvd0tIiTHU"), - qi: try Base64URL.decode("IYd7DHOhrWvxkwPQsRM2tOgrjbcrfvtQJipd-DlcxyVuuM9sQLdgjVk2oy26F0EmpScGLq2MowX7fhd_QJQ3ydy5cY7YIBi87w93IKLEdfnbJtoOPLUW0ITrJReOgo1cq9SbsxYawBgfp_gh6A5603k2-ZQwVK0JKSHuLFkuQ3U"), - d: try Base64URL.decode("Eq5xpGnNCivDflJsRQBXHx1hdR1k6Ulwe2JZD50LpXyWPEAeP88vLNO97IjlA7_GQ5sLKMgvfTeXZx9SE-7YwVol2NXOoAJe46sui395IW_GO-pWJ1O0BkTGoVEn2bKVRUCgu-GjBVaYLU6f3l9kJfFNS3E0QbVdxzubSu3Mkqzjkn439X0M_V51gfpRLI9JYanrC4D4qAdGcopV_0ZHHzQlBjudU2QvXt4ehNYTCBr6XCLQUShb1juUO1ZdiYoFaFQT5Tw8bGUl_x_jTj3ccPDVZFD9pIuhLhBOneufuBiB4cS98l2SR_RQyGWSeWjnczT0QU91p1DhOVRuOopznQ") - ) - - let payload = "{\"iss\":\"joe\",\r\n \"exp\":1300819380,\r\n \"http://example.com/is_root\":true}" - - let jws = try JWS( - payload: payload.data(using: .utf8)!, - protectedHeader: DefaultJWSHeaderImpl(algorithm: .RS256), - key: keyJWK - ) - - XCTAssertEqual(jws.protectedHeader.algorithm, .RS256) - XCTAssertEqual(payload, String(data: jws.payload, encoding: .utf8)) - - XCTAssertTrue(try jws.verify(key: keyJWK)) - } - - func testJWS_RFC7515_A2_1_1() throws { - // Input JWS String from RFC 7515 A.2.2 - // Related documentation: https://datatracker.ietf.org/doc/html/rfc7515#appendix-A.2.2 - let inputJWSString = "eyJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJqb2UiLA0KICJleHAiOjEzMDA4MTkzODAsDQogImh0dHA6Ly9leGFtcGxlLmNvbS9pc19yb290Ijp0cnVlfQ.cC4hiUPoj9Eetdgtv3hF80EGrhuB__dzERat0XF9g2VtQgr9PJbu3XOiZj5RZmh7AAuHIm4Bh-0Qc_lF5YKt_O8W2Fp5jujGbds9uJdbF9CUAr7t1dnZcAcQjbKBYNX4BAynRFdiuB--f_nZLgrnbyTyWzO75vRK5h6xBArLIARNPvkSjtQBMHlb1L07Qe7K0GarZRmB_eSN9383LcOLn6_dO--xi12jzDwusC-eOkHWEsqtFZESc6BfI7noOPqvhJ1phCnvWh6IeYI2w9QOYEUipUTI8np6LbgGY9Fs98rqVt5AXLIhWkWywlVmtVrBp0igcN_IoypGlUPQGe77Rw" - - let keyJWK = JWK( - keyType: .rsa, - e: try Base64URL.decode("AQAB"), - p: try Base64URL.decode("4BzEEOtIpmVdVEZNCqS7baC4crd0pqnRH_5IB3jw3bcxGn6QLvnEtfdUdiYrqBdss1l58BQ3KhooKeQTa9AB0Hw_Py5PJdTJNPY8cQn7ouZ2KKDcmnPGBY5t7yLc1QlQ5xHdwW1VhvKn-nXqhJTBgIPgtldC-KDV5z-y2XDwGUc"), - q: try Base64URL.decode("uQPEfgmVtjL0Uyyx88GZFF1fOunH3-7cepKmtH4pxhtCoHqpWmT8YAmZxaewHgHAjLYsp1ZSe7zFYHj7C6ul7TjeLQeZD_YwD66t62wDmpe_HlB-TnBA-njbglfIsRLtXlnDzQkv5dTltRJ11BKBBypeeF6689rjcJIDEz9RWdc"), - n: try Base64URL.decode("ofgWCuLjybRlzo0tZWJjNiuSfb4p4fAkd_wWJcyQoTbji9k0l8W26mPddxHmfHQp-Vaw-4qPCJrcS2mJPMEzP1Pt0Bm4d4QlL-yRT-SFd2lZS-pCgNMsD1W_YpRPEwOWvG6b32690r2jZ47soMZo9wGzjb_7OMg0LOL-bSf63kpaSHSXndS5z5rexMdbBYUsLA9e-KXBdQOS-UTo7WTBEMa2R2CapHg665xsmtdVMTBQY4uDZlxvb3qCo5ZwKh9kG4LT6_I5IhlJH7aGhyxXFvUK-DWNmoudF8NAco9_h9iaGNj8q2ethFkMLs91kzk2PAcDTW9gb54h4FRWyuXpoQ"), - dp: try Base64URL.decode("BwKfV3Akq5_MFZDFZCnW-wzl-CCo83WoZvnLQwCTeDv8uzluRSnm71I3QCLdhrqE2e9YkxvuxdBfpT_PI7Yz-FOKnu1R6HsJeDCjn12Sk3vmAktV2zb34MCdy7cpdTh_YVr7tss2u6vneTwrA86rZtu5Mbr1C1XsmvkxHQAdYo0"), - dq: try Base64URL.decode("h_96-mK1R_7glhsum81dZxjTnYynPbZpHziZjeeHcXYsXaaMwkOlODsWa7I9xXDoRwbKgB719rrmI2oKr6N3Do9U0ajaHF-NKJnwgjMd2w9cjz3_-kyNlxAr2v4IKhGNpmM5iIgOS1VZnOZ68m6_pbLBSp3nssTdlqvd0tIiTHU"), - qi: try Base64URL.decode("IYd7DHOhrWvxkwPQsRM2tOgrjbcrfvtQJipd-DlcxyVuuM9sQLdgjVk2oy26F0EmpScGLq2MowX7fhd_QJQ3ydy5cY7YIBi87w93IKLEdfnbJtoOPLUW0ITrJReOgo1cq9SbsxYawBgfp_gh6A5603k2-ZQwVK0JKSHuLFkuQ3U"), - d: try Base64URL.decode("Eq5xpGnNCivDflJsRQBXHx1hdR1k6Ulwe2JZD50LpXyWPEAeP88vLNO97IjlA7_GQ5sLKMgvfTeXZx9SE-7YwVol2NXOoAJe46sui395IW_GO-pWJ1O0BkTGoVEn2bKVRUCgu-GjBVaYLU6f3l9kJfFNS3E0QbVdxzubSu3Mkqzjkn439X0M_V51gfpRLI9JYanrC4D4qAdGcopV_0ZHHzQlBjudU2QvXt4ehNYTCBr6XCLQUShb1juUO1ZdiYoFaFQT5Tw8bGUl_x_jTj3ccPDVZFD9pIuhLhBOneufuBiB4cS98l2SR_RQyGWSeWjnczT0QU91p1DhOVRuOopznQ") - ) - - let payload = "{\"iss\":\"joe\",\r\n \"exp\":1300819380,\r\n \"http://example.com/is_root\":true}" - - let jws = try JWS(jwsString: inputJWSString) - - XCTAssertEqual(jws.protectedHeader.algorithm, .RS256) - XCTAssertEqual(payload, String(data: jws.payload, encoding: .utf8)) - - XCTAssertTrue(try jws.verify(key: keyJWK)) - } - - func testJWS_RFC7515_A3_1() throws { - // Input JWS String from RFC 7515 A.3.1 - // Related documentation: https://datatracker.ietf.org/doc/html/rfc7515#appendix-A.3.1 - - let keyJWK = "{\"kty\":\"EC\",\"crv\":\"P-256\",\"x\":\"f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU\",\"y\":\"x_FEzRu9m36HLN_tue659LNpXW6pCyStikYjKIWI5a0\",\"d\":\"jpsQnnGQmL-YBIffH1136cspYG6-0iY7X1fCE9-E9LI\"}" - let jwk = try JSONDecoder().decode(JWK.self, from: keyJWK.data(using: .utf8)!) - - let payload = "{\"iss\":\"joe\",\"exp\":1300819380,\"http://example.com/is_root\":true}" - - let jws = try JWS(payload: payload.data(using: .utf8)!, key: jwk) - - XCTAssertEqual(jws.protectedHeader.algorithm, .ES256) - XCTAssertEqual(payload, String(data: jws.payload, encoding: .utf8)) - - XCTAssertTrue(try jws.verify(key: jwk)) - } - - func testJWS_RFC7515_A3_1_1() throws { - // Input JWS String from RFC 7515 A.3.2 - // Related documentation: https://datatracker.ietf.org/doc/html/rfc7515#appendix-A.3.2 - let inputJWS = "eyJhbGciOiJFUzI1NiJ9.eyJpc3MiOiJqb2UiLA0KICJleHAiOjEzMDA4MTkzODAsDQogImh0dHA6Ly9leGFtcGxlLmNvbS9pc19yb290Ijp0cnVlfQ.DtEhU3ljbEg8L38VWAfUAqOyKAM6-Xx-F4GawxaepmXFCgfTjDxw5djxLa8ISlSApmWQxfKTUJqPP3-Kg6NU1Q" - - let keyJWK = "{\"kty\":\"EC\",\"crv\":\"P-256\",\"x\":\"f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU\",\"y\":\"x_FEzRu9m36HLN_tue659LNpXW6pCyStikYjKIWI5a0\",\"d\":\"jpsQnnGQmL-YBIffH1136cspYG6-0iY7X1fCE9-E9LI\"}" - let jwk = try JSONDecoder().decode(JWK.self, from: keyJWK.data(using: .utf8)!) - - let payload = "{\"iss\":\"joe\",\r\n \"exp\":1300819380,\r\n \"http://example.com/is_root\":true}" - - let jws = try JWS(jwsString: inputJWS) - - XCTAssertEqual(jws.protectedHeader.algorithm, .ES256) - XCTAssertEqual(payload, String(data: jws.payload, encoding: .utf8)!) - - XCTAssertTrue(try jws.verify(key: jwk)) - } - - func testJWS_RFC7515_A4_1() throws { - // Input JWS String from RFC 7515 A.4.1 - // Related documentation: https://datatracker.ietf.org/doc/html/rfc7515#appendix-A.4.1 - - let keyJWK = "{\"kty\":\"EC\",\"crv\":\"P-521\",\"x\":\"AekpBQ8ST8a8VcfVOTNl353vSrDCLLJXmPk06wTjxrrjcBpXp5EOnYG_NjFZ6OvLFV1jSfS9tsz4qUxcWceqwQGk\",\"y\":\"ADSmRA43Z1DSNx_RvcLI87cdL07l6jQyyBXMoxVg_l2Th-x3S1WDhjDly79ajL4Kkd0AZMaZmh9ubmf63e3kyMj2\",\"d\":\"AY5pb7A0UFiB3RELSD64fTLOSV_jazdF7fLYyuTw8lOfRhWg6Y6rUrPAxerEzgdRhajnu0ferB0d53vM9mE15j2C\"}" - let jwk = try JSONDecoder().decode(JWK.self, from: keyJWK.data(using: .utf8)!) - - let payload = "Payload" - - let jws = try JWS( - payload: payload.data(using: .utf8)!, - protectedHeader: DefaultJWSHeaderImpl(algorithm: .ES512), - key: jwk - ) - - XCTAssertEqual(jws.protectedHeader.algorithm, .ES512) - XCTAssertEqual(payload.data(using: .ascii)!, jws.payload) - - XCTAssertTrue(try jws.verify(key: jwk)) - } - - func testJWS_RFC7515_A4_1_1() throws { - // Input JWS String from RFC 7515 A.4.2 - // Related documentation: https://datatracker.ietf.org/doc/html/rfc7515#appendix-A.4.2 - let inputJWS = "eyJhbGciOiJFUzUxMiJ9.UGF5bG9hZA.AdwMgeerwtHoh-l192l60hp9wAHZFVJbLfD_UxMi70cwnZOYaRI1bKPWROc-mZZqwqT2SI-KGDKB34XO0aw_7XdtAG8GaSwFKdCAPZgoXD2YBJZCPEX3xKpRwcdOO8KpEHwJjyqOgzDO7iKvU8vcnwNrmxYbSW9ERBXukOXolLzeO_Jn" - - let keyJWK = "{\"kty\":\"EC\",\"crv\":\"P-521\",\"x\":\"AekpBQ8ST8a8VcfVOTNl353vSrDCLLJXmPk06wTjxrrjcBpXp5EOnYG_NjFZ6OvLFV1jSfS9tsz4qUxcWceqwQGk\",\"y\":\"ADSmRA43Z1DSNx_RvcLI87cdL07l6jQyyBXMoxVg_l2Th-x3S1WDhjDly79ajL4Kkd0AZMaZmh9ubmf63e3kyMj2\",\"d\":\"AY5pb7A0UFiB3RELSD64fTLOSV_jazdF7fLYyuTw8lOfRhWg6Y6rUrPAxerEzgdRhajnu0ferB0d53vM9mE15j2C\"}" - let jwk = try JSONDecoder().decode(JWK.self, from: keyJWK.data(using: .utf8)!) - - let payload = "Payload" - - let jws = try JWS(jwsString: inputJWS) - - XCTAssertEqual(jws.protectedHeader.algorithm, .ES512) - XCTAssertEqual(payload.data(using: .ascii)!, jws.payload) - - XCTAssertTrue(try jws.verify(key: jwk)) - } - - func testJWS_RFC7515_A5() throws { - // Input JWS String from RFC 7515 A.5 - // Related documentation: https://datatracker.ietf.org/doc/html/rfc7515#appendix-A.5 - let inputJWS = "eyJhbGciOiJub25lIn0.eyJpc3MiOiJqb2UiLA0KICJleHAiOjEzMDA4MTkzODAsDQogImh0dHA6Ly9leGFtcGxlLmNvbS9pc19yb290Ijp0cnVlfQ." - - let payload = "{\"iss\":\"joe\",\r\n \"exp\":1300819380,\r\n \"http://example.com/is_root\":true}" - - let jws = try JWS(jwsString: inputJWS) - - XCTAssertEqual(.none ,jws.protectedHeader.algorithm!) - XCTAssertEqual(payload.data(using: .utf8)!, jws.payload) - } - - func testJWS_RFC7515_A6() throws { - // Input JWS String from RFC 7515 A.6 - // Related documentation: https://datatracker.ietf.org/doc/html/rfc7515#appendix-A.6 - let rsa256KeyJWK = JWK( - keyType: .rsa, - algorithm: SigningAlgorithm.RS256.rawValue, - keyID: "2010-12-29", - e: try Base64URL.decode("AQAB"), - p: try Base64URL.decode("4BzEEOtIpmVdVEZNCqS7baC4crd0pqnRH_5IB3jw3bcxGn6QLvnEtfdUdiYrqBdss1l58BQ3KhooKeQTa9AB0Hw_Py5PJdTJNPY8cQn7ouZ2KKDcmnPGBY5t7yLc1QlQ5xHdwW1VhvKn-nXqhJTBgIPgtldC-KDV5z-y2XDwGUc"), - q: try Base64URL.decode("uQPEfgmVtjL0Uyyx88GZFF1fOunH3-7cepKmtH4pxhtCoHqpWmT8YAmZxaewHgHAjLYsp1ZSe7zFYHj7C6ul7TjeLQeZD_YwD66t62wDmpe_HlB-TnBA-njbglfIsRLtXlnDzQkv5dTltRJ11BKBBypeeF6689rjcJIDEz9RWdc"), - n: try Base64URL.decode("ofgWCuLjybRlzo0tZWJjNiuSfb4p4fAkd_wWJcyQoTbji9k0l8W26mPddxHmfHQp-Vaw-4qPCJrcS2mJPMEzP1Pt0Bm4d4QlL-yRT-SFd2lZS-pCgNMsD1W_YpRPEwOWvG6b32690r2jZ47soMZo9wGzjb_7OMg0LOL-bSf63kpaSHSXndS5z5rexMdbBYUsLA9e-KXBdQOS-UTo7WTBEMa2R2CapHg665xsmtdVMTBQY4uDZlxvb3qCo5ZwKh9kG4LT6_I5IhlJH7aGhyxXFvUK-DWNmoudF8NAco9_h9iaGNj8q2ethFkMLs91kzk2PAcDTW9gb54h4FRWyuXpoQ"), - dp: try Base64URL.decode("BwKfV3Akq5_MFZDFZCnW-wzl-CCo83WoZvnLQwCTeDv8uzluRSnm71I3QCLdhrqE2e9YkxvuxdBfpT_PI7Yz-FOKnu1R6HsJeDCjn12Sk3vmAktV2zb34MCdy7cpdTh_YVr7tss2u6vneTwrA86rZtu5Mbr1C1XsmvkxHQAdYo0"), - dq: try Base64URL.decode("h_96-mK1R_7glhsum81dZxjTnYynPbZpHziZjeeHcXYsXaaMwkOlODsWa7I9xXDoRwbKgB719rrmI2oKr6N3Do9U0ajaHF-NKJnwgjMd2w9cjz3_-kyNlxAr2v4IKhGNpmM5iIgOS1VZnOZ68m6_pbLBSp3nssTdlqvd0tIiTHU"), - qi: try Base64URL.decode("IYd7DHOhrWvxkwPQsRM2tOgrjbcrfvtQJipd-DlcxyVuuM9sQLdgjVk2oy26F0EmpScGLq2MowX7fhd_QJQ3ydy5cY7YIBi87w93IKLEdfnbJtoOPLUW0ITrJReOgo1cq9SbsxYawBgfp_gh6A5603k2-ZQwVK0JKSHuLFkuQ3U"), - d: try Base64URL.decode("Eq5xpGnNCivDflJsRQBXHx1hdR1k6Ulwe2JZD50LpXyWPEAeP88vLNO97IjlA7_GQ5sLKMgvfTeXZx9SE-7YwVol2NXOoAJe46sui395IW_GO-pWJ1O0BkTGoVEn2bKVRUCgu-GjBVaYLU6f3l9kJfFNS3E0QbVdxzubSu3Mkqzjkn439X0M_V51gfpRLI9JYanrC4D4qAdGcopV_0ZHHzQlBjudU2QvXt4ehNYTCBr6XCLQUShb1juUO1ZdiYoFaFQT5Tw8bGUl_x_jTj3ccPDVZFD9pIuhLhBOneufuBiB4cS98l2SR_RQyGWSeWjnczT0QU91p1DhOVRuOopznQ") - ) - - let es256KeyJWKString = "{\"kty\":\"EC\",\"kid\":\"e9bc097a-ce51-4036-9562-d2ade882db0d\",\"crv\":\"P-256\",\"x\":\"f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU\",\"y\":\"x_FEzRu9m36HLN_tue659LNpXW6pCyStikYjKIWI5a0\",\"d\":\"jpsQnnGQmL-YBIffH1136cspYG6-0iY7X1fCE9-E9LI\"}" - - let es256KeyJWK = try JSONDecoder().decode(JWK.self, from: es256KeyJWKString.data(using: .utf8)!) - let payload = "{\"iss\":\"joe\",\r\n \"exp\":1300819380,\r\n \"http://example.com/is_root\":true}" - - let jws: Data = try JWS.jsonSerialization( - payload: payload.data(using: .utf8)!, - keys: [rsa256KeyJWK, es256KeyJWK] - ) - - let jsonSerilization = try JSONDecoder() - .decode(JWSJson.self, from: jws) - - let rsaSignature = try jsonSerilization.signatures.first { try $0.validateAlg() == .RS256 } - let esSignature = try jsonSerilization.signatures.first { try $0.validateAlg() == .ES256 } - - XCTAssertNotNil(rsaSignature) - XCTAssertNotNil(esSignature) - XCTAssertEqual(Base64URL.encode(rsaSignature!.protectedHeaderData!), "eyJhbGciOiJSUzI1NiJ9") - XCTAssertEqual(rsaSignature!.unprotectedHeader!.keyID, "2010-12-29") - XCTAssertEqual(Base64URL.encode(rsaSignature!.signature), "cC4hiUPoj9Eetdgtv3hF80EGrhuB__dzERat0XF9g2VtQgr9PJbu3XOiZj5RZmh7AAuHIm4Bh-0Qc_lF5YKt_O8W2Fp5jujGbds9uJdbF9CUAr7t1dnZcAcQjbKBYNX4BAynRFdiuB--f_nZLgrnbyTyWzO75vRK5h6xBArLIARNPvkSjtQBMHlb1L07Qe7K0GarZRmB_eSN9383LcOLn6_dO--xi12jzDwusC-eOkHWEsqtFZESc6BfI7noOPqvhJ1phCnvWh6IeYI2w9QOYEUipUTI8np6LbgGY9Fs98rqVt5AXLIhWkWywlVmtVrBp0igcN_IoypGlUPQGe77Rw") - XCTAssertEqual(Base64URL.encode(esSignature!.protectedHeaderData!), "eyJhbGciOiJFUzI1NiJ9") - XCTAssertEqual(esSignature!.unprotectedHeader!.keyID, "e9bc097a-ce51-4036-9562-d2ade882db0d") - // We cannot test if the ES256 signature is equal since the value is always different, - // instead we verify with the key - XCTAssertTrue(try JWS.verify(jwsJson: jws, jwk: es256KeyJWK)) - } - - func testJWS_RFC7515_A7() throws { - // Input JWS String from RFC 7515 A.7 - // Related documentation: https://datatracker.ietf.org/doc/html/rfc7515#appendix-A.7 - let es256KeyJWKString = "{\"kty\":\"EC\",\"kid\":\"e9bc097a-ce51-4036-9562-d2ade882db0d\",\"crv\":\"P-256\",\"x\":\"f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU\",\"y\":\"x_FEzRu9m36HLN_tue659LNpXW6pCyStikYjKIWI5a0\",\"d\":\"jpsQnnGQmL-YBIffH1136cspYG6-0iY7X1fCE9-E9LI\"}" - - let es256KeyJWK = try JSONDecoder().decode(JWK.self, from: es256KeyJWKString.data(using: .utf8)!) - let payload = "{\"iss\":\"joe\",\r\n \"exp\":1300819380,\r\n \"http://example.com/is_root\":true}" - - let jws: Data = try JWS.jsonSerializationFlattened( - payload: payload.data(using: .utf8)!, - key: es256KeyJWK - ) - - let jsonSerilization = try JSONDecoder() - .decode(JWSJsonFlattened.self, from: jws) - - XCTAssertEqual(Base64URL.encode(jsonSerilization.protectedHeaderData!), "eyJhbGciOiJFUzI1NiJ9") - XCTAssertEqual(jsonSerilization.unprotectedHeader!.keyID, "e9bc097a-ce51-4036-9562-d2ade882db0d") - // We cannot test if the ES256 signature is equal since the value is always different, - // instead we verify with the key - XCTAssertTrue(try JWS.verify(jwsJson: jws, jwk: es256KeyJWK)) - } -} diff --git a/Tests/JWTTests/JWTTests.swift b/Tests/JWTTests/JWTTests.swift deleted file mode 100644 index 076c1e4..0000000 --- a/Tests/JWTTests/JWTTests.swift +++ /dev/null @@ -1,176 +0,0 @@ -import JSONWebKey -@testable import JSONWebToken -import JSONWebSignature -import XCTest - -final class JWTTests: XCTestCase { - - func testParseSignedJWT() throws { - let jwtString = """ - eyJhbGciOiJub25lIn0.eyJpc3MiOiJqb2UiLA0KICJleHAiOjEzMDA4MTkzODAsDQogImh0dHA6Ly9leGFtcGxlLmNvbS9pc19yb290Ijp0cnVlfQ. - """ - - let jwt = try JWT.verify(jwtString: jwtString) - switch jwt.format { - case .jws(let jws): - XCTAssertEqual(jws.protectedHeader.algorithm!, .none) - XCTAssertNil(jws.protectedHeader.type) - XCTAssertNil(jws.protectedHeader.contentType) - default: - XCTFail("Wrong JWT format") - } - - let expirationTime = jwt.payload.expirationTime?.timeIntervalSince1970 - XCTAssertEqual(jwt.payload.issuer, "joe") - XCTAssertEqual(jwt.payload.expirationTime!, Date(timeIntervalSince1970: 2279126580.0)) - } - - func testSignAndVerify() throws { - let issuedAt = Date(timeIntervalSince1970: 0) - let mockClaims = MockExampleClaims( - issuer: "testAlice", - subject: "Alice", - issuedAt: issuedAt, - testClaim: "testedClaim" - ) - - let key = JWK.testingES256Pair - - let jwt = try JWT.signed( - payload: mockClaims, - protectedHeader: DefaultJWSHeaderImpl(algorithm: .ES256), - key: key - ) - - let jwtString = jwt.jwtString - - XCTAssertTrue(jwtString.contains("eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9")) - XCTAssertTrue(jwtString.contains("eyJpc3N1ZWRBdCI6LTk3ODMwNzIwMCwiaXNzdWVyIjoidGVzdEFsaWNlIiwic3ViamVjdCI6IkFsaWNlIiwidGVzdENsYWltIjoidGVzdGVkQ2xhaW0ifQ")) - - let verifiedJWT = try JWT.verify(jwtString: jwtString, senderKey: key) - let verifiedPayload = verifiedJWT.payload - XCTAssertEqual(verifiedPayload.issuer, "testAlice") - XCTAssertEqual(verifiedPayload.subject, "Alice") - XCTAssertEqual(verifiedPayload.issuedAt, issuedAt) - XCTAssertEqual(verifiedPayload.testClaim, "testedClaim") - switch verifiedJWT.format { - case .jws(let jws): - XCTAssertEqual(jws.protectedHeader.algorithm, .ES256) - default: - XCTFail() - } - } - - func testFailExpirationValidation() throws { - let expiredAt = Date(timeIntervalSince1970: 0) - let mockClaims = DefaultJWTClaimsImpl( - issuer: "testAlice", - subject: "Alice", - expirationTime: expiredAt - ) - - let key = JWK.testingES256Pair - - let jwt = try JWT.signed( - payload: mockClaims, - protectedHeader: DefaultJWSHeaderImpl(algorithm: .ES256), - key: key - ) - - let jwtString = jwt.jwtString - - XCTAssertThrowsError(try JWT.verify(jwtString: jwtString, senderKey: key)) - } - - func testFailNotBeforeValidation() throws { - let nbf = Date(timeIntervalSinceNow: 1000) - let mockClaims = DefaultJWTClaimsImpl( - issuer: "testAlice", - subject: "Alice", - notBeforeTime: nbf - ) - - let key = JWK.testingES256Pair - - let jwt = try JWT.signed( - payload: mockClaims, - protectedHeader: DefaultJWSHeaderImpl(algorithm: .ES256), - key: key - ) - - let jwtString = jwt.jwtString - - XCTAssertThrowsError(try JWT.verify(jwtString: jwtString, senderKey: key)) - } - - func testFailIssuedAtValidation() throws { - let issuedAt = Date(timeIntervalSinceNow: 1000) - let mockClaims = DefaultJWTClaimsImpl( - issuer: "testAlice", - subject: "Alice", - issuedAt: issuedAt - ) - - let key = JWK.testingES256Pair - - let jwt = try JWT.signed( - payload: mockClaims, - protectedHeader: DefaultJWSHeaderImpl(algorithm: .ES256), - key: key - ) - - let jwtString = jwt.jwtString - - XCTAssertThrowsError(try JWT.verify(jwtString: jwtString, senderKey: key)) - } - - func testFailIssuerValidation() throws { - let nbf = Date(timeIntervalSinceNow: 1000) - let mockClaims = DefaultJWTClaimsImpl( - issuer: "testAlice", - subject: "Alice", - notBeforeTime: nbf - ) - - let key = JWK.testingES256Pair - - let jwt = try JWT.signed( - payload: mockClaims, - protectedHeader: DefaultJWSHeaderImpl(algorithm: .ES256), - key: key - ) - - let jwtString = jwt.jwtString - - XCTAssertThrowsError(try JWT.verify( - jwtString: jwtString, - senderKey: key, - expectedIssuer: "Bob" - )) - } - - func testFailAudienceValidation() throws { - let nbf = Date(timeIntervalSinceNow: 1000) - let mockClaims = DefaultJWTClaimsImpl( - issuer: "testAlice", - subject: "Alice", - audience: ["Test"] - ) - - let key = JWK.testingES256Pair - - let jwt = try JWT.signed( - payload: mockClaims, - protectedHeader: DefaultJWSHeaderImpl(algorithm: .ES256), - key: key - ) - - let jwtString = jwt.jwtString - - XCTAssertThrowsError(try JWT.verify( - jwtString: jwtString, - senderKey: key, - expectedAudience: "Bob" - )) - } -} diff --git a/Tests/JWTTests/Mock/JWK+Testing.swift b/Tests/JWTTests/Mock/JWK+Testing.swift deleted file mode 100644 index 2637059..0000000 --- a/Tests/JWTTests/Mock/JWK+Testing.swift +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2024 Gonçalo Frade - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CryptoSwift -import CryptoKit -import Foundation -import JSONWebKey -import secp256k1 - -extension JWK { - static var testingES256Pair: JWK { - let privateKey = P256.Signing.PrivateKey() - return privateKey.jwkRepresentation - } - - static var testingES384Pair: JWK { - let privateKey = P384.KeyAgreement.PrivateKey() - return privateKey.jwkRepresentation - } - - static var testingES521Pair: JWK { - let privateKey = P521.KeyAgreement.PrivateKey() - return privateKey.jwkRepresentation - } - - static var testingES256KPair: JWK { - let privateKey = try! secp256k1.KeyAgreement.PrivateKey() - return privateKey.jwkRepresentation - } - - static var testingCurve25519KPair: JWK { - let privateKey = Curve25519.KeyAgreement.PrivateKey() - return privateKey.jwkRepresentation - } - - static func generateKek(sizeInBits: Int) -> JWK { - let kekData = Data(count: sizeInBits / 8) - return JWK(keyType: .octetSequence, key: kekData) - } - - static var testingRSAKPair: JWK { - let rsaKey = try! RSA(keySize: 256) - return JWK(keyType: .rsa, e: rsaKey.e.serialize(), n: rsaKey.n.serialize(), d: rsaKey.d?.serialize()) - } -} diff --git a/Tests/JWTTests/Mock/MockExampleClaims.swift b/Tests/JWTTests/Mock/MockExampleClaims.swift deleted file mode 100644 index f936557..0000000 --- a/Tests/JWTTests/Mock/MockExampleClaims.swift +++ /dev/null @@ -1,35 +0,0 @@ -import Foundation -import JSONWebToken - -struct MockExampleClaims: JWTRegisteredFieldsClaims { - let issuer: String? - let subject: String? - let audience: [String]? - let expirationTime: Date? - let notBeforeTime: Date? - let issuedAt: Date? - let jwtID: String? - let testClaim: String? - - init( - issuer: String? = nil, - subject: String? = nil, - audience: [String]? = nil, - expirationTime: Date? = nil, - notBeforeTime: Date? = nil, - issuedAt: Date? = nil, - jwtID: String? = nil, - testClaim: String? = nil - ) { - self.issuer = issuer - self.subject = subject - self.audience = audience - self.expirationTime = expirationTime - self.notBeforeTime = notBeforeTime - self.issuedAt = issuedAt - self.jwtID = jwtID - self.testClaim = testClaim - } - - func validateExtraClaims() throws {} -} diff --git a/css/chunk-c0335d80.10a2f091.css b/css/chunk-c0335d80.10a2f091.css new file mode 100644 index 0000000..86451fd --- /dev/null +++ b/css/chunk-c0335d80.10a2f091.css @@ -0,0 +1,9 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */[data-v-20945666] .code-listing{background:var(--background,var(--color-code-background));color:var(--text,var(--color-code-plain));border-color:var(--colors-grid,var(--color-grid));border-width:var(--code-border-width,1px);border-style:var(--code-border-style,solid)}[data-v-20945666] .code-listing pre{padding:var(--code-block-style-elements-padding)}[data-v-20945666] .code-listing pre>code{font-size:.88235rem;line-height:1.66667;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace)}[data-v-20945666] *+.code-listing,[data-v-20945666] *+.endpoint-example,[data-v-20945666] *+.inline-image-container,[data-v-20945666] *+aside,[data-v-20945666] *+figure,[data-v-20945666] .code-listing+*,[data-v-20945666] .endpoint-example+*,[data-v-20945666] .inline-image-container+*,[data-v-20945666] aside+*,[data-v-20945666] figure+*{margin-top:var(--spacing-stacked-margin-xlarge)}[data-v-20945666] *+dl,[data-v-20945666] dl+*{margin-top:var(--spacing-stacked-margin-large)}[data-v-20945666] img{display:block;margin:auto;max-width:100%}[data-v-20945666] ol,[data-v-20945666] ol li:not(:first-child),[data-v-20945666] ul,[data-v-20945666] ul li:not(:first-child){margin-top:var(--spacing-stacked-margin-large)}@media only screen and (max-width:735px){[data-v-20945666] ol,[data-v-20945666] ul{margin-left:1.25rem}}[data-v-20945666] dt:not(:first-child){margin-top:var(--spacing-stacked-margin-large)}[data-v-20945666] dd{margin-left:2em}.badge[data-v-8d6893ae]{--badge-color:var(--color-badge-default);--badge-dark-color:var(--color-badge-dark-default);font-size:.70588rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:inline-block;padding:2px 10px;white-space:nowrap;background:none;border-radius:var(--badge-border-radius,calc(var(--border-radius, 4px) - 1px));border-style:var(--badge-border-style,solid);border-width:var(--badge-border-width,1px);margin-left:10px;color:var(--badge-color)}.theme-dark .badge[data-v-8d6893ae]{--badge-color:var(--badge-dark-color)}.badge-deprecated[data-v-8d6893ae]{--badge-color:var(--color-badge-deprecated);--badge-dark-color:var(--color-badge-dark-deprecated)}.badge-beta[data-v-8d6893ae]{--badge-color:var(--color-badge-beta);--badge-dark-color:var(--color-badge-dark-beta)}.topic-icon-wrapper[data-v-03cf3183]{display:flex;align-items:center;justify-content:center;height:1.47059rem;flex:0 0 1.294rem;width:1.294rem;margin-right:1rem}.topic-icon[data-v-03cf3183]{height:.88235rem;transform:scale(1);-webkit-transform:scale(1);overflow:visible}.topic-icon[data-v-03cf3183] img{margin:0;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.topic-icon.curly-brackets-icon[data-v-03cf3183]{height:1rem}.token-method[data-v-3fd63d6c]{font-weight:700}.token-keyword[data-v-3fd63d6c]{color:var(--syntax-keyword,var(--color-syntax-keywords))}.token-number[data-v-3fd63d6c]{color:var(--syntax-number,var(--color-syntax-numbers))}.token-string[data-v-3fd63d6c]{color:var(--syntax-string,var(--color-syntax-strings))}.attribute-link[data-v-3fd63d6c],.token-attribute[data-v-3fd63d6c]{color:var(--syntax-attribute,var(--color-syntax-keywords))}.token-internalParam[data-v-3fd63d6c]{color:var(--color-syntax-param-internal-name)}.type-identifier-link[data-v-3fd63d6c]{color:var(--syntax-type,var(--color-syntax-other-type-names))}.token-removed[data-v-3fd63d6c]{background-color:var(--color-highlight-red)}.token-added[data-v-3fd63d6c]{background-color:var(--color-highlight-green)}.decorator[data-v-06ec7395],.label[data-v-06ec7395]{color:var(--colors-secondary-label,var(--color-secondary-label))}.label[data-v-06ec7395]{font-size:1rem;line-height:1.47059;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.empty-token[data-v-06ec7395]{font-size:0}.empty-token[data-v-06ec7395]:after{content:"\00a0";font-size:1rem}.conditional-constraints[data-v-1548fd90] code{color:var(--colors-secondary-label,var(--color-secondary-label))}.abstract[data-v-52205924],.link-block[data-v-52205924] .badge{margin-left:2.294rem}.link-block .badge+.badge[data-v-52205924]{margin-left:1rem}.link[data-v-52205924]{display:flex}.link-block .badge[data-v-52205924]{margin-top:.5rem}.link-block.has-inline-element[data-v-52205924]{display:flex;align-items:flex-start;flex-flow:row wrap}.link-block.has-inline-element .badge[data-v-52205924]{margin-left:1rem;margin-top:0}.link-block .has-adjacent-elements[data-v-52205924]{padding-top:5px;padding-bottom:5px;display:inline-flex}.link-block[data-v-52205924],.link[data-v-52205924]{box-sizing:inherit}.link-block.changed[data-v-52205924],.link.changed[data-v-52205924]{padding-right:1rem;padding-left:2.17647rem;padding-top:8px;padding-bottom:8px;display:inline-flex;width:100%;box-sizing:border-box}.link-block.changed.changed[data-v-52205924],.link.changed.changed[data-v-52205924]{padding-right:1rem}@media only screen and (max-width:735px){.link-block.changed[data-v-52205924],.link.changed[data-v-52205924]{padding-left:0;padding-right:0}.link-block.changed.changed[data-v-52205924],.link.changed.changed[data-v-52205924]{padding-right:17px;padding-left:2.17647rem}}@media only screen and (max-width:735px){.link-block.changed[data-v-52205924],.link.changed[data-v-52205924]{padding-left:0;padding-right:0}}.abstract .topic-required[data-v-52205924]:not(:first-child){margin-top:4px}.topic-required[data-v-52205924]{font-size:.8em}.deprecated[data-v-52205924]{text-decoration:line-through}.conditional-constraints[data-v-52205924]{font-size:.82353rem;margin-top:4px} \ No newline at end of file diff --git a/css/documentation-topic.1d1eec04.css b/css/documentation-topic.1d1eec04.css new file mode 100644 index 0000000..8622bb4 --- /dev/null +++ b/css/documentation-topic.1d1eec04.css @@ -0,0 +1,9 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */.betainfo[data-v-e8fd2a92]{font-size:.94118rem;padding:3rem 0;background-color:var(--color-fill-secondary)}.full-width-container .betainfo-container[data-v-e8fd2a92]{max-width:820px;margin-left:auto;margin-right:auto;padding-left:80px;padding-right:80px;box-sizing:border-box}@media print{.full-width-container .betainfo-container[data-v-e8fd2a92]{padding-left:20px;padding-right:20px;max-width:none}}@media only screen and (min-width:1251px){.full-width-container .betainfo-container[data-v-e8fd2a92]{max-width:980px}}@media only screen and (min-width:1500px){.full-width-container .betainfo-container[data-v-e8fd2a92]{max-width:1080px}}@media only screen and (max-width:735px){.full-width-container .betainfo-container[data-v-e8fd2a92]{width:auto;padding-left:20px;padding-right:20px}}.static-width-container .betainfo-container[data-v-e8fd2a92]{margin-left:auto;margin-right:auto;width:980px}@media only screen and (max-width:1250px){.static-width-container .betainfo-container[data-v-e8fd2a92]{width:692px}}@media only screen and (max-width:735px){.static-width-container .betainfo-container[data-v-e8fd2a92]{width:87.5%}}@media only screen and (max-width:320px){.static-width-container .betainfo-container[data-v-e8fd2a92]{width:215px}}.betainfo-label[data-v-e8fd2a92]{font-weight:600;font-size:.94118rem}.betainfo-content[data-v-e8fd2a92] p{margin-bottom:10px}.summary-section[data-v-3aa6f694]:last-of-type{margin-right:0}@media only screen and (max-width:735px){.summary-section[data-v-3aa6f694]{margin-right:0}}.title[data-v-6796f6ea]{color:#fff;font-size:.82353rem;margin-right:.5rem;text-rendering:optimizeLegibility}.documentation-hero--disabled .title[data-v-6796f6ea]{color:var(--colors-text,var(--color-text))}.language[data-v-1a36493d]{padding-bottom:10px;justify-content:flex-end}.language-list[data-v-1a36493d],.language[data-v-1a36493d]{font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin-top:0;display:flex;align-items:center}.language-option.swift[data-v-1a36493d]{padding-right:10px;border-right:1px solid var(--color-fill-gray-tertiary)}.language-option.objc[data-v-1a36493d]{padding-left:10px}.language-option.active[data-v-1a36493d],.language-option.router-link-exact-active[data-v-1a36493d]{color:#ccc}.documentation-hero--disabled .language-option.active[data-v-1a36493d],.documentation-hero--disabled .language-option.router-link-exact-active[data-v-1a36493d]{color:var(--colors-secondary-label,var(--color-secondary-label))}.view-more-link[data-v-0d14b62a]{font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:flex;flex-flow:row-reverse;margin-bottom:1.3rem}.documentation-hero[data-v-6540c364]{background:#000;color:var(--color-documentation-intro-figure,#fff);overflow:hidden;text-align:left;position:relative;padding-right:var(--doc-hero-right-offset)}.documentation-hero[data-v-6540c364]:before{content:"";background:var(--standard-accent-color,var(--color-documentation-intro-fill,#2a2a2a));position:absolute;width:100%;left:0;top:-50%;height:150%;right:0}.documentation-hero[data-v-6540c364]:after{background:transparent;opacity:.7;width:100%;position:absolute;content:"";height:100%;left:0;top:0}.documentation-hero .icon[data-v-6540c364]{position:absolute;margin-top:10px;margin-right:25px;right:0;width:250px;height:calc(100% - 20px);box-sizing:border-box}@media only screen and (max-width:735px){.documentation-hero .icon[data-v-6540c364]{display:none}}.documentation-hero .background-icon[data-v-6540c364]{color:var(--color-documentation-intro-accent,#161616);display:block;width:250px;height:auto;opacity:1;position:absolute;top:50%;left:0;transform:translateY(-50%);max-height:100%}.documentation-hero .background-icon[data-v-6540c364] img,.documentation-hero .background-icon[data-v-6540c364] svg{width:100%;height:100%}.documentation-hero__content[data-v-6540c364]:not(.minimized-hero){padding-top:2.35294rem;padding-bottom:40px;position:relative;z-index:1}.full-width-container .documentation-hero__content[data-v-6540c364]:not(.minimized-hero){max-width:820px;margin-left:auto;margin-right:auto;padding-left:80px;padding-right:80px;box-sizing:border-box}@media print{.full-width-container .documentation-hero__content[data-v-6540c364]:not(.minimized-hero){padding-left:20px;padding-right:20px;max-width:none}}@media only screen and (min-width:1251px){.full-width-container .documentation-hero__content[data-v-6540c364]:not(.minimized-hero){max-width:980px}}@media only screen and (min-width:1500px){.full-width-container .documentation-hero__content[data-v-6540c364]:not(.minimized-hero){max-width:1080px}}@media only screen and (max-width:735px){.full-width-container .documentation-hero__content[data-v-6540c364]:not(.minimized-hero){width:auto;padding-left:20px;padding-right:20px}}.static-width-container .documentation-hero__content[data-v-6540c364]:not(.minimized-hero){margin-left:auto;margin-right:auto;width:980px}@media only screen and (max-width:1250px){.static-width-container .documentation-hero__content[data-v-6540c364]:not(.minimized-hero){width:692px}}@media only screen and (max-width:735px){.static-width-container .documentation-hero__content[data-v-6540c364]:not(.minimized-hero){width:87.5%}}@media only screen and (max-width:320px){.static-width-container .documentation-hero__content[data-v-6540c364]:not(.minimized-hero){width:215px}}.documentation-hero .minimized-hero[data-v-6540c364]{padding:1.3em 1.4em;position:relative;z-index:1}.documentation-hero__above-content[data-v-6540c364]{position:relative;z-index:1}.documentation-hero--disabled[data-v-6540c364]{background:none;color:var(--colors-text,var(--color-text))}.documentation-hero--disabled[data-v-6540c364]:after,.documentation-hero--disabled[data-v-6540c364]:before{content:none}.short-hero[data-v-6540c364]{padding-top:3.52941rem;padding-bottom:3.52941rem}.extra-bottom-padding[data-v-6540c364]{padding-bottom:3.82353rem}.theme-dark[data-v-6540c364] a:not(.button-cta){color:#09f}ul[data-v-068842ec]{list-style-type:none;margin:0}ul li:first-child .base-link[data-v-068842ec]{margin-top:0}.parent-item .base-link[data-v-068842ec]{font-weight:700}.base-link[data-v-068842ec]{color:var(--color-figure-gray-secondary);font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:inline-block;margin:5px 0;transition:color .15s ease-in;max-width:100%}.active .base-link[data-v-068842ec]{color:var(--color-text)}.source[data-v-d22a3f50]{background:var(--background,var(--color-code-background));border-color:var(--color-grid);color:var(--text,var(--color-code-plain));border-style:solid;border-width:1px;padding:var(--code-block-style-elements-padding);speak:literal-punctuation;line-height:25px;filter:blur(0)}.source.displays-multiple-lines[data-v-d22a3f50],.source[data-v-d22a3f50]{border-radius:var(--border-radius,4px)}.source>code[data-v-d22a3f50]{font-size:.88235rem;line-height:1.66667;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace);display:block}.platforms[data-v-4f51d8d2]{font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin-bottom:.45rem;margin-top:var(--spacing-stacked-margin-xlarge)}.changed .platforms[data-v-4f51d8d2]{padding-left:.588rem}.platforms[data-v-4f51d8d2]:first-of-type{margin-top:1rem}.source[data-v-4f51d8d2]{margin:var(--declaration-code-listing-margin)}.platforms+.source[data-v-4f51d8d2]{margin:0}.changed.declaration-group[data-v-4f51d8d2]{background:var(--background,var(--color-code-background))}.changed .source[data-v-4f51d8d2]{background:none;border:none;margin-top:0;margin-bottom:0;margin-left:2.17647rem;padding-left:0}.declaration-diff[data-v-b3e21c4a]{background:var(--background,var(--color-code-background))}.declaration-diff-version[data-v-b3e21c4a]{padding-left:.588rem;padding-left:2.17647rem;font-size:1rem;line-height:1.52941;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-figure-gray-secondary);margin:0}.declaration-diff-current[data-v-b3e21c4a]{padding-top:8px;padding-bottom:5px}.declaration-diff-previous[data-v-b3e21c4a]{padding-top:5px;padding-bottom:8px;background-color:var(--color-changes-modified-previous-background);border-radius:0 0 var(--border-radius,4px) var(--border-radius,4px);position:relative}.declaration-source-link[data-v-5863919c]{font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:flex;align-items:center;margin-top:var(--declaration-source-link-margin,var(--spacing-stacked-margin-large))}.declaration-icon[data-v-5863919c]{width:1em;margin-right:5px}.conditional-constraints[data-v-2ab6251b]{margin-top:var(--declaration-conditional-constraints-margin,20px)}.abstract[data-v-702ec04e]{font-size:1.23529rem;line-height:1.38095;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:735px){.abstract[data-v-702ec04e]{font-size:1.11765rem;line-height:1.42105;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-702ec04e] p:last-child{margin-bottom:0}.container[data-v-6e075935]{padding-bottom:40px}.full-width-container .container[data-v-6e075935]{max-width:820px;margin-left:auto;margin-right:auto;padding-left:80px;padding-right:80px;box-sizing:border-box}@media print{.full-width-container .container[data-v-6e075935]{padding-left:20px;padding-right:20px;max-width:none}}@media only screen and (min-width:1251px){.full-width-container .container[data-v-6e075935]{max-width:980px}}@media only screen and (min-width:1500px){.full-width-container .container[data-v-6e075935]{max-width:1080px}}@media only screen and (max-width:735px){.full-width-container .container[data-v-6e075935]{width:auto;padding-left:20px;padding-right:20px}}.static-width-container .container[data-v-6e075935]{margin-left:auto;margin-right:auto;width:980px}@media only screen and (max-width:1250px){.static-width-container .container[data-v-6e075935]{width:692px}}@media only screen and (max-width:735px){.static-width-container .container[data-v-6e075935]{width:87.5%}}@media only screen and (max-width:320px){.static-width-container .container[data-v-6e075935]{width:215px}}.title[data-v-6e075935]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);padding-top:40px;border-top-color:var(--color-grid);border-top-style:solid;border-top-width:var(--content-table-title-border-width,1px)}@media only screen and (max-width:1250px){.title[data-v-6e075935]{font-size:1.64706rem;line-height:1.14286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-6e075935]{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.title+.contenttable-section[data-v-4aae1079]{margin-top:0}.contenttable-section[data-v-4aae1079]{align-items:baseline;padding-top:2.353rem}.contenttable-section[data-v-4aae1079]:last-child{margin-bottom:0}[data-v-4aae1079] .contenttable-title{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-4aae1079] .contenttable-title{font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.contenttable-section[data-v-4aae1079]{align-items:unset;border-top:none;display:inherit;margin:0}.section-content[data-v-4aae1079],.section-title[data-v-4aae1079]{padding:0}[data-v-4aae1079] .contenttable-title{margin:0 0 2.353rem 0;padding-bottom:.5rem}}.section-content>.content[data-v-3ccf02e9],.topic[data-v-3ccf02e9]{margin-top:15px}.no-title .section-content>.content[data-v-3ccf02e9]:first-child,.no-title .topic[data-v-3ccf02e9]:first-child{margin-top:0}.datalist dd{padding-left:2rem}.datalist dt{font-weight:600;padding-left:1rem;padding-top:var(--spacing-param)}.datalist dt:first-of-type{padding-top:0}.type[data-v-791bac44]:first-letter{text-transform:capitalize}.detail-type[data-v-d66cd00c]{font-weight:600;padding-left:1rem;padding-top:var(--spacing-param)}.detail-type[data-v-d66cd00c]:first-child{padding-top:0}@media only screen and (max-width:735px){.detail-type[data-v-d66cd00c]{padding-left:0}}.detail-content[data-v-d66cd00c]{padding-left:2rem}@media only screen and (max-width:735px){.detail-content[data-v-d66cd00c]{padding-left:0}}.param-name[data-v-53cac581]{font-weight:600;padding-left:1rem;padding-top:var(--spacing-param)}.param-name[data-v-53cac581]:first-child{padding-top:0}@media only screen and (max-width:735px){.param-name[data-v-53cac581]{padding-left:0}}.param-content[data-v-53cac581]{padding-left:2rem}@media only screen and (max-width:735px){.param-content[data-v-53cac581]{padding-left:0}}.param-content[data-v-53cac581] dt{font-weight:600}.param-content[data-v-53cac581] dd{margin-left:1em}.parameters-table[data-v-3f89f723] .change-added,.parameters-table[data-v-3f89f723] .change-removed{display:inline-block;max-width:100%}.parameters-table[data-v-3f89f723] .change-removed,.parameters-table[data-v-3f89f723] .token-removed{text-decoration:line-through}.param[data-v-3f89f723]{font-size:.88235rem;box-sizing:border-box}.param.changed[data-v-3f89f723]{display:flex;flex-flow:row wrap;padding-right:1rem;padding-left:2.17647rem;padding-top:8px;padding-bottom:8px;display:inline-flex;width:100%;box-sizing:border-box}.param.changed.changed[data-v-3f89f723]{padding-right:1rem}@media only screen and (max-width:735px){.param.changed[data-v-3f89f723]{padding-left:0;padding-right:0}.param.changed.changed[data-v-3f89f723]{padding-right:17px;padding-left:2.17647rem}}@media only screen and (max-width:735px){.param.changed[data-v-3f89f723]{padding-left:0;padding-right:0}}.param.changed.changed[data-v-3f89f723]{padding-left:0;padding-right:0}.param.changed+.param.changed[data-v-3f89f723]{margin-top:calc(var(--spacing-param)/2)}.changed .param-content[data-v-3f89f723],.changed .param-symbol[data-v-3f89f723]{padding-top:2px;padding-bottom:2px}@media only screen and (max-width:735px){.changed .param-content[data-v-3f89f723]{padding-top:0}.changed .param-symbol[data-v-3f89f723]{padding-bottom:0}}.param-symbol[data-v-3f89f723]{text-align:right}.changed .param-symbol[data-v-3f89f723]{padding-left:2.17647rem}@media only screen and (max-width:735px){.param-symbol[data-v-3f89f723]{text-align:left}.changed .param-symbol[data-v-3f89f723]{padding-left:0}}.param-symbol[data-v-3f89f723] .type-identifier-link{color:var(--color-link)}.param+.param[data-v-3f89f723]{margin-top:var(--spacing-param)}.param+.param[data-v-3f89f723]:first-child{margin-top:0}.param-content[data-v-3f89f723]{padding-left:1rem;padding-left:2.17647rem}.changed .param-content[data-v-3f89f723]{padding-right:1rem}@media only screen and (max-width:735px){.param-content[data-v-3f89f723]{padding-left:0;padding-right:0}}.property-metadata[data-v-8590589e]{color:var(--color-figure-gray-secondary)}.property-text{font-weight:700}.property-metadata[data-v-0a648a1e]{color:var(--color-figure-gray-secondary)}.property-name[data-v-310f0b2c]{font-weight:700}.property-name.deprecated[data-v-310f0b2c]{text-decoration:line-through}.property-deprecated[data-v-310f0b2c]{margin-left:0}.content[data-v-310f0b2c],.content[data-v-310f0b2c] p:first-child{display:inline}.response-mimetype[data-v-20293786]{color:var(--color-figure-gray-secondary)}.part-name[data-v-021cd63d]{font-weight:700}.content[data-v-021cd63d],.content[data-v-021cd63d] p:first-child{display:inline}.param-name[data-v-03478142]{font-weight:700}.param-name.deprecated[data-v-03478142]{text-decoration:line-through}.param-deprecated[data-v-03478142]{margin-left:0}.content[data-v-03478142],.content[data-v-03478142] p:first-child{display:inline}.response-name[data-v-881189f4],.response-reason[data-v-881189f4]{font-weight:700}@media only screen and (max-width:735px){.response-reason[data-v-881189f4]{display:none}}.response-name>code>.reason[data-v-881189f4]{display:none}@media only screen and (max-width:735px){.response-name>code>.reason[data-v-881189f4]{display:initial}}.primary-content.with-border[data-v-2baae7e0]:before{border-top-color:var(--colors-grid,var(--color-grid));border-top-style:solid;border-top-width:1px;content:"";display:block}.primary-content[data-v-2baae7e0]>*{margin-bottom:40px;margin-top:40px}.primary-content[data-v-2baae7e0]>:first-child{margin-top:2.353rem}.relationships-list[data-v-4c67b8c7]{list-style:none}.relationships-list.column[data-v-4c67b8c7]{margin-left:0;margin-top:15px}.relationships-list.inline[data-v-4c67b8c7]{display:flex;flex-direction:row;flex-wrap:wrap;margin-top:15px;margin-left:0}.relationships-list.inline li[data-v-4c67b8c7]:not(:last-child):after{content:",\00a0"}.relationships-list.changed[data-v-4c67b8c7]{padding-right:1rem;padding-left:2.17647rem;padding-top:8px;padding-bottom:8px;display:inline-flex;width:100%;box-sizing:border-box}.relationships-list.changed.changed[data-v-4c67b8c7]{padding-right:1rem}@media only screen and (max-width:735px){.relationships-list.changed[data-v-4c67b8c7]{padding-left:0;padding-right:0}.relationships-list.changed.changed[data-v-4c67b8c7]{padding-right:17px;padding-left:2.17647rem}}@media only screen and (max-width:735px){.relationships-list.changed[data-v-4c67b8c7]{padding-left:0;padding-right:0}}.relationships-list.changed[data-v-4c67b8c7]:after{margin-top:.61765rem}.relationships-list.changed.column[data-v-4c67b8c7]{display:block;box-sizing:border-box}.relationships-item[data-v-4c67b8c7],.relationships-list[data-v-4c67b8c7]{box-sizing:inherit}.conditional-constraints[data-v-4c67b8c7]{font-size:.82353rem;margin:.17647rem 0 .58824rem 1.17647rem}.availability[data-v-602d8130]{display:flex;flex-flow:row wrap;gap:10px;margin-top:25px}.badge[data-v-602d8130]{margin:0}.technology[data-v-602d8130]{display:inline-flex;align-items:center}.tech-icon[data-v-602d8130]{height:12px;padding-right:5px;fill:var(--badge-color)}.theme-dark .tech-icon[data-v-602d8130]{fill:var(--badge-color)}.beta[data-v-602d8130]{color:var(--color-badge-beta)}.theme-dark .beta[data-v-602d8130]{color:var(--color-badge-dark-beta)}.deprecated[data-v-602d8130]{color:var(--color-badge-deprecated)}.theme-dark .deprecated[data-v-602d8130]{color:var(--color-badge-dark-deprecated)}.changed[data-v-602d8130]{padding-left:26px}.changed[data-v-602d8130]:after{content:none}.changed[data-v-602d8130]:before{background-image:url(../img/modified-icon.f496e73d.svg);background-repeat:no-repeat;bottom:0;content:" ";margin:auto;margin-right:8px;position:absolute;top:0;width:16px;height:16px;left:5px}@media screen{[data-color-scheme=dark] .changed[data-v-602d8130]:before{background-image:url(../img/modified-icon.f496e73d.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .changed[data-v-602d8130]:before{background-image:url(../img/modified-icon.f496e73d.svg)}}.theme-dark .changed[data-v-602d8130]:before{background-image:url(../img/modified-icon.f496e73d.svg)}.changed-added[data-v-602d8130]{border-color:var(--color-changes-added)}.changed-added[data-v-602d8130]:before{background-image:url(../img/added-icon.d6f7e47d.svg)}@media screen{[data-color-scheme=dark] .changed-added[data-v-602d8130]:before{background-image:url(../img/added-icon.d6f7e47d.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .changed-added[data-v-602d8130]:before{background-image:url(../img/added-icon.d6f7e47d.svg)}}.theme-dark .changed-added[data-v-602d8130]:before{background-image:url(../img/added-icon.d6f7e47d.svg)}.changed-deprecated[data-v-602d8130]{border-color:var(--color-changes-deprecated)}.changed-deprecated[data-v-602d8130]:before{background-image:url(../img/deprecated-icon.015b4f17.svg)}@media screen{[data-color-scheme=dark] .changed-deprecated[data-v-602d8130]:before{background-image:url(../img/deprecated-icon.015b4f17.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .changed-deprecated[data-v-602d8130]:before{background-image:url(../img/deprecated-icon.015b4f17.svg)}}.theme-dark .changed-deprecated[data-v-602d8130]:before{background-image:url(../img/deprecated-icon.015b4f17.svg)}.changed-modified[data-v-602d8130]{border-color:var(--color-changes-modified)}.eyebrow[data-v-4492c658]{font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-documentation-intro-eyebrow,#ccc);display:block;margin-bottom:1.17647rem}@media only screen and (max-width:735px){.eyebrow[data-v-4492c658]{font-size:1.11765rem;line-height:1.21053;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.documentation-hero--disabled .eyebrow[data-v-4492c658]{color:var(--colors-secondary-label,var(--color-secondary-label))}.title[data-v-4492c658]{font-size:2.35294rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-documentation-intro-title,#fff);margin-bottom:.70588rem}@media only screen and (max-width:1250px){.title[data-v-4492c658]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-4492c658]{font-size:1.64706rem;line-height:1.14286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.documentation-hero--disabled .title[data-v-4492c658]{color:var(--colors-header-text,var(--color-header-text))}small[data-v-4492c658]{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);padding-left:10px}@media only screen and (max-width:1250px){small[data-v-4492c658]{font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}small[data-v-4492c658]:before{content:attr(data-tag-name)}small.Beta[data-v-4492c658]{color:var(--color-badge-beta)}.theme-dark small.Beta[data-v-4492c658]{color:var(--color-badge-dark-beta)}small.Deprecated[data-v-4492c658]{color:var(--color-badge-deprecated)}.theme-dark small.Deprecated[data-v-4492c658]{color:var(--color-badge-dark-deprecated)}.OnThisPageStickyContainer[data-v-1b6d0048]{margin-top:2.353rem;position:sticky;top:3.82353rem;align-self:flex-start;flex:0 0 auto;width:192px;padding-right:1.29412rem;box-sizing:border-box;padding-bottom:var(--spacing-stacked-margin-small);max-height:calc(100vh - 3.82353rem);overflow:auto}@media print{.OnThisPageStickyContainer[data-v-1b6d0048]{display:none}}@media only screen and (max-width:735px){.OnThisPageStickyContainer[data-v-1b6d0048]{display:none}}.doc-topic[data-v-43c74ad0]{display:flex;flex-direction:column;height:100%}.doc-topic.with-on-this-page[data-v-43c74ad0]{--doc-hero-right-offset:192px}#main[data-v-43c74ad0]{outline-style:none;height:100%}[data-v-43c74ad0] .minimized-title{margin-bottom:.833rem}[data-v-43c74ad0] .minimized-title .title{font-size:1.416rem;font-weight:700}[data-v-43c74ad0] .minimized-title small{font-size:1rem;padding-left:.416rem}.minimized-abstract[data-v-43c74ad0]{font-size:1rem;line-height:1.47059;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.container[data-v-43c74ad0]:not(.minimized-container){outline-style:none}.full-width-container .container[data-v-43c74ad0]:not(.minimized-container){max-width:820px;margin-left:auto;margin-right:auto;padding-left:80px;padding-right:80px;box-sizing:border-box}@media print{.full-width-container .container[data-v-43c74ad0]:not(.minimized-container){padding-left:20px;padding-right:20px;max-width:none}}@media only screen and (min-width:1251px){.full-width-container .container[data-v-43c74ad0]:not(.minimized-container){max-width:980px}}@media only screen and (min-width:1500px){.full-width-container .container[data-v-43c74ad0]:not(.minimized-container){max-width:1080px}}@media only screen and (max-width:735px){.full-width-container .container[data-v-43c74ad0]:not(.minimized-container){width:auto;padding-left:20px;padding-right:20px}}.static-width-container .container[data-v-43c74ad0]:not(.minimized-container){margin-left:auto;margin-right:auto;width:980px}@media only screen and (max-width:1250px){.static-width-container .container[data-v-43c74ad0]:not(.minimized-container){width:692px}}@media only screen and (max-width:735px){.static-width-container .container[data-v-43c74ad0]:not(.minimized-container){width:87.5%}}@media only screen and (max-width:320px){.static-width-container .container[data-v-43c74ad0]:not(.minimized-container){width:215px}}[data-v-43c74ad0] .minimized-container{outline-style:none;--spacing-stacked-margin-large:0.667em;--spacing-stacked-margin-xlarge:1em;--declaration-code-listing-margin:1em 0 0 0;--declaration-conditional-constraints-margin:1em;--declaration-source-link-margin:0.833em;--code-block-style-elements-padding:7px 12px;--spacing-param:var(--spacing-stacked-margin-large);--aside-border-radius:6px;--code-border-radius:6px}[data-v-43c74ad0] .minimized-container .description{margin-bottom:1.5em}[data-v-43c74ad0] .minimized-container>.primary-content>*{margin-top:1.5em;margin-bottom:1.5em}[data-v-43c74ad0] .minimized-container .description{margin-top:0}[data-v-43c74ad0] .minimized-container h1,[data-v-43c74ad0] .minimized-container h2,[data-v-43c74ad0] .minimized-container h3,[data-v-43c74ad0] .minimized-container h4,[data-v-43c74ad0] .minimized-container h5,[data-v-43c74ad0] .minimized-container h6{font-size:1rem;font-weight:700}[data-v-43c74ad0] .minimized-container h2{font-size:1.083rem}[data-v-43c74ad0] .minimized-container h1{font-size:1.416rem}[data-v-43c74ad0] .minimized-container aside{padding:.667rem 1rem}[data-v-43c74ad0] .minimized-container .single-line,[data-v-43c74ad0] .minimized-container .source{border-radius:var(--code-border-radius)}.description[data-v-43c74ad0]{margin-bottom:2.353rem}.description[data-v-43c74ad0]:empty{display:none}.description.after-enhanced-hero[data-v-43c74ad0]{margin-top:2.353rem}.description[data-v-43c74ad0] .content+*{margin-top:var(--spacing-stacked-margin-large)}.full-width-container .doc-content .minimized-container[data-v-43c74ad0]{padding-left:1.4rem;padding-right:1.4rem}[data-v-43c74ad0] .no-primary-content{--content-table-title-border-width:0px}.sample-download[data-v-43c74ad0]{margin-top:20px}.declarations-container[data-v-43c74ad0]{margin-top:30px}.declarations-container.minimized-container[data-v-43c74ad0]{margin-top:0}[data-v-43c74ad0] h1{font-size:2.35294rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-43c74ad0] h1{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){[data-v-43c74ad0] h1{font-size:1.64706rem;line-height:1.14286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-43c74ad0] h2{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-43c74ad0] h2{font-size:1.64706rem;line-height:1.14286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){[data-v-43c74ad0] h2{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-43c74ad0] h3{font-size:1.64706rem;line-height:1.14286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-43c74ad0] h3{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){[data-v-43c74ad0] h3{font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-43c74ad0] h4{font-size:1.41176rem;line-height:1.16667;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-43c74ad0] h4{font-size:1.23529rem;line-height:1.19048;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-43c74ad0] h5{font-size:1.29412rem;line-height:1.18182;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-43c74ad0] h5{font-size:1.17647rem;line-height:1.2;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){[data-v-43c74ad0] h5{font-size:1.05882rem;line-height:1.44444;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-43c74ad0] h6{font-size:1rem;line-height:1.47059;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.doc-content-wrapper[data-v-43c74ad0]{display:flex;justify-content:center}.doc-content-wrapper .doc-content[data-v-43c74ad0]{min-width:0;width:100%}.with-on-this-page .doc-content-wrapper .doc-content[data-v-43c74ad0]{max-width:820px}@media only screen and (min-width:1251px){.with-on-this-page .doc-content-wrapper .doc-content[data-v-43c74ad0]{max-width:980px}}@media only screen and (min-width:1500px){.with-on-this-page .doc-content-wrapper .doc-content[data-v-43c74ad0]{max-width:1080px}}.quick-navigation-open[data-v-53faf852]{display:flex;align-items:center;justify-content:center;width:16px;border:1px solid var(--color-grid);height:100%;border-radius:var(--border-radius,4px);transition:background-color .15s;box-sizing:border-box}.quick-navigation-open[data-v-53faf852]:hover{background-color:var(--color-fill-tertiary)}@media only screen and (max-width:1023px){.quick-navigation-open[data-v-53faf852]{display:none}}.fromkeyboard .quick-navigation-open[data-v-53faf852]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none;border-color:var(--color-focus-border-color)}.tag[data-v-7e76f326]{display:inline-block;padding-right:.58824rem}.tag[data-v-7e76f326]:focus{outline:none}.tag button[data-v-7e76f326]{color:var(--color-figure-gray);background-color:var(--color-fill-tertiary);font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);border-radius:.82353rem;padding:.23529rem .58824rem;white-space:nowrap;border:1px solid transparent}@media (hover:hover){.tag button[data-v-7e76f326]:hover{transition:background-color .2s,color .2s;background-color:var(--color-fill-blue);color:#fff}}.tag button[data-v-7e76f326]:focus:active{background-color:var(--color-fill-blue);color:#fff}.fromkeyboard .tag button[data-v-7e76f326]:focus,.tag button.focus[data-v-7e76f326],.tag button[data-v-7e76f326]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none;border-color:var(--color-focus-border-color)}.tags[data-v-1f2bd813]{position:relative;margin:0;list-style:none;box-sizing:border-box;transition:padding-right .8s,padding-bottom .8s,max-height 1s,opacity 1s;padding:0}.tags .scroll-wrapper[data-v-1f2bd813]{overflow-x:auto;overflow-y:hidden;-ms-overflow-style:none;scrollbar-color:var(--color-figure-gray-tertiary) transparent;scrollbar-width:thin}.tags .scroll-wrapper[data-v-1f2bd813]::-webkit-scrollbar{height:0}@supports not ((-webkit-touch-callout:none) or (scrollbar-width:none) or (-ms-overflow-style:none)){.tags .scroll-wrapper.scrolling[data-v-1f2bd813]{--scrollbar-height:11px;padding-top:var(--scrollbar-height);height:calc(var(--scroll-target-height) - var(--scrollbar-height));display:flex;align-items:center}}.tags .scroll-wrapper.scrolling[data-v-1f2bd813]::-webkit-scrollbar{height:11px}.tags .scroll-wrapper.scrolling[data-v-1f2bd813]::-webkit-scrollbar-thumb{border-radius:10px;background-color:var(--color-figure-gray-tertiary);border:2px solid transparent;background-clip:padding-box}.tags .scroll-wrapper.scrolling[data-v-1f2bd813]::-webkit-scrollbar-track-piece:end{margin-right:8px}.tags .scroll-wrapper.scrolling[data-v-1f2bd813]::-webkit-scrollbar-track-piece:start{margin-left:8px}.tags ul[data-v-1f2bd813]{margin:0;padding:0;display:flex}.filter[data-v-3f01a546]{--input-vertical-padding:.76471rem;--input-horizontal-spacing:.58824rem;--input-height:1.64706rem;--input-border-color:var(--color-fill-gray-secondary);--input-text:var(--color-fill-gray-secondary);position:relative;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:calc(var(--border-radius, 4px) + 1px)}.fromkeyboard .filter[data-v-3f01a546]:focus{outline:none}.filter__top-wrapper[data-v-3f01a546]{display:flex}.filter__filter-button[data-v-3f01a546]{position:relative;z-index:1;cursor:text;margin-left:var(--input-horizontal-spacing);margin-right:.17647rem}@media only screen and (max-width:735px){.filter__filter-button[data-v-3f01a546]{margin-right:.41176rem}}.filter__filter-button .svg-icon[data-v-3f01a546]{fill:var(--input-text);display:block;height:21px}.filter__filter-button.blue[data-v-3f01a546]>*{fill:var(--color-figure-blue);color:var(--color-figure-blue)}.filter.focus .filter__wrapper[data-v-3f01a546]{box-shadow:0 0 0 3pt var(--color-focus-color);--input-border-color:var(--color-fill-blue)}.filter__wrapper[data-v-3f01a546]{border:1px solid var(--input-border-color);background:var(--color-fill);border-radius:var(--border-radius,4px)}.filter__wrapper--reversed[data-v-3f01a546]{display:flex;flex-direction:column-reverse}.filter__wrapper--no-border-style[data-v-3f01a546]{border:none}.filter__suggested-tags[data-v-3f01a546]{border-top:1px solid var(--color-fill-gray-tertiary);z-index:1;overflow:hidden}.filter__suggested-tags[data-v-3f01a546] ul{padding:var(--input-vertical-padding) .52941rem;border:1px solid transparent;border-bottom-left-radius:calc(var(--border-radius, 4px) - 1px);border-bottom-right-radius:calc(var(--border-radius, 4px) - 1px)}.fromkeyboard .filter__suggested-tags[data-v-3f01a546] ul:focus{outline:none;box-shadow:0 0 0 5px var(--color-focus-color)}.filter__wrapper--reversed .filter__suggested-tags[data-v-3f01a546]{border-bottom:1px solid var(--color-fill-gray-tertiary);border-top:none}.filter__selected-tags[data-v-3f01a546]{z-index:1;padding-left:4px;margin:-4px 0}@media only screen and (max-width:735px){.filter__selected-tags[data-v-3f01a546]{padding-left:0}}.filter__selected-tags[data-v-3f01a546] ul{padding:4px}@media only screen and (max-width:735px){.filter__selected-tags[data-v-3f01a546] ul{padding-right:.41176rem}}.filter__selected-tags[data-v-3f01a546] ul .tag:last-child{padding-right:0}.filter__delete-button[data-v-3f01a546]{position:relative;margin:0;z-index:1;border-radius:100%}.fromkeyboard .filter__delete-button[data-v-3f01a546]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none}.filter__delete-button .clear-rounded-icon[data-v-3f01a546]{height:.70588rem;width:.70588rem;fill:var(--input-text);display:block}.filter__delete-button-wrapper[data-v-3f01a546]{display:flex;align-items:center;padding-right:var(--input-horizontal-spacing);padding-left:.17647rem;border-top-right-radius:var(--border-radius,4px);border-bottom-right-radius:var(--border-radius,4px)}.filter__input-label[data-v-3f01a546]{position:relative;flex-grow:1;height:var(--input-height);padding:var(--input-vertical-padding) 0}.filter__input-label[data-v-3f01a546]:after{content:attr(data-value);visibility:hidden;width:auto;white-space:nowrap;min-width:130px;display:block;text-indent:.41176rem}@media only screen and (max-width:735px){.filter__input-label[data-v-3f01a546]:after{text-indent:.17647rem}}.filter__input-box-wrapper[data-v-3f01a546]{overflow-y:hidden;-ms-overflow-style:none;scrollbar-color:var(--color-figure-gray-tertiary) transparent;scrollbar-width:thin;display:flex;overflow-x:auto;align-items:center;cursor:text;flex:1}.filter__input-box-wrapper[data-v-3f01a546]::-webkit-scrollbar{height:0}@supports not ((-webkit-touch-callout:none) or (scrollbar-width:none) or (-ms-overflow-style:none)){.filter__input-box-wrapper.scrolling[data-v-3f01a546]{--scrollbar-height:11px;padding-top:var(--scrollbar-height);height:calc(var(--scroll-target-height) - var(--scrollbar-height));display:flex;align-items:center}}.filter__input-box-wrapper.scrolling[data-v-3f01a546]::-webkit-scrollbar{height:11px}.filter__input-box-wrapper.scrolling[data-v-3f01a546]::-webkit-scrollbar-thumb{border-radius:10px;background-color:var(--color-figure-gray-tertiary);border:2px solid transparent;background-clip:padding-box}.filter__input-box-wrapper.scrolling[data-v-3f01a546]::-webkit-scrollbar-track-piece:end{margin-right:8px}.filter__input-box-wrapper.scrolling[data-v-3f01a546]::-webkit-scrollbar-track-piece:start{margin-left:8px}.filter__input[data-v-3f01a546]{font-size:1.23529rem;line-height:1.38095;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-text);height:var(--input-height);border:none;width:100%;position:absolute;background:transparent;z-index:1;text-indent:.41176rem}@media only screen and (max-width:735px){.filter__input[data-v-3f01a546]{font-size:1.11765rem;line-height:1.42105;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);text-indent:.17647rem}}.filter__input[data-v-3f01a546]:focus{outline:none}.filter__input[placeholder][data-v-3f01a546]::-moz-placeholder{color:var(--input-text);opacity:1}.filter__input[placeholder][data-v-3f01a546]::placeholder{color:var(--input-text);opacity:1}.filter__input[placeholder][data-v-3f01a546]:-ms-input-placeholder{color:var(--input-text)}.filter__input[placeholder][data-v-3f01a546]::-ms-input-placeholder{color:var(--input-text)}.highlight[data-v-1c4190f0]{display:inline}.highlight[data-v-1c4190f0] .match{font-weight:600;background:var(--color-fill-light-blue-secondary)}@media only screen and (max-width:735px){.preview[data-v-6fb5ba95]{display:none}}.unavailable[data-v-6fb5ba95]{align-items:center;display:flex;height:100%;justify-content:center}.loading[data-v-6fb5ba95]{padding:20px}.loading-row[data-v-6fb5ba95]{-webkit-animation:pulse 2.5s ease;animation:pulse 2.5s ease;-webkit-animation-delay:calc(1s + 0.3s*var(--index));animation-delay:calc(1s + 0.3s*var(--index));-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;background-color:var(--color-fill-gray-tertiary);border-radius:4px;height:12px;margin:20px 0;opacity:0}.loading-row[data-v-6fb5ba95]:first-of-type{margin-top:0}.loading-row[data-v-6fb5ba95]:last-of-type{margin-bottom:0}.quick-navigation[data-v-71686791]{--input-border-color:var(--color-grid)}.quick-navigation input[type=text][data-v-71686791]{font-size:1.23529rem;line-height:1.38095;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:735px){.quick-navigation input[type=text][data-v-71686791]{font-size:1.11765rem;line-height:1.42105;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.quick-navigation__filter[data-v-71686791]{--input-horizontal-spacing:.88235rem}.quick-navigation[data-v-71686791] .filter__wrapper{background-color:var(--color-fill-secondary)}.quick-navigation__container[data-v-71686791]{background-color:var(--color-fill-secondary);border:solid 1px var(--input-border-color);border-radius:var(--border-radius,4px);margin:0 .94118rem}.quick-navigation__container>[data-v-71686791]{--input-text:var(--color-figure-gray-secondary)}.quick-navigation__container.focus[data-v-71686791]{box-shadow:0 0 0 4px var(--color-focus-color);outline:none;border-color:var(--color-focus-border-color)}.quick-navigation__magnifier-icon-container[data-v-71686791]{width:1rem}.quick-navigation__magnifier-icon-container>[data-v-71686791]{width:100%}.quick-navigation__magnifier-icon-container.blue .magnifier-icon[data-v-71686791]{fill:var(--color-figure-blue);color:var(--color-figure-blue)}.quick-navigation__match-list[data-v-71686791]{display:flex;max-height:26.47059rem;height:0}.quick-navigation__match-list>[data-v-71686791]{min-width:0}.quick-navigation__match-list.active[data-v-71686791]{height:auto;border-top:1px solid var(--input-border-color)}.quick-navigation__match-list .no-results[data-v-71686791]{margin:.88235rem auto;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.quick-navigation__match-list .selected[data-v-71686791]{background-color:var(--color-navigator-item-hover)}.quick-navigation__refs[data-v-71686791]{flex:1;overflow:auto}.quick-navigation__preview[data-v-71686791]{border-left:1px solid var(--color-grid);flex:0 0 61.8%;overflow:auto;position:sticky;top:0}.quick-navigation__reference[data-v-71686791]:hover{text-decoration:none}.quick-navigation__symbol-match[data-v-71686791]{display:flex;height:2.35294rem;padding:.58824rem .88235rem;color:var(--color-figure-gray)}.quick-navigation__symbol-match[data-v-71686791]:hover{background-color:var(--color-navigator-item-hover)}.quick-navigation__symbol-match .symbol-info[data-v-71686791]{margin:auto;width:100%}.quick-navigation__symbol-match .symbol-info .navigator-icon[data-v-71686791]{margin-right:.58824rem}.quick-navigation__symbol-match .symbol-info .symbol-name[data-v-71686791]{display:flex}.quick-navigation__symbol-match .symbol-info .symbol-name .symbol-title[data-v-71686791]{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quick-navigation__symbol-match .symbol-info .symbol-path[data-v-71686791]{font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-figure-gray-secondary);display:flex;margin-left:1.58824rem;overflow:hidden;white-space:nowrap}.quick-navigation__symbol-match .symbol-info .symbol-path .parent-path[data-v-71686791]{padding-right:.29412rem}@media print{.sidebar[data-v-f3c6416c]{display:none}}.adjustable-sidebar-width[data-v-f3c6416c]{display:flex}@media only screen and (max-width:1023px){.adjustable-sidebar-width[data-v-f3c6416c]{display:block;position:relative}}.adjustable-sidebar-width.dragging[data-v-f3c6416c] *{cursor:col-resize!important}.adjustable-sidebar-width.sidebar-hidden.dragging[data-v-f3c6416c] *{cursor:e-resize!important}.sidebar[data-v-f3c6416c]{position:relative}@media only screen and (max-width:1023px){.sidebar[data-v-f3c6416c]{position:static}}.aside[data-v-f3c6416c]{width:250px;position:relative;height:100%;max-width:100vw}.aside.no-transition[data-v-f3c6416c]{transition:none!important}@media only screen and (min-width:1024px){.aside[data-v-f3c6416c]{transition:width .3s ease-in,visibility 0s linear var(--visibility-transition-time,0s)}.aside.dragging[data-v-f3c6416c]:not(.is-opening-on-large):not(.hide-on-large){transition:none}.aside.hide-on-large[data-v-f3c6416c]{width:0!important;visibility:hidden;pointer-events:none;--visibility-transition-time:.3s}}@media only screen and (max-width:1023px){.aside[data-v-f3c6416c]{width:100%!important;overflow:hidden;min-width:0;max-width:100%;height:calc(var(--app-height) - var(--top-offset-mobile));position:fixed;top:var(--top-offset-mobile);bottom:0;z-index:9998;transform:translateX(-100%);transition:transform .15s ease-in;left:0}.aside[data-v-f3c6416c] .aside-animated-child{opacity:0}.aside.show-on-mobile[data-v-f3c6416c]{transform:translateX(0)}.aside.show-on-mobile[data-v-f3c6416c] .aside-animated-child{--index:0;opacity:1;transition:opacity .15s linear;transition-delay:calc(var(--index)*0.15s + .15s)}.aside.has-mobile-top-offset[data-v-f3c6416c]{border-top:1px solid var(--color-fill-gray-tertiary)}}.content[data-v-f3c6416c]{display:flex;flex-flow:column;min-width:0;flex:1 1 auto;height:100%}.resize-handle[data-v-f3c6416c]{position:absolute;cursor:col-resize;top:0;bottom:0;right:0;width:5px;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:1;transition:background-color .15s;transform:translateX(50%)}@media only screen and (max-width:1023px){.resize-handle[data-v-f3c6416c]{display:none}}.resize-handle[data-v-f3c6416c]:hover{background:var(--color-fill-gray-tertiary)}.navigator-card-item[data-v-0b9fe514]{--nav-head-wrapper-left-space:10px;--nav-head-wrapper-right-space:20px;--head-wrapper-vertical-space:5px;--nav-depth-spacer:25px;--nesting-index:0;display:flex;align-items:stretch;min-height:32px;box-sizing:border-box}.fromkeyboard .navigator-card-item[data-v-0b9fe514]:focus-within{outline:4px solid var(--color-focus-color);outline-offset:-4px}.navigator-card-item.active[data-v-0b9fe514]{background:var(--color-fill-gray-quaternary)}.hover .navigator-card-item[data-v-0b9fe514]:not(.is-group){background:var(--color-navigator-item-hover)}.depth-spacer[data-v-0b9fe514]{width:calc(var(--nesting-index)*15px + var(--nav-depth-spacer));height:100%;position:relative;flex:0 0 auto}.title-container[data-v-0b9fe514]{width:100%;min-width:0;display:flex;align-items:center}.navigator-icon-wrapper[data-v-0b9fe514]{margin-right:7px}.head-wrapper[data-v-0b9fe514]{padding:var(--head-wrapper-vertical-space) var(--nav-head-wrapper-right-space) var(--head-wrapper-vertical-space) var(--nav-head-wrapper-left-space);position:relative;display:flex;align-items:center;flex:1;min-width:0}@supports (padding:max(0px)){.head-wrapper[data-v-0b9fe514]{padding-left:max(var(--nav-head-wrapper-left-space),env(safe-area-inset-left));padding-right:max(var(--nav-head-wrapper-right-space),env(safe-area-inset-right))}}.highlight[data-v-d75876e2]{display:inline}.highlight[data-v-d75876e2] .match{font-weight:600;background:var(--color-fill-light-blue-secondary)}.is-group .leaf-link[data-v-0c96ff75]{color:var(--color-figure-gray-secondary);font-weight:600}.is-group .leaf-link[data-v-0c96ff75]:after{display:none}.navigator-icon[data-v-0c96ff75]{display:flex;flex:0 0 auto}.navigator-icon.changed[data-v-0c96ff75]{border:none;width:1em;height:1em;z-index:0}.navigator-icon.changed[data-v-0c96ff75]:after{top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);background-image:url(../img/modified-icon.f496e73d.svg);margin:0}@media screen{[data-color-scheme=dark] .navigator-icon.changed[data-v-0c96ff75]:after{background-image:url(../img/modified-icon.f496e73d.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .navigator-icon.changed[data-v-0c96ff75]:after{background-image:url(../img/modified-icon.f496e73d.svg)}}.navigator-icon.changed-added[data-v-0c96ff75]:after{background-image:url(../img/added-icon.d6f7e47d.svg)}@media screen{[data-color-scheme=dark] .navigator-icon.changed-added[data-v-0c96ff75]:after{background-image:url(../img/added-icon.d6f7e47d.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .navigator-icon.changed-added[data-v-0c96ff75]:after{background-image:url(../img/added-icon.d6f7e47d.svg)}}.navigator-icon.changed-deprecated[data-v-0c96ff75]:after{background-image:url(../img/deprecated-icon.015b4f17.svg)}@media screen{[data-color-scheme=dark] .navigator-icon.changed-deprecated[data-v-0c96ff75]:after{background-image:url(../img/deprecated-icon.015b4f17.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .navigator-icon.changed-deprecated[data-v-0c96ff75]:after{background-image:url(../img/deprecated-icon.015b4f17.svg)}}.leaf-link[data-v-0c96ff75]{color:var(--color-figure-gray);text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:inline;vertical-align:middle;font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.fromkeyboard .leaf-link[data-v-0c96ff75]:focus{outline:none}.leaf-link[data-v-0c96ff75]:hover{text-decoration:none}.leaf-link.bolded[data-v-0c96ff75]{font-weight:600}.leaf-link[data-v-0c96ff75]:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0}.extended-content[data-v-0c96ff75]{font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-figure-gray-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tree-toggle[data-v-0c96ff75]{overflow:hidden;position:absolute;width:100%;height:100%;padding-right:5px;box-sizing:border-box;z-index:1;display:flex;align-items:center;justify-content:flex-end}.chevron[data-v-0c96ff75]{width:10px}.chevron.animating[data-v-0c96ff75]{transition:transform .15s ease-in}.chevron.rotate[data-v-0c96ff75]{transform:rotate(90deg)}.navigator-card[data-v-24789ed0]{--card-vertical-spacing:8px;--card-horizontal-spacing:20px;--nav-filter-horizontal-padding:20px;--visibility-delay:1s;display:flex;flex-direction:column;min-height:0;height:calc(var(--app-height) - var(--nav-height, 0px));position:sticky;top:var(--nav-height,0)}@media only screen and (max-width:1023px){.navigator-card[data-v-24789ed0]{height:100%;position:static;background:var(--color-fill)}}.navigator-card .navigator-card-full-height[data-v-24789ed0]{min-height:0;flex:1 1 auto}.navigator-card .head-inner[data-v-24789ed0]{overflow:hidden}.navigator-card .head-wrapper[data-v-24789ed0]{position:relative;flex:1 0 auto}.navigator-card .navigator-head[data-v-24789ed0]{--navigator-head-padding-right:calc(var(--card-horizontal-spacing)*2 + 19px);padding:0 var(--navigator-head-padding-right) 0 var(--card-horizontal-spacing);background:var(--color-fill);border-bottom:1px solid var(--color-grid);display:flex;align-items:center;height:3.05882rem;white-space:nowrap}.navigator-card .navigator-head .card-link[data-v-24789ed0]{color:var(--color-text);font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);font-weight:600;overflow:hidden;text-overflow:ellipsis}.navigator-card .navigator-head .badge[data-v-24789ed0]{margin-top:0}.navigator-card .navigator-head.router-link-exact-active[data-v-24789ed0]{background:var(--color-fill)}.navigator-card .navigator-head.router-link-exact-active .card-link[data-v-24789ed0]{font-weight:700}.navigator-card .navigator-head[data-v-24789ed0]:hover{background:var(--color-navigator-item-hover);text-decoration:none}@supports (padding:max(0px)){.navigator-card .navigator-head[data-v-24789ed0]{padding-left:max(var(--card-horizontal-spacing),env(safe-area-inset-left));padding-right:max(var(--navigator-head-padding-right),env(safe-area-inset-right))}}@media only screen and (max-width:1023px){.navigator-card .navigator-head[data-v-24789ed0]{justify-content:center;--navigator-head-padding-right:var(--card-horizontal-spacing)}}@media only screen and (max-width:767px){.navigator-card .navigator-head[data-v-24789ed0]{height:2.82353rem;padding:0 20px}}.close-card[data-v-24789ed0]{display:flex;position:absolute;z-index:1;align-items:center;justify-content:center;right:1rem;padding:5px;margin-left:-5px;top:calc(50% - 14px);transition:transform .3s ease-in 0s,visibility 0s}@media only screen and (max-width:1023px){.close-card[data-v-24789ed0]{right:unset;top:0;left:0;margin:0;padding:0 1.29412rem 0 20px;height:100%}@supports (padding:max(0px)){.close-card[data-v-24789ed0]{padding-left:max(1.29412rem,env(safe-area-inset-left))}}}@media only screen and (max-width:767px){.close-card[data-v-24789ed0]{padding-left:.94118rem;padding-right:.94118rem}@supports (padding:max(0px)){.close-card[data-v-24789ed0]{padding-left:max(.94118rem,env(safe-area-inset-left))}}}.close-card .close-icon[data-v-24789ed0]{width:19px;height:19px}@media only screen and (min-width:1024px){.close-card.hide-on-large[data-v-24789ed0]{display:none}.close-card[data-v-24789ed0]:hover{border-radius:var(--border-radius,4px);background:var(--color-fill-gray-quaternary)}.sidebar-hidden .close-card[data-v-24789ed0]{transition:transform .3s ease-in 0s,visibility 0s linear .3s;visibility:hidden;transform:translateX(3.76471rem)}}[data-v-24789ed0] .card-body{padding-right:0;flex:1 1 auto;min-height:0;height:100%}@media only screen and (max-width:1023px){[data-v-24789ed0] .card-body{--card-vertical-spacing:0px}}.navigator-card-inner[data-v-24789ed0]{display:flex;flex-flow:column;height:100%}.vue-recycle-scroller{position:relative}.vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.vue-recycle-scroller.direction-horizontal{display:-webkit-box;display:-ms-flexbox;display:flex}.vue-recycle-scroller__slot{-webkit-box-flex:1;-ms-flex:auto 0 0px;flex:auto 0 0}.vue-recycle-scroller__item-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;position:relative}.vue-recycle-scroller.ready .vue-recycle-scroller__item-view{position:absolute;top:0;left:0;will-change:transform}.vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.resize-observer[data-v-b329ee4c]{border:none;background-color:transparent;opacity:0}.resize-observer[data-v-b329ee4c],.resize-observer[data-v-b329ee4c] object{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;pointer-events:none;display:block;overflow:hidden}.navigator-card.filter-on-top .filter-wrapper[data-v-1543892a]{order:1;position:static}.navigator-card.filter-on-top .card-body[data-v-1543892a]{order:2}.no-items-wrapper[data-v-1543892a]{overflow:hidden;color:var(--color-figure-gray-tertiary)}.no-items-wrapper .no-items[data-v-1543892a]{font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);padding:var(--card-vertical-spacing) var(--card-horizontal-spacing);min-width:200px;box-sizing:border-box}.navigator-filter[data-v-1543892a]{box-sizing:border-box;padding:15px var(--nav-filter-horizontal-padding);border-top:1px solid var(--color-grid);height:71px;display:flex;align-items:flex-end}.filter-on-top .navigator-filter[data-v-1543892a]{border-top:none;align-items:flex-start}@supports (padding:max(0px)){.navigator-filter[data-v-1543892a]{padding-left:max(var(--nav-filter-horizontal-padding),env(safe-area-inset-left));padding-right:max(var(--nav-filter-horizontal-padding),env(safe-area-inset-right))}}@media only screen and (max-width:1023px){.navigator-filter[data-v-1543892a]{--nav-filter-horizontal-padding:20px;border:none;padding-top:10px;padding-bottom:10px;height:60px}}.navigator-filter .input-wrapper[data-v-1543892a]{position:relative;flex:1;min-width:0}.navigator-filter .filter-component[data-v-1543892a]{--input-vertical-padding:8px;--input-height:22px;--input-border-color:var(--color-grid);--input-text:var(--color-figure-gray-secondary)}.navigator-filter .filter-component[data-v-1543892a] .filter__input{font-size:1rem;line-height:1.47059;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.scroller[data-v-1543892a]{height:100%;box-sizing:border-box;padding:var(--card-vertical-spacing) 0;padding-bottom:calc(var(--top-offset, 0px) + var(--card-vertical-spacing));transition:padding-bottom .15s ease-in}@media only screen and (max-width:1023px){.scroller[data-v-1543892a]{padding-bottom:10em}}.scroller[data-v-1543892a] .vue-recycle-scroller__item-wrapper{transform:translateZ(0)}.filter-wrapper[data-v-1543892a]{position:sticky;bottom:0;background:var(--color-fill)}.sidebar-transitioning .filter-wrapper[data-v-1543892a]{flex:1 0 71px;overflow:hidden}@media only screen and (max-width:1023px){.sidebar-transitioning .filter-wrapper[data-v-1543892a]{flex-basis:60px}}.loader[data-v-0de29914]{height:.70588rem;background-color:var(--color-fill-gray-tertiary);border-radius:4px}.navigator-icon[data-v-0de29914]{width:16px;height:16px;border-radius:2px;background-color:var(--color-fill-gray-tertiary)}.loading-navigator-item[data-v-0de29914]{-webkit-animation:pulse 2.5s ease;animation:pulse 2.5s ease;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;opacity:0;-webkit-animation-delay:calc(var(--visibility-delay) + 0.3s*var(--index));animation-delay:calc(var(--visibility-delay) + 0.3s*var(--index))}.delay-visibility-enter-active[data-v-4b6d345f]{transition:visibility var(--visibility-delay);visibility:hidden}.loading-navigator[data-v-4b6d345f]{padding-top:var(--card-vertical-spacing)}.navigator[data-v-159b9764]{height:100%;display:flex;flex-flow:column}@media only screen and (max-width:1023px){.navigator[data-v-159b9764]{position:static;transition:none}}.hierarchy-collapsed-items[data-v-74906830]{position:relative;display:inline-flex;align-items:center;margin-left:.17647rem}.hierarchy-collapsed-items .hierarchy-item-icon[data-v-74906830]{width:9px;height:15px;margin-right:.17647rem;display:flex;justify-content:center;font-size:1em;align-self:baseline}.nav--in-breakpoint-range .hierarchy-collapsed-items[data-v-74906830]{display:none}.hierarchy-collapsed-items .toggle[data-v-74906830]{background:var(--color-nav-hierarchy-collapse-background);border-color:var(--color-nav-hierarchy-collapse-borders);border-radius:var(--border-radius,4px);border-style:solid;border-width:0;font-weight:600;height:1.11765rem;text-align:center;width:2.11765rem;display:flex;align-items:center;justify-content:center}.theme-dark .hierarchy-collapsed-items .toggle[data-v-74906830]{background:var(--color-nav-dark-hierarchy-collapse-background)}.hierarchy-collapsed-items .toggle.focused[data-v-74906830],.hierarchy-collapsed-items .toggle[data-v-74906830]:active,.hierarchy-collapsed-items .toggle[data-v-74906830]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none}.indicator[data-v-74906830]{width:1em;height:1em;display:flex;align-items:center}.indicator .toggle-icon[data-v-74906830]{width:100%}.dropdown[data-v-74906830]{background:var(--color-nav-hierarchy-collapse-background);border-color:var(--color-nav-hierarchy-collapse-borders);border-radius:var(--border-radius,4px);border-style:solid;box-shadow:0 1px 4px -1px var(--color-figure-gray-secondary);border-width:0;padding:0 .5rem;position:absolute;z-index:42;top:calc(100% + .41176rem)}.theme-dark .dropdown[data-v-74906830]{background:var(--color-nav-dark-hierarchy-collapse-background);border-color:var(--color-nav-dark-hierarchy-collapse-borders)}.dropdown.collapsed[data-v-74906830]{opacity:0;transform:translate3d(0,-.41176rem,0);transition:opacity .25s ease,transform .25s ease,visibility 0s linear .25s;visibility:hidden}.dropdown[data-v-74906830]:not(.collapsed){opacity:1;transform:none;transition:opacity .25s ease,transform .25s ease,visibility 0s linear 0s;visibility:visible}.nav--in-breakpoint-range .dropdown[data-v-74906830]:not(.collapsed){display:none}.dropdown[data-v-74906830]:before{border-bottom-color:var(--color-nav-hierarchy-collapse-background);border-bottom-style:solid;border-bottom-width:.5rem;border-left-color:transparent;border-left-style:solid;border-left-width:.5rem;border-right-color:transparent;border-right-style:solid;border-right-width:.5rem;content:"";left:1.26471rem;position:absolute;top:-.44118rem}.theme-dark .dropdown[data-v-74906830]:before{border-bottom-color:var(--color-nav-dark-hierarchy-collapse-background)}.dropdown-item[data-v-74906830]{border-top-color:var(--color-nav-hierarchy-collapse-borders);border-top-style:solid;border-top-width:1px}.theme-dark .dropdown-item[data-v-74906830]{border-top-color:var(--color-nav-dark-hierarchy-collapse-borders)}.dropdown-item[data-v-74906830]:first-child{border-top:none}.nav-menu-link[data-v-74906830]{max-width:57.64706rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;padding:.75rem 1rem}.hierarchy-item[data-v-382bf39e]{display:flex;align-items:center;margin-left:.17647rem}.hierarchy-item[data-v-382bf39e] .hierarchy-item-icon{width:9px;height:15px;margin-right:.17647rem;display:flex;justify-content:center;font-size:1em;align-self:baseline}.nav--in-breakpoint-range .hierarchy-item[data-v-382bf39e] .hierarchy-item-icon{display:none}.nav--in-breakpoint-range .hierarchy-item[data-v-382bf39e]{border-top:1px solid var(--color-nav-hierarchy-item-borders);display:flex;align-items:center}.theme-dark.nav--in-breakpoint-range .hierarchy-item[data-v-382bf39e]{border-top-color:var(--color-nav-dark-hierarchy-item-borders)}.nav--in-breakpoint-range .hierarchy-item[data-v-382bf39e]:first-of-type{border-top:none}.hierarchy-item.collapsed[data-v-382bf39e]{display:none}.nav--in-breakpoint-range .hierarchy-item.collapsed[data-v-382bf39e]{display:inline-block}.item[data-v-382bf39e]{display:inline-block;vertical-align:middle}.nav--in-breakpoint-range .item[data-v-382bf39e]{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:100%;line-height:2.47059rem}@media only screen and (min-width:768px){.hierarchy-item:first-child:last-child .item[data-v-382bf39e],.hierarchy-item:first-child:last-child~.hierarchy-item .item[data-v-382bf39e]{max-width:45rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.has-badge .hierarchy-item:first-child:last-child .item[data-v-382bf39e],.has-badge .hierarchy-item:first-child:last-child~.hierarchy-item .item[data-v-382bf39e],.hierarchy-item:first-child:nth-last-child(2) .item[data-v-382bf39e],.hierarchy-item:first-child:nth-last-child(2)~.hierarchy-item .item[data-v-382bf39e]{max-width:36rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.has-badge .hierarchy-item:first-child:nth-last-child(2) .item[data-v-382bf39e],.has-badge .hierarchy-item:first-child:nth-last-child(2)~.hierarchy-item .item[data-v-382bf39e]{max-width:28.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hierarchy-item:first-child:nth-last-child(3) .item[data-v-382bf39e],.hierarchy-item:first-child:nth-last-child(3)~.hierarchy-item .item[data-v-382bf39e]{max-width:27rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.has-badge .hierarchy-item:first-child:nth-last-child(3) .item[data-v-382bf39e],.has-badge .hierarchy-item:first-child:nth-last-child(3)~.hierarchy-item .item[data-v-382bf39e]{max-width:21.6rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hierarchy-item:first-child:nth-last-child(4) .item[data-v-382bf39e],.hierarchy-item:first-child:nth-last-child(4)~.hierarchy-item .item[data-v-382bf39e]{max-width:18rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.has-badge .hierarchy-item:first-child:nth-last-child(4) .item[data-v-382bf39e],.has-badge .hierarchy-item:first-child:nth-last-child(4)~.hierarchy-item .item[data-v-382bf39e]{max-width:14.4rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hierarchy-item:first-child:nth-last-child(5) .item[data-v-382bf39e],.hierarchy-item:first-child:nth-last-child(5)~.hierarchy-item .item[data-v-382bf39e]{max-width:9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.has-badge .hierarchy-item:first-child:nth-last-child(5) .item[data-v-382bf39e],.has-badge .hierarchy-item:first-child:nth-last-child(5)~.hierarchy-item .item[data-v-382bf39e]{max-width:7.2rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hierarchy-collapsed-items~.hierarchy-item .item[data-v-382bf39e]{max-width:10.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hierarchy-collapsed-items~.hierarchy-item:last-child .item[data-v-382bf39e]{max-width:none}.has-badge .hierarchy-collapsed-items~.hierarchy-item .item[data-v-382bf39e]{max-width:8.64rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.hierarchy[data-v-c2bd6086]{justify-content:flex-start;min-width:0;margin-right:80px}.nav--in-breakpoint-range .hierarchy[data-v-c2bd6086]{margin-right:0}.hierarchy .root-hierarchy .item[data-v-c2bd6086]{max-width:10rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-menu-setting-label[data-v-d12167e0]{margin-right:.35294rem;white-space:nowrap}.language-container[data-v-d12167e0]{flex:1 0 auto}.language-dropdown[data-v-d12167e0]{-webkit-text-size-adjust:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background-color:transparent;box-sizing:inherit;padding:0 11px 0 4px;margin-left:-4px;font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);cursor:pointer;position:relative;z-index:1}@media only screen and (max-width:1023px){.language-dropdown[data-v-d12167e0]{font-size:.82353rem;line-height:1.5;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.language-dropdown[data-v-d12167e0]:focus{outline:none}.fromkeyboard .language-dropdown[data-v-d12167e0]:focus{outline:4px solid var(--color-focus-color);outline-offset:1px}.language-sizer[data-v-d12167e0]{position:absolute;opacity:0;pointer-events:none;padding:0}.language-toggle-container[data-v-d12167e0]{display:flex;align-items:center;padding-right:.17647rem;position:relative}.nav--in-breakpoint-range .language-toggle-container[data-v-d12167e0]{display:none}.language-toggle-container .toggle-icon[data-v-d12167e0]{width:.6em;height:.6em;position:absolute;right:7px}.language-toggle-label[data-v-d12167e0]{margin-right:2px}.language-toggle.nav-menu-toggle-label[data-v-d12167e0]{margin-right:6px}.language-list[data-v-d12167e0]{display:inline-block;margin-top:0}.language-list-container[data-v-d12167e0]{display:none}.language-list-item[data-v-d12167e0],.nav--in-breakpoint-range .language-list-container[data-v-d12167e0]{display:inline-block}.language-list-item[data-v-d12167e0]:not(:first-child){border-left:1px solid #424242;margin-left:6px;padding-left:6px}[data-v-138d523a] .nav-menu{line-height:1.5}[data-v-138d523a] .nav-menu,[data-v-138d523a] .nav-menu-settings{font-size:.82353rem;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}[data-v-138d523a] .nav-menu-settings{min-width:0;line-height:1.28571}@media only screen and (max-width:1023px){[data-v-138d523a] .nav-menu-settings{font-size:.82353rem;line-height:1.5;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (min-width:1024px){[data-v-138d523a] .nav-menu-settings{margin-left:.58824rem}}.nav--in-breakpoint-range[data-v-138d523a] .nav-menu-settings:not([data-previous-menu-children-count="0"]) .nav-menu-setting:first-child{border-top:1px solid #b0b0b0;display:flex;align-items:center}[data-v-138d523a] .nav-menu-settings .nav-menu-setting{display:flex;align-items:center;color:var(--color-nav-current-link);margin-left:0;min-width:0}[data-v-138d523a] .nav-menu-settings .nav-menu-setting:first-child:not(:only-child){margin-right:.58824rem}.nav--in-breakpoint-range[data-v-138d523a] .nav-menu-settings .nav-menu-setting:first-child:not(:only-child){margin-right:0}.theme-dark[data-v-138d523a] .nav-menu-settings .nav-menu-setting{color:var(--color-nav-dark-current-link)}.nav--in-breakpoint-range[data-v-138d523a] .nav-menu-settings .nav-menu-setting:not(:first-child){border-top:1px solid #424242}.documentation-nav[data-v-138d523a] .nav-title{font-size:.82353rem;line-height:1.5;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.documentation-nav[data-v-138d523a] .nav-title .nav-title-link.inactive{height:auto;color:var(--color-figure-gray-secondary-alt)}.theme-dark.documentation-nav .nav-title .nav-title-link.inactive[data-v-138d523a]{color:#b0b0b0}.sidenav-toggle-wrapper[data-v-138d523a]{display:flex;margin-top:1px}.nav--in-breakpoint-range .sidenav-toggle-wrapper[data-v-138d523a]{display:flex!important}@media only screen and (min-width:1024px){.sidenav-toggle-enter-active[data-v-138d523a],.sidenav-toggle-leave-active[data-v-138d523a]{transition:margin .3s ease-in 0s}.sidenav-toggle-enter[data-v-138d523a],.sidenav-toggle-leave-to[data-v-138d523a]{margin-left:-3.76471rem}}.sidenav-toggle[data-v-138d523a]{align-self:center;color:var(--color-nav-link-color);position:relative;margin:-5px}.theme-dark .sidenav-toggle[data-v-138d523a]{color:var(--color-nav-dark-link-color)}.sidenav-toggle:hover .sidenav-icon-wrapper[data-v-138d523a]{background:var(--color-fill-gray-quaternary)}.theme-dark .sidenav-toggle:hover .sidenav-icon-wrapper[data-v-138d523a]{background:#424242}.sidenav-toggle__separator[data-v-138d523a]{height:.8em;width:1px;background:var(--color-nav-color);align-self:center;margin:0 1.29412rem}.nav--in-breakpoint-range .sidenav-toggle[data-v-138d523a]{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px;align-self:stretch}.nav--in-breakpoint-range .sidenav-toggle__separator[data-v-138d523a]{display:none}.sidenav-icon-wrapper[data-v-138d523a]{padding:5px;display:flex;align-items:center;justify-content:center;border-radius:var(--border-radius,4px)}.sidenav-icon[data-v-138d523a]{display:flex;width:19px;height:19px}[data-v-4a89caca] .generic-modal{overflow-y:overlay}[data-v-4a89caca] .modal-fullscreen>.container{background-color:transparent;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;flex:auto;margin:9.41176rem 0;max-width:47.05882rem;overflow:visible}[data-v-4a89caca] .navigator-filter .quick-navigation-open{margin-left:var(--nav-filter-horizontal-padding);width:calc(var(--nav-filter-horizontal-padding)*2)}.doc-topic-view[data-v-4a89caca]{--delay:1s;display:flex;flex-flow:column;background:var(--colors-text-background,var(--color-text-background))}.doc-topic-view .delay-hiding-leave-active[data-v-4a89caca]{transition:display var(--delay)}.doc-topic-aside[data-v-4a89caca]{height:100%;box-sizing:border-box;border-right:1px solid var(--color-grid)}@media only screen and (max-width:1023px){.doc-topic-aside[data-v-4a89caca]{background:var(--color-fill);border-right:none}.sidebar-transitioning .doc-topic-aside[data-v-4a89caca]{border-right:1px solid var(--color-grid)}}.topic-wrapper[data-v-4a89caca]{flex:1 1 auto;width:100%}.full-width-container[data-v-4a89caca]{max-width:1920px;margin-left:auto;margin-right:auto}@media only screen and (min-width:1920px){.full-width-container[data-v-4a89caca]{border-left:1px solid var(--color-grid);border-right:1px solid var(--color-grid);box-sizing:border-box}} \ No newline at end of file diff --git a/css/documentation-topic~topic.b6287bcf.css b/css/documentation-topic~topic.b6287bcf.css new file mode 100644 index 0000000..d2a4800 --- /dev/null +++ b/css/documentation-topic~topic.b6287bcf.css @@ -0,0 +1,9 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */.generic-modal[data-v-795f7b59]{position:fixed;top:0;left:0;right:0;bottom:0;margin:0;z-index:11000;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;background:none;overflow:auto}.modal-fullscreen[data-v-795f7b59]{align-items:stretch}.modal-fullscreen .container[data-v-795f7b59]{margin:0;flex:1;width:100%;height:100%;padding-top:env(safe-area-inset-top);padding-right:env(safe-area-inset-right);padding-bottom:env(safe-area-inset-bottom);padding-left:env(safe-area-inset-left)}.modal-standard[data-v-795f7b59]{padding:20px}.modal-standard .container[data-v-795f7b59]{padding:60px;border-radius:var(--border-radius,4px)}@media screen{[data-color-scheme=dark] .modal-standard .container[data-v-795f7b59]{background:#1d1d1f}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .modal-standard .container[data-v-795f7b59]{background:#1d1d1f}}@media only screen and (max-width:735px){.modal-standard[data-v-795f7b59]{padding:0;align-items:stretch}.modal-standard .container[data-v-795f7b59]{margin:20px 0 0;padding:50px 30px;flex:1;width:100%;border-bottom-left-radius:0;border-bottom-right-radius:0}}.backdrop[data-v-795f7b59]{overflow:auto;background:var(--backdrop-background,rgba(0,0,0,.4));-webkit-overflow-scrolling:touch;width:100%;height:100%;position:fixed}.container[data-v-795f7b59]{margin-left:auto;margin-right:auto;width:980px;background:var(--colors-generic-modal-background,var(--color-generic-modal-background));z-index:1;position:relative;overflow:auto;max-width:100%}@media only screen and (max-width:1250px){.container[data-v-795f7b59]{width:692px}}@media only screen and (max-width:735px){.container[data-v-795f7b59]{width:87.5%}}@media only screen and (max-width:320px){.container[data-v-795f7b59]{width:215px}}.close[data-v-795f7b59]{position:absolute;z-index:9999;top:22px;left:22px;width:17px;height:17px;color:#666;cursor:pointer;background:none;border:0;display:flex;align-items:center}.close .close-icon[data-v-795f7b59]{fill:currentColor;width:100%;height:100%}.theme-dark .container[data-v-795f7b59]{background:#000}.theme-dark .container .close[data-v-795f7b59]{color:#b0b0b0}.theme-code .container[data-v-795f7b59]{background-color:var(--code-background,var(--color-code-background))} \ No newline at end of file diff --git a/css/documentation-topic~topic~tutorials-overview.d6f5411c.css b/css/documentation-topic~topic~tutorials-overview.d6f5411c.css new file mode 100644 index 0000000..f81c8dc --- /dev/null +++ b/css/documentation-topic~topic~tutorials-overview.d6f5411c.css @@ -0,0 +1,9 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */aside[data-v-3ccce809]{-moz-column-break-inside:avoid;break-inside:avoid;border-radius:var(--aside-border-radius,var(--border-radius,4px));border-style:var(--aside-border-style,solid);border-width:var(--aside-border-width,0 0 0 6px);padding:.94118rem;text-align:start}aside .label[data-v-3ccce809]{font-size:1rem;line-height:1.52941;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}aside .label+[data-v-3ccce809]{margin-top:var(--spacing-stacked-margin-small)}aside.deprecated[data-v-3ccce809]{background-color:var(--color-aside-deprecated-background);border-color:var(--color-aside-deprecated-border);box-shadow:0 0 0 0 var(--color-aside-deprecated-border) inset,0 0 0 0 var(--color-aside-deprecated-border)}aside.deprecated .label[data-v-3ccce809]{color:var(--color-aside-deprecated)}aside.experiment[data-v-3ccce809]{background-color:var(--color-aside-experiment-background);border-color:var(--color-aside-experiment-border);box-shadow:0 0 0 0 var(--color-aside-experiment-border) inset,0 0 0 0 var(--color-aside-experiment-border)}aside.experiment .label[data-v-3ccce809]{color:var(--color-aside-experiment)}aside.important[data-v-3ccce809]{background-color:var(--color-aside-important-background);border-color:var(--color-aside-important-border);box-shadow:0 0 0 0 var(--color-aside-important-border) inset,0 0 0 0 var(--color-aside-important-border)}aside.important .label[data-v-3ccce809]{color:var(--color-aside-important)}aside.note[data-v-3ccce809]{background-color:var(--color-aside-note-background);border-color:var(--color-aside-note-border);box-shadow:0 0 0 0 var(--color-aside-note-border) inset,0 0 0 0 var(--color-aside-note-border)}aside.note .label[data-v-3ccce809]{color:var(--color-aside-note)}aside.tip[data-v-3ccce809]{background-color:var(--color-aside-tip-background);border-color:var(--color-aside-tip-border);box-shadow:0 0 0 0 var(--color-aside-tip-border) inset,0 0 0 0 var(--color-aside-tip-border)}aside.tip .label[data-v-3ccce809]{color:var(--color-aside-tip)}aside.warning[data-v-3ccce809]{background-color:var(--color-aside-warning-background);border-color:var(--color-aside-warning-border);box-shadow:0 0 0 0 var(--color-aside-warning-border) inset,0 0 0 0 var(--color-aside-warning-border)}aside.warning .label[data-v-3ccce809]{color:var(--color-aside-warning)}code[data-v-08295b2f]:before{content:attr(data-before-code)}code[data-v-08295b2f]:after{content:attr(data-after-code)}code[data-v-08295b2f]:after,code[data-v-08295b2f]:before{display:block;position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(0 0 99.9% 99.9%);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}.swift-file-icon.file-icon[data-v-c01a6890]{height:1rem}.file-icon[data-v-7c381064]{position:relative;align-items:flex-end;height:24px;margin:0 .5rem 0 1rem}.filename[data-v-c8c40662]{color:var(--text,var(--colors-secondary-label,var(--color-secondary-label)));font-size:.94118rem;line-height:1.1875;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin-top:1rem}@media only screen and (max-width:735px){.filename[data-v-c8c40662]{font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin-top:0}}.filename>a[data-v-c8c40662],.filename>span[data-v-c8c40662]{display:flex;align-items:center;line-height:normal}a[data-v-c8c40662]{color:var(--url,var(--color-link))}.code-line-container[data-v-59f42f5b]{display:inline-block;width:100%;box-sizing:border-box}.code-number[data-v-59f42f5b]{display:inline-block;padding:0 1rem 0 8px;text-align:right;min-width:2em;color:#666;-webkit-user-select:none;-moz-user-select:none;user-select:none}.code-number[data-v-59f42f5b]:before{content:attr(data-line-number)}.highlighted[data-v-59f42f5b]{background:var(--line-highlight,var(--color-code-line-highlight));border-left:4px solid var(--color-code-line-highlight-border)}.highlighted .code-number[data-v-59f42f5b]{padding-left:4px}pre[data-v-59f42f5b]{padding:14px 0;display:flex;overflow:unset;-webkit-overflow-scrolling:touch;white-space:pre;word-wrap:normal;height:100%}@media only screen and (max-width:735px){pre[data-v-59f42f5b]{padding-top:.82353rem}}code[data-v-59f42f5b]{white-space:pre;word-wrap:normal;flex-grow:9999}.code-listing[data-v-59f42f5b],.container-general[data-v-59f42f5b]{display:flex}.code-listing[data-v-59f42f5b]{flex-direction:column;min-height:100%;border-radius:var(--code-border-radius,var(--border-radius,4px));overflow:hidden;filter:blur(0)}.code-listing.single-line[data-v-59f42f5b]{border-radius:var(--border-radius,4px)}.container-general[data-v-59f42f5b]{overflow:auto}.container-general[data-v-59f42f5b],pre[data-v-59f42f5b]{flex-grow:1}.header-anchor[data-v-6007a8a4]{color:inherit;text-decoration:none;position:relative;padding-right:23px;display:inline-block}.header-anchor .icon[data-v-6007a8a4]{position:absolute;right:0;bottom:.2em;display:none;height:16px;margin-left:7px}.header-anchor:focus .icon[data-v-6007a8a4],.header-anchor:hover .icon[data-v-6007a8a4]{display:inline}code[data-v-05f4a5b7]{speak-punctuation:code}.container-general[data-v-25a17a0e]{display:flex;flex-flow:row wrap}.container-general .code-line[data-v-25a17a0e]{flex:1 0 auto}.code-line-container[data-v-25a17a0e]{width:100%;align-items:center;display:flex;border-left:4px solid transparent;counter-increment:linenumbers;padding-right:14px}.code-number[data-v-25a17a0e]{font-size:.70588rem;line-height:1.5;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace);padding:0 1rem 0 8px;text-align:right;min-width:2.01em;-webkit-user-select:none;-moz-user-select:none;user-select:none}.code-number[data-v-25a17a0e]:before{content:counter(linenumbers)}.code-line[data-v-25a17a0e]{display:flex}pre[data-v-25a17a0e]{padding:14px 0;display:flex;flex-flow:row wrap;overflow:auto;-webkit-overflow-scrolling:touch;white-space:pre;word-wrap:normal}@media only screen and (max-width:735px){pre[data-v-25a17a0e]{padding-top:.82353rem}}.collapsible-code-listing[data-v-25a17a0e]{background:var(--background,var(--color-code-background));border-color:var(--colors-grid,var(--color-grid));color:var(--text,var(--color-code-plain));border-radius:var(--border-radius,4px);border-style:solid;border-width:1px;counter-reset:linenumbers;font-size:15px}.collapsible-code-listing.single-line[data-v-25a17a0e]{border-radius:var(--border-radius,4px)}.collapsible[data-v-25a17a0e]{background:var(--color-code-collapsible-background);color:var(--color-code-collapsible-text)}.collapsed[data-v-25a17a0e]:before{content:"⋯";display:inline-block;font-family:monospace;font-weight:700;height:100%;line-height:1;text-align:right;width:2.3rem}.collapsed .code-line-container[data-v-25a17a0e]{height:0;visibility:hidden}.row[data-v-be73599c]{box-sizing:border-box;display:flex;flex-flow:row wrap}.col[data-v-2ee3ad8b]{box-sizing:border-box;flex:none}.xlarge-1[data-v-2ee3ad8b]{flex-basis:8.33333%;max-width:8.33333%}.xlarge-2[data-v-2ee3ad8b]{flex-basis:16.66667%;max-width:16.66667%}.xlarge-3[data-v-2ee3ad8b]{flex-basis:25%;max-width:25%}.xlarge-4[data-v-2ee3ad8b]{flex-basis:33.33333%;max-width:33.33333%}.xlarge-5[data-v-2ee3ad8b]{flex-basis:41.66667%;max-width:41.66667%}.xlarge-6[data-v-2ee3ad8b]{flex-basis:50%;max-width:50%}.xlarge-7[data-v-2ee3ad8b]{flex-basis:58.33333%;max-width:58.33333%}.xlarge-8[data-v-2ee3ad8b]{flex-basis:66.66667%;max-width:66.66667%}.xlarge-9[data-v-2ee3ad8b]{flex-basis:75%;max-width:75%}.xlarge-10[data-v-2ee3ad8b]{flex-basis:83.33333%;max-width:83.33333%}.xlarge-11[data-v-2ee3ad8b]{flex-basis:91.66667%;max-width:91.66667%}.xlarge-12[data-v-2ee3ad8b]{flex-basis:100%;max-width:100%}.xlarge-centered[data-v-2ee3ad8b]{margin-left:auto;margin-right:auto}.xlarge-uncentered[data-v-2ee3ad8b]{margin-left:0;margin-right:0}.large-1[data-v-2ee3ad8b]{flex-basis:8.33333%;max-width:8.33333%}.large-2[data-v-2ee3ad8b]{flex-basis:16.66667%;max-width:16.66667%}.large-3[data-v-2ee3ad8b]{flex-basis:25%;max-width:25%}.large-4[data-v-2ee3ad8b]{flex-basis:33.33333%;max-width:33.33333%}.large-5[data-v-2ee3ad8b]{flex-basis:41.66667%;max-width:41.66667%}.large-6[data-v-2ee3ad8b]{flex-basis:50%;max-width:50%}.large-7[data-v-2ee3ad8b]{flex-basis:58.33333%;max-width:58.33333%}.large-8[data-v-2ee3ad8b]{flex-basis:66.66667%;max-width:66.66667%}.large-9[data-v-2ee3ad8b]{flex-basis:75%;max-width:75%}.large-10[data-v-2ee3ad8b]{flex-basis:83.33333%;max-width:83.33333%}.large-11[data-v-2ee3ad8b]{flex-basis:91.66667%;max-width:91.66667%}.large-12[data-v-2ee3ad8b]{flex-basis:100%;max-width:100%}.large-centered[data-v-2ee3ad8b]{margin-left:auto;margin-right:auto}.large-uncentered[data-v-2ee3ad8b]{margin-left:0;margin-right:0}@media only screen and (max-width:1250px){.medium-1[data-v-2ee3ad8b]{flex-basis:8.33333%;max-width:8.33333%}.medium-2[data-v-2ee3ad8b]{flex-basis:16.66667%;max-width:16.66667%}.medium-3[data-v-2ee3ad8b]{flex-basis:25%;max-width:25%}.medium-4[data-v-2ee3ad8b]{flex-basis:33.33333%;max-width:33.33333%}.medium-5[data-v-2ee3ad8b]{flex-basis:41.66667%;max-width:41.66667%}.medium-6[data-v-2ee3ad8b]{flex-basis:50%;max-width:50%}.medium-7[data-v-2ee3ad8b]{flex-basis:58.33333%;max-width:58.33333%}.medium-8[data-v-2ee3ad8b]{flex-basis:66.66667%;max-width:66.66667%}.medium-9[data-v-2ee3ad8b]{flex-basis:75%;max-width:75%}.medium-10[data-v-2ee3ad8b]{flex-basis:83.33333%;max-width:83.33333%}.medium-11[data-v-2ee3ad8b]{flex-basis:91.66667%;max-width:91.66667%}.medium-12[data-v-2ee3ad8b]{flex-basis:100%;max-width:100%}.medium-centered[data-v-2ee3ad8b]{margin-left:auto;margin-right:auto}.medium-uncentered[data-v-2ee3ad8b]{margin-left:0;margin-right:0}}@media only screen and (max-width:735px){.small-1[data-v-2ee3ad8b]{flex-basis:8.33333%;max-width:8.33333%}.small-2[data-v-2ee3ad8b]{flex-basis:16.66667%;max-width:16.66667%}.small-3[data-v-2ee3ad8b]{flex-basis:25%;max-width:25%}.small-4[data-v-2ee3ad8b]{flex-basis:33.33333%;max-width:33.33333%}.small-5[data-v-2ee3ad8b]{flex-basis:41.66667%;max-width:41.66667%}.small-6[data-v-2ee3ad8b]{flex-basis:50%;max-width:50%}.small-7[data-v-2ee3ad8b]{flex-basis:58.33333%;max-width:58.33333%}.small-8[data-v-2ee3ad8b]{flex-basis:66.66667%;max-width:66.66667%}.small-9[data-v-2ee3ad8b]{flex-basis:75%;max-width:75%}.small-10[data-v-2ee3ad8b]{flex-basis:83.33333%;max-width:83.33333%}.small-11[data-v-2ee3ad8b]{flex-basis:91.66667%;max-width:91.66667%}.small-12[data-v-2ee3ad8b]{flex-basis:100%;max-width:100%}.small-centered[data-v-2ee3ad8b]{margin-left:auto;margin-right:auto}.small-uncentered[data-v-2ee3ad8b]{margin-left:0;margin-right:0}}@media only screen and (max-width:320px){.xsmall-1[data-v-2ee3ad8b]{flex-basis:8.33333%;max-width:8.33333%}.xsmall-2[data-v-2ee3ad8b]{flex-basis:16.66667%;max-width:16.66667%}.xsmall-3[data-v-2ee3ad8b]{flex-basis:25%;max-width:25%}.xsmall-4[data-v-2ee3ad8b]{flex-basis:33.33333%;max-width:33.33333%}.xsmall-5[data-v-2ee3ad8b]{flex-basis:41.66667%;max-width:41.66667%}.xsmall-6[data-v-2ee3ad8b]{flex-basis:50%;max-width:50%}.xsmall-7[data-v-2ee3ad8b]{flex-basis:58.33333%;max-width:58.33333%}.xsmall-8[data-v-2ee3ad8b]{flex-basis:66.66667%;max-width:66.66667%}.xsmall-9[data-v-2ee3ad8b]{flex-basis:75%;max-width:75%}.xsmall-10[data-v-2ee3ad8b]{flex-basis:83.33333%;max-width:83.33333%}.xsmall-11[data-v-2ee3ad8b]{flex-basis:91.66667%;max-width:91.66667%}.xsmall-12[data-v-2ee3ad8b]{flex-basis:100%;max-width:100%}.xsmall-centered[data-v-2ee3ad8b]{margin-left:auto;margin-right:auto}.xsmall-uncentered[data-v-2ee3ad8b]{margin-left:0;margin-right:0}}.tabnav[data-v-5283512a]{margin:0 0 1.47059rem 0;display:flex}.tabnav--center[data-v-5283512a]{justify-content:center}.tabnav--end[data-v-5283512a]{justify-content:flex-end}.tabnav--vertical[data-v-5283512a]{flex-flow:column wrap}.tabnav--vertical .tabnav-items[data-v-5283512a]{flex-flow:column;overflow:hidden}.tabnav--vertical[data-v-5283512a] .tabnav-item{padding-left:0}.tabnav--vertical[data-v-5283512a] .tabnav-item .tabnav-link{padding-top:8px}.tabnav-items[data-v-5283512a]{display:flex;margin:0;text-align:center}.tabnav-item[data-v-6aa9882a]{border-bottom:1px solid;border-color:var(--colors-tabnav-item-border-color,var(--color-tabnav-item-border-color));display:flex;list-style:none;padding-left:1.76471rem;margin:0;outline:none}.tabnav-item[data-v-6aa9882a]:first-child{padding-left:0}.tabnav-item[data-v-6aa9882a]:nth-child(n+1){margin:0}.tabnav-link[data-v-6aa9882a]{color:var(--colors-secondary-label,var(--color-secondary-label));font-size:.82353rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);padding:6px 0;margin-top:4px;margin-bottom:4px;text-align:left;text-decoration:none;display:block;position:relative;z-index:0;width:100%}.tabnav-link[data-v-6aa9882a]:hover{text-decoration:none}.tabnav-link[data-v-6aa9882a]:focus{outline-offset:-1px}.tabnav-link[data-v-6aa9882a]:after{content:"";position:absolute;bottom:-5px;left:0;width:100%;border:1px solid transparent}.tabnav-link.active[data-v-6aa9882a]{color:var(--colors-text,var(--color-text));cursor:default;z-index:10}.tabnav-link.active[data-v-6aa9882a]:after{border-bottom-color:var(--colors-text,var(--color-text))}.controls[data-v-c84e62a6]{margin-top:5px;font-size:14px;display:flex;justify-content:flex-end}.controls a[data-v-c84e62a6]{color:var(--colors-text,var(--color-text));display:flex;align-items:center}.controls .control-icon[data-v-c84e62a6]{width:1.05em;margin-right:.3em}.caption[data-v-1b76f4e0]{font-size:.82353rem;line-height:1.5;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin:0 0 var(--spacing-stacked-margin-large) 0}.caption.trailing[data-v-1b76f4e0]{margin:var(--spacing-stacked-margin-large) 0 0 0;text-align:center}caption.trailing[data-v-1b76f4e0]{caption-side:bottom}[data-v-1b76f4e0] p{display:inline-block}[data-v-3a939631] img{max-width:100%}.table-wrapper[data-v-5ed73c89]{overflow:auto;-webkit-overflow-scrolling:touch}*+.table-wrapper[data-v-5ed73c89],.table-wrapper[data-v-5ed73c89]+*{margin-top:var(--spacing-stacked-margin-xlarge)}table[data-v-5ed73c89]{border-style:hidden}[data-v-5ed73c89] th{font-weight:600;word-break:keep-all;-webkit-hyphens:auto;hyphens:auto}[data-v-5ed73c89] td,[data-v-5ed73c89] th{border-color:var(--color-fill-gray-tertiary);border-style:solid;border-width:var(--table-border-width,1px 1px);padding:.58824rem}[data-v-5ed73c89] td.left-cell,[data-v-5ed73c89] th.left-cell{text-align:left}[data-v-5ed73c89] td.right-cell,[data-v-5ed73c89] th.right-cell{text-align:right}[data-v-5ed73c89] td.center-cell,[data-v-5ed73c89] th.center-cell{text-align:center}s[data-v-7fc51673]:before{content:attr(data-before-text)}s[data-v-7fc51673]:after{content:attr(data-after-text)}s[data-v-7fc51673]:after,s[data-v-7fc51673]:before{position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(0 0 99.9% 99.9%);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}small[data-v-77035f61]{font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-figure-gray)}.device-frame[data-v-28ae8fd3]{position:relative;width:var(--frame-width);aspect-ratio:var(--frame-aspect);max-width:100%;margin-left:auto;margin-right:auto;overflow:hidden}*+.device-frame[data-v-28ae8fd3],.device-frame[data-v-28ae8fd3]+*{margin-top:40px}.device[data-v-28ae8fd3]{background-image:var(--device-light-url);background-repeat:no-repeat;background-size:100%;width:100%;height:100%;position:relative;pointer-events:none}@media screen{[data-color-scheme=dark] .device[data-v-28ae8fd3]{background-image:var(--device-dark-url,var(--device-light-url))}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .device[data-v-28ae8fd3]{background-image:var(--device-dark-url,var(--device-light-url))}}.no-device .device[data-v-28ae8fd3]{display:none}.device-screen.with-device[data-v-28ae8fd3]{position:absolute;left:var(--screen-left);top:var(--screen-top);height:var(--screen-height);width:var(--screen-width);display:flex}.device-screen.with-device>[data-v-28ae8fd3]{flex:1}.device-screen.with-device[data-v-28ae8fd3] img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;-o-object-position:top;object-position:top;margin:0}.device-screen.with-device[data-v-28ae8fd3] video{-o-object-fit:contain;object-fit:contain;-o-object-position:top;object-position:top;width:100%;height:auto}.video-replay-container .control-button[data-v-7653dfd0]{display:flex;align-items:center;justify-content:center;cursor:pointer;margin-top:.5rem;-webkit-tap-highlight-color:transparent}.video-replay-container .control-button svg.control-icon[data-v-7653dfd0]{height:12px;width:12px;margin-left:.3em}[data-v-dcbc7b38] img,[data-v-dcbc7b38] video{display:block;margin-left:auto;margin-right:auto;-o-object-fit:contain;object-fit:contain;max-width:100%}.asset[data-v-035a093f]{margin-left:auto;margin-right:auto}*+.asset[data-v-035a093f],.asset[data-v-035a093f]+*{margin-top:var(--spacing-stacked-margin-xlarge)}[data-v-035a093f] video{display:block;margin-left:auto;margin-right:auto;-o-object-fit:contain;object-fit:contain;max-width:100%}.column[data-v-0f654188]{grid-column:span var(--col-span);min-width:0}@media only screen and (max-width:735px){.column[data-v-0f654188]{grid-column:span 1}}.row[data-v-1bcb2d0f]{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;grid-gap:var(--col-gap,20px)}@media only screen and (max-width:735px){.row[data-v-1bcb2d0f]{grid-template-columns:1fr;grid-auto-flow:row}}.row.with-columns[data-v-1bcb2d0f]{--col-count:var(--col-count-large);grid-template-columns:repeat(var(--col-count),1fr);grid-auto-flow:row}@media only screen and (max-width:1250px){.row.with-columns[data-v-1bcb2d0f]{--col-count:var(--col-count-medium,var(--col-count-large))}}@media only screen and (max-width:735px){.row.with-columns[data-v-1bcb2d0f]{--col-count:var(--col-count-small)}}*+.row[data-v-1bcb2d0f],*+.TabNavigator[data-v-e671a734],.row[data-v-1bcb2d0f]+*,.TabNavigator[data-v-e671a734]+*{margin-top:var(--spacing-stacked-margin-xlarge)}.TabNavigator .tabnav[data-v-e671a734]{overflow:auto;white-space:nowrap}.TabNavigator .tabs-content-container[data-v-e671a734]{position:relative;overflow:hidden}.tabs--vertical[data-v-e671a734]{display:flex;flex-flow:row-reverse}@media only screen and (max-width:735px){.tabs--vertical[data-v-e671a734]{flex-flow:column-reverse}}.tabs--vertical .tabnav[data-v-e671a734]{width:30%;flex:0 0 auto;white-space:normal;margin:0}@media only screen and (max-width:735px){.tabs--vertical .tabnav[data-v-e671a734]{width:100%}}.tabs--vertical .tabs-content[data-v-e671a734]{flex:1 1 auto;min-width:0;padding-right:var(--spacing-stacked-margin-xlarge)}@media only screen and (max-width:735px){.tabs--vertical .tabs-content[data-v-e671a734]{padding-right:0;padding-bottom:var(--spacing-stacked-margin-large)}}.fade-enter-active[data-v-e671a734],.fade-leave-active[data-v-e671a734]{transition:opacity .2s ease-in-out}.fade-enter[data-v-e671a734],.fade-leave-to[data-v-e671a734]{opacity:0}.fade-leave-active[data-v-e671a734]{position:absolute;top:0;left:0;right:0}.tasklist[data-v-6a56a858]{--checkbox-width:1rem;--indent-width:calc(var(--checkbox-width)/2);--content-margin:var(--indent-width);list-style-type:none;margin-left:var(--indent-width)}p[data-v-6a56a858]{margin-left:var(--content-margin)}p[data-v-6a56a858]:only-child{--content-margin:calc(var(--checkbox-width) + var(--indent-width))}input[type=checkbox]+p[data-v-6a56a858]{display:inline-block}.button-cta[data-v-c9c81868]{background:var(--colors-button-light-background,var(--color-button-background));border-color:var(--color-button-border,currentcolor);border-radius:var(--button-border-radius,var(--border-radius,4px));border-style:var(--button-border-style,none);border-width:var(--button-border-width,medium);color:var(--colors-button-text,var(--color-button-text));cursor:pointer;min-width:1.76471rem;padding:.23529rem .88235rem;text-align:center;white-space:nowrap;display:inline-block;font-size:1rem;line-height:1.47059;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.button-cta[data-v-c9c81868]:active{background:var(--colors-button-light-backgroundActive,var(--color-button-background-active));outline:none}.button-cta[data-v-c9c81868]:hover:not([disabled]){background:var(--colors-button-light-backgroundHover,var(--color-button-background-hover));text-decoration:none}.button-cta[data-v-c9c81868]:disabled{opacity:.32;cursor:default}.fromkeyboard .button-cta[data-v-c9c81868]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none}.button-cta.is-dark[data-v-c9c81868]{background:var(--colors-button-dark-background,#06f)}.button-cta.is-dark[data-v-c9c81868]:active{background:var(--colors-button-dark-backgroundActive,var(--color-button-background-active))}.button-cta.is-dark[data-v-c9c81868]:hover:not([disabled]){background:var(--colors-button-dark-backgroundHover,var(--color-button-background-hover))}.card-cover-wrap.rounded[data-v-0c1c40a1]{border-radius:var(--border-radius,4px);overflow:hidden}.card-cover[data-v-0c1c40a1]{background-color:var(--color-card-background);display:block;height:var(--card-cover-height,180px)}.card-cover.fallback[data-v-0c1c40a1],.card-cover[data-v-0c1c40a1] img{width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;display:block;margin:0}.card-cover[data-v-0c1c40a1] img{height:100%}.card[data-v-328d568a]{overflow:hidden;display:block;transition:box-shadow,transform .16s ease-out;will-change:box-shadow,transform;-webkit-backface-visibility:hidden;backface-visibility:hidden;height:var(--card-height);border-radius:var(--border-radius,4px)}.card[data-v-328d568a]:hover{text-decoration:none}.card:hover .link[data-v-328d568a]{text-decoration:underline}.card[data-v-328d568a]:hover{box-shadow:0 5px 10px var(--color-card-shadow);transform:scale(1.007)}@media (prefers-reduced-motion:reduce){.card[data-v-328d568a]:hover{box-shadow:none;transform:none}}.card.small[data-v-328d568a]{--card-height:408px;--card-details-height:139px;--card-cover-height:235px}@media only screen and (max-width:1250px){.card.small[data-v-328d568a]{--card-height:341px;--card-details-height:144px;--card-cover-height:163px}}.card.large[data-v-328d568a]{--card-height:556px;--card-details-height:163px;--card-cover-height:359px}@media only screen and (max-width:1250px){.card.large[data-v-328d568a]{--card-height:420px;--card-details-height:137px;--card-cover-height:249px}}.card.floating-style[data-v-328d568a]{--color-card-shadow:transparent;--card-height:auto;--card-details-height:auto}.details[data-v-328d568a]{background-color:var(--color-card-background);padding:17px;position:relative;height:var(--card-details-height);font-size:.82353rem;line-height:1.28571}.details[data-v-328d568a],.large .details[data-v-328d568a]{font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.large .details[data-v-328d568a]{font-size:1rem;line-height:1.47059}@media only screen and (max-width:1250px){.large .details[data-v-328d568a]{font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.floating-style .details[data-v-328d568a]{--color-card-background:transparent;padding:17px 0}.eyebrow[data-v-328d568a]{color:var(--color-card-eyebrow);display:block;margin-bottom:4px;font-size:.82353rem;line-height:1.28571}.eyebrow[data-v-328d568a],.large .eyebrow[data-v-328d568a]{font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.large .eyebrow[data-v-328d568a]{font-size:1rem;line-height:1.23529}@media only screen and (max-width:1250px){.large .eyebrow[data-v-328d568a]{font-size:.82353rem;line-height:1.28571;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.title[data-v-328d568a]{color:var(--color-card-content-text);font-size:1rem;line-height:1.23529;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){.title[data-v-328d568a]{font-size:.82353rem;line-height:1.28571;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-328d568a]{font-size:1rem;line-height:1.23529;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.large .title[data-v-328d568a]{font-size:1.23529rem;line-height:1.19048;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){.large .title[data-v-328d568a]{font-size:1rem;line-height:1.23529;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.card-content[data-v-328d568a]{color:var(--color-card-content-text);margin-top:4px}.link[data-v-328d568a]{bottom:17px;display:flex;align-items:center;position:absolute}.link .link-icon[data-v-328d568a]{height:.6em;width:.6em;margin-left:.3em}.floating-style .link[data-v-328d568a]{bottom:unset;margin-top:var(--spacing-stacked-margin-large);position:relative}@media only screen and (max-width:735px){.card[data-v-328d568a]{margin-left:auto;margin-right:auto}.card+.card[data-v-328d568a]{margin-bottom:20px;margin-top:20px}.card.large[data-v-328d568a],.card.small[data-v-328d568a]{--card-height:auto;--card-details-height:auto;min-width:280px;max-width:300px;--card-cover-height:227px}.card.large .link[data-v-328d568a],.card.small .link[data-v-328d568a]{bottom:unset;margin-top:7px;position:relative}}.nav-menu-items[data-v-67c1c0a5]{display:flex;justify-content:flex-end}.nav--in-breakpoint-range .nav-menu-items[data-v-67c1c0a5]{display:block;opacity:0;padding:1rem 1.88235rem 1.64706rem 1.88235rem;transform:translate3d(0,-50px,0);transition:transform 1s cubic-bezier(.07,1.06,.27,.95) .5s,opacity .7s cubic-bezier(.07,1.06,.27,.95) .2s}.nav--is-open.nav--in-breakpoint-range .nav-menu-items[data-v-67c1c0a5]{opacity:1;transform:translateZ(0);transition-delay:.2s,.4s}.nav--in-breakpoint-range .nav-menu-items[data-v-67c1c0a5]:not(:only-child):not(:last-child){padding-bottom:0}.nav--in-breakpoint-range .nav-menu-items[data-v-67c1c0a5]:not(:only-child):last-child{padding-top:0}.TopicTypeIcon[data-v-18b61706]{width:1em;height:1em;flex:0 0 auto;color:var(--icon-color,var(--color-figure-gray-secondary))}.TopicTypeIcon[data-v-18b61706] picture{flex:1}.TopicTypeIcon[data-v-18b61706] img,.TopicTypeIcon svg[data-v-18b61706]{display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.nav[data-v-5c0521d3]{position:sticky;top:0;width:100%;height:3.05882rem;z-index:9997;--nav-padding:1.29412rem;color:var(--color-nav-color)}@media print{.nav[data-v-5c0521d3]{position:relative}}@media only screen and (max-width:767px){.nav[data-v-5c0521d3]{min-width:320px;height:2.82353rem}}.theme-dark.nav[data-v-5c0521d3]{background:none;color:var(--color-nav-dark-color)}.nav__wrapper[data-v-5c0521d3]{position:absolute;top:0;left:0;width:100%;height:auto;min-height:100%;z-index:1}.nav__background[data-v-5c0521d3]{position:absolute;left:0;top:0;width:100%;height:100%;z-index:1;transition:background-color 0s ease-in}.nav__background[data-v-5c0521d3]:after{background-color:var(--color-nav-keyline)}.nav--no-bg-transition .nav__background[data-v-5c0521d3]{transition:none!important}.nav--solid-background .nav__background[data-v-5c0521d3]{background-color:var(--color-nav-solid-background);-webkit-backdrop-filter:none;backdrop-filter:none}.nav--is-open.nav--solid-background .nav__background[data-v-5c0521d3],.nav--is-sticking.nav--solid-background .nav__background[data-v-5c0521d3]{background-color:var(--color-nav-solid-background)}.nav--is-open.theme-dark.nav--solid-background .nav__background[data-v-5c0521d3],.nav--is-sticking.theme-dark.nav--solid-background .nav__background[data-v-5c0521d3],.theme-dark.nav--solid-background .nav__background[data-v-5c0521d3]{background-color:var(--color-nav-dark-solid-background)}.nav--in-breakpoint-range .nav__background[data-v-5c0521d3]{min-height:2.82353rem;transition:background-color 0s ease .7s}.nav--is-sticking .nav__background[data-v-5c0521d3]{background-color:var(--color-nav-expanded);max-height:none;transition:background-color 0s ease;transition-property:background-color,-webkit-backdrop-filter;transition-property:background-color,backdrop-filter;transition-property:background-color,backdrop-filter,-webkit-backdrop-filter}.nav--is-sticking .nav__background[data-v-5c0521d3]:after{background-color:var(--color-nav-sticking-expanded-keyline)}@supports ((-webkit-backdrop-filter:initial) or (backdrop-filter:initial)){.nav--is-sticking .nav__background[data-v-5c0521d3]{-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);background-color:var(--color-nav-uiblur-stuck)}}.theme-dark.nav--is-sticking .nav__background[data-v-5c0521d3]{background-color:var(--color-nav-dark-stuck)}@supports ((-webkit-backdrop-filter:initial) or (backdrop-filter:initial)){.theme-dark.nav--is-sticking .nav__background[data-v-5c0521d3]{background-color:var(--color-nav-dark-uiblur-stuck)}}.nav--is-open .nav__background[data-v-5c0521d3]{background-color:var(--color-nav-expanded);max-height:none;transition:background-color 0s ease;transition-property:background-color,-webkit-backdrop-filter;transition-property:background-color,backdrop-filter;transition-property:background-color,backdrop-filter,-webkit-backdrop-filter}.nav--is-open .nav__background[data-v-5c0521d3]:after{background-color:var(--color-nav-sticking-expanded-keyline)}@supports ((-webkit-backdrop-filter:initial) or (backdrop-filter:initial)){.nav--is-open .nav__background[data-v-5c0521d3]{-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);background-color:var(--color-nav-uiblur-expanded)}}.theme-dark.nav--is-open .nav__background[data-v-5c0521d3]{background-color:var(--color-nav-dark-expanded)}@supports ((-webkit-backdrop-filter:initial) or (backdrop-filter:initial)){.theme-dark.nav--is-open .nav__background[data-v-5c0521d3]{background-color:var(--color-nav-dark-uiblur-expanded)}}.theme-dark .nav__background[data-v-5c0521d3]:after{background-color:var(--color-nav-dark-keyline)}.nav--is-open.theme-dark .nav__background[data-v-5c0521d3]:after,.nav--is-sticking.theme-dark .nav__background[data-v-5c0521d3]:after{background-color:var(--color-nav-dark-sticking-expanded-keyline)}.nav__background[data-v-5c0521d3]:after{content:"";display:block;position:absolute;top:100%;left:50%;transform:translateX(-50%);width:980px;height:1px;z-index:1}@media only screen and (max-width:1023px){.nav__background[data-v-5c0521d3]:after{width:100%}}.nav--noborder .nav__background[data-v-5c0521d3]:after{display:none}.nav--is-sticking.nav--noborder .nav__background[data-v-5c0521d3]:after{display:block}.nav--fullwidth-border .nav__background[data-v-5c0521d3]:after,.nav--is-open .nav__background[data-v-5c0521d3]:after,.nav--is-sticking .nav__background[data-v-5c0521d3]:after,.nav--solid-background .nav__background[data-v-5c0521d3]:after{width:100%}.nav-overlay[data-v-5c0521d3]{position:fixed;left:0;right:0;top:0;display:block;opacity:0}.nav--is-open .nav-overlay[data-v-5c0521d3]{background-color:rgba(51,51,51,.4);transition:opacity .7s cubic-bezier(.07,1.06,.27,.95) .2s;bottom:0;opacity:1}.nav-wrapper[data-v-5c0521d3]{position:absolute;top:0;left:0;width:100%;height:auto;min-height:100%;z-index:1}.pre-title[data-v-5c0521d3]{display:flex;overflow:hidden;padding-left:1.29412rem;margin-left:-1.29412rem}.pre-title[data-v-5c0521d3]:empty{display:none}.nav--in-breakpoint-range .pre-title[data-v-5c0521d3]{overflow:visible;padding:0;margin-left:0}.nav-content[data-v-5c0521d3]{display:flex;padding:0 var(--nav-padding);max-width:980px;margin:0 auto;position:relative;z-index:2;justify-content:space-between}.nav--is-wide-format .nav-content[data-v-5c0521d3]{box-sizing:border-box;max-width:1920px;margin-left:auto;margin-right:auto}@supports (padding:calc(max(0px))){.nav-content[data-v-5c0521d3]{padding-left:calc(max(var(--nav-padding), env(safe-area-inset-left)));padding-right:calc(max(var(--nav-padding), env(safe-area-inset-right)))}}@media only screen and (max-width:767px){.nav-content[data-v-5c0521d3]{padding:0 0 0 .94118rem}}.nav--in-breakpoint-range .nav-content[data-v-5c0521d3]{display:grid;grid-template-columns:auto 1fr auto;grid-auto-rows:minmax(-webkit-min-content,-webkit-max-content);grid-auto-rows:minmax(min-content,max-content);grid-template-areas:"pre-title title actions" "menu menu menu"}.nav-menu[data-v-5c0521d3]{font-size:.70588rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);flex:1 1 auto;display:flex;min-width:0}@media only screen and (max-width:767px){.nav-menu[data-v-5c0521d3]{font-size:.82353rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.nav--in-breakpoint-range .nav-menu[data-v-5c0521d3]{font-size:.82353rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);grid-area:menu}.nav-menu-tray[data-v-5c0521d3]{width:100%;max-width:100%;align-items:center;display:flex;justify-content:space-between}.nav--in-breakpoint-range .nav-menu-tray[data-v-5c0521d3]{display:block;overflow:hidden;pointer-events:none;visibility:hidden;max-height:0;transition:max-height .4s ease-in 0s,visibility 0s linear 1s}.nav--is-open.nav--in-breakpoint-range .nav-menu-tray[data-v-5c0521d3]{max-height:calc(100vh - 5.64706rem);overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:auto;visibility:visible;transition-delay:.2s,0s}.nav--is-transitioning.nav--is-open.nav--in-breakpoint-range .nav-menu-tray[data-v-5c0521d3]{overflow-y:hidden}.nav--is-sticking.nav--is-open.nav--in-breakpoint-range .nav-menu-tray[data-v-5c0521d3]{max-height:calc(100vh - 2.82353rem)}.nav-actions[data-v-5c0521d3]{display:flex;align-items:center}.nav--in-breakpoint-range .nav-actions[data-v-5c0521d3]{grid-area:actions;justify-content:flex-end}@media only screen and (max-width:767px){.nav-actions[data-v-5c0521d3]{padding-right:.94118rem}}.nav--in-breakpoint-range .pre-title+.nav-title[data-v-5c0521d3]{grid-area:title}.nav--is-wide-format.nav--in-breakpoint-range .pre-title+.nav-title[data-v-5c0521d3]{width:100%;justify-content:center}.nav-title[data-v-5c0521d3]{height:3.05882rem;font-size:1.11765rem;line-height:1.42105;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);cursor:default;display:flex;align-items:center;white-space:nowrap;box-sizing:border-box}@media only screen and (max-width:767px){.nav-title[data-v-5c0521d3]{padding-top:0;height:2.82353rem;width:90%}}.nav-title[data-v-5c0521d3] span{height:100%;line-height:normal}.nav-title a[data-v-5c0521d3]{display:inline-block;letter-spacing:inherit;line-height:normal;margin:0;text-decoration:none;white-space:nowrap}.nav-title a[data-v-5c0521d3]:hover{text-decoration:none}@media only screen and (max-width:767px){.nav-title a[data-v-5c0521d3]{display:flex}}.nav-title[data-v-5c0521d3],.nav-title a[data-v-5c0521d3]{color:var(--color-figure-gray);transition:color 0s ease-in}.nav--is-open.theme-dark .nav-title[data-v-5c0521d3],.nav--is-open.theme-dark .nav-title a[data-v-5c0521d3],.nav--is-sticking.theme-dark .nav-title[data-v-5c0521d3],.nav--is-sticking.theme-dark .nav-title a[data-v-5c0521d3],.theme-dark .nav-title[data-v-5c0521d3],.theme-dark .nav-title a[data-v-5c0521d3]{color:var(--color-nav-dark-link-color)}.nav-ax-toggle[data-v-5c0521d3]{display:none;position:absolute;top:0;left:0;width:1px;height:1px;z-index:10}.nav-ax-toggle[data-v-5c0521d3]:focus{outline-offset:-6px;width:100%;height:100%}.nav--in-breakpoint-range .nav-ax-toggle[data-v-5c0521d3]{display:block}.nav-menucta[data-v-5c0521d3]{cursor:pointer;display:none;align-items:center;overflow:hidden;width:1.17647rem;-webkit-tap-highlight-color:transparent;height:2.82353rem}.nav--in-breakpoint-range .nav-menucta[data-v-5c0521d3]{display:flex}.nav-menucta-chevron[data-v-5c0521d3]{display:block;position:relative;width:100%;height:.70588rem;transition:transform .3s linear}.nav-menucta-chevron[data-v-5c0521d3]:after,.nav-menucta-chevron[data-v-5c0521d3]:before{content:"";display:block;position:absolute;top:.58824rem;width:.70588rem;height:.05882rem;transition:transform .3s linear;background:var(--color-figure-gray)}.nav-menucta-chevron[data-v-5c0521d3]:before{right:50%;border-radius:.5px 0 0 .5px}.nav-menucta-chevron[data-v-5c0521d3]:after{left:50%;border-radius:0 .5px .5px 0}.nav-menucta-chevron[data-v-5c0521d3]:before{transform-origin:100% 100%;transform:rotate(40deg) scaleY(1.5)}.nav-menucta-chevron[data-v-5c0521d3]:after{transform-origin:0 100%;transform:rotate(-40deg) scaleY(1.5)}.nav--is-open .nav-menucta-chevron[data-v-5c0521d3]{transform:scaleY(-1)}.theme-dark .nav-menucta-chevron[data-v-5c0521d3]:after,.theme-dark .nav-menucta-chevron[data-v-5c0521d3]:before{background:var(--color-nav-dark-link-color)}[data-v-5c0521d3] .nav-menu-link{color:var(--color-nav-link-color)}[data-v-5c0521d3] .nav-menu-link:hover{color:var(--color-nav-link-color-hover);text-decoration:none}.theme-dark[data-v-5c0521d3] .nav-menu-link{color:var(--color-nav-dark-link-color)}.theme-dark[data-v-5c0521d3] .nav-menu-link:hover{color:var(--color-nav-dark-link-color-hover)}[data-v-5c0521d3] .nav-menu-link.current{color:var(--color-nav-current-link);cursor:default}[data-v-5c0521d3] .nav-menu-link.current:hover{color:var(--color-nav-current-link)}.theme-dark[data-v-5c0521d3] .nav-menu-link.current,.theme-dark[data-v-5c0521d3] .nav-menu-link.current:hover{color:var(--color-nav-dark-current-link)}.reference-card-grid-item[data-v-08a5e3f8]{--card-cover-height:auto}.reference-card-grid-item.card.large[data-v-08a5e3f8]{--card-cover-height:auto;min-width:0;max-width:none}.reference-card-grid-item[data-v-08a5e3f8] .card-cover{aspect-ratio:16/9}.reference-card-grid-item[data-v-08a5e3f8] .card-cover-wrap{border:1px solid var(--color-link-block-card-border)}.reference-card-grid-item__image[data-v-08a5e3f8]{display:flex;align-items:center;justify-content:center;font-size:80px;background-color:var(--color-fill-gray-quaternary)}.reference-card-grid-item__icon[data-v-08a5e3f8]{margin:0;display:flex;justify-content:center}.reference-card-grid-item__icon[data-v-08a5e3f8] .icon-inline{flex:1 1 auto}.nav-menu-item[data-v-66cbfe4c]{margin-left:1.41176rem;list-style:none;min-width:0}.nav--in-breakpoint-range .nav-menu-item[data-v-66cbfe4c]{margin-left:0;width:100%;min-height:2.47059rem}.nav--in-breakpoint-range .nav-menu-item[data-v-66cbfe4c]:first-child .nav-menu-link{border-top:0}.nav--in-breakpoint-range .nav-menu-item--animated[data-v-66cbfe4c]{opacity:0;transform:none;transition:.5s ease;transition-property:transform,opacity}.nav--is-open.nav--in-breakpoint-range .nav-menu-item--animated[data-v-66cbfe4c]{opacity:1;transform:translateZ(0);transition-delay:0s}.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7){transition-delay:0s}.links-block[data-v-ce6f87f6]+*{margin-top:var(--spacing-stacked-margin-xlarge)}.topic-link-block[data-v-ce6f87f6]{margin-top:15px} \ No newline at end of file diff --git a/css/index.038e887c.css b/css/index.038e887c.css new file mode 100644 index 0000000..ee928eb --- /dev/null +++ b/css/index.038e887c.css @@ -0,0 +1,9 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */.color-scheme-toggle[data-v-02a6f6ec]{--toggle-color-fill:var(--color-button-background);--toggle-color-text:var(--color-fill-blue);font-size:.70588rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);border:1px solid var(--toggle-color-fill);border-radius:var(--toggle-border-radius-outer,var(--border-radius,4px));display:inline-flex;padding:1px}@media screen{[data-color-scheme=dark] .color-scheme-toggle[data-v-02a6f6ec]{--toggle-color-text:var(--color-figure-blue)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .color-scheme-toggle[data-v-02a6f6ec]{--toggle-color-text:var(--color-figure-blue)}}@media print{.color-scheme-toggle[data-v-02a6f6ec]{display:none}}input[data-v-02a6f6ec]{position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(0 0 99.9% 99.9%);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.fromkeyboard label[data-v-02a6f6ec]:focus-within{outline:4px solid var(--color-focus-color);outline-offset:1px}.text[data-v-02a6f6ec]{border:1px solid transparent;border-radius:var(--toggle-border-radius-inner,2px);color:var(--toggle-color-text);display:inline-block;text-align:center;padding:1px 6px;min-width:42px;box-sizing:border-box}.text[data-v-02a6f6ec]:hover{cursor:pointer}input:checked+.text[data-v-02a6f6ec]{--toggle-color-text:var(--color-button-text);background:var(--toggle-color-fill);border-color:var(--toggle-color-fill)}.footer[data-v-4e049dbd]{border-top:1px solid var(--color-grid)}.row[data-v-4e049dbd]{margin-left:auto;margin-right:auto;width:980px;display:flex;flex-direction:row-reverse;margin:20px auto}@media only screen and (max-width:1250px){.row[data-v-4e049dbd]{width:692px}}@media only screen and (max-width:735px){.row[data-v-4e049dbd]{width:87.5%}}@media only screen and (max-width:320px){.row[data-v-4e049dbd]{width:215px}}@media only screen and (max-width:735px){.row[data-v-4e049dbd]{width:100%;padding:0 .94118rem;box-sizing:border-box}}.InitialLoadingPlaceholder[data-v-35c356b6]{background:var(--colors-loading-placeholder-background,var(--color-loading-placeholder-background));height:100vh;width:100%}.svg-icon[data-v-33d3200a]{fill:var(--colors-svg-icon-fill-light,var(--color-svg-icon));transform:scale(1);-webkit-transform:scale(1);overflow:visible}.theme-dark .svg-icon[data-v-33d3200a]{fill:var(--colors-svg-icon-fill-dark,var(--color-svg-icon))}.svg-icon.icon-inline[data-v-33d3200a]{display:inline-block;vertical-align:middle;fill:currentColor}.svg-icon.icon-inline[data-v-33d3200a] .svg-icon-stroke{stroke:currentColor}[data-v-33d3200a] .svg-icon-stroke{stroke:var(--colors-svg-icon-fill-light,var(--color-svg-icon))}.theme-dark[data-v-33d3200a] .svg-icon-stroke{stroke:var(--colors-svg-icon-fill-dark,var(--color-svg-icon))}.suggest-lang[data-v-ad72c62e]{background:#000;color:#fff;display:flex;justify-content:center;border-bottom:1px solid var(--color-grid)}.suggest-lang__wrapper[data-v-ad72c62e]{display:flex;align-items:center;width:100%;max-width:var(--wrapper-max-width,1920px);margin:0 .94118rem;position:relative;height:52px}.suggest-lang__link[data-v-ad72c62e]{font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin:0 auto;color:#09f}.suggest-lang__close-icon-wrapper[data-v-ad72c62e]{position:absolute;right:-.23529rem;top:0;height:100%;box-sizing:border-box;display:flex;align-items:center;z-index:1}.suggest-lang__close-icon-button[data-v-ad72c62e]{padding:.23529rem}.suggest-lang__close-icon-button .close-icon[data-v-ad72c62e]{width:8px;display:block}.suggest-lang .inline-chevron-right-icon[data-v-ad72c62e]{padding-left:.23529rem;width:8px}select[data-v-7e4d9b69]{font-size:.70588rem;line-height:1.33333;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-fill-blue);padding-right:15px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:none;cursor:pointer}select[data-v-7e4d9b69]:hover{text-decoration:underline}.locale-selector[data-v-7e4d9b69]{position:relative}.svg-icon.icon-inline[data-v-7e4d9b69]{position:absolute;fill:var(--color-fill-blue);right:2px;bottom:7px;height:5px}html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;background-color:var(--colors-text-background,var(--color-text-background));height:100%}abbr,blockquote,body,button,dd,dl,dt,fieldset,figure,form,h1,h2,h3,h4,h5,h6,hgroup,input,legend,li,ol,p,pre,ul{margin:0;padding:0}address,caption,code,figcaption,pre,th{font-size:1em;font-weight:400;font-style:normal}fieldset,iframe,img{border:0}caption,th{text-align:left}table{border-collapse:collapse;border-spacing:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}button{background:none;border:0;box-sizing:content-box;color:inherit;cursor:pointer;font:inherit;line-height:inherit;overflow:visible;vertical-align:inherit}button:disabled{cursor:default}:focus{outline:4px solid var(--color-focus-color);outline-offset:1px}::-moz-focus-inner{border:0;padding:0}@media print{#content,#main,body{color:#000}a,a:link,a:visited{color:#000;text-decoration:none}.hide,.noprint{display:none}}body{height:100%;min-width:320px}html{font:var(--typography-html-font,17px "Helvetica Neue","Helvetica","Arial",sans-serif);quotes:"“" "”"}html:lang(ja-JP){quotes:"「" "」"}body{font-size:1rem;line-height:1.47059;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);background-color:var(--color-text-background);color:var(--colors-text,var(--color-text));font-style:normal;word-wrap:break-word;--spacing-stacked-margin-small:0.4em;--spacing-stacked-margin-large:0.8em;--spacing-stacked-margin-xlarge:calc(var(--spacing-stacked-margin-large)*2);--spacing-param:1.64706rem;--declaration-code-listing-margin:30px 0 0 0;--code-block-style-elements-padding:8px 14px}body,button,input,select,textarea{font-synthesis:none;-moz-font-feature-settings:"kern";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;direction:ltr;text-align:left}h1,h2,h3,h4,h5,h6{color:var(--colors-header-text,var(--color-header-text))}h1+*,h2+*,h3+*,h4+*,h5+*,h6+*{margin-top:var(--spacing-stacked-margin-large)}ol+h1,ol+h2,ol+h3,ol+h4,ol+h5,ol+h6,p+h1,p+h2,p+h3,p+h4,p+h5,p+h6,ul+h1,ul+h2,ul+h3,ul+h4,ul+h5,ul+h6{margin-top:1.6em}ol+*,p+*,ul+*{margin-top:var(--spacing-stacked-margin-large)}ol,ul{margin-left:1.17647em}ol ol,ol ul,ul ol,ul ul{margin-top:0;margin-bottom:0}nav ol,nav ul{margin:0;list-style:none}li li{font-size:1em}a{color:var(--colors-link,var(--color-link))}a:link,a:visited{text-decoration:none}a:hover{text-decoration:underline}a:active{text-decoration:none}p+a{display:inline-block}b,strong{font-weight:600}cite,dfn,em,i{font-style:italic}sup{font-size:.6em;vertical-align:top;position:relative;bottom:-.2em}h1 sup,h2 sup,h3 sup{font-size:.4em}sup a{vertical-align:inherit;color:inherit}sup a:hover{color:var(--figure-blue);text-decoration:none}sub{line-height:1}abbr{border:0}pre{overflow:auto;-webkit-overflow-scrolling:auto;white-space:pre;word-wrap:normal}code{font-family:var(--typography-html-font-mono,Menlo,monospace);font-weight:inherit;letter-spacing:0}.syntax-addition{color:var(--syntax-addition,var(--color-syntax-addition))}.syntax-comment{color:var(--syntax-comment,var(--color-syntax-comments))}.syntax-quote{color:var(--syntax-quote,var(--color-syntax-comments))}.syntax-deletion{color:var(--syntax-deletion,var(--color-syntax-deletion))}.syntax-keyword{color:var(--syntax-keyword,var(--color-syntax-keywords))}.syntax-literal{color:var(--syntax-literal,var(--color-syntax-keywords))}.syntax-selector-tag{color:var(--syntax-selector-tag,var(--color-syntax-keywords))}.syntax-string{color:var(--syntax-string,var(--color-syntax-strings))}.syntax-bullet{color:var(--syntax-bullet,var(--color-syntax-characters))}.syntax-meta{color:var(--syntax-meta,var(--color-syntax-characters))}.syntax-number{color:var(--syntax-number,var(--color-syntax-characters))}.syntax-symbol{color:var(--syntax-symbol,var(--color-syntax-characters))}.syntax-tag{color:var(--syntax-tag,var(--color-syntax-characters))}.syntax-attr{color:var(--syntax-attr,var(--color-syntax-other-type-names))}.syntax-built_in{color:var(--syntax-built_in,var(--color-syntax-other-type-names))}.syntax-builtin-name{color:var(--syntax-builtin-name,var(--color-syntax-other-type-names))}.syntax-class{color:var(--syntax-class,var(--color-syntax-other-type-names))}.syntax-params{color:var(--syntax-params,var(--color-syntax-other-type-names))}.syntax-section{color:var(--syntax-section,var(--color-syntax-other-type-names))}.syntax-title{color:var(--syntax-title,var(--color-syntax-other-type-names))}.syntax-type{color:var(--syntax-type,var(--color-syntax-other-type-names))}.syntax-attribute{color:var(--syntax-attribute,var(--color-syntax-plain-text))}.syntax-identifier{color:var(--syntax-identifier,var(--color-syntax-plain-text))}.syntax-subst{color:var(--syntax-subst,var(--color-syntax-plain-text))}.syntax-doctag,.syntax-strong{font-weight:700}.syntax-emphasis,.syntax-link{font-style:italic}[data-syntax=swift] .syntax-meta{color:var(--syntax-meta,var(--color-syntax-keywords))}[data-syntax=swift] .syntax-class,[data-syntax=swift] .syntax-keyword+.syntax-params,[data-syntax=swift] .syntax-params+.syntax-params{color:unset}[data-syntax=json] .syntax-attr{color:var(--syntax-attr,var(--color-syntax-strings))}#skip-nav{position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(0 0 99.9% 99.9%);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}#skip-nav:active,#skip-nav:focus{position:relative;float:left;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;color:var(--color-figure-blue);font-size:1em;padding:0 10px;z-index:100000;top:0;left:0;height:44px;line-height:44px;-webkit-clip-path:unset;clip-path:unset}.nav--in-breakpoint-range #skip-nav{display:none}.visuallyhidden{position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(0 0 99.9% 99.9%);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}@-webkit-keyframes pulse{0%{opacity:0}33%{opacity:1}66%{opacity:1}to{opacity:0}}@keyframes pulse{0%{opacity:0}33%{opacity:1}66%{opacity:1}to{opacity:0}}.changed{border:1px solid var(--color-changes-modified);border-radius:var(--border-radius,4px);position:relative}.changed.displays-multiple-lines,.displays-multiple-lines .changed{border-radius:var(--border-radius,4px)}.changed:after{left:8px;background-image:url(../img/modified-icon.f496e73d.svg);background-repeat:no-repeat;bottom:0;content:" ";margin:auto;margin-right:8px;position:absolute;top:0;width:1.17647rem;height:1.17647rem;margin-top:.61765rem;z-index:2}@media screen{[data-color-scheme=dark] .changed:after{background-image:url(../img/modified-icon.f496e73d.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .changed:after{background-image:url(../img/modified-icon.f496e73d.svg)}}.changed-added{border-color:var(--color-changes-added)}.changed-added:after{background-image:url(../img/added-icon.d6f7e47d.svg)}@media screen{[data-color-scheme=dark] .changed-added:after{background-image:url(../img/added-icon.d6f7e47d.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .changed-added:after{background-image:url(../img/added-icon.d6f7e47d.svg)}}.changed-deprecated{border-color:var(--color-changes-deprecated)}.changed-deprecated:after{background-image:url(../img/deprecated-icon.015b4f17.svg)}@media screen{[data-color-scheme=dark] .changed-deprecated:after{background-image:url(../img/deprecated-icon.015b4f17.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .changed-deprecated:after{background-image:url(../img/deprecated-icon.015b4f17.svg)}}.changed.link-block:after,.changed.relationships-item:after,.link-block .changed:after{margin-top:10px}.change-added,.change-removed{padding:2px 0}.change-removed{background-color:var(--color-highlight-red)}.change-added{background-color:var(--color-highlight-green)}body{color-scheme:light dark}body[data-color-scheme=light]{color-scheme:light}body[data-color-scheme=dark]{color-scheme:dark}body{--color-fill:#fff;--color-fill-secondary:#f7f7f7;--color-fill-tertiary:#f0f0f0;--color-fill-quaternary:#282828;--color-fill-blue:#00f;--color-fill-light-blue-secondary:#d1d1ff;--color-fill-gray:#ccc;--color-fill-gray-secondary:#f5f5f5;--color-fill-gray-tertiary:#f0f0f0;--color-fill-gray-quaternary:#f0f0f0;--color-fill-green-secondary:#f0fff0;--color-fill-orange-secondary:#fffaf6;--color-fill-red-secondary:#fff0f5;--color-figure-blue:#36f;--color-figure-gray:#000;--color-figure-gray-secondary:#666;--color-figure-gray-secondary-alt:#666;--color-figure-gray-tertiary:#666;--color-figure-green:green;--color-figure-light-gray:#666;--color-figure-orange:#c30;--color-figure-red:red;--color-tutorials-teal:#000;--color-article-background:var(--color-fill-tertiary);--color-article-body-background:var(--color-fill);--color-aside-deprecated:var(--color-figure-gray);--color-aside-deprecated-background:var(--color-fill-orange-secondary);--color-aside-deprecated-border:var(--color-figure-orange);--color-aside-experiment:var(--color-figure-gray);--color-aside-experiment-background:var(--color-fill-gray-secondary);--color-aside-experiment-border:var(--color-figure-light-gray);--color-aside-important:var(--color-figure-gray);--color-aside-important-background:var(--color-fill-gray-secondary);--color-aside-important-border:var(--color-figure-light-gray);--color-aside-note:var(--color-figure-gray);--color-aside-note-background:var(--color-fill-gray-secondary);--color-aside-note-border:var(--color-figure-light-gray);--color-aside-tip:var(--color-figure-gray);--color-aside-tip-background:var(--color-fill-gray-secondary);--color-aside-tip-border:var(--color-figure-light-gray);--color-aside-warning:var(--color-figure-gray);--color-aside-warning-background:var(--color-fill-red-secondary);--color-aside-warning-border:var(--color-figure-red);--color-badge-default:var(--color-figure-light-gray);--color-badge-beta:var(--color-figure-gray-tertiary);--color-badge-deprecated:var(--color-figure-orange);--color-badge-dark-default:#fff;--color-badge-dark-beta:#b0b0b0;--color-badge-dark-deprecated:#f60;--color-button-background:var(--color-fill-blue);--color-button-background-active:#36f;--color-button-background-hover:var(--color-figure-blue);--color-button-text:#fff;--color-call-to-action-background:var(--color-fill-secondary);--color-changes-added:var(--color-figure-light-gray);--color-changes-added-hover:var(--color-figure-light-gray);--color-changes-deprecated:var(--color-figure-light-gray);--color-changes-deprecated-hover:var(--color-figure-light-gray);--color-changes-modified:var(--color-figure-light-gray);--color-changes-modified-hover:var(--color-figure-light-gray);--color-changes-modified-previous-background:var(--color-fill);--color-code-background:var(--color-fill-secondary);--color-code-collapsible-background:var(--color-fill-tertiary);--color-code-collapsible-text:var(--color-figure-gray-secondary-alt);--color-code-line-highlight:rgba(51,102,255,0.08);--color-code-line-highlight-border:var(--color-figure-blue);--color-code-plain:var(--color-figure-gray);--color-dropdown-background:hsla(0,0%,100%,0.8);--color-dropdown-border:#ccc;--color-dropdown-option-text:#666;--color-dropdown-text:#000;--color-dropdown-dark-background:hsla(0,0%,100%,0.1);--color-dropdown-dark-border:hsla(0,0%,94.1%,0.2);--color-dropdown-dark-option-text:#ccc;--color-dropdown-dark-text:#fff;--color-eyebrow:var(--color-figure-gray-secondary);--color-focus-border-color:var(--color-fill-blue);--color-focus-color:rgba(0,125,250,0.6);--color-form-error:var(--color-figure-red);--color-form-error-background:var(--color-fill-red-secondary);--color-form-valid:var(--color-figure-green);--color-form-valid-background:var(--color-fill-green-secondary);--color-generic-modal-background:var(--color-fill);--color-grid:var(--color-fill-gray);--color-header-text:var(--color-figure-gray);--color-hero-eyebrow:#ccc;--color-link:var(--color-figure-blue);--color-loading-placeholder-background:var(--color-fill);--color-nav-color:#666;--color-nav-current-link:rgba(0,0,0,0.6);--color-nav-expanded:#fff;--color-nav-hierarchy-collapse-background:#f0f0f0;--color-nav-hierarchy-collapse-borders:#ccc;--color-nav-hierarchy-item-borders:#ccc;--color-nav-keyline:rgba(0,0,0,0.2);--color-nav-link-color:#000;--color-nav-link-color-hover:#36f;--color-nav-outlines:#ccc;--color-nav-rule:hsla(0,0%,94.1%,0.5);--color-nav-solid-background:#fff;--color-nav-sticking-expanded-keyline:rgba(0,0,0,0.1);--color-nav-stuck:hsla(0,0%,100%,0.9);--color-nav-uiblur-expanded:hsla(0,0%,100%,0.9);--color-nav-uiblur-stuck:hsla(0,0%,100%,0.7);--color-nav-root-subhead:var(--color-tutorials-teal);--color-nav-dark-border-top-color:hsla(0,0%,100%,0.4);--color-nav-dark-color:#b0b0b0;--color-nav-dark-current-link:hsla(0,0%,100%,0.6);--color-nav-dark-expanded:#2a2a2a;--color-nav-dark-hierarchy-collapse-background:#424242;--color-nav-dark-hierarchy-collapse-borders:#666;--color-nav-dark-hierarchy-item-borders:#424242;--color-nav-dark-keyline:rgba(66,66,66,0.95);--color-nav-dark-link-color:#fff;--color-nav-dark-link-color-hover:#09f;--color-nav-dark-outlines:#575757;--color-nav-dark-rule:#575757;--color-nav-dark-solid-background:#000;--color-nav-dark-sticking-expanded-keyline:rgba(66,66,66,0.7);--color-nav-dark-stuck:rgba(42,42,42,0.9);--color-nav-dark-uiblur-expanded:rgba(42,42,42,0.9);--color-nav-dark-uiblur-stuck:rgba(42,42,42,0.7);--color-nav-dark-root-subhead:#fff;--color-runtime-preview-background:var(--color-fill-tertiary);--color-runtime-preview-disabled-text:hsla(0,0%,40%,0.6);--color-runtime-preview-text:var(--color-figure-gray-secondary);--color-secondary-label:var(--color-figure-gray-secondary);--color-step-background:var(--color-fill-secondary);--color-step-caption:var(--color-figure-gray-secondary);--color-step-focused:var(--color-figure-light-gray);--color-step-text:var(--color-figure-gray-secondary);--color-svg-icon:#666;--color-syntax-addition:var(--color-figure-green);--color-syntax-attributes:#947100;--color-syntax-characters:#272ad8;--color-syntax-comments:#707f8c;--color-syntax-deletion:var(--color-figure-red);--color-syntax-documentation-markup:#506375;--color-syntax-documentation-markup-keywords:#506375;--color-syntax-heading:#ba2da2;--color-syntax-keywords:#ad3da4;--color-syntax-marks:#000;--color-syntax-numbers:#272ad8;--color-syntax-other-class-names:#703daa;--color-syntax-other-constants:#4b21b0;--color-syntax-other-declarations:#047cb0;--color-syntax-other-function-and-method-names:#4b21b0;--color-syntax-other-instance-variables-and-globals:#703daa;--color-syntax-other-preprocessor-macros:#78492a;--color-syntax-other-type-names:#703daa;--color-syntax-param-internal-name:#404040;--color-syntax-plain-text:#000;--color-syntax-preprocessor-statements:#78492a;--color-syntax-project-class-names:#3e8087;--color-syntax-project-constants:#2d6469;--color-syntax-project-function-and-method-names:#2d6469;--color-syntax-project-instance-variables-and-globals:#3e8087;--color-syntax-project-preprocessor-macros:#78492a;--color-syntax-project-type-names:#3e8087;--color-syntax-strings:#d12f1b;--color-syntax-type-declarations:#03638c;--color-syntax-urls:#1337ff;--color-tabnav-item-border-color:var(--color-fill-gray);--color-text:var(--color-figure-gray);--color-text-background:var(--color-fill);--color-tutorial-assessments-background:var(--color-fill-secondary);--color-tutorial-background:var(--color-fill);--color-tutorial-navbar-dropdown-background:var(--color-fill);--color-tutorial-navbar-dropdown-border:var(--color-fill-gray);--color-tutorial-quiz-border-active:var(--color-figure-blue);--color-tutorials-overview-background:#161616;--color-tutorials-overview-content:#fff;--color-tutorials-overview-content-alt:#fff;--color-tutorials-overview-eyebrow:#ccc;--color-tutorials-overview-icon:#b0b0b0;--color-tutorials-overview-link:#09f;--color-tutorials-overview-navigation-link:#ccc;--color-tutorials-overview-navigation-link-active:#fff;--color-tutorials-overview-navigation-link-hover:#fff;--color-tutorial-hero-text:#fff;--color-tutorial-hero-background:#000;--color-navigator-item-hover:rgba(0,0,255,0.05);--color-card-background:var(--color-fill);--color-card-content-text:var(--color-figure-gray);--color-card-eyebrow:var(--color-figure-gray-secondary-alt);--color-card-shadow:rgba(0,0,0,0.04);--color-link-block-card-border:rgba(0,0,0,0.04);--color-standard-red:#8b0000;--color-standard-orange:#8b4000;--color-standard-yellow:#8f7200;--color-standard-blue:#002d75;--color-standard-green:#023b2d;--color-standard-purple:#512b55;--color-standard-gray:#2a2a2a}@media screen{body[data-color-scheme=dark]{--color-fill:#000;--color-fill-secondary:#161616;--color-fill-tertiary:#2a2a2a;--color-fill-blue:#06f;--color-fill-light-blue-secondary:#004ec4;--color-fill-gray:#575757;--color-fill-gray-secondary:#222;--color-fill-gray-tertiary:#424242;--color-fill-gray-quaternary:#424242;--color-fill-green-secondary:#030;--color-fill-orange-secondary:#472400;--color-fill-red-secondary:#300;--color-figure-blue:#09f;--color-figure-gray:#fff;--color-figure-gray-secondary:#ccc;--color-figure-gray-secondary-alt:#b0b0b0;--color-figure-gray-tertiary:#b0b0b0;--color-figure-green:#090;--color-figure-light-gray:#b0b0b0;--color-figure-orange:#f60;--color-figure-red:#f33;--color-tutorials-teal:#fff;--color-article-body-background:#111;--color-badge-default:var(--color-badge-dark-default);--color-button-background-active:#06f;--color-code-line-highlight:rgba(0,153,255,0.08);--color-dropdown-background:var(--color-dropdown-dark-background);--color-dropdown-border:var(--color-dropdown-dark-border);--color-dropdown-option-text:var(--color-dropdown-dark-option-text);--color-dropdown-text:var(--color-dropdown-dark-text);--color-nav-color:var(--color-nav-dark-color);--color-nav-current-link:var(--color-nav-dark-current-link);--color-nav-expanded:var(--color-nav-dark-expanded);--color-nav-hierarchy-collapse-background:var(--color-nav-dark-hierarchy-collapse-background);--color-nav-hierarchy-collapse-borders:var(--color-nav-dark-hierarchy-collapse-borders);--color-nav-hierarchy-item-borders:var(--color-nav-dark-hierarchy-item-borders);--color-nav-keyline:var(--color-nav-dark-keyline);--color-nav-link-color:var(--color-nav-dark-link-color);--color-nav-link-color-hover:var(--color-nav-dark-link-color-hover);--color-nav-outlines:var(--color-nav-dark-outlines);--color-nav-rule:var(--color-nav-dark-rule);--color-nav-solid-background:var(--color-nav-dark-solid-background);--color-nav-sticking-expanded-keyline:var(--color-nav-dark-sticking-expanded-keyline);--color-nav-stuck:var(--color-nav-dark-stuck);--color-nav-uiblur-expanded:var(--color-nav-dark-uiblur-expanded);--color-nav-uiblur-stuck:var(--color-nav-dark-uiblur-stuck);--color-runtime-preview-disabled-text:hsla(0,0%,80%,0.6);--color-syntax-attributes:#cc9768;--color-syntax-characters:#d9c97c;--color-syntax-comments:#7f8c98;--color-syntax-documentation-markup:#7f8c98;--color-syntax-documentation-markup-keywords:#a3b1bf;--color-syntax-keywords:#ff7ab2;--color-syntax-marks:#fff;--color-syntax-numbers:#d9c97c;--color-syntax-other-class-names:#dabaff;--color-syntax-other-constants:#a7ebdd;--color-syntax-other-declarations:#4eb0cc;--color-syntax-other-function-and-method-names:#b281eb;--color-syntax-other-instance-variables-and-globals:#b281eb;--color-syntax-other-preprocessor-macros:#ffa14f;--color-syntax-other-type-names:#dabaff;--color-syntax-param-internal-name:#bfbfbf;--color-syntax-plain-text:#fff;--color-syntax-preprocessor-statements:#ffa14f;--color-syntax-project-class-names:#acf2e4;--color-syntax-project-constants:#78c2b3;--color-syntax-project-function-and-method-names:#78c2b3;--color-syntax-project-instance-variables-and-globals:#78c2b3;--color-syntax-project-preprocessor-macros:#ffa14f;--color-syntax-project-type-names:#acf2e4;--color-syntax-strings:#ff8170;--color-syntax-type-declarations:#6bdfff;--color-syntax-urls:#69f;--color-tutorial-background:var(--color-fill-tertiary);--color-navigator-item-hover:rgba(0,102,255,0.5);--color-card-shadow:hsla(0,0%,100%,0.04);--color-link-block-card-border:hsla(0,0%,100%,0.25)}}@media screen and (prefers-color-scheme:dark){body[data-color-scheme=auto]{--color-fill:#000;--color-fill-secondary:#161616;--color-fill-tertiary:#2a2a2a;--color-fill-blue:#06f;--color-fill-light-blue-secondary:#004ec4;--color-fill-gray:#575757;--color-fill-gray-secondary:#222;--color-fill-gray-tertiary:#424242;--color-fill-gray-quaternary:#424242;--color-fill-green-secondary:#030;--color-fill-orange-secondary:#472400;--color-fill-red-secondary:#300;--color-figure-blue:#09f;--color-figure-gray:#fff;--color-figure-gray-secondary:#ccc;--color-figure-gray-secondary-alt:#b0b0b0;--color-figure-gray-tertiary:#b0b0b0;--color-figure-green:#090;--color-figure-light-gray:#b0b0b0;--color-figure-orange:#f60;--color-figure-red:#f33;--color-tutorials-teal:#fff;--color-article-body-background:#111;--color-badge-default:var(--color-badge-dark-default);--color-button-background-active:#06f;--color-code-line-highlight:rgba(0,153,255,0.08);--color-dropdown-background:var(--color-dropdown-dark-background);--color-dropdown-border:var(--color-dropdown-dark-border);--color-dropdown-option-text:var(--color-dropdown-dark-option-text);--color-dropdown-text:var(--color-dropdown-dark-text);--color-nav-color:var(--color-nav-dark-color);--color-nav-current-link:var(--color-nav-dark-current-link);--color-nav-expanded:var(--color-nav-dark-expanded);--color-nav-hierarchy-collapse-background:var(--color-nav-dark-hierarchy-collapse-background);--color-nav-hierarchy-collapse-borders:var(--color-nav-dark-hierarchy-collapse-borders);--color-nav-hierarchy-item-borders:var(--color-nav-dark-hierarchy-item-borders);--color-nav-keyline:var(--color-nav-dark-keyline);--color-nav-link-color:var(--color-nav-dark-link-color);--color-nav-link-color-hover:var(--color-nav-dark-link-color-hover);--color-nav-outlines:var(--color-nav-dark-outlines);--color-nav-rule:var(--color-nav-dark-rule);--color-nav-solid-background:var(--color-nav-dark-solid-background);--color-nav-sticking-expanded-keyline:var(--color-nav-dark-sticking-expanded-keyline);--color-nav-stuck:var(--color-nav-dark-stuck);--color-nav-uiblur-expanded:var(--color-nav-dark-uiblur-expanded);--color-nav-uiblur-stuck:var(--color-nav-dark-uiblur-stuck);--color-runtime-preview-disabled-text:hsla(0,0%,80%,0.6);--color-syntax-attributes:#cc9768;--color-syntax-characters:#d9c97c;--color-syntax-comments:#7f8c98;--color-syntax-documentation-markup:#7f8c98;--color-syntax-documentation-markup-keywords:#a3b1bf;--color-syntax-keywords:#ff7ab2;--color-syntax-marks:#fff;--color-syntax-numbers:#d9c97c;--color-syntax-other-class-names:#dabaff;--color-syntax-other-constants:#a7ebdd;--color-syntax-other-declarations:#4eb0cc;--color-syntax-other-function-and-method-names:#b281eb;--color-syntax-other-instance-variables-and-globals:#b281eb;--color-syntax-other-preprocessor-macros:#ffa14f;--color-syntax-other-type-names:#dabaff;--color-syntax-param-internal-name:#bfbfbf;--color-syntax-plain-text:#fff;--color-syntax-preprocessor-statements:#ffa14f;--color-syntax-project-class-names:#acf2e4;--color-syntax-project-constants:#78c2b3;--color-syntax-project-function-and-method-names:#78c2b3;--color-syntax-project-instance-variables-and-globals:#78c2b3;--color-syntax-project-preprocessor-macros:#ffa14f;--color-syntax-project-type-names:#acf2e4;--color-syntax-strings:#ff8170;--color-syntax-type-declarations:#6bdfff;--color-syntax-urls:#69f;--color-tutorial-background:var(--color-fill-tertiary);--color-navigator-item-hover:rgba(0,102,255,0.5);--color-card-shadow:hsla(0,0%,100%,0.04);--color-link-block-card-border:hsla(0,0%,100%,0.25)}}#main{outline-style:none}:root{--app-height:100vh}[data-v-7d594ed9] :focus:not(input):not(textarea):not(select){outline:none}.fromkeyboard[data-v-7d594ed9] :focus:not(input):not(textarea):not(select){outline:4px solid var(--color-focus-color);outline-offset:1px}#app[data-v-7d594ed9]{display:flex;flex-flow:column;min-height:100%}#app[data-v-7d594ed9]>*{min-width:0}#app .router-content[data-v-7d594ed9]{flex:1}.container[data-v-1f05d9ec]{margin-left:auto;margin-right:auto;width:980px;outline-style:none;margin-top:92px;margin-bottom:140px}@media only screen and (max-width:1250px){.container[data-v-1f05d9ec]{width:692px}}@media only screen and (max-width:735px){.container[data-v-1f05d9ec]{width:87.5%}}@media only screen and (max-width:320px){.container[data-v-1f05d9ec]{width:215px}}.error-content[data-v-1f05d9ec]{box-sizing:border-box;width:502px;margin-left:auto;margin-right:auto;margin-bottom:54px}@media only screen and (max-width:1250px){.error-content[data-v-1f05d9ec]{width:420px;margin-bottom:45px}}@media only screen and (max-width:735px){.error-content[data-v-1f05d9ec]{max-width:330px;width:auto;margin-bottom:35px}}.title[data-v-1f05d9ec]{text-align:center;font-size:2.82353rem;line-height:1.08333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){.title[data-v-1f05d9ec]{font-size:2.35294rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-1f05d9ec]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}} \ No newline at end of file diff --git a/css/topic.d8c126f3.css b/css/topic.d8c126f3.css new file mode 100644 index 0000000..5d8319b --- /dev/null +++ b/css/topic.d8c126f3.css @@ -0,0 +1,9 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */.nav-title-content[data-v-854b4dd6]{max-width:100%}.title[data-v-854b4dd6]{color:var(--color-nav-root-title,currentColor);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:inline-block;vertical-align:top;max-width:296px}@media only screen and (max-width:1023px){.title[data-v-854b4dd6]{max-width:205px}}@media only screen and (max-width:767px){.title[data-v-854b4dd6]{flex-basis:fill;display:initial;vertical-align:initial;max-width:none}}.subhead[data-v-854b4dd6]{color:var(--color-nav-root-subhead)}.theme-dark .subhead[data-v-854b4dd6]{color:var(--color-nav-dark-root-subhead)}.mobile-dropdown[data-v-154acfbd]{box-sizing:border-box}.nav--in-breakpoint-range .mobile-dropdown[data-v-154acfbd]{padding-left:.23529rem;padding-right:.23529rem}.mobile-dropdown ul[data-v-154acfbd]{list-style:none}.mobile-dropdown .option[data-v-154acfbd]{cursor:pointer;font-size:.70588rem;padding:.5rem 0;display:block;text-decoration:none;color:inherit}.mobile-dropdown .option[data-v-154acfbd]:focus{outline-offset:0}.mobile-dropdown .option.depth1[data-v-154acfbd]{padding-left:.47059rem}.active[data-v-154acfbd],.tutorial.router-link-active[data-v-154acfbd]{font-weight:600}.active[data-v-154acfbd]:focus,.tutorial.router-link-active[data-v-154acfbd]:focus{outline:none}.chapter-list[data-v-154acfbd]:not(:first-child){margin-top:1rem}.chapter-name[data-v-154acfbd],.tutorial[data-v-154acfbd]{padding:.5rem 0;font-size:1rem;line-height:1.47059;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.section-list[data-v-154acfbd],.tutorial-list[data-v-154acfbd]{padding:0 .58824rem}.chapter-list:last-child .tutorial-list[data-v-154acfbd]:last-child{padding-bottom:10em}.chapter-list[data-v-154acfbd]{display:inline-block}.form-element[data-v-998803d8]{position:relative}.form-dropdown[data-v-998803d8]{font-size:1rem;line-height:1.23529;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:block;box-sizing:border-box;width:100%;height:3.3em;color:var(--color-dropdown-text);padding:1.11765rem 2.35294rem 0 .94118rem;text-align:left;border:1px solid var(--color-dropdown-border);border-radius:var(--border-radius,4px);background-clip:padding-box;margin-bottom:.82353rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;min-height:32px}.form-dropdown[data-v-998803d8]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none;border-color:var(--color-focus-border-color)}.form-dropdown.no-eyebrow[data-v-998803d8]{padding-top:0}.form-dropdown[data-v-998803d8]:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--color-dropdown-text)}.form-dropdown[data-v-998803d8]::-ms-expand{opacity:0}.form-dropdown~.form-icon[data-v-998803d8]{position:absolute;display:block;pointer-events:none;fill:var(--color-figure-gray-tertiary);right:14px;width:13px;height:auto;top:50%;transform:translateY(-50%)}.is-open .form-dropdown~.form-icon[data-v-998803d8]{transform:translateY(-50%) scale(-1)}@media only screen and (max-width:735px){.form-dropdown~.form-icon[data-v-998803d8]{right:14px}}.form-dropdown~.form-label[data-v-998803d8]{font-size:.70588rem;line-height:1.75;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);position:absolute;top:.47059rem;left:17px;color:var(--color-figure-gray-secondary);pointer-events:none;padding:0;z-index:1}.form-dropdown[data-v-998803d8] option{color:var(--color-dropdown-text)}.form-dropdown-selectnone[data-v-998803d8]{color:transparent}.form-dropdown-selectnone~.form-label[data-v-998803d8]{font-size:1rem;line-height:1.23529;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);top:19px;left:17px;color:var(--color-figure-gray-tertiary)}.form-dropdown-selectnone[data-v-998803d8]:-moz-focusring{text-shadow:none}.form-dropdown-selectnone[data-v-998803d8]::-ms-value{display:none}.theme-dark .form-dropdown[data-v-998803d8]{color:var(--color-dropdown-dark-text);background-color:var(--color-dropdown-dark-background);border-color:var(--color-dropdown-dark-border)}.theme-dark .form-dropdown~.form-label[data-v-998803d8]{color:#ccc}.theme-dark .form-dropdown[data-v-998803d8]:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--color-dropdown-dark-text)}.theme-dark .form-dropdown.form-dropdown-selectnone[data-v-998803d8]{color:transparent}.theme-dark .form-dropdown.form-dropdown-selectnone[data-v-998803d8]:-moz-focusring{text-shadow:none}.theme-dark .form-dropdown-selectnone~.form-label[data-v-998803d8]{color:#b0b0b0}.dropdown-small[data-v-12dd746a]{height:30px;display:flex;align-items:center;position:relative;background:var(--color-fill)}.dropdown-small .form-dropdown-toggle[data-v-12dd746a]{line-height:1.5;font-size:12px;padding-top:0;padding-bottom:0;padding-left:20px;min-height:unset;height:30px;display:flex;align-items:center}.dropdown-small .form-dropdown-toggle[data-v-12dd746a]:focus{box-shadow:none;border-color:var(--color-dropdown-border)}.fromkeyboard .dropdown-small .form-dropdown-toggle[data-v-12dd746a]:focus{box-shadow:0 0 0 2px var(--color-focus-color);outline:none;border-color:var(--color-focus-border-color)}.form-dropdown-toggle[data-v-12dd746a]{margin:0}.is-open .form-dropdown-toggle[data-v-12dd746a]{border-radius:var(--border-radius,4px) var(--border-radius,4px) 0 0;border-bottom:none;padding-bottom:1px}.fromkeyboard .is-open .form-dropdown-toggle[data-v-12dd746a]{box-shadow:1px -1px 0 1px var(--color-focus-color),-1px -1px 0 1px var(--color-focus-color);border-color:var(--color-focus-border-color)}.form-dropdown-title[data-v-12dd746a]{margin:0;padding:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dropdown-custom[data-v-12dd746a]{border-radius:var(--border-radius,4px)}.dropdown-custom.is-open[data-v-12dd746a]{border-radius:var(--border-radius,4px) var(--border-radius,4px) 0 0}.dropdown-custom[data-v-12dd746a] .form-dropdown-content{background:var(--color-fill);position:absolute;right:0;left:0;top:100%;border-bottom-left-radius:var(--border-radius,4px);border-bottom-right-radius:var(--border-radius,4px);border:1px solid var(--color-dropdown-border);border-top:none;display:none;overflow-y:auto}.dropdown-custom[data-v-12dd746a] .form-dropdown-content.is-open{display:block}.fromkeyboard .dropdown-custom[data-v-12dd746a] .form-dropdown-content.is-open{box-shadow:1px 1px 0 1px var(--color-focus-color),-1px 1px 0 1px var(--color-focus-color);border-color:var(--color-focus-border-color);border-top-color:transparent}.nav .dropdown-custom[data-v-12dd746a] .form-dropdown-content{max-height:calc(100vh - 116px - 3.05882rem)}.nav--is-sticking.nav .dropdown-custom[data-v-12dd746a] .form-dropdown-content{max-height:calc(100vh - 3.05882rem - 72px)}.dropdown-custom[data-v-12dd746a] .options{list-style:none;margin:0;padding:0 0 20px}.dropdown-custom[data-v-12dd746a] .option{cursor:pointer;padding:5px 20px;font-size:12px;line-height:20px;outline:none}.dropdown-custom[data-v-12dd746a] .option:hover{background-color:var(--color-fill-tertiary)}.dropdown-custom[data-v-12dd746a] .option.option-active{font-weight:600}.fromkeyboard .dropdown-custom[data-v-12dd746a] .option:hover{background-color:transparent}.fromkeyboard .dropdown-custom[data-v-12dd746a] .option:focus{background-color:var(--color-fill-tertiary);outline:none}.tutorial-dropdown[data-v-554d62b6]{grid-column:3}.section-tracker[data-v-554d62b6]{font-size:.70588rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-figure-gray-secondary);margin-left:15px}.tutorial-dropdown[data-v-4bddb6e6]{grid-column:1/2}.tutorial-dropdown .options[data-v-4bddb6e6]{padding-top:1rem;padding-bottom:0}.tutorial-dropdown .option[data-v-4bddb6e6]{padding:5px 20px 5px 30px}.chapter-list[data-v-4bddb6e6]{padding-bottom:20px}.chapter-name[data-v-4bddb6e6]{margin:0 20px 5px 20px;line-height:normal;color:var(--color-figure-gray-secondary)}.chevron-icon[data-v-717bc942]{padding:0;color:var(--color-nav-outlines);grid-column:2;height:20px;width:20px;margin:0 4px}@media only screen and (min-width:768px){.nav[data-v-717bc942] .nav-content{display:grid;grid-template-columns:auto auto 3fr;align-items:center}.nav[data-v-717bc942] .nav-menu{padding:0;grid-column:3/5}.nav[data-v-717bc942] .nav-menu-item{margin:0}}.dropdown-container[data-v-717bc942]{height:3.05882rem;display:grid;grid-template-columns:minmax(230px,285px) auto minmax(230px,1fr);align-items:center}@media only screen and (max-width:1023px){.dropdown-container[data-v-717bc942]{grid-template-columns:minmax(173px,216px) auto minmax(173px,1fr)}}.separator[data-v-717bc942]{height:20px;border-right:1px solid;border-color:var(--color-nav-outlines);margin:0 20px;grid-column:2}.mobile-dropdown-container[data-v-717bc942],.nav--in-breakpoint-range.nav .dropdown-container[data-v-717bc942],.nav--in-breakpoint-range.nav .separator[data-v-717bc942]{display:none}.nav--in-breakpoint-range.nav .mobile-dropdown-container[data-v-717bc942]{display:block}.nav--in-breakpoint-range.nav[data-v-717bc942] .nav-title{grid-area:title}.nav--in-breakpoint-range.nav[data-v-717bc942] .pre-title{display:none}.nav[data-v-717bc942] .nav-title{grid-column:1;width:90%;padding-top:0}.primary-dropdown[data-v-717bc942],.secondary-dropdown[data-v-717bc942]{background:var(--color-tutorial-navbar-dropdown-background);border-color:var(--color-tutorial-navbar-dropdown-border)}.primary-dropdown[data-v-717bc942] .form-dropdown,.primary-dropdown[data-v-717bc942] .form-dropdown:focus,.secondary-dropdown[data-v-717bc942] .form-dropdown,.secondary-dropdown[data-v-717bc942] .form-dropdown:focus{border-color:var(--color-tutorial-navbar-dropdown-border)}.primary-dropdown[data-v-717bc942] .options,.secondary-dropdown[data-v-717bc942] .options{background:var(--color-tutorial-navbar-dropdown-background);border-color:var(--color-tutorial-navbar-dropdown-border)}[data-v-3cfe1c35] .code-listing+*,[data-v-3cfe1c35] aside+*,[data-v-3cfe1c35] h2+*,[data-v-3cfe1c35] h3+*,[data-v-3cfe1c35] ol+*,[data-v-3cfe1c35] p+*,[data-v-3cfe1c35] ul+*{margin-top:20px}[data-v-3cfe1c35] ol ol,[data-v-3cfe1c35] ol ul,[data-v-3cfe1c35] ul ol,[data-v-3cfe1c35] ul ul{margin-top:0}[data-v-3cfe1c35] h2{font-size:1.88235rem;line-height:1.25;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-3cfe1c35] h2{font-size:1.64706rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){[data-v-3cfe1c35] h2{font-size:1.41176rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-3cfe1c35] h3{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-3cfe1c35] h3{font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-3cfe1c35] .code-listing{background:var(--color-code-background);border-color:var(--colors-grid,var(--color-grid));border-style:solid;border-width:1px}[data-v-3cfe1c35] .code-listing pre{font-size:.70588rem;line-height:1.83333;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace);padding:20px 0}.columns[data-v-30edf911]{display:grid;grid-template-rows:repeat(2,auto)}.columns.cols-2[data-v-30edf911]{gap:20px 8.33333%;grid-template-columns:repeat(2,1fr)}.columns.cols-3[data-v-30edf911]{gap:20px 4.16667%;grid-template-columns:repeat(3,1fr)}.asset[data-v-30edf911]{align-self:end;grid-row:1}.content[data-v-30edf911]{grid-row:2}@media only screen and (max-width:735px){.columns.cols-2[data-v-30edf911],.columns.cols-3[data-v-30edf911]{grid-template-columns:unset}.asset[data-v-30edf911],.content[data-v-30edf911]{grid-row:auto}}.content-and-media[data-v-3fa44f9e]{display:flex}.content-and-media.media-leading[data-v-3fa44f9e]{flex-direction:row-reverse}.content-and-media.media-trailing[data-v-3fa44f9e]{flex-direction:row}@media only screen and (min-width:736px){.content-and-media[data-v-3fa44f9e]{align-items:center;justify-content:center}}.content[data-v-3fa44f9e]{width:62.5%}.asset[data-v-3fa44f9e]{width:29.16667%}.media-leading .asset[data-v-3fa44f9e]{margin-right:8.33333%}.media-trailing .asset[data-v-3fa44f9e]{margin-left:8.33333%}@media only screen and (max-width:735px){.content-and-media.media-leading[data-v-3fa44f9e],.content-and-media.media-trailing[data-v-3fa44f9e]{flex-direction:column}.asset[data-v-3fa44f9e],.content[data-v-3fa44f9e]{width:100%}.media-leading .asset[data-v-3fa44f9e],.media-trailing .asset[data-v-3fa44f9e]{margin:20px 0 0 0}}.group[id][data-v-1f2be54b]{margin-top:20px;padding-top:20px}[data-v-1f2be54b] img,[data-v-1f2be54b] video{display:block;margin:0 auto;max-width:100%}.layout+[data-v-4d5a806e]{margin-top:40px}@media only screen and (max-width:735px){.layout[data-v-4d5a806e]:first-child>:not(.group[id]){margin-top:40px}}.body[data-v-6499e2f2]{background:var(--colors-text-background,var(--color-article-body-background));margin-left:auto;margin-right:auto;width:980px;border-radius:10px;transform:translateY(-120px)}@media only screen and (max-width:1250px){.body[data-v-6499e2f2]{width:692px}}@media only screen and (max-width:735px){.body[data-v-6499e2f2]{width:87.5%}}@media only screen and (max-width:320px){.body[data-v-6499e2f2]{width:215px}}@media only screen and (max-width:735px){.body[data-v-6499e2f2]{border-radius:0;transform:none}}.body[data-v-6499e2f2]~*{margin-top:-40px}.body-content[data-v-6499e2f2]{padding:40px 8.33333% 80px 8.33333%}@media only screen and (max-width:735px){.body-content[data-v-6499e2f2]{padding:0 0 40px 0}}.call-to-action[data-v-042a0474]{padding:65px 0;background:var(--color-call-to-action-background)}.theme-dark .call-to-action[data-v-042a0474]{--color-call-to-action-background:#424242}.row[data-v-042a0474]{margin-left:auto;margin-right:auto;width:980px;display:flex;align-items:center}@media only screen and (max-width:1250px){.row[data-v-042a0474]{width:692px}}@media only screen and (max-width:735px){.row[data-v-042a0474]{width:87.5%}}@media only screen and (max-width:320px){.row[data-v-042a0474]{width:215px}}[data-v-042a0474] img,[data-v-042a0474] video{max-height:560px}h2[data-v-042a0474]{font-size:1.88235rem;line-height:1.25;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){h2[data-v-042a0474]{font-size:1.64706rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){h2[data-v-042a0474]{font-size:1.41176rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.label[data-v-042a0474]{display:block;font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin-bottom:var(--spacing-stacked-margin-small);color:var(--color-eyebrow)}@media only screen and (max-width:735px){.label[data-v-042a0474]{font-size:1.11765rem;line-height:1.21053;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.content[data-v-042a0474]{margin-bottom:1.5rem}.right-column[data-v-042a0474]{margin-left:auto}@media only screen and (max-width:735px){.row[data-v-042a0474]{display:block}.col+.col[data-v-042a0474]{margin-top:40px}}@media only screen and (max-width:735px){.call-to-action[data-v-426a965c]{margin-top:0}}.headline[data-v-d46a1474]{margin-bottom:var(--spacing-stacked-margin-large)}.heading[data-v-d46a1474]{font-size:2.82353rem;line-height:1.08333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-header-text)}@media only screen and (max-width:1250px){.heading[data-v-d46a1474]{font-size:2.35294rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.heading[data-v-d46a1474]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.dark .heading[data-v-d46a1474]{color:#fff}.eyebrow[data-v-d46a1474]{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:block;margin-bottom:var(--spacing-stacked-margin-small);color:var(--color-eyebrow)}@media only screen and (max-width:1250px){.eyebrow[data-v-d46a1474]{font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.metadata[data-v-94ff76c0]{display:flex}.item[data-v-94ff76c0]{font-size:.70588rem;line-height:1.33333;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:flex;flex-direction:column;justify-content:flex-end;align-items:center;border-right:1px solid #fff;padding:0 27.5px}@media only screen and (max-width:735px){.item[data-v-94ff76c0]{font-size:.64706rem;line-height:1.63636;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);padding:0 8px}}.item[data-v-94ff76c0]:first-of-type{padding-left:0}.item[data-v-94ff76c0]:last-of-type{border:none}@media only screen and (max-width:735px){.item[data-v-94ff76c0]:last-of-type{padding-right:0}}.content[data-v-94ff76c0]{color:#fff}.icon[data-v-94ff76c0]{font-size:2.82353rem;line-height:1.08333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){.icon[data-v-94ff76c0]{font-size:2.35294rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.icon[data-v-94ff76c0]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.small-icon[data-v-94ff76c0]{width:1em;height:1em;margin-left:.2rem}.small-icon.xcode-icon[data-v-94ff76c0]{width:.8em;height:.8em}.content-link[data-v-94ff76c0]{display:flex;align-items:center}a[data-v-94ff76c0]{color:var(--colors-link,var(--color-tutorials-overview-link))}.duration[data-v-94ff76c0]{display:flex;align-items:baseline;font-size:2.35294rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);line-height:1.8rem}@media only screen and (max-width:735px){.duration[data-v-94ff76c0]{font-size:1.64706rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);line-height:1.3rem}}.minutes[data-v-94ff76c0]{display:inline-block;font-size:1.64706rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);line-height:1.3rem}@media only screen and (max-width:735px){.minutes[data-v-94ff76c0]{font-size:1rem;line-height:1.23529;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);line-height:.8rem}}.item-large-icon[data-v-94ff76c0]{height:2.3rem;max-width:100%}@media only screen and (max-width:735px){.item-large-icon[data-v-94ff76c0]{height:1.5rem;max-width:100%}}.bottom[data-v-94ff76c0]{margin-top:13px}@media only screen and (max-width:735px){.bottom[data-v-94ff76c0]{margin-top:8px}}.hero[data-v-55543c5a]{color:var(--color-tutorial-hero-text);position:relative}.bg[data-v-55543c5a],.hero[data-v-55543c5a]{background-color:var(--color-tutorial-hero-background)}.bg[data-v-55543c5a]{background-position:top;background-repeat:no-repeat;background-size:cover;content:"";height:100%;left:0;opacity:.3;position:absolute;top:0;width:100%}.row[data-v-55543c5a]{margin-left:auto;margin-right:auto;width:980px;padding:80px 0}@media only screen and (max-width:1250px){.row[data-v-55543c5a]{width:692px}}@media only screen and (max-width:735px){.row[data-v-55543c5a]{width:87.5%}}@media only screen and (max-width:320px){.row[data-v-55543c5a]{width:215px}}.col[data-v-55543c5a]{z-index:1}[data-v-55543c5a] .eyebrow{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-hero-eyebrow)}@media only screen and (max-width:1250px){[data-v-55543c5a] .eyebrow{font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.headline[data-v-55543c5a]{font-size:2.82353rem;line-height:1.08333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin-bottom:2rem}@media only screen and (max-width:1250px){.headline[data-v-55543c5a]{font-size:2.35294rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.headline[data-v-55543c5a]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.intro[data-v-55543c5a]{font-size:1.23529rem;line-height:1.38095;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:735px){.intro[data-v-55543c5a]{font-size:1.11765rem;line-height:1.42105;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.content+p[data-v-55543c5a]{margin-top:var(--spacing-stacked-margin-large)}@media only screen and (max-width:735px){.content+p[data-v-55543c5a]{margin-top:8px}}.call-to-action[data-v-55543c5a]{display:flex;align-items:center}.call-to-action .cta-icon[data-v-55543c5a]{margin-left:.4rem;width:1em;height:1em}.metadata[data-v-55543c5a]{margin-top:2rem}.video-asset[data-v-55543c5a]{display:grid;height:100vh;margin:0;place-items:center center}.video-asset[data-v-55543c5a] video{max-width:1280px;min-width:320px;width:100%}@media only screen and (max-width:735px){.headline[data-v-55543c5a]{margin-bottom:19px}}.tutorial-hero[data-v-35a9482f]{margin-bottom:80px}@media only screen and (max-width:735px){.tutorial-hero[data-v-35a9482f]{margin-bottom:0}}.title[data-v-28135d78]{font-size:.70588rem;line-height:1.33333;color:var(--colors-secondary-label,var(--color-secondary-label))}.title[data-v-19ed40e2],.title[data-v-28135d78]{font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.title[data-v-19ed40e2]{font-size:1.11765rem;line-height:1.21053;color:var(--colors-header-text,var(--color-header-text));margin:25px 0}.question-content[data-v-19ed40e2] code{font-size:.76471rem;line-height:1.84615;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace)}.choices[data-v-19ed40e2]{display:flex;flex-direction:column;padding:0;list-style:none;margin:25px 0}.choice[data-v-19ed40e2]{font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);flex:1;border-radius:var(--border-radius,4px);margin:8px 0;padding:1.5rem 40px;cursor:pointer;background:var(--colors-text-background,var(--color-text-background));display:flex;flex-direction:column;justify-content:center;border-width:1px;border-style:solid;border-color:var(--colors-grid,var(--color-grid));position:relative}.choice[data-v-19ed40e2] img{max-height:23.52941rem}.choice[data-v-19ed40e2]:first-of-type{margin-top:0}.choice[data-v-19ed40e2] code{font-size:.76471rem;line-height:1.84615;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace)}.controls[data-v-19ed40e2]{text-align:center;margin-bottom:40px}.controls .button-cta[data-v-19ed40e2]{margin:.5rem;margin-top:0;padding:.3rem 3rem;min-width:8rem}input[type=radio][data-v-19ed40e2]{position:absolute;width:100%;left:0;height:100%;opacity:0;z-index:-1}.active[data-v-19ed40e2]{border-color:var(--color-tutorial-quiz-border-active);box-shadow:0 0 0 4px var(--color-focus-color);outline:none}.active [data-v-19ed40e2]{color:var(--colors-text,var(--color-text))}.correct[data-v-19ed40e2]{background:var(--color-form-valid-background);border-color:var(--color-form-valid)}.correct .choice-icon[data-v-19ed40e2]{fill:var(--color-form-valid)}.incorrect[data-v-19ed40e2]{background:var(--color-form-error-background);border-color:var(--color-form-error)}.incorrect .choice-icon[data-v-19ed40e2]{fill:var(--color-form-error)}.correct[data-v-19ed40e2],.incorrect[data-v-19ed40e2]{position:relative}.correct .choice-icon[data-v-19ed40e2],.incorrect .choice-icon[data-v-19ed40e2]{position:absolute;top:11px;left:10px;font-size:20px;width:1.05em}.disabled[data-v-19ed40e2]{pointer-events:none}.answer[data-v-19ed40e2]{margin:.5rem 1.5rem .5rem 0;font-size:.70588rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.answer[data-v-19ed40e2]:last-of-type{margin-bottom:0}[data-v-19ed40e2] .question>.code-listing{padding:unset;border-radius:0}[data-v-19ed40e2] pre{padding:0}[data-v-19ed40e2] img{display:block;margin-left:auto;margin-right:auto;max-width:100%}.title[data-v-65e3c02c]{font-size:1.88235rem;line-height:1.25;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--colors-header-text,var(--color-header-text))}@media only screen and (max-width:1250px){.title[data-v-65e3c02c]{font-size:1.64706rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-65e3c02c]{font-size:1.41176rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.title p[data-v-65e3c02c]{color:var(--colors-text,var(--color-text))}.assessments[data-v-65e3c02c]{box-sizing:content-box;padding:0 1rem;background:var(--color-tutorial-assessments-background);margin-left:auto;margin-right:auto;width:980px;margin-bottom:80px}@media only screen and (max-width:1250px){.assessments[data-v-65e3c02c]{width:692px}}@media only screen and (max-width:735px){.assessments[data-v-65e3c02c]{width:87.5%}}@media only screen and (max-width:320px){.assessments[data-v-65e3c02c]{width:215px}}.banner[data-v-65e3c02c]{padding:40px 0;border-bottom:1px solid;margin-bottom:40px;border-color:var(--colors-grid,var(--color-grid));text-align:center}.success[data-v-65e3c02c]{text-align:center;padding-bottom:40px;font-size:1.88235rem;line-height:1.25;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--colors-text,var(--color-text))}@media only screen and (max-width:1250px){.success[data-v-65e3c02c]{font-size:1.64706rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.success[data-v-65e3c02c]{font-size:1.41176rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.assessments-wrapper[data-v-65e3c02c]{padding-top:80px}.assessments-wrapper[data-v-3c94366b]{padding-bottom:40px;padding-top:0}@media only screen and (max-width:735px){.assessments-wrapper[data-v-3c94366b]{padding-top:80px}}.article[data-v-7d4562ea]{background:var(--colors-article-background,var(--color-article-background))}@media only screen and (max-width:735px){.article[data-v-7d4562ea]{background:var(--colors-text-background,var(--color-article-body-background))}}.intro-container[data-v-7f9a8f65]{margin-bottom:80px}.intro[data-v-7f9a8f65]{display:flex;align-items:center}@media only screen and (max-width:735px){.intro[data-v-7f9a8f65]{padding-bottom:0;flex-direction:column}}.intro.ide .media[data-v-7f9a8f65] img{background-color:var(--colors-text-background,var(--color-text-background))}.col.left[data-v-7f9a8f65]{padding-right:40px}@media only screen and (max-width:1250px){.col.left[data-v-7f9a8f65]{padding-right:28px}}@media only screen and (max-width:735px){.col.left[data-v-7f9a8f65]{margin-left:auto;margin-right:auto;width:980px;padding-right:0}}@media only screen and (max-width:735px) and (max-width:1250px){.col.left[data-v-7f9a8f65]{width:692px}}@media only screen and (max-width:735px) and (max-width:735px){.col.left[data-v-7f9a8f65]{width:87.5%}}@media only screen and (max-width:735px) and (max-width:320px){.col.left[data-v-7f9a8f65]{width:215px}}.col.right[data-v-7f9a8f65]{padding-left:40px}@media only screen and (max-width:1250px){.col.right[data-v-7f9a8f65]{padding-left:28px}}@media only screen and (max-width:735px){.col.right[data-v-7f9a8f65]{padding-left:0}}.content[data-v-7f9a8f65]{font-size:1rem;line-height:1.47059;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.media[data-v-7f9a8f65] img{width:auto;max-height:560px;min-height:18.82353rem;-o-object-fit:scale-down;object-fit:scale-down}@media only screen and (max-width:735px){.media[data-v-7f9a8f65]{margin:0;margin-top:40px}.media[data-v-7f9a8f65] img,.media[data-v-7f9a8f65] video{max-height:80vh}}.media[data-v-7f9a8f65] .asset{padding:0 20px}.headline[data-v-7f9a8f65]{color:var(--colors-header-text,var(--color-header-text))}[data-v-7f9a8f65] .eyebrow{font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:735px){[data-v-7f9a8f65] .eyebrow{font-size:1.11765rem;line-height:1.21053;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-7f9a8f65] .eyebrow a{color:inherit}[data-v-7f9a8f65] .heading{font-size:1.88235rem;line-height:1.25;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-7f9a8f65] .heading{font-size:1.64706rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){[data-v-7f9a8f65] .heading{font-size:1.41176rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.expanded-intro[data-v-7f9a8f65]{margin-left:auto;margin-right:auto;width:980px;margin-top:40px}@media only screen and (max-width:1250px){.expanded-intro[data-v-7f9a8f65]{width:692px}}@media only screen and (max-width:735px){.expanded-intro[data-v-7f9a8f65]{width:87.5%}}@media only screen and (max-width:320px){.expanded-intro[data-v-7f9a8f65]{width:215px}}[data-v-7f9a8f65] .cols-2{gap:20px 16.66667%}[data-v-7f9a8f65] .cols-3 .column{gap:20px 12.5%}.code-preview[data-v-4f53426a]{position:sticky;overflow-y:auto;-webkit-overflow-scrolling:touch;background-color:var(--background,var(--color-step-background));height:calc(100vh - 3.05882rem)}.code-preview.ide[data-v-4f53426a]{height:100vh}.code-preview[data-v-4f53426a] .code-listing{color:var(--text,var(--color-code-plain))}.code-preview[data-v-4f53426a] .code-listing .code-line-container{padding-right:14px}.code-preview[data-v-4f53426a] pre{font-size:.70588rem;line-height:1.83333;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace)}.header[data-v-4f53426a]{font-size:.70588rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);position:relative;display:flex;justify-content:space-between;align-items:center;width:-webkit-fill-available;width:-moz-available;width:stretch;cursor:pointer;font-weight:600;padding:8px 12px;border-radius:var(--border-radius,4px) var(--border-radius,4px) 0 0;z-index:1;background:var(--color-runtime-preview-background);color:var(--colors-runtime-preview-text,var(--color-runtime-preview-text))}.header[data-v-4f53426a]:focus{outline-style:none}#app.fromkeyboard .header[data-v-4f53426a]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none;border-color:var(--color-focus-border-color)}.runtime-preview[data-v-4f53426a]{--color-runtime-preview-shadow:rgba(0,0,0,0.4);position:absolute;top:0;right:0;background:var(--color-runtime-preview-background);border-radius:var(--border-radius,4px);margin:1rem;margin-left:0;transition:width .2s ease-in;box-shadow:0 0 3px 0 var(--color-runtime-preview-shadow)}@media screen{[data-color-scheme=dark] .runtime-preview[data-v-4f53426a]{--color-runtime-preview-shadow:hsla(0,0%,100%,0.4)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .runtime-preview[data-v-4f53426a]{--color-runtime-preview-shadow:hsla(0,0%,100%,0.4)}}@supports not ((width:-webkit-fill-available) or (width:-moz-available) or (width:stretch)){.runtime-preview[data-v-4f53426a]{display:flex;flex-direction:column}}.runtime-preview .runtimve-preview__container[data-v-4f53426a]{border-radius:var(--border-radius,4px);overflow:hidden}.runtime-preview-ide[data-v-4f53426a]{top:0}.runtime-preview-ide .runtime-preview-asset[data-v-4f53426a] img{background-color:var(--color-runtime-preview-background)}.runtime-preview.collapsed[data-v-4f53426a]{box-shadow:0 0 3px 0 var(--color-runtime-preview-shadow);width:102px}.runtime-preview.collapsed .header[data-v-4f53426a]{border-radius:var(--border-radius,4px)}.runtime-preview.disabled[data-v-4f53426a]{box-shadow:0 0 3px 0 transparent}.runtime-preview.disabled .header[data-v-4f53426a]{color:var(--color-runtime-preview-disabled-text);cursor:auto}.runtime-preview-asset[data-v-4f53426a]{border-radius:0 0 var(--border-radius,4px) var(--border-radius,4px)}.runtime-preview-asset[data-v-4f53426a] img{border-bottom-left-radius:var(--border-radius,4px);border-bottom-right-radius:var(--border-radius,4px)}.preview-icon[data-v-4f53426a]{height:.8em;width:.8em;-webkit-user-select:none;-moz-user-select:none;user-select:none}.preview-show[data-v-4f53426a]{transform:scale(-1)}[data-v-5ad4e037] pre{padding:10px 0}.toggle-preview[data-v-78763c14]{color:var(--color-runtime-preview-disabled-text);display:flex;align-items:center}a[data-v-78763c14]{color:var(--url,var(--color-link))}.toggle-text[data-v-78763c14]{display:flex;align-items:center}svg.toggle-icon[data-v-78763c14]{width:1em;height:1em;margin-left:.5em}.mobile-code-preview[data-v-1aed4baa]{background-color:var(--background,var(--color-step-background));padding:14px 0}@media only screen and (max-width:735px){.mobile-code-preview[data-v-1aed4baa]{display:flex;flex-direction:column}}.runtime-preview-modal-content[data-v-1aed4baa]{padding:45px 60px 0 60px;min-width:200px}.runtime-preview-modal-content[data-v-1aed4baa] img:not(.file-icon){border-radius:var(--border-radius,4px);box-shadow:0 0 3px rgba(0,0,0,.4);max-height:80vh;width:auto;display:block;margin-bottom:1rem}.runtime-preview-modal-content .runtime-preview-label[data-v-1aed4baa]{font-size:.70588rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-runtime-preview-text);display:block;text-align:center;padding:.5em}[data-v-1aed4baa] .code-listing{color:var(--text,var(--color-code-plain))}[data-v-1aed4baa] .full-code-listing{padding-top:60px;min-height:calc(100vh - 60px)}[data-v-1aed4baa] pre{font-size:.70588rem;line-height:1.83333;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace)}.preview-toggle-container[data-v-1aed4baa]{align-self:flex-end;margin-right:20px}.step-container[data-v-eb45ec92]{margin:0}.step-container[data-v-eb45ec92]:not(:last-child){margin-bottom:100px}@media only screen and (max-width:735px){.step-container[data-v-eb45ec92]:not(:last-child){margin-bottom:80px}}.step[data-v-eb45ec92]{position:relative;border-radius:var(--tutorial-step-border-radius,var(--border-radius,4px));padding:1rem 2rem;background-color:var(--color-step-background);overflow:hidden;filter:blur(0)}.step[data-v-eb45ec92]:before{content:"";position:absolute;top:0;left:0;border:1px solid var(--color-step-focused);background-color:var(--color-step-focused);height:calc(100% - 2px);width:4px;opacity:0;transition:opacity .15s ease-in}.step.focused[data-v-eb45ec92],.step[data-v-eb45ec92]:focus{outline:none}.step.focused[data-v-eb45ec92]:before,.step[data-v-eb45ec92]:focus:before{opacity:1}@media only screen and (max-width:735px){.step[data-v-eb45ec92]{padding-left:2rem}.step[data-v-eb45ec92]:before{opacity:1}}.step-label[data-v-eb45ec92]{font-size:.70588rem;line-height:1.33333;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--colors-text,var(--color-step-text));margin-bottom:var(--spacing-stacked-margin-small)}.caption[data-v-eb45ec92]{border-top:1px solid;border-color:var(--color-step-caption);padding:1rem 0 0 0;margin-top:1rem}.media-container[data-v-eb45ec92]{display:none}@media only screen and (max-width:735px){.step[data-v-eb45ec92]{margin:0 .58824rem 1.17647rem .58824rem}.step.focused[data-v-eb45ec92],.step[data-v-eb45ec92]:focus{outline:none}.media-container[data-v-eb45ec92]{display:block;position:relative}.media-container[data-v-eb45ec92] img,.media-container[data-v-eb45ec92] video{max-height:80vh}[data-v-eb45ec92] .asset{padding:0 20px}}.steps[data-v-2786be2a]{position:relative;font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:flex;color:var(--colors-text,var(--color-text))}@media only screen and (max-width:735px){.steps[data-v-2786be2a]{padding-top:80px}.steps[data-v-2786be2a]:before{position:absolute;top:0;border-top:1px solid var(--color-fill-gray-tertiary);content:"";width:calc(100% - 2.35294rem);margin:0 1.17647rem}}.steps[data-v-2786be2a] aside{background:unset;border:unset;box-shadow:unset;-moz-column-break-inside:unset;break-inside:unset;padding:unset}.steps[data-v-2786be2a] aside .label{font-size:.70588rem;line-height:1.33333;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.content-container[data-v-2786be2a]{flex:none;margin-right:4.16667%;width:37.5%;margin-top:140px;margin-bottom:94vh}@media only screen and (max-width:735px){.content-container[data-v-2786be2a]{margin-top:0;margin-bottom:0;height:100%;margin-left:0;margin-right:0;position:relative;width:100%}}.asset-container[data-v-2786be2a]{flex:none;height:calc(100vh - 3.05882rem);background-color:var(--background,var(--color-step-background));max-width:921px;width:calc(50vw + 8.33333%);position:sticky;top:3.05882rem;transition:margin .1s ease-in-out}@media only screen and (max-width:767px){.asset-container[data-v-2786be2a]{top:2.82353rem;height:calc(100vh - 2.82353rem)}}.asset-container[data-v-2786be2a]:not(.for-step-code){overflow-y:auto;-webkit-overflow-scrolling:touch}.asset-container.ide[data-v-2786be2a]{height:100vh;top:0}@media only screen and (min-width:736px){.asset-container[data-v-2786be2a]{display:grid}.asset-container>[data-v-2786be2a]{grid-row:1;grid-column:1;height:calc(100vh - 3.05882rem)}.asset-container.ide>[data-v-2786be2a]{height:100vh}}.asset-container .step-asset[data-v-2786be2a]{box-sizing:border-box;padding:0;padding-left:40px;min-height:320px;height:100%}.asset-container .step-asset[data-v-2786be2a],.asset-container .step-asset[data-v-2786be2a] picture{height:100%;display:flex;align-items:center}.asset-container .step-asset[data-v-2786be2a] .video-replay-container{height:100%;display:flex;flex-direction:column;justify-content:center}.asset-container .step-asset[data-v-2786be2a] img,.asset-container .step-asset[data-v-2786be2a] video{width:auto;max-height:calc(100vh - 3.05882rem - 80px);max-width:531.6634px;margin:0}@media only screen and (max-width:1250px){.asset-container .step-asset[data-v-2786be2a] img,.asset-container .step-asset[data-v-2786be2a] video{max-width:363.66436px}}.asset-container .step-asset[data-v-2786be2a] .video-replay-container,.asset-container .step-asset[data-v-2786be2a] img{min-height:320px}.asset-container .step-asset[data-v-2786be2a] .video-replay-container video{min-height:280px}@media only screen and (max-width:735px){.asset-container[data-v-2786be2a]{display:none}}.asset-wrapper[data-v-2786be2a]{width:63.2%;align-self:center;transition:transform .25s ease-out;will-change:transform}.asset-wrapper.ide .step-asset[data-v-2786be2a] img{background-color:var(--background,var(--color-step-background))}[data-v-2786be2a] .runtime-preview-asset{display:grid}[data-v-2786be2a] .runtime-preview-asset>*{grid-row:1;grid-column:1}.interstitial[data-v-2786be2a]{padding:0 2rem}.interstitial[data-v-2786be2a]:not(:first-child){margin-top:5.88235rem}.interstitial[data-v-2786be2a]:not(:last-child){margin-bottom:30px}@media only screen and (max-width:735px){.interstitial[data-v-2786be2a]{margin-left:auto;margin-right:auto;width:980px;padding:0}}@media only screen and (max-width:735px) and (max-width:1250px){.interstitial[data-v-2786be2a]{width:692px}}@media only screen and (max-width:735px) and (max-width:735px){.interstitial[data-v-2786be2a]{width:87.5%}}@media only screen and (max-width:735px) and (max-width:320px){.interstitial[data-v-2786be2a]{width:215px}}@media only screen and (max-width:735px){.interstitial[data-v-2786be2a]:not(:first-child){margin-top:0}}.fade-enter-active[data-v-2786be2a],.fade-leave-active[data-v-2786be2a]{transition:opacity .3s ease-in-out}.fade-enter[data-v-2786be2a],.fade-leave-to[data-v-2786be2a]{opacity:0}.section[data-v-6b3a0b3a]{padding-top:80px}.sections[data-v-79a75e9e]{margin-left:auto;margin-right:auto;width:980px}@media only screen and (max-width:1250px){.sections[data-v-79a75e9e]{width:692px}}@media only screen and (max-width:735px){.sections[data-v-79a75e9e]{width:87.5%}}@media only screen and (max-width:320px){.sections[data-v-79a75e9e]{width:215px}}@media only screen and (max-width:735px){.sections[data-v-79a75e9e]{margin:0;width:100%}}.tutorial[data-v-611d0574]{background-color:var(--colors-text-background,var(--color-tutorial-background))} \ No newline at end of file diff --git a/css/tutorials-overview.c249c765.css b/css/tutorials-overview.c249c765.css new file mode 100644 index 0000000..01d1d25 --- /dev/null +++ b/css/tutorials-overview.c249c765.css @@ -0,0 +1,9 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */.tutorials-navigation-link[data-v-e9f9b59c]{color:var(--color-tutorials-overview-navigation-link);transition:color .3s linear}.tutorials-navigation-link[data-v-e9f9b59c]:hover{text-decoration:none;transition:none;color:var(--color-tutorials-overview-navigation-link-hover)}.tutorials-navigation-link.active[data-v-e9f9b59c]{color:var(--color-tutorials-overview-navigation-link-active)}.tutorials-navigation-list[data-v-6f2800d1]{list-style-type:none;margin:0}.tutorials-navigation-list li+li[data-v-6f2800d1]:not(.volume--named){margin-top:24px}.tutorials-navigation-list .volume--named+.volume--named[data-v-6f2800d1]{margin-top:12px}.expand-enter-active,.expand-leave-active{transition:height .3s ease-in-out;overflow:hidden}.expand-enter,.expand-leave-to{height:0}.toggle[data-v-489416f8]{color:#f0f0f0;line-height:21px;display:flex;align-items:center;width:100%;font-weight:600;padding:6px 6px 6px 0;border-bottom:1px solid #2a2a2a;text-decoration:none;box-sizing:border-box}@media only screen and (max-width:767px){.toggle[data-v-489416f8]{padding-right:6px;border-bottom-color:hsla(0,0%,100%,.1)}}.toggle .text[data-v-489416f8]{word-break:break-word}.toggle[data-v-489416f8]:hover{text-decoration:none}.toggle .toggle-icon[data-v-489416f8]{display:inline-block;transition:transform .2s ease-in;height:.4em;width:.4em;margin-left:auto;margin-right:.2em}.collapsed .toggle .toggle-icon[data-v-489416f8]{transform:rotate(45deg)}.collapsed .toggle[data-v-489416f8],.collapsed .toggle[data-v-489416f8]:hover{color:#b0b0b0}.tutorials-navigation-menu-content[data-v-489416f8]{opacity:1;transition:height .2s ease-in,opacity .2s ease-in}.collapsed .tutorials-navigation-menu-content[data-v-489416f8]{height:0;opacity:0}.tutorials-navigation-menu-content .tutorials-navigation-list[data-v-489416f8]{padding:24px 0 12px 0}.tutorials-navigation[data-v-79093ed6]{font-size:1rem;line-height:1.23529;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.nav-title-content[data-v-854b4dd6]{max-width:100%}.title[data-v-854b4dd6]{color:var(--color-nav-root-title,currentColor);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:inline-block;vertical-align:top;max-width:296px}@media only screen and (max-width:1023px){.title[data-v-854b4dd6]{max-width:205px}}@media only screen and (max-width:767px){.title[data-v-854b4dd6]{flex-basis:fill;display:initial;vertical-align:initial;max-width:none}}.subhead[data-v-854b4dd6]{color:var(--color-nav-root-subhead)}.theme-dark .subhead[data-v-854b4dd6]{color:var(--color-nav-dark-root-subhead)}.nav[data-v-b806ee20] .nav-menu{padding-top:0}.nav[data-v-b806ee20] .nav-menu .nav-menu-items{margin-left:auto}@media only screen and (min-width:768px){.nav[data-v-b806ee20] .nav-menu .nav-menu-items .in-page-navigation{display:none}}@media only screen and (min-width:320px) and (max-width:735px){.nav[data-v-b806ee20] .nav-menu .nav-menu-items{padding:18px 0 40px}}.hero[data-v-383dab71]{margin-left:auto;margin-right:auto;width:980px;padding-bottom:4.70588rem;padding-top:4.70588rem}@media only screen and (max-width:1250px){.hero[data-v-383dab71]{width:692px}}@media only screen and (max-width:735px){.hero[data-v-383dab71]{width:87.5%}}@media only screen and (max-width:320px){.hero[data-v-383dab71]{width:215px}}.copy-container[data-v-383dab71]{margin:0 auto;text-align:center;width:720px}.title[data-v-383dab71]{font-size:2.82353rem;line-height:1.08333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-tutorials-overview-content)}@media only screen and (max-width:1250px){.title[data-v-383dab71]{font-size:2.35294rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-383dab71]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.content[data-v-383dab71]{font-size:1.23529rem;line-height:1.38095;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-tutorials-overview-content)}@media only screen and (max-width:735px){.content[data-v-383dab71]{font-size:1.11765rem;line-height:1.42105;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.meta[data-v-383dab71]{color:var(--color-tutorials-overview-content-alt);align-items:center;display:flex;justify-content:center}.meta-content[data-v-383dab71]{font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.meta .timer-icon[data-v-383dab71]{margin-right:.35294rem;height:16px;width:16px;fill:var(--color-tutorials-overview-icon)}@media only screen and (max-width:735px){.meta .timer-icon[data-v-383dab71]{margin-right:.29412rem;height:.82353rem;width:.82353rem}}.meta .time[data-v-383dab71]{font-size:1.11765rem;line-height:1.21053;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:735px){.meta .time[data-v-383dab71]{font-size:1rem;line-height:1.11765;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.title+.content[data-v-383dab71]{margin-top:1.47059rem}.content+.meta[data-v-383dab71]{margin-top:1.17647rem}.button-cta[data-v-383dab71]{margin-top:1.76471rem}*+.asset[data-v-383dab71]{margin-top:4.11765rem}@media only screen and (max-width:1250px){.copy-container[data-v-383dab71]{width:636px}}@media only screen and (max-width:735px){.hero[data-v-383dab71]{padding-bottom:1.76471rem;padding-top:2.35294rem}.copy-container[data-v-383dab71]{width:100%}.title+.content[data-v-383dab71]{margin-top:.88235rem}.button-cta[data-v-383dab71]{margin-top:1.41176rem}*+.asset[data-v-383dab71]{margin-top:2.23529rem}}.image[data-v-569db166]{margin-bottom:10px}.name[data-v-569db166]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-tutorials-overview-header-text,#f0f0f0);word-break:break-word}@media only screen and (max-width:1250px){.name[data-v-569db166]{font-size:1.64706rem;line-height:1.14286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.name[data-v-569db166]{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.content[data-v-569db166]{font-size:1rem;line-height:1.23529;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-tutorials-overview-content-alt);margin-top:10px}.volume-name[data-v-569db166]{padding:50px 60px;text-align:center;background:var(--color-tutorials-overview-fill-secondary,#161616);margin:2px 0}@media only screen and (max-width:735px){.volume-name[data-v-569db166]{padding:40px 20px}}.document-icon[data-v-3a80772b]{margin-left:-3px}.tile[data-v-96abac22]{background:var(--color-tutorials-overview-fill-secondary,#161616);padding:40px 30px;color:var(--color-tutorials-overview-content-alt)}.content[data-v-96abac22] a,a[data-v-96abac22]{color:var(--colors-link,var(--color-tutorials-overview-link))}.icon[data-v-96abac22]{display:block;height:1.47059rem;line-height:1.47059rem;margin-bottom:.58824rem;width:1.47059rem}.icon[data-v-96abac22] svg.svg-icon{width:100%;max-height:100%;fill:var(--color-tutorials-overview-icon)}.icon[data-v-96abac22] svg.svg-icon .svg-icon-stroke{stroke:var(--color-tutorials-overview-content-alt)}.title[data-v-96abac22]{font-size:1.23529rem;line-height:1.19048;font-weight:600;margin-bottom:.8em}.content[data-v-96abac22],.link[data-v-96abac22],.title[data-v-96abac22]{font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.content[data-v-96abac22],.link[data-v-96abac22]{font-size:.82353rem;line-height:1.42857;font-weight:400}.content[data-v-96abac22]{color:var(--color-tutorials-overview-content-alt)}.link[data-v-96abac22]{display:block;margin-top:1.17647rem}.link .link-icon[data-v-96abac22]{margin-left:.2em;width:.6em;height:.6em}[data-v-96abac22] .content ul{list-style-type:none;margin-left:0;font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}[data-v-96abac22] .content ul li:before{content:"\200B";position:absolute}[data-v-96abac22] .content li+li{margin-top:8px}@media only screen and (max-width:735px){.tile[data-v-96abac22]{padding:1.76471rem 1.17647rem}}.tile-group[data-v-015f9f13]{display:grid;grid-column-gap:2px;grid-row-gap:2px}.tile-group.count-1[data-v-015f9f13]{grid-template-columns:1fr;text-align:center}.tile-group.count-1[data-v-015f9f13] .icon{margin-left:auto;margin-right:auto}.tile-group.count-2[data-v-015f9f13]{grid-template-columns:repeat(2,1fr)}.tile-group.count-3[data-v-015f9f13]{grid-template-columns:repeat(3,1fr)}.tile-group.count-4[data-v-015f9f13]{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,auto)}.tile-group.count-5[data-v-015f9f13]{grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(2,auto)}.tile-group.count-5 .tile[data-v-015f9f13]{grid-column-end:span 2}.tile-group.count-5 .tile[data-v-015f9f13]:nth-of-type(-n+2){grid-column-end:span 3}.tile-group.count-6[data-v-015f9f13]{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(3,auto)}@media only screen and (min-width:768px) and (max-width:1250px){.tile-group.tile-group[data-v-015f9f13]{grid-template-columns:1fr;grid-template-rows:auto}}@media only screen and (max-width:735px){.tile-group.count-1[data-v-015f9f13],.tile-group.count-2[data-v-015f9f13],.tile-group.count-3[data-v-015f9f13],.tile-group.count-4[data-v-015f9f13],.tile-group.count-5[data-v-015f9f13],.tile-group.count-6[data-v-015f9f13]{grid-template-columns:1fr;grid-template-rows:auto}}.title[data-v-7f8022c1]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:#f0f0f0}@media only screen and (max-width:1250px){.title[data-v-7f8022c1]{font-size:1.64706rem;line-height:1.14286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-7f8022c1]{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.content[data-v-7f8022c1]{font-size:1rem;line-height:1.23529;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:#b0b0b0;margin-top:10px}.topic-list[data-v-45ec37c5]{list-style-type:none;margin:50px 0 0 0;position:relative}.topic-list li[data-v-45ec37c5]:before{content:"\200B";position:absolute}.topic-list[data-v-45ec37c5]:before{content:"";border-left:1px solid var(--color-fill-quaternary);display:block;height:calc(100% - .88235rem);left:.88235rem;position:absolute;top:50%;transform:translateY(-50%);width:0}.topic[data-v-45ec37c5]{font-size:1rem;line-height:1.47059;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:flex;align-items:flex-start}@media only screen and (max-width:735px){.topic[data-v-45ec37c5]{font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.topic+.topic[data-v-45ec37c5]{margin-top:.58824rem}.topic .topic-icon[data-v-45ec37c5]{background-color:var(--color-fill-quaternary);border-radius:50%;flex-shrink:0;height:1.76471rem;width:1.76471rem;margin-right:1.17647rem;position:relative;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:.47059rem;box-sizing:border-box;display:flex;justify-content:center;align-items:center}.topic .topic-icon svg[data-v-45ec37c5]{fill:var(--color-tutorials-overview-icon);max-width:100%;max-height:100%;width:100%}.container[data-v-45ec37c5]{align-items:baseline;display:flex;justify-content:space-between;width:100%;padding-top:.11765rem}.container[data-v-45ec37c5]:hover{text-decoration:none}.container:hover .link[data-v-45ec37c5]{text-decoration:underline}.timer-icon[data-v-45ec37c5]{margin-right:.29412rem;height:.70588rem;width:.70588rem;fill:var(--color-tutorials-overview-icon)}.time[data-v-45ec37c5]{font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-tutorials-overview-content-alt);align-items:center;display:inline-flex}.link[data-v-45ec37c5]{padding-right:.58824rem;color:var(--colors-link,var(--color-tutorials-overview-link))}@media only screen and (min-width:768px) and (max-width:1250px){.topic-list[data-v-45ec37c5]{margin-top:2.35294rem}}@media only screen and (max-width:735px){.topic-list[data-v-45ec37c5]{margin-top:1.76471rem}.topic[data-v-45ec37c5]{height:auto;align-items:flex-start}.topic.no-time-estimate[data-v-45ec37c5]{align-items:center}.topic.no-time-estimate .topic-icon[data-v-45ec37c5]{align-self:flex-start;top:0}.topic+.topic[data-v-45ec37c5]{margin-top:1.17647rem}.topic .topic-icon[data-v-45ec37c5]{top:.29412rem;margin-right:.76471rem}.container[data-v-45ec37c5]{flex-wrap:wrap;padding-top:0}.link[data-v-45ec37c5],.time[data-v-45ec37c5]{flex-basis:100%}.time[data-v-45ec37c5]{margin-top:.29412rem}}.chapter[data-v-7468bc5e]:focus{outline:none!important}.info[data-v-7468bc5e]{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.name[data-v-7468bc5e]{font-size:1.23529rem;line-height:1.19048;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-tutorials-overview-header-text,#f0f0f0)}.name-text[data-v-7468bc5e]{word-break:break-word}.eyebrow[data-v-7468bc5e]{font-size:1rem;line-height:1.23529;font-weight:400;color:var(--color-tutorials-overview-eyebrow);display:block;font-weight:600;margin-bottom:5px}.content[data-v-7468bc5e],.eyebrow[data-v-7468bc5e]{font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.content[data-v-7468bc5e]{font-size:.82353rem;line-height:1.42857;font-weight:400;color:var(--color-tutorials-overview-content-alt)}.asset[data-v-7468bc5e]{flex:0 0 190px}.intro[data-v-7468bc5e]{flex:0 1 360px}@media only screen and (min-width:768px) and (max-width:1250px){.asset[data-v-7468bc5e]{flex:0 0 130px}.intro[data-v-7468bc5e]{flex:0 1 260px}}@media only screen and (max-width:767px){.intro[data-v-7468bc5e]{flex:0 1 340px}}@media only screen and (max-width:735px){.info[data-v-7468bc5e]{display:block;text-align:center}.asset[data-v-7468bc5e]{margin:0 45px}.eyebrow[data-v-7468bc5e]{margin-bottom:7px}.intro[data-v-7468bc5e]{margin-top:40px}}.tile[data-v-540dbf10]{background:var(--color-tutorials-overview-fill-secondary,#161616);margin:2px 0;padding:50px 60px}.asset[data-v-540dbf10]{margin-bottom:10px}@media only screen and (min-width:768px) and (max-width:1250px){.tile[data-v-540dbf10]{padding:40px 30px}}@media only screen and (max-width:735px){.volume[data-v-540dbf10]{border-radius:0}.tile[data-v-540dbf10]{padding:40px 20px}}.learning-path[data-v-69a72bbc]{background:var(--color-tutorials-overview-fill,#000);padding:4.70588rem 0}.main-container[data-v-69a72bbc]{margin-left:auto;margin-right:auto;width:980px;align-items:stretch;display:flex;justify-content:space-between}@media only screen and (max-width:1250px){.main-container[data-v-69a72bbc]{width:692px}}@media only screen and (max-width:735px){.main-container[data-v-69a72bbc]{width:87.5%}}@media only screen and (max-width:320px){.main-container[data-v-69a72bbc]{width:215px}}.ide .main-container[data-v-69a72bbc]{justify-content:center}.secondary-content-container[data-v-69a72bbc]{flex:0 0 200px;width:200px}.tutorials-navigation[data-v-69a72bbc]{position:sticky;top:7.76471rem}.primary-content-container[data-v-69a72bbc]{flex:0 1 720px;max-width:100%}.content-sections-container .content-section[data-v-69a72bbc]{border-radius:12px;overflow:hidden}.content-sections-container .content-section+.content-section[data-v-69a72bbc]{margin-top:1.17647rem}@media only screen and (min-width:768px) and (max-width:1250px){.learning-path[data-v-69a72bbc]{padding:2.35294rem 0}.primary-content-container[data-v-69a72bbc]{flex-basis:auto;margin-left:1.29412rem}.secondary-content-container[data-v-69a72bbc]{flex:0 0 180px;width:180px}}@media only screen and (max-width:767px){.secondary-content-container[data-v-69a72bbc]{display:none}}@media only screen and (max-width:735px){.content-sections-container .content-section[data-v-69a72bbc]{border-radius:0}.content-sections-container .content-section.volume[data-v-69a72bbc]{margin-top:1.17647rem}.learning-path[data-v-69a72bbc]{padding:0}.main-container[data-v-69a72bbc]{width:100%}}.tutorials-overview[data-v-29ed9b58]{height:100%}.tutorials-overview .radial-gradient[data-v-29ed9b58]{margin-top:-3.05882rem;padding-top:3.05882rem;background:var(--color-tutorials-overview-fill-secondary,var(--color-tutorials-overview-background))}@media only screen and (max-width:735px){.tutorials-overview .radial-gradient[data-v-29ed9b58]{margin-top:-2.82353rem;padding-top:2.82353rem}}@-moz-document url-prefix(){.tutorials-overview .radial-gradient{background:#111!important}} \ No newline at end of file diff --git a/data/documentation/jose_swift.json b/data/documentation/jose_swift.json new file mode 100644 index 0000000..0e16457 --- /dev/null +++ b/data/documentation/jose_swift.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"modules":[{"name":"jose-swift"}],"title":"jose-swift","roleHeading":"Framework","role":"collection","externalID":"jose_swift","symbolKind":"module"},"hierarchy":{"paths":[[]]},"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift"]}],"sections":[],"topicSections":[{"title":"Protocols","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressor","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentDecompressor","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentDecryptor","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptor","doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEDecryptor","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptor","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiDecryptor","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiEncryptor","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyAgreementZ","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyDerivation","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGeneration","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyUnwrapping","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyWrapping","doc:\/\/jose-swift\/documentation\/jose_swift\/Signer","doc:\/\/jose-swift\/documentation\/jose_swift\/Verifier"]},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionResult","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEParts","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","doc:\/\/jose-swift\/documentation\/jose_swift\/JWT","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata"],"title":"Structures"},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/validateClaims(claims:expectedIssuer:expectedAudience:)"],"title":"Functions"},{"title":"Type Aliases","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEJson","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSJson"]},{"title":"Enumerations","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm"]},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1"],"title":"Extended Modules"}],"references":{"doc://jose-swift/documentation/jose_swift/JWEEncryptionProvider":{"kind":"symbol","url":"\/documentation\/jose_swift\/jweencryptionprovider","title":"JWEEncryptionProvider","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider","role":"symbol","navigatorTitle":[{"text":"JWEEncryptionProvider","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWEEncryptionProvider"}],"abstract":[{"code":"JWEEncryptionProvider","type":"codeVoice"},{"type":"text","text":" represents an encryption provider for JSON Web Encryption (JWE) with a specific algorithm family."}]},"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments":{"type":"topic","abstract":[{"type":"codeVoice","code":"KeyEncryptionArguments"},{"type":"text","text":" is an enumeration defining additional arguments that can be used in key encryption processes."}],"navigatorTitle":[{"kind":"identifier","text":"KeyEncryptionArguments"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyEncryptionArguments"}],"title":"KeyEncryptionArguments","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/keyencryptionarguments","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments"},"doc://jose-swift/documentation/jose_swift/KeyUnwrapping":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyUnwrapping","url":"\/documentation\/jose_swift\/keyunwrapping","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyUnwrapping"}],"title":"KeyUnwrapping","kind":"symbol","abstract":[{"type":"codeVoice","code":"KeyUnwrapping"},{"text":" is a protocol defining functionality for decrypting (unwrapping) an encrypted content encryption key (CEK).","type":"text"}],"type":"topic","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyUnwrapping"}]},"doc://jose-swift/documentation/jose_swift/JWEDecryptor":{"title":"JWEDecryptor","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/jwedecryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEDecryptor","navigatorTitle":[{"text":"JWEDecryptor","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWEDecryptor"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyEncriptionResultMetadata":{"abstract":[{"type":"codeVoice","code":"KeyEncriptionResultMetadata"},{"type":"text","text":" is a struct representing the metadata of a key encryption result."}],"kind":"symbol","title":"KeyEncriptionResultMetadata","navigatorTitle":[{"text":"KeyEncriptionResultMetadata","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata","type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/keyencriptionresultmetadata","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyEncriptionResultMetadata"}]},"doc://jose-swift/documentation/jose_swift/JWEParts":{"url":"\/documentation\/jose_swift\/jweparts","title":"JWEParts","abstract":[{"text":"It’s a generic struct that can accommodate different types of headers for both protected and recipient-specific data.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEParts","navigatorTitle":[{"text":"JWEParts","kind":"identifier"}],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWEParts","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/ContentEncryptor":{"abstract":[{"type":"codeVoice","code":"ContentEncryptor"},{"type":"text","text":" is a protocol defining the functionality for encrypting content."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptor","url":"\/documentation\/jose_swift\/contentencryptor","kind":"symbol","title":"ContentEncryptor","role":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ContentEncryptor","kind":"identifier"}],"type":"topic","navigatorTitle":[{"text":"ContentEncryptor","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWEMultiDecryptor":{"url":"\/documentation\/jose_swift\/jwemultidecryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiDecryptor","navigatorTitle":[{"kind":"identifier","text":"JWEMultiDecryptor"}],"kind":"symbol","type":"topic","title":"JWEMultiDecryptor","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWEMultiDecryptor"}],"role":"symbol","abstract":[]},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWTRegisteredFieldsClaims","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"JWTRegisteredFieldsClaims"}],"abstract":[{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"type":"text","text":" is a protocol defining the standard claims typically included in a JWT."},{"type":"text","text":" "},{"type":"text","text":"Conforming types can represent the payload of a JWT, encompassing both registered claim names and custom claims."}],"title":"JWTRegisteredFieldsClaims"},"doc://jose-swift/documentation/jose_swift/JWEEncryptionModule":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWEEncryptionModule","kind":"identifier"}],"type":"topic","title":"JWEEncryptionModule","url":"\/documentation\/jose_swift\/jweencryptionmodule","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule","role":"symbol","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWEEncryptionModule"}],"abstract":[{"code":"JWEEncryptionModule","type":"codeVoice"},{"type":"text","text":" manages a collection of "},{"type":"codeVoice","code":"JWEEncryptionProvider"},{"text":" instances and provides encryption and decryption functionalities.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/ContentEncryptionArguments":{"abstract":[{"type":"codeVoice","code":"ContentEncryptionArguments"},{"text":" is an enumeration defining additional arguments that can be used in content encryption processes.","type":"text"}],"navigatorTitle":[{"text":"ContentEncryptionArguments","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ContentEncryptionArguments"}],"url":"\/documentation\/jose_swift\/contentencryptionarguments","kind":"symbol","title":"ContentEncryptionArguments","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments"},"doc://jose-swift/documentation/jose_swift/DefaultJWEJson":{"url":"\/documentation\/jose_swift\/defaultjwejson","type":"topic","kind":"symbol","role":"symbol","abstract":[],"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"DefaultJWEJson","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"DefaultJWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEJson","title":"DefaultJWEJson"},"doc://jose-swift/documentation/jose_swift/Verifier":{"abstract":[],"navigatorTitle":[{"text":"Verifier","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Verifier"}],"url":"\/documentation\/jose_swift\/verifier","kind":"symbol","title":"Verifier","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Verifier"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionResult":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionResult","url":"\/documentation\/jose_swift\/contentencryptionresult","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"ContentEncryptionResult","kind":"identifier"}],"title":"ContentEncryptionResult","kind":"symbol","abstract":[{"code":"ContentEncryptionResult","type":"codeVoice"},{"type":"text","text":" is a struct representing the result of an encryption operation."}],"type":"topic","role":"symbol","navigatorTitle":[{"text":"ContentEncryptionResult","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/KeyAgreementZ":{"abstract":[{"type":"codeVoice","code":"KeyAgreementZ"},{"type":"text","text":" is a protocol defining functionality for a key agreement mechanism to compute a shared secret, denoted as ‘Z’."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyAgreementZ","url":"\/documentation\/jose_swift\/keyagreementz","kind":"symbol","title":"KeyAgreementZ","role":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"KeyAgreementZ"}],"type":"topic","navigatorTitle":[{"text":"KeyAgreementZ","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWKSet":{"abstract":[{"text":"A set of JSON Web Keys (JWKs). This is a JSON object that contains an array of JWK objects.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"JWKSet"}],"type":"topic","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"JWKSet","kind":"identifier"}],"kind":"symbol","url":"\/documentation\/jose_swift\/jwkset","title":"JWKSet","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet"},"doc://jose-swift/documentation/jose_swift/Signer":{"role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"text":"Signer","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Signer","title":"Signer","abstract":[],"kind":"symbol","url":"\/documentation\/jose_swift\/signer","navigatorTitle":[{"text":"Signer","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWEEncryptor":{"type":"topic","navigatorTitle":[{"text":"JWEEncryptor","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jweencryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptor","title":"JWEEncryptor","abstract":[],"kind":"symbol","role":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWEEncryptor","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/KeyWrapping":{"fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"KeyWrapping","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyWrapping","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyWrapping"}],"type":"topic","title":"KeyWrapping","url":"\/documentation\/jose_swift\/keywrapping","abstract":[{"code":"KeyWrapping","type":"codeVoice"},{"type":"text","text":" is a protocol defining functionality for encrypting (wrapping) a content encryption key (CEK)."}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/ContentDecryptor":{"title":"ContentDecryptor","type":"topic","kind":"symbol","role":"symbol","abstract":[{"code":"ContentDecryptor","type":"codeVoice"},{"text":" is a protocol that defines functionality for decrypting data.","type":"text"}],"fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"ContentDecryptor","kind":"identifier"}],"navigatorTitle":[{"text":"ContentDecryptor","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentDecryptor","url":"\/documentation\/jose_swift\/contentdecryptor"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened":{"title":"JWSJsonFlattened","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" represents a JSON Web Signature (JWS) object in a flattened JSON format."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJsonFlattened","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"text":"JWSJsonFlattened","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","url":"\/documentation\/jose_swift\/jwsjsonflattened","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJson":{"title":"JWSJson","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" represents a JSON Web Signature (JWS) object with support for multiple signatures."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJson","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWSJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","url":"\/documentation\/jose_swift\/jwsjson","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEMultiEncryptor":{"fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWEMultiEncryptor"}],"type":"topic","title":"JWEMultiEncryptor","url":"\/documentation\/jose_swift\/jwemultiencryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiEncryptor","role":"symbol","kind":"symbol","navigatorTitle":[{"text":"JWEMultiEncryptor","kind":"identifier"}],"abstract":[]},"doc://jose-swift/documentation/jose_swift/ContentCompressor":{"abstract":[{"code":"ContentCompressor","type":"codeVoice"},{"type":"text","text":" is a protocol defining the functionality for compressing data."}],"title":"ContentCompressor","role":"symbol","url":"\/documentation\/jose_swift\/contentcompressor","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ContentCompressor"}],"navigatorTitle":[{"text":"ContentCompressor","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressor","type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm":{"url":"\/documentation\/jose_swift\/contentcompressionalgorithm","title":"ContentCompressionAlgorithm","abstract":[{"code":"ContentCompressionAlgorithm","type":"codeVoice"},{"text":" is an enumeration representing the supported content compression algorithms.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","navigatorTitle":[{"text":"ContentCompressionAlgorithm","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ContentCompressionAlgorithm","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]},"doc://jose-swift/documentation/jose_swift/Curve448":{"role":"symbol","type":"topic","title":"Curve448","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"Curve448","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","kind":"symbol","abstract":[{"text":"The Curve448 Elliptic Curve.","type":"text"}],"url":"\/documentation\/jose_swift\/curve448","navigatorTitle":[{"text":"Curve448","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWT":{"kind":"symbol","title":"JWT","url":"\/documentation\/jose_swift\/jwt","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWT"}],"navigatorTitle":[{"text":"JWT","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT","type":"topic","abstract":[{"type":"codeVoice","code":"JWT"},{"type":"text","text":" represents a JSON Web Token which is a compact, URL-safe means of representing claims to be transferred between two parties."}]},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"navigatorTitle":[{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"DefaultJWTClaimsImpl"},{"type":"text","text":" is a struct implementing the "},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"type":"text","text":" protocol, providing a default set of claims."}],"title":"DefaultJWTClaimsImpl"},"doc://jose-swift/documentation/jose_swift/DefaultJWSJson":{"url":"\/documentation\/jose_swift\/defaultjwsjson","navigatorTitle":[{"kind":"identifier","text":"DefaultJWSJson"}],"type":"topic","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"DefaultJWSJson","kind":"identifier"}],"title":"DefaultJWSJson","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSJson","abstract":[],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/KeyGenerationPurpose":{"kind":"symbol","role":"symbol","navigatorTitle":[{"text":"KeyGenerationPurpose","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"KeyGenerationPurpose"},{"type":"text","text":" is an enumeration representing the intended purpose of a generated key."}],"url":"\/documentation\/jose_swift\/keygenerationpurpose","title":"KeyGenerationPurpose","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose","type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyGenerationPurpose"}]},"doc://jose-swift/documentation/jose_swift/secp256k1":{"kind":"symbol","url":"\/documentation\/jose_swift\/secp256k1","role":"collection","abstract":[],"type":"topic","title":"secp256k1","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1"},"doc://jose-swift/documentation/jose_swift/KeyDerivation":{"url":"\/documentation\/jose_swift\/keyderivation","title":"KeyDerivation","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyDerivation","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyDerivation"}],"abstract":[{"type":"codeVoice","code":"KeyDerivation"},{"text":" is a protocol defining functionality for deriving cryptographic keys.","type":"text"}],"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"KeyDerivation"}]},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl":{"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","title":"DefaultJWSHeaderImpl","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWSHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"code":"JWSProtectedFieldsHeader","type":"codeVoice"},{"type":"text","text":" protocol."},{"text":" ","type":"text"},{"text":"It provides storage for the common fields found in a JWS protected header.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]},"doc://jose-swift/documentation/jose_swift/JWARegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWARegisteredFieldsHeader","kind":"identifier"}],"title":"JWARegisteredFieldsHeader","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/jwaregisteredfieldsheader","type":"topic","navigatorTitle":[{"kind":"identifier","text":"JWARegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader","abstract":[{"code":"JWARegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":" is a protocol that defines a set of fields commonly used in JSON Web Algorithms (JWA)."},{"type":"text","text":" "},{"text":"These fields are typically used in cryptographic operations such as key agreement or key derivation.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/validateClaims(claims:expectedIssuer:expectedAudience:)":{"kind":"symbol","title":"validateClaims(claims:expectedIssuer:expectedAudience:)","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"validateClaims","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"claims"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:12JSONWebToken25JWTRegisteredFieldsClaimsP","text":"JWTRegisteredFieldsClaims"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"expectedIssuer"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"expectedAudience","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?) ","kind":"text"},{"kind":"keyword","text":"throws"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/validateClaims(claims:expectedIssuer:expectedAudience:)","url":"\/documentation\/jose_swift\/validateclaims(claims:expectedissuer:expectedaudience:)","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/ContentDecompressor":{"abstract":[{"type":"codeVoice","code":"ContentDecompressor"},{"text":" is a protocol defining the functionality for decompressing data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentDecompressor","url":"\/documentation\/jose_swift\/contentdecompressor","kind":"symbol","title":"ContentDecompressor","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"text":"ContentDecompressor","kind":"identifier"}],"type":"topic","navigatorTitle":[{"text":"ContentDecompressor","kind":"identifier"}]},"https://tools.ietf.org/html/rfc7515":{"type":"link","titleInlineContent":[{"text":"RFC7515","type":"text"}],"title":"RFC7515","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","url":"https:\/\/tools.ietf.org\/html\/rfc7515"},"doc://jose-swift/documentation/jose_swift/KeyGeneration":{"url":"\/documentation\/jose_swift\/keygeneration","navigatorTitle":[{"kind":"identifier","text":"KeyGeneration"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"KeyGeneration"}],"title":"KeyGeneration","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGeneration","abstract":[{"code":"KeyGeneration","type":"codeVoice"},{"text":" is a protocol that defines functionality for generating cryptographic keys.","type":"text"}],"role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentcompressionalgorithm.json b/data/documentation/jose_swift/contentcompressionalgorithm.json new file mode 100644 index 0000000..cc1a39b --- /dev/null +++ b/data/documentation/jose_swift/contentcompressionalgorithm.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentcompressionalgorithm"]}],"abstract":[{"code":"ContentCompressionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content compression algorithms."}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm"},"topicSections":[{"title":"Enumeration Cases","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/deflate"]},{"title":"Initializers","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/init(rawValue:)"]},{"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/compressor","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/decompressor"]},{"title":"Default Implementations","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/Equatable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/RawRepresentable-Implementations"],"generated":true}],"metadata":{"symbolKind":"enum","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ContentCompressionAlgorithm"}],"modules":[{"name":"jose-swift"}],"roleHeading":"Enumeration","title":"ContentCompressionAlgorithm","navigatorTitle":[{"kind":"identifier","text":"ContentCompressionAlgorithm"}],"role":"symbol","externalID":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"ContentCompressionAlgorithm","kind":"identifier"}]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"kind":"symbol","relationshipsSections":[{"title":"Conforms To","kind":"relationships","identifiers":["doc:\/\/jose-swift\/Se","doc:\/\/jose-swift\/SE","doc:\/\/jose-swift\/SQ","doc:\/\/jose-swift\/SH","doc:\/\/jose-swift\/SY"],"type":"conformsTo"}],"schemaVersion":{"major":0,"patch":0,"minor":3},"references":{"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm/RawRepresentable-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/RawRepresentable-Implementations","kind":"article","url":"\/documentation\/jose_swift\/contentcompressionalgorithm\/rawrepresentable-implementations","type":"topic","role":"collectionGroup","abstract":[],"title":"RawRepresentable Implementations"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/SE":{"title":"Swift.Encodable","type":"unresolvable","identifier":"doc:\/\/jose-swift\/SE"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm/decompressor":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/decompressor","type":"topic","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"decompressor"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms19ContentDecompressorP","text":"ContentDecompressor","kind":"typeIdentifier"}],"url":"\/documentation\/jose_swift\/contentcompressionalgorithm\/decompressor","title":"decompressor","abstract":[{"text":"Provides a ","type":"text"},{"code":"ContentDecompressor","type":"codeVoice"},{"type":"text","text":" instance based on the selected compression algorithm."}],"role":"symbol"},"doc://jose-swift/Se":{"title":"Swift.Decodable","type":"unresolvable","identifier":"doc:\/\/jose-swift\/Se"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm":{"url":"\/documentation\/jose_swift\/contentcompressionalgorithm","title":"ContentCompressionAlgorithm","abstract":[{"code":"ContentCompressionAlgorithm","type":"codeVoice"},{"text":" is an enumeration representing the supported content compression algorithms.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","navigatorTitle":[{"text":"ContentCompressionAlgorithm","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ContentCompressionAlgorithm","kind":"identifier"}]},"doc://jose-swift/SQ":{"title":"Swift.Equatable","type":"unresolvable","identifier":"doc:\/\/jose-swift\/SQ"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm/init(rawValue:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/init(rawValue:)","fragments":[{"text":"init","kind":"identifier"},{"text":"?(","kind":"text"},{"text":"rawValue","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":")"}],"kind":"symbol","url":"\/documentation\/jose_swift\/contentcompressionalgorithm\/init(rawvalue:)","type":"topic","role":"symbol","abstract":[],"title":"init(rawValue:)"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm/Equatable-Implementations":{"title":"Equatable Implementations","kind":"article","type":"topic","url":"\/documentation\/jose_swift\/contentcompressionalgorithm\/equatable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/Equatable-Implementations","abstract":[],"role":"collectionGroup"},"doc://jose-swift/SY":{"title":"Swift.RawRepresentable","type":"unresolvable","identifier":"doc:\/\/jose-swift\/SY"},"doc://jose-swift/SH":{"title":"Swift.Hashable","type":"unresolvable","identifier":"doc:\/\/jose-swift\/SH"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm/compressor":{"title":"compressor","abstract":[{"text":"Provides a ","type":"text"},{"code":"ContentCompressor","type":"codeVoice"},{"type":"text","text":" instance based on the selected compression algorithm."}],"role":"symbol","url":"\/documentation\/jose_swift\/contentcompressionalgorithm\/compressor","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"compressor","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:17JSONWebAlgorithms17ContentCompressorP","text":"ContentCompressor","kind":"typeIdentifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/compressor","type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm/deflate":{"url":"\/documentation\/jose_swift\/contentcompressionalgorithm\/deflate","title":"ContentCompressionAlgorithm.deflate","abstract":[{"text":"The DEFLATE compression algorithm.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/deflate","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"deflate","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentcompressionalgorithm/!=(_:_:).json b/data/documentation/jose_swift/contentcompressionalgorithm/!=(_:_:).json new file mode 100644 index 0000000..7ecd6a0 --- /dev/null +++ b/data/documentation/jose_swift/contentcompressionalgorithm/!=(_:_:).json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/!=(_:_:)"},"schemaVersion":{"patch":0,"major":0,"minor":3},"abstract":[{"type":"text","text":"Inherited from "},{"code":"Equatable.!=(_:_:)","type":"codeVoice"},{"text":".","type":"text"}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"internalParam","text":"lhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"text":", ","kind":"text"},{"kind":"internalParam","text":"rhs"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/jose_swift\/contentcompressionalgorithm\/!=(_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17JSONWebAlgorithms27ContentCompressionAlgorithmO","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"roleHeading":"Operator","title":"!=(_:_:)","symbolKind":"op","role":"symbol","extendedModule":"Swift","modules":[{"name":"jose-swift","relatedModules":["Swift"]}]},"kind":"symbol","sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/Equatable-Implementations"]]},"references":{"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm/!=(_:_:)":{"url":"\/documentation\/jose_swift\/contentcompressionalgorithm\/!=(_:_:)","title":"!=(_:_:)","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"!=","kind":"identifier"},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}]},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm":{"url":"\/documentation\/jose_swift\/contentcompressionalgorithm","title":"ContentCompressionAlgorithm","abstract":[{"code":"ContentCompressionAlgorithm","type":"codeVoice"},{"text":" is an enumeration representing the supported content compression algorithms.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","navigatorTitle":[{"text":"ContentCompressionAlgorithm","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ContentCompressionAlgorithm","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm/Equatable-Implementations":{"title":"Equatable Implementations","kind":"article","type":"topic","url":"\/documentation\/jose_swift\/contentcompressionalgorithm\/equatable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/Equatable-Implementations","abstract":[],"role":"collectionGroup"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentcompressionalgorithm/compressor.json b/data/documentation/jose_swift/contentcompressionalgorithm/compressor.json new file mode 100644 index 0000000..0225184 --- /dev/null +++ b/data/documentation/jose_swift/contentcompressionalgorithm/compressor.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"externalID":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO10compressorAA0C10Compressor_pvp","symbolKind":"property","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"compressor"},{"text":": ","kind":"text"},{"text":"ContentCompressor","preciseIdentifier":"s:17JSONWebAlgorithms17ContentCompressorP","kind":"typeIdentifier"}],"role":"symbol","extendedModule":"JSONWebAlgorithms","roleHeading":"Instance Property","modules":[{"name":"jose-swift","relatedModules":["JSONWebAlgorithms"]}],"title":"compressor"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/compressor","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentcompressionalgorithm\/compressor"]}],"kind":"symbol","abstract":[{"type":"text","text":"Provides a "},{"code":"ContentCompressor","type":"codeVoice"},{"text":" instance based on the selected compression algorithm.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm"]]},"sections":[],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"compressor","kind":"identifier"},{"kind":"text","text":": "},{"text":"ContentCompressor","preciseIdentifier":"s:17JSONWebAlgorithms17ContentCompressorP","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressor","kind":"typeIdentifier"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"},{"content":[{"text":"Return Value","level":2,"anchor":"return-value","type":"heading"},{"type":"paragraph","inlineContent":[{"text":"An instance of a compressor suitable for the algorithm.","type":"text"}]}],"kind":"content"}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentCompressor":{"abstract":[{"code":"ContentCompressor","type":"codeVoice"},{"type":"text","text":" is a protocol defining the functionality for compressing data."}],"title":"ContentCompressor","role":"symbol","url":"\/documentation\/jose_swift\/contentcompressor","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ContentCompressor"}],"navigatorTitle":[{"text":"ContentCompressor","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressor","type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm/compressor":{"title":"compressor","abstract":[{"text":"Provides a ","type":"text"},{"code":"ContentCompressor","type":"codeVoice"},{"type":"text","text":" instance based on the selected compression algorithm."}],"role":"symbol","url":"\/documentation\/jose_swift\/contentcompressionalgorithm\/compressor","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"compressor","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:17JSONWebAlgorithms17ContentCompressorP","text":"ContentCompressor","kind":"typeIdentifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/compressor","type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm":{"url":"\/documentation\/jose_swift\/contentcompressionalgorithm","title":"ContentCompressionAlgorithm","abstract":[{"code":"ContentCompressionAlgorithm","type":"codeVoice"},{"text":" is an enumeration representing the supported content compression algorithms.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","navigatorTitle":[{"text":"ContentCompressionAlgorithm","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ContentCompressionAlgorithm","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentcompressionalgorithm/decompressor.json b/data/documentation/jose_swift/contentcompressionalgorithm/decompressor.json new file mode 100644 index 0000000..37fcffe --- /dev/null +++ b/data/documentation/jose_swift/contentcompressionalgorithm/decompressor.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/decompressor","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Provides a "},{"code":"ContentDecompressor","type":"codeVoice"},{"type":"text","text":" instance based on the selected compression algorithm."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"decompressor","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"ContentDecompressor","preciseIdentifier":"s:17JSONWebAlgorithms19ContentDecompressorP","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentDecompressor"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"platforms":["macOS"]}]},{"content":[{"text":"Return Value","level":2,"type":"heading","anchor":"return-value"},{"type":"paragraph","inlineContent":[{"text":"An instance of a decompressor suitable for the algorithm.","type":"text"}]}],"kind":"content"}],"metadata":{"symbolKind":"property","roleHeading":"Instance Property","extendedModule":"JSONWebAlgorithms","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"decompressor","kind":"identifier"},{"text":": ","kind":"text"},{"text":"ContentDecompressor","preciseIdentifier":"s:17JSONWebAlgorithms19ContentDecompressorP","kind":"typeIdentifier"}],"title":"decompressor","externalID":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO12decompressorAA0C12Decompressor_pvp","role":"symbol","modules":[{"name":"jose-swift","relatedModules":["JSONWebAlgorithms"]}]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentcompressionalgorithm\/decompressor"]}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/ContentDecompressor":{"abstract":[{"type":"codeVoice","code":"ContentDecompressor"},{"text":" is a protocol defining the functionality for decompressing data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentDecompressor","url":"\/documentation\/jose_swift\/contentdecompressor","kind":"symbol","title":"ContentDecompressor","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"text":"ContentDecompressor","kind":"identifier"}],"type":"topic","navigatorTitle":[{"text":"ContentDecompressor","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm/decompressor":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/decompressor","type":"topic","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"decompressor"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms19ContentDecompressorP","text":"ContentDecompressor","kind":"typeIdentifier"}],"url":"\/documentation\/jose_swift\/contentcompressionalgorithm\/decompressor","title":"decompressor","abstract":[{"text":"Provides a ","type":"text"},{"code":"ContentDecompressor","type":"codeVoice"},{"type":"text","text":" instance based on the selected compression algorithm."}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm":{"url":"\/documentation\/jose_swift\/contentcompressionalgorithm","title":"ContentCompressionAlgorithm","abstract":[{"code":"ContentCompressionAlgorithm","type":"codeVoice"},{"text":" is an enumeration representing the supported content compression algorithms.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","navigatorTitle":[{"text":"ContentCompressionAlgorithm","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ContentCompressionAlgorithm","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentcompressionalgorithm/deflate.json b/data/documentation/jose_swift/contentcompressionalgorithm/deflate.json new file mode 100644 index 0000000..db651af --- /dev/null +++ b/data/documentation/jose_swift/contentcompressionalgorithm/deflate.json @@ -0,0 +1 @@ +{"metadata":{"title":"ContentCompressionAlgorithm.deflate","modules":[{"name":"jose-swift"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"deflate"}],"symbolKind":"case","role":"symbol","roleHeading":"Case","externalID":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO7deflateyA2CmF"},"variants":[{"paths":["\/documentation\/jose_swift\/contentcompressionalgorithm\/deflate"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"type":"text","text":"The DEFLATE compression algorithm."}],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"deflate","kind":"identifier"}]}]}],"sections":[],"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/deflate"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm"]]},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm/deflate":{"url":"\/documentation\/jose_swift\/contentcompressionalgorithm\/deflate","title":"ContentCompressionAlgorithm.deflate","abstract":[{"text":"The DEFLATE compression algorithm.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/deflate","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"deflate","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm":{"url":"\/documentation\/jose_swift\/contentcompressionalgorithm","title":"ContentCompressionAlgorithm","abstract":[{"code":"ContentCompressionAlgorithm","type":"codeVoice"},{"text":" is an enumeration representing the supported content compression algorithms.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","navigatorTitle":[{"text":"ContentCompressionAlgorithm","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ContentCompressionAlgorithm","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentcompressionalgorithm/encode(to:).json b/data/documentation/jose_swift/contentcompressionalgorithm/encode(to:).json new file mode 100644 index 0000000..f29c0c2 --- /dev/null +++ b/data/documentation/jose_swift/contentcompressionalgorithm/encode(to:).json @@ -0,0 +1 @@ +{"abstract":[{"text":"Inherited from ","type":"text"},{"code":"RawRepresentable.encode(to:)","type":"codeVoice"},{"type":"text","text":"."}],"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/RawRepresentable-Implementations"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"encode"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"kind":"text","text":" "},{"text":"encoder","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7EncoderP","text":"Encoder","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentcompressionalgorithm\/encode(to:)"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/encode(to:)"},"metadata":{"extendedModule":"Swift","externalID":"s:SYsSERzSS8RawValueSYRtzrlE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:17JSONWebAlgorithms27ContentCompressionAlgorithmO","title":"encode(to:)","role":"symbol","roleHeading":"Instance Method","modules":[{"relatedModules":["Swift"],"name":"jose-swift"}],"symbolKind":"method","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"code":"Encodable","type":"codeVoice"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"text":" is ","type":"text"},{"type":"codeVoice","code":"String"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}]}},"references":{"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm/encode(to:)":{"title":"encode(to:)","url":"\/documentation\/jose_swift\/contentcompressionalgorithm\/encode(to:)","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"encode","kind":"identifier"},{"kind":"text","text":"("},{"text":"to","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s7EncoderP","text":"Encoder"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"type":"topic","conformance":{"constraints":[{"code":"Self","type":"codeVoice"},{"type":"text","text":" conforms to "},{"code":"Encodable","type":"codeVoice"},{"text":" and ","type":"text"},{"code":"RawValue","type":"codeVoice"},{"text":" is ","type":"text"},{"code":"String","type":"codeVoice"},{"text":".","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}]},"kind":"symbol","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/encode(to:)"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm/RawRepresentable-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/RawRepresentable-Implementations","kind":"article","url":"\/documentation\/jose_swift\/contentcompressionalgorithm\/rawrepresentable-implementations","type":"topic","role":"collectionGroup","abstract":[],"title":"RawRepresentable Implementations"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm":{"url":"\/documentation\/jose_swift\/contentcompressionalgorithm","title":"ContentCompressionAlgorithm","abstract":[{"code":"ContentCompressionAlgorithm","type":"codeVoice"},{"text":" is an enumeration representing the supported content compression algorithms.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","navigatorTitle":[{"text":"ContentCompressionAlgorithm","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ContentCompressionAlgorithm","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentcompressionalgorithm/equatable-implementations.json b/data/documentation/jose_swift/contentcompressionalgorithm/equatable-implementations.json new file mode 100644 index 0000000..c087d22 --- /dev/null +++ b/data/documentation/jose_swift/contentcompressionalgorithm/equatable-implementations.json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"minor":3,"major":0},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm"]]},"kind":"article","metadata":{"role":"collectionGroup","modules":[{"name":"jose-swift"}],"title":"Equatable Implementations"},"variants":[{"paths":["\/documentation\/jose_swift\/contentcompressionalgorithm\/equatable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/!=(_:_:)"],"title":"Operators","generated":true}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/Equatable-Implementations"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm":{"url":"\/documentation\/jose_swift\/contentcompressionalgorithm","title":"ContentCompressionAlgorithm","abstract":[{"code":"ContentCompressionAlgorithm","type":"codeVoice"},{"text":" is an enumeration representing the supported content compression algorithms.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","navigatorTitle":[{"text":"ContentCompressionAlgorithm","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ContentCompressionAlgorithm","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm/!=(_:_:)":{"url":"\/documentation\/jose_swift\/contentcompressionalgorithm\/!=(_:_:)","title":"!=(_:_:)","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"!=","kind":"identifier"},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentcompressionalgorithm/hash(into:).json b/data/documentation/jose_swift/contentcompressionalgorithm/hash(into:).json new file mode 100644 index 0000000..cfdcde9 --- /dev/null +++ b/data/documentation/jose_swift/contentcompressionalgorithm/hash(into:).json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/hash(into:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"RawRepresentable.hash(into:)"},{"type":"text","text":"."}],"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"hash","kind":"identifier"},{"kind":"text","text":"("},{"text":"into","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"hasher","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"keyword","text":"inout"},{"text":" ","kind":"text"},{"text":"Hasher","preciseIdentifier":"s:s6HasherV","kind":"typeIdentifier"},{"text":")","kind":"text"}]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/contentcompressionalgorithm\/hash(into:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"modules":[{"relatedModules":["Swift"],"name":"jose-swift"}],"title":"hash(into:)","externalID":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:17JSONWebAlgorithms27ContentCompressionAlgorithmO","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"hash","kind":"identifier"},{"text":"(","kind":"text"},{"text":"into","kind":"externalParam"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"kind":"text","text":" "},{"kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV","text":"Hasher"},{"kind":"text","text":")"}],"symbolKind":"method","roleHeading":"Instance Method","conformance":{"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}]},"extendedModule":"Swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/RawRepresentable-Implementations"]]},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm":{"url":"\/documentation\/jose_swift\/contentcompressionalgorithm","title":"ContentCompressionAlgorithm","abstract":[{"code":"ContentCompressionAlgorithm","type":"codeVoice"},{"text":" is an enumeration representing the supported content compression algorithms.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","navigatorTitle":[{"text":"ContentCompressionAlgorithm","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ContentCompressionAlgorithm","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm/RawRepresentable-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/RawRepresentable-Implementations","kind":"article","url":"\/documentation\/jose_swift\/contentcompressionalgorithm\/rawrepresentable-implementations","type":"topic","role":"collectionGroup","abstract":[],"title":"RawRepresentable Implementations"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm/hash(into:)":{"abstract":[],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/hash(into:)","kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"hash","kind":"identifier"},{"text":"(","kind":"text"},{"text":"into","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"keyword","text":"inout"},{"text":" ","kind":"text"},{"text":"Hasher","preciseIdentifier":"s:s6HasherV","kind":"typeIdentifier"},{"text":")","kind":"text"}],"conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}]},"url":"\/documentation\/jose_swift\/contentcompressionalgorithm\/hash(into:)","title":"hash(into:)","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentcompressionalgorithm/hashvalue.json b/data/documentation/jose_swift/contentcompressionalgorithm/hashvalue.json new file mode 100644 index 0000000..7ef3051 --- /dev/null +++ b/data/documentation/jose_swift/contentcompressionalgorithm/hashvalue.json @@ -0,0 +1 @@ +{"metadata":{"extendedModule":"Swift","modules":[{"relatedModules":["Swift"],"name":"jose-swift"}],"title":"hashValue","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"hashValue","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"}],"roleHeading":"Instance Property","externalID":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:17JSONWebAlgorithms27ContentCompressionAlgorithmO","conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"text":".","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"role":"symbol","symbolKind":"property"},"abstract":[{"type":"text","text":"Inherited from "},{"code":"RawRepresentable.hashValue","type":"codeVoice"},{"text":".","type":"text"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/RawRepresentable-Implementations"]]},"sections":[],"schemaVersion":{"major":0,"patch":0,"minor":3},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentcompressionalgorithm\/hashvalue"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"hashValue"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/hashValue","interfaceLanguage":"swift"},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm":{"url":"\/documentation\/jose_swift\/contentcompressionalgorithm","title":"ContentCompressionAlgorithm","abstract":[{"code":"ContentCompressionAlgorithm","type":"codeVoice"},{"text":" is an enumeration representing the supported content compression algorithms.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","navigatorTitle":[{"text":"ContentCompressionAlgorithm","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ContentCompressionAlgorithm","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm/RawRepresentable-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/RawRepresentable-Implementations","kind":"article","url":"\/documentation\/jose_swift\/contentcompressionalgorithm\/rawrepresentable-implementations","type":"topic","role":"collectionGroup","abstract":[],"title":"RawRepresentable Implementations"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm/hashValue":{"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"hashValue","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/hashValue","kind":"symbol","url":"\/documentation\/jose_swift\/contentcompressionalgorithm\/hashvalue","title":"hashValue","abstract":[],"conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentcompressionalgorithm/init(from:).json b/data/documentation/jose_swift/contentcompressionalgorithm/init(from:).json new file mode 100644 index 0000000..03d7477 --- /dev/null +++ b/data/documentation/jose_swift/contentcompressionalgorithm/init(from:).json @@ -0,0 +1 @@ +{"metadata":{"role":"symbol","externalID":"s:SYsSeRzSS8RawValueSYRtzrlE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:17JSONWebAlgorithms27ContentCompressionAlgorithmO","title":"init(from:)","modules":[{"name":"jose-swift","relatedModules":["Swift"]}],"fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"symbolKind":"init","roleHeading":"Initializer","conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"code":"Decodable","type":"codeVoice"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" is "},{"code":"String","type":"codeVoice"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}]},"extendedModule":"Swift"},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"decoder"},{"text":": ","kind":"text"},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}]}]}],"abstract":[{"text":"Inherited from ","type":"text"},{"code":"RawRepresentable.init(from:)","type":"codeVoice"},{"type":"text","text":"."}],"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/init(from:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/RawRepresentable-Implementations"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentcompressionalgorithm\/init(from:)"]}],"references":{"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm/RawRepresentable-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/RawRepresentable-Implementations","kind":"article","url":"\/documentation\/jose_swift\/contentcompressionalgorithm\/rawrepresentable-implementations","type":"topic","role":"collectionGroup","abstract":[],"title":"RawRepresentable Implementations"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm/init(from:)":{"url":"\/documentation\/jose_swift\/contentcompressionalgorithm\/init(from:)","title":"init(from:)","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s7DecoderP","text":"Decoder","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/init(from:)","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Decodable"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"text":" is ","type":"text"},{"type":"codeVoice","code":"String"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"abstract":[]},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm":{"url":"\/documentation\/jose_swift\/contentcompressionalgorithm","title":"ContentCompressionAlgorithm","abstract":[{"code":"ContentCompressionAlgorithm","type":"codeVoice"},{"text":" is an enumeration representing the supported content compression algorithms.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","navigatorTitle":[{"text":"ContentCompressionAlgorithm","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ContentCompressionAlgorithm","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentcompressionalgorithm/init(rawvalue:).json b/data/documentation/jose_swift/contentcompressionalgorithm/init(rawvalue:).json new file mode 100644 index 0000000..68d0047 --- /dev/null +++ b/data/documentation/jose_swift/contentcompressionalgorithm/init(rawvalue:).json @@ -0,0 +1 @@ +{"metadata":{"role":"symbol","modules":[{"name":"jose-swift"}],"title":"init(rawValue:)","roleHeading":"Initializer","symbolKind":"init","fragments":[{"kind":"identifier","text":"init"},{"text":"?(","kind":"text"},{"text":"rawValue","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":")","kind":"text"}],"externalID":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO8rawValueACSgSS_tcfc"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/init(rawValue:)","interfaceLanguage":"swift"},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"init","kind":"keyword"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"rawValue"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"platforms":["macOS"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentcompressionalgorithm\/init(rawvalue:)"]}],"abstract":[{"type":"text","text":"Inherited from "},{"code":"RawRepresentable.init(rawValue:)","type":"codeVoice"},{"type":"text","text":"."}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm"]]},"kind":"symbol","schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm":{"url":"\/documentation\/jose_swift\/contentcompressionalgorithm","title":"ContentCompressionAlgorithm","abstract":[{"code":"ContentCompressionAlgorithm","type":"codeVoice"},{"text":" is an enumeration representing the supported content compression algorithms.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","navigatorTitle":[{"text":"ContentCompressionAlgorithm","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ContentCompressionAlgorithm","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm/init(rawValue:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/init(rawValue:)","fragments":[{"text":"init","kind":"identifier"},{"text":"?(","kind":"text"},{"text":"rawValue","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":")"}],"kind":"symbol","url":"\/documentation\/jose_swift\/contentcompressionalgorithm\/init(rawvalue:)","type":"topic","role":"symbol","abstract":[],"title":"init(rawValue:)"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentcompressionalgorithm/rawrepresentable-implementations.json b/data/documentation/jose_swift/contentcompressionalgorithm/rawrepresentable-implementations.json new file mode 100644 index 0000000..65f6795 --- /dev/null +++ b/data/documentation/jose_swift/contentcompressionalgorithm/rawrepresentable-implementations.json @@ -0,0 +1 @@ +{"topicSections":[{"generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/init(from:)"],"title":"Initializers"},{"generated":true,"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/hashValue"]},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/encode(to:)","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/hash(into:)"],"generated":true,"title":"Instance Methods"}],"sections":[],"kind":"article","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/RawRepresentable-Implementations","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentcompressionalgorithm\/rawrepresentable-implementations"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm"]]},"metadata":{"modules":[{"name":"jose-swift"}],"role":"collectionGroup","title":"RawRepresentable Implementations"},"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm/init(from:)":{"url":"\/documentation\/jose_swift\/contentcompressionalgorithm\/init(from:)","title":"init(from:)","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s7DecoderP","text":"Decoder","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/init(from:)","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Decodable"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"text":" is ","type":"text"},{"type":"codeVoice","code":"String"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"abstract":[]},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm/encode(to:)":{"title":"encode(to:)","url":"\/documentation\/jose_swift\/contentcompressionalgorithm\/encode(to:)","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"encode","kind":"identifier"},{"kind":"text","text":"("},{"text":"to","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s7EncoderP","text":"Encoder"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"type":"topic","conformance":{"constraints":[{"code":"Self","type":"codeVoice"},{"type":"text","text":" conforms to "},{"code":"Encodable","type":"codeVoice"},{"text":" and ","type":"text"},{"code":"RawValue","type":"codeVoice"},{"text":" is ","type":"text"},{"code":"String","type":"codeVoice"},{"text":".","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}]},"kind":"symbol","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/encode(to:)"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm/hash(into:)":{"abstract":[],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/hash(into:)","kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"hash","kind":"identifier"},{"text":"(","kind":"text"},{"text":"into","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"keyword","text":"inout"},{"text":" ","kind":"text"},{"text":"Hasher","preciseIdentifier":"s:s6HasherV","kind":"typeIdentifier"},{"text":")","kind":"text"}],"conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}]},"url":"\/documentation\/jose_swift\/contentcompressionalgorithm\/hash(into:)","title":"hash(into:)","role":"symbol"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm/hashValue":{"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"hashValue","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm\/hashValue","kind":"symbol","url":"\/documentation\/jose_swift\/contentcompressionalgorithm\/hashvalue","title":"hashValue","abstract":[],"conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm":{"url":"\/documentation\/jose_swift\/contentcompressionalgorithm","title":"ContentCompressionAlgorithm","abstract":[{"code":"ContentCompressionAlgorithm","type":"codeVoice"},{"text":" is an enumeration representing the supported content compression algorithms.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","navigatorTitle":[{"text":"ContentCompressionAlgorithm","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ContentCompressionAlgorithm","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentcompressor.json b/data/documentation/jose_swift/contentcompressor.json new file mode 100644 index 0000000..f56cdd4 --- /dev/null +++ b/data/documentation/jose_swift/contentcompressor.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressor"},"kind":"symbol","schemaVersion":{"patch":0,"major":0,"minor":3},"variants":[{"paths":["\/documentation\/jose_swift\/contentcompressor"],"traits":[{"interfaceLanguage":"swift"}]}],"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressor\/compress(input:)"],"title":"Instance Methods"}],"sections":[],"abstract":[{"type":"codeVoice","code":"ContentCompressor"},{"type":"text","text":" is a protocol defining the functionality for compressing data."}],"metadata":{"title":"ContentCompressor","modules":[{"name":"jose-swift"}],"navigatorTitle":[{"text":"ContentCompressor","kind":"identifier"}],"role":"symbol","roleHeading":"Protocol","symbolKind":"protocol","externalID":"s:17JSONWebAlgorithms17ContentCompressorP","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ContentCompressor"}]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"text":"ContentCompressor","kind":"identifier"}],"platforms":["macOS"],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"references":{"doc://jose-swift/documentation/jose_swift/ContentCompressor/compress(input:)":{"role":"symbol","abstract":[{"type":"text","text":"Compresses the provided input data."}],"required":true,"title":"compress(input:)","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressor\/compress(input:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"compress","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"input"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"type":"topic","url":"\/documentation\/jose_swift\/contentcompressor\/compress(input:)"},"doc://jose-swift/documentation/jose_swift/ContentCompressor":{"abstract":[{"code":"ContentCompressor","type":"codeVoice"},{"type":"text","text":" is a protocol defining the functionality for compressing data."}],"title":"ContentCompressor","role":"symbol","url":"\/documentation\/jose_swift\/contentcompressor","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ContentCompressor"}],"navigatorTitle":[{"text":"ContentCompressor","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressor","type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentcompressor/compress(input:).json b/data/documentation/jose_swift/contentcompressor/compress(input:).json new file mode 100644 index 0000000..c96ffa2 --- /dev/null +++ b/data/documentation/jose_swift/contentcompressor/compress(input:).json @@ -0,0 +1 @@ +{"metadata":{"title":"compress(input:)","symbolKind":"method","modules":[{"name":"jose-swift"}],"required":true,"roleHeading":"Instance Method","externalID":"s:17JSONWebAlgorithms17ContentCompressorP8compress5input10Foundation4DataVAH_tKF","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"compress","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"input"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"role":"symbol"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentcompressor\/compress(input:)"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","abstract":[{"type":"text","text":"Compresses the provided input data."}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressor\/compress(input:)"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"compress","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"input"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"languages":["swift"]}]},{"kind":"parameters","parameters":[{"name":"input","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The data to be compressed."}]}]}]},{"content":[{"type":"heading","anchor":"return-value","level":2,"text":"Return Value"},{"type":"paragraph","inlineContent":[{"text":"The compressed data.","type":"text"}]}],"kind":"content"},{"kind":"content","content":[{"anchor":"discussion","type":"heading","level":2,"text":"Discussion"},{"content":[{"inlineContent":[{"type":"text","text":"An error if compression fails."}],"type":"paragraph"}],"style":"note","type":"aside","name":"Throws"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressor"]]},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/ContentCompressor":{"abstract":[{"code":"ContentCompressor","type":"codeVoice"},{"type":"text","text":" is a protocol defining the functionality for compressing data."}],"title":"ContentCompressor","role":"symbol","url":"\/documentation\/jose_swift\/contentcompressor","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ContentCompressor"}],"navigatorTitle":[{"text":"ContentCompressor","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressor","type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentCompressor/compress(input:)":{"role":"symbol","abstract":[{"type":"text","text":"Compresses the provided input data."}],"required":true,"title":"compress(input:)","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressor\/compress(input:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"compress","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"input"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"type":"topic","url":"\/documentation\/jose_swift\/contentcompressor\/compress(input:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentdecompressor.json b/data/documentation/jose_swift/contentdecompressor.json new file mode 100644 index 0000000..8e30110 --- /dev/null +++ b/data/documentation/jose_swift/contentdecompressor.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentdecompressor"]}],"sections":[],"metadata":{"roleHeading":"Protocol","externalID":"s:17JSONWebAlgorithms19ContentDecompressorP","title":"ContentDecompressor","modules":[{"name":"jose-swift"}],"role":"symbol","symbolKind":"protocol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ContentDecompressor"}],"navigatorTitle":[{"text":"ContentDecompressor","kind":"identifier"}]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentDecompressor","interfaceLanguage":"swift"},"abstract":[{"type":"codeVoice","code":"ContentDecompressor"},{"text":" is a protocol defining the functionality for decompressing data.","type":"text"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/ContentDecompressor\/decompress(input:)"],"title":"Instance Methods"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ContentDecompressor","kind":"identifier"}],"platforms":["macOS"]}]}],"references":{"doc://jose-swift/documentation/jose_swift/ContentDecompressor/decompress(input:)":{"abstract":[{"type":"text","text":"Decompresses the provided input data."}],"url":"\/documentation\/jose_swift\/contentdecompressor\/decompress(input:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentDecompressor\/decompress(input:)","kind":"symbol","title":"decompress(input:)","required":true,"role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"decompress","kind":"identifier"},{"text":"(","kind":"text"},{"text":"input","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"type":"topic"},"doc://jose-swift/documentation/jose_swift/ContentDecompressor":{"abstract":[{"type":"codeVoice","code":"ContentDecompressor"},{"text":" is a protocol defining the functionality for decompressing data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentDecompressor","url":"\/documentation\/jose_swift\/contentdecompressor","kind":"symbol","title":"ContentDecompressor","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"text":"ContentDecompressor","kind":"identifier"}],"type":"topic","navigatorTitle":[{"text":"ContentDecompressor","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentdecompressor/decompress(input:).json b/data/documentation/jose_swift/contentdecompressor/decompress(input:).json new file mode 100644 index 0000000..f532048 --- /dev/null +++ b/data/documentation/jose_swift/contentdecompressor/decompress(input:).json @@ -0,0 +1 @@ +{"sections":[],"abstract":[{"text":"Decompresses the provided input data.","type":"text"}],"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentDecompressor\/decompress(input:)","interfaceLanguage":"swift"},"metadata":{"required":true,"externalID":"s:17JSONWebAlgorithms19ContentDecompressorP10decompress5input10Foundation4DataVAH_tKF","roleHeading":"Instance Method","symbolKind":"method","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"decompress","kind":"identifier"},{"text":"(","kind":"text"},{"text":"input","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"role":"symbol","modules":[{"name":"jose-swift"}],"title":"decompress(input:)"},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"decompress"},{"text":"(","kind":"text"},{"text":"input","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"input","content":[{"type":"paragraph","inlineContent":[{"text":"The data to be decompressed.","type":"text"}]}]}]},{"kind":"content","content":[{"type":"heading","level":2,"text":"Return Value","anchor":"return-value"},{"inlineContent":[{"type":"text","text":"The decompressed data."}],"type":"paragraph"}]},{"kind":"content","content":[{"text":"Discussion","type":"heading","level":2,"anchor":"discussion"},{"style":"note","name":"Throws","content":[{"inlineContent":[{"type":"text","text":"An error if decompression fails."}],"type":"paragraph"}],"type":"aside"}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentdecompressor\/decompress(input:)"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentDecompressor"]]},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentDecompressor":{"abstract":[{"type":"codeVoice","code":"ContentDecompressor"},{"text":" is a protocol defining the functionality for decompressing data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentDecompressor","url":"\/documentation\/jose_swift\/contentdecompressor","kind":"symbol","title":"ContentDecompressor","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"text":"ContentDecompressor","kind":"identifier"}],"type":"topic","navigatorTitle":[{"text":"ContentDecompressor","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/ContentDecompressor/decompress(input:)":{"abstract":[{"type":"text","text":"Decompresses the provided input data."}],"url":"\/documentation\/jose_swift\/contentdecompressor\/decompress(input:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentDecompressor\/decompress(input:)","kind":"symbol","title":"decompress(input:)","required":true,"role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"decompress","kind":"identifier"},{"text":"(","kind":"text"},{"text":"input","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentdecryptor.json b/data/documentation/jose_swift/contentdecryptor.json new file mode 100644 index 0000000..a8fd1b3 --- /dev/null +++ b/data/documentation/jose_swift/contentdecryptor.json @@ -0,0 +1 @@ +{"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentDecryptor"},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/ContentDecryptor\/decrypt(cipher:using:arguments:)"],"title":"Instance Methods"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentDecryptor"}],"platforms":["macOS"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"metadata":{"externalID":"s:17JSONWebAlgorithms16ContentDecryptorP","roleHeading":"Protocol","role":"symbol","symbolKind":"protocol","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"ContentDecryptor","kind":"identifier"}],"navigatorTitle":[{"text":"ContentDecryptor","kind":"identifier"}],"modules":[{"name":"jose-swift"}],"title":"ContentDecryptor"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentdecryptor"]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","abstract":[{"type":"codeVoice","code":"ContentDecryptor"},{"text":" is a protocol that defines functionality for decrypting data.","type":"text"}],"references":{"doc://jose-swift/documentation/jose_swift/ContentDecryptor/decrypt(cipher:using:arguments:)":{"title":"decrypt(cipher:using:arguments:)","type":"topic","kind":"symbol","required":true,"abstract":[{"text":"Decrypts the given cipher data using the specified key and additional arguments.","type":"text"}],"role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"decrypt","kind":"identifier"},{"text":"(","kind":"text"},{"text":"cipher","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"text":"using","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"text":"arguments","kind":"externalParam"},{"text":": [","kind":"text"},{"text":"ContentEncryptionArguments","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionArgumentsO"},{"kind":"text","text":"]) "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentDecryptor\/decrypt(cipher:using:arguments:)","url":"\/documentation\/jose_swift\/contentdecryptor\/decrypt(cipher:using:arguments:)"},"doc://jose-swift/documentation/jose_swift/ContentDecryptor":{"title":"ContentDecryptor","type":"topic","kind":"symbol","role":"symbol","abstract":[{"code":"ContentDecryptor","type":"codeVoice"},{"text":" is a protocol that defines functionality for decrypting data.","type":"text"}],"fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"ContentDecryptor","kind":"identifier"}],"navigatorTitle":[{"text":"ContentDecryptor","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentDecryptor","url":"\/documentation\/jose_swift\/contentdecryptor"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentdecryptor/decrypt(cipher:using:arguments:).json b/data/documentation/jose_swift/contentdecryptor/decrypt(cipher:using:arguments:).json new file mode 100644 index 0000000..e97dc34 --- /dev/null +++ b/data/documentation/jose_swift/contentdecryptor/decrypt(cipher:using:arguments:).json @@ -0,0 +1 @@ +{"abstract":[{"text":"Decrypts the given cipher data using the specified key and additional arguments.","type":"text"}],"variants":[{"paths":["\/documentation\/jose_swift\/contentdecryptor\/decrypt(cipher:using:arguments:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"modules":[{"name":"jose-swift"}],"roleHeading":"Instance Method","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"decrypt","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"cipher"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"using"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"arguments"},{"kind":"text","text":": ["},{"text":"ContentEncryptionArguments","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionArgumentsO"},{"text":"]) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"symbolKind":"method","externalID":"s:17JSONWebAlgorithms16ContentDecryptorP7decrypt6cipher5using9arguments10Foundation4DataVAJ_AJSayAA0C19EncryptionArgumentsOGtKF","title":"decrypt(cipher:using:arguments:)","required":true,"role":"symbol"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"decrypt"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"cipher"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"using"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"key"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"arguments","kind":"externalParam"},{"text":": [","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionArgumentsO","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments","text":"ContentEncryptionArguments","kind":"typeIdentifier"},{"kind":"text","text":"]) "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"content":[{"inlineContent":[{"type":"text","text":"The encrypted data (cipher) to be decrypted."}],"type":"paragraph"}],"name":"cipher"},{"content":[{"inlineContent":[{"text":"The key used for the decryption process.","type":"text"}],"type":"paragraph"}],"name":"key"},{"content":[{"inlineContent":[{"text":"An array of ","type":"text"},{"code":"ContentEncryptionArguments","type":"codeVoice"},{"type":"text","text":" providing additional information required for decryption."}],"type":"paragraph"}],"name":"arguments"}]},{"content":[{"text":"Return Value","anchor":"return-value","type":"heading","level":2},{"inlineContent":[{"text":"The decrypted data.","type":"text"}],"type":"paragraph"}],"kind":"content"},{"kind":"content","content":[{"type":"heading","anchor":"discussion","text":"Discussion","level":2},{"style":"note","type":"aside","content":[{"type":"paragraph","inlineContent":[{"text":"An error if decryption fails. This could be due to incorrect keys, corrupted data, or incompatible arguments.","type":"text"}]}],"name":"Throws"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentDecryptor"]]},"kind":"symbol","sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentDecryptor\/decrypt(cipher:using:arguments:)"},"references":{"doc://jose-swift/documentation/jose_swift/ContentDecryptor/decrypt(cipher:using:arguments:)":{"title":"decrypt(cipher:using:arguments:)","type":"topic","kind":"symbol","required":true,"abstract":[{"text":"Decrypts the given cipher data using the specified key and additional arguments.","type":"text"}],"role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"decrypt","kind":"identifier"},{"text":"(","kind":"text"},{"text":"cipher","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"text":"using","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"text":"arguments","kind":"externalParam"},{"text":": [","kind":"text"},{"text":"ContentEncryptionArguments","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionArgumentsO"},{"kind":"text","text":"]) "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentDecryptor\/decrypt(cipher:using:arguments:)","url":"\/documentation\/jose_swift\/contentdecryptor\/decrypt(cipher:using:arguments:)"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionArguments":{"abstract":[{"type":"codeVoice","code":"ContentEncryptionArguments"},{"text":" is an enumeration defining additional arguments that can be used in content encryption processes.","type":"text"}],"navigatorTitle":[{"text":"ContentEncryptionArguments","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ContentEncryptionArguments"}],"url":"\/documentation\/jose_swift\/contentencryptionarguments","kind":"symbol","title":"ContentEncryptionArguments","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments"},"doc://jose-swift/documentation/jose_swift/ContentDecryptor":{"title":"ContentDecryptor","type":"topic","kind":"symbol","role":"symbol","abstract":[{"code":"ContentDecryptor","type":"codeVoice"},{"text":" is a protocol that defines functionality for decrypting data.","type":"text"}],"fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"ContentDecryptor","kind":"identifier"}],"navigatorTitle":[{"text":"ContentDecryptor","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentDecryptor","url":"\/documentation\/jose_swift\/contentdecryptor"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionalgorithm.json b/data/documentation/jose_swift/contentencryptionalgorithm.json new file mode 100644 index 0000000..52a5b20 --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionalgorithm.json @@ -0,0 +1 @@ +{"sections":[],"metadata":{"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"modules":[{"name":"jose-swift"}],"role":"symbol","symbolKind":"enum","title":"ContentEncryptionAlgorithm","externalID":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","roleHeading":"Enumeration"},"schemaVersion":{"patch":0,"major":0,"minor":3},"relationshipsSections":[{"title":"Conforms To","kind":"relationships","type":"conformsTo","identifiers":["doc:\/\/jose-swift\/s12CaseIterableP","doc:\/\/jose-swift\/Se","doc:\/\/jose-swift\/SE","doc:\/\/jose-swift\/SQ","doc:\/\/jose-swift\/SH","doc:\/\/jose-swift\/SY"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"languages":["swift"]}]}],"abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"text":" is an enumeration representing the supported content encryption algorithms.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentencryptionalgorithm"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/a128CBCHS256","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/a128GCM","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/a192CBCHS384","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/a192GCM","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/a256CBCHS512","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/a256GCM"],"title":"Enumeration Cases"},{"title":"Initializers","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/init(rawValue:)"]},{"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/decryptor","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/encryptor","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/initializationVectorSizeInBits","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/keySizeInBits"]},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/Equatable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/RawRepresentable-Implementations"],"generated":true,"title":"Default Implementations"}],"kind":"symbol","references":{"doc://jose-swift/SE":{"identifier":"doc:\/\/jose-swift\/SE","title":"Swift.Encodable","type":"unresolvable"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/a256GCM":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/a256GCM","url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/a256gcm","role":"symbol","title":"ContentEncryptionAlgorithm.a256GCM","abstract":[{"type":"text","text":"AES encryption in GCM mode with a 256-bit key."},{"text":" ","type":"text"},{"text":"This algorithm provides robust security and is widely used in various security protocols and systems.","type":"text"}],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"a256GCM","kind":"identifier"}],"kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/keySizeInBits":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"keySizeInBits"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"}],"title":"keySizeInBits","kind":"symbol","url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/keysizeinbits","type":"topic","abstract":[{"text":"Returns the key size in bits used by the encryption algorithm.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/keySizeInBits"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/a256CBCHS512":{"abstract":[{"text":"AES encryption in CBC mode with an HMAC using SHA-512.","type":"text"},{"type":"text","text":" "},{"text":"It employs a 512-bit key, offering an even higher level of security, suitable for sensitive data protection.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"a256CBCHS512","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/a256cbchs512","kind":"symbol","title":"ContentEncryptionAlgorithm.a256CBCHS512","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/a256CBCHS512"},"doc://jose-swift/SH":{"title":"Swift.Hashable","identifier":"doc:\/\/jose-swift\/SH","type":"unresolvable"},"doc://jose-swift/Se":{"title":"Swift.Decodable","identifier":"doc:\/\/jose-swift\/Se","type":"unresolvable"},"doc://jose-swift/SQ":{"title":"Swift.Equatable","identifier":"doc:\/\/jose-swift\/SQ","type":"unresolvable"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/decryptor":{"abstract":[{"text":"Provides a ","type":"text"},{"code":"ContentDecryptor","type":"codeVoice"},{"type":"text","text":" instance based on the selected encryption algorithm."}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"decryptor","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms16ContentDecryptorP","text":"ContentDecryptor"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/decryptor","kind":"symbol","title":"decryptor","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/decryptor"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/a192GCM":{"abstract":[{"type":"text","text":"AES encryption in GCM mode with a 192-bit key."},{"text":" ","type":"text"},{"text":"It offers a higher security level than A128GCM, combining efficiency with stronger encryption.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"a192GCM"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/a192gcm","kind":"symbol","title":"ContentEncryptionAlgorithm.a192GCM","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/a192GCM"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/a128CBCHS256":{"abstract":[{"type":"text","text":"AES encryption in CBC mode with an HMAC using SHA-256."},{"text":" ","type":"text"},{"type":"text","text":"The algorithm uses a 256-bit key and is commonly used for its balance of security and performance."}],"type":"topic","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"a128CBCHS256"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/a128cbchs256","kind":"symbol","title":"ContentEncryptionAlgorithm.a128CBCHS256","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/a128CBCHS256"},"doc://jose-swift/SY":{"type":"unresolvable","identifier":"doc:\/\/jose-swift\/SY","title":"Swift.RawRepresentable"},"doc://jose-swift/s12CaseIterableP":{"type":"unresolvable","identifier":"doc:\/\/jose-swift\/s12CaseIterableP","title":"Swift.CaseIterable"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/RawRepresentable-Implementations":{"abstract":[],"type":"topic","url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/rawrepresentable-implementations","kind":"article","title":"RawRepresentable Implementations","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/RawRepresentable-Implementations"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/encryptor":{"abstract":[{"type":"text","text":"Provides a "},{"code":"ContentEncryptor","type":"codeVoice"},{"text":" instance based on the selected encryption algorithm.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"encryptor"},{"kind":"text","text":": "},{"text":"ContentEncryptor","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms16ContentEncryptorP"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/encryptor","kind":"symbol","title":"encryptor","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/encryptor"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/Equatable-Implementations":{"abstract":[],"type":"topic","url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/equatable-implementations","kind":"article","title":"Equatable Implementations","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/Equatable-Implementations"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/initializationVectorSizeInBits":{"abstract":[{"text":"Returns the initialization vector size in bits suitable for the encryption algorithm.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"initializationVectorSizeInBits","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/initializationvectorsizeinbits","kind":"symbol","title":"initializationVectorSizeInBits","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/initializationVectorSizeInBits"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/a192CBCHS384":{"abstract":[{"text":"AES encryption in CBC mode with an HMAC using SHA-384.","type":"text"},{"type":"text","text":" "},{"text":"This algorithm uses a 384-bit key and provides a higher level of security than A128CBC-HS256.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"a192CBCHS384","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/a192cbchs384","kind":"symbol","title":"ContentEncryptionAlgorithm.a192CBCHS384","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/a192CBCHS384"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/init(rawValue:)":{"abstract":[],"type":"topic","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"rawValue"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":")","kind":"text"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/init(rawvalue:)","kind":"symbol","title":"init(rawValue:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/init(rawValue:)"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/a128GCM":{"abstract":[{"text":"AES encryption using Galois\/Counter Mode (GCM) with a 128-bit key.","type":"text"},{"type":"text","text":" "},{"text":"GCM mode offers both confidentiality and integrity, and is known for its efficiency and performance.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"a128GCM","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/a128gcm","kind":"symbol","title":"ContentEncryptionAlgorithm.a128GCM","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/a128GCM"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionalgorithm/!=(_:_:).json b/data/documentation/jose_swift/contentencryptionalgorithm/!=(_:_:).json new file mode 100644 index 0000000..31d6e99 --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionalgorithm/!=(_:_:).json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentencryptionalgorithm\/!=(_:_:)"]}],"metadata":{"modules":[{"relatedModules":["Swift"],"name":"jose-swift"}],"roleHeading":"Operator","extendedModule":"Swift","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"text":", ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"symbolKind":"op","externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","title":"!=(_:_:)","role":"symbol"},"sections":[],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/!=(_:_:)"},"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/Equatable-Implementations"]]},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"internalParam","text":"lhs"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"rhs","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"platforms":["macOS"]}],"kind":"declarations"}],"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"Equatable.!=(_:_:)"},{"type":"text","text":"."}],"references":{"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/Equatable-Implementations":{"abstract":[],"type":"topic","url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/equatable-implementations","kind":"article","title":"Equatable Implementations","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/Equatable-Implementations"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/!=(_:_:)":{"abstract":[],"type":"topic","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/!=(_:_:)","kind":"symbol","title":"!=(_:_:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/!=(_:_:)"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionalgorithm/a128cbchs256.json b/data/documentation/jose_swift/contentencryptionalgorithm/a128cbchs256.json new file mode 100644 index 0000000..f06260a --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionalgorithm/a128cbchs256.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"a128CBCHS256","kind":"identifier"}],"platforms":["macOS"],"languages":["swift"]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/a128CBCHS256","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"major":0,"patch":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentencryptionalgorithm\/a128cbchs256"]}],"metadata":{"role":"symbol","title":"ContentEncryptionAlgorithm.a128CBCHS256","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"a128CBCHS256"}],"modules":[{"name":"jose-swift"}],"symbolKind":"case","roleHeading":"Case","externalID":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO12a128CBCHS256yA2CmF"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm"]]},"kind":"symbol","abstract":[{"type":"text","text":"AES encryption in CBC mode with an HMAC using SHA-256."},{"text":" ","type":"text"},{"type":"text","text":"The algorithm uses a 256-bit key and is commonly used for its balance of security and performance."}],"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/a128CBCHS256":{"abstract":[{"type":"text","text":"AES encryption in CBC mode with an HMAC using SHA-256."},{"text":" ","type":"text"},{"type":"text","text":"The algorithm uses a 256-bit key and is commonly used for its balance of security and performance."}],"type":"topic","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"a128CBCHS256"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/a128cbchs256","kind":"symbol","title":"ContentEncryptionAlgorithm.a128CBCHS256","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/a128CBCHS256"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionalgorithm/a128gcm.json b/data/documentation/jose_swift/contentencryptionalgorithm/a128gcm.json new file mode 100644 index 0000000..5e2fcf1 --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionalgorithm/a128gcm.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"a128GCM"}],"platforms":["macOS"],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/a128GCM"},"sections":[],"schemaVersion":{"major":0,"patch":0,"minor":3},"metadata":{"title":"ContentEncryptionAlgorithm.a128GCM","roleHeading":"Case","symbolKind":"case","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"a128GCM","kind":"identifier"}],"externalID":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO7a128GCMyA2CmF","role":"symbol"},"abstract":[{"text":"AES encryption using Galois\/Counter Mode (GCM) with a 128-bit key.","type":"text"},{"text":" ","type":"text"},{"text":"GCM mode offers both confidentiality and integrity, and is known for its efficiency and performance.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentencryptionalgorithm\/a128gcm"]}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/a128GCM":{"abstract":[{"text":"AES encryption using Galois\/Counter Mode (GCM) with a 128-bit key.","type":"text"},{"type":"text","text":" "},{"text":"GCM mode offers both confidentiality and integrity, and is known for its efficiency and performance.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"a128GCM","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/a128gcm","kind":"symbol","title":"ContentEncryptionAlgorithm.a128GCM","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/a128GCM"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionalgorithm/a192cbchs384.json b/data/documentation/jose_swift/contentencryptionalgorithm/a192cbchs384.json new file mode 100644 index 0000000..c165a46 --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionalgorithm/a192cbchs384.json @@ -0,0 +1 @@ +{"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"a192CBCHS384"}],"languages":["swift"],"platforms":["macOS"]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/a192CBCHS384","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm"]]},"metadata":{"title":"ContentEncryptionAlgorithm.a192CBCHS384","symbolKind":"case","roleHeading":"Case","modules":[{"name":"jose-swift"}],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"a192CBCHS384","kind":"identifier"}],"externalID":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO12a192CBCHS384yA2CmF","role":"symbol"},"abstract":[{"type":"text","text":"AES encryption in CBC mode with an HMAC using SHA-384."},{"text":" ","type":"text"},{"type":"text","text":"This algorithm uses a 384-bit key and provides a higher level of security than A128CBC-HS256."}],"variants":[{"paths":["\/documentation\/jose_swift\/contentencryptionalgorithm\/a192cbchs384"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/a192CBCHS384":{"abstract":[{"text":"AES encryption in CBC mode with an HMAC using SHA-384.","type":"text"},{"type":"text","text":" "},{"text":"This algorithm uses a 384-bit key and provides a higher level of security than A128CBC-HS256.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"a192CBCHS384","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/a192cbchs384","kind":"symbol","title":"ContentEncryptionAlgorithm.a192CBCHS384","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/a192CBCHS384"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionalgorithm/a192gcm.json b/data/documentation/jose_swift/contentencryptionalgorithm/a192gcm.json new file mode 100644 index 0000000..0d9c905 --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionalgorithm/a192gcm.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"a192GCM","kind":"identifier"}],"platforms":["macOS"],"languages":["swift"]}]}],"kind":"symbol","abstract":[{"type":"text","text":"AES encryption in GCM mode with a 192-bit key."},{"text":" ","type":"text"},{"type":"text","text":"It offers a higher security level than A128GCM, combining efficiency with stronger encryption."}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm"]]},"metadata":{"roleHeading":"Case","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"a192GCM","kind":"identifier"}],"modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO7a192GCMyA2CmF","symbolKind":"case","role":"symbol","title":"ContentEncryptionAlgorithm.a192GCM"},"schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/jose_swift\/contentencryptionalgorithm\/a192gcm"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/a192GCM","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/a192GCM":{"abstract":[{"type":"text","text":"AES encryption in GCM mode with a 192-bit key."},{"text":" ","type":"text"},{"text":"It offers a higher security level than A128GCM, combining efficiency with stronger encryption.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"a192GCM"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/a192gcm","kind":"symbol","title":"ContentEncryptionAlgorithm.a192GCM","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/a192GCM"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionalgorithm/a256cbchs512.json b/data/documentation/jose_swift/contentencryptionalgorithm/a256cbchs512.json new file mode 100644 index 0000000..151146d --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionalgorithm/a256cbchs512.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"a256CBCHS512","kind":"identifier"}],"languages":["swift"],"platforms":["macOS"]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/contentencryptionalgorithm\/a256cbchs512"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm"]]},"metadata":{"roleHeading":"Case","symbolKind":"case","externalID":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO12a256CBCHS512yA2CmF","modules":[{"name":"jose-swift"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"a256CBCHS512","kind":"identifier"}],"role":"symbol","title":"ContentEncryptionAlgorithm.a256CBCHS512"},"schemaVersion":{"minor":3,"major":0,"patch":0},"kind":"symbol","abstract":[{"text":"AES encryption in CBC mode with an HMAC using SHA-512.","type":"text"},{"type":"text","text":" "},{"text":"It employs a 512-bit key, offering an even higher level of security, suitable for sensitive data protection.","type":"text"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/a256CBCHS512"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/a256CBCHS512":{"abstract":[{"text":"AES encryption in CBC mode with an HMAC using SHA-512.","type":"text"},{"type":"text","text":" "},{"text":"It employs a 512-bit key, offering an even higher level of security, suitable for sensitive data protection.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"a256CBCHS512","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/a256cbchs512","kind":"symbol","title":"ContentEncryptionAlgorithm.a256CBCHS512","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/a256CBCHS512"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionalgorithm/a256gcm.json b/data/documentation/jose_swift/contentencryptionalgorithm/a256gcm.json new file mode 100644 index 0000000..f2e9b1a --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionalgorithm/a256gcm.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/a256GCM","interfaceLanguage":"swift"},"sections":[],"metadata":{"modules":[{"name":"jose-swift"}],"title":"ContentEncryptionAlgorithm.a256GCM","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"a256GCM","kind":"identifier"}],"externalID":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO7a256GCMyA2CmF","symbolKind":"case","role":"symbol","roleHeading":"Case"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentencryptionalgorithm\/a256gcm"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"a256GCM","kind":"identifier"}]}]}],"abstract":[{"type":"text","text":"AES encryption in GCM mode with a 256-bit key."},{"text":" ","type":"text"},{"text":"This algorithm provides robust security and is widely used in various security protocols and systems.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm"]]},"schemaVersion":{"patch":0,"minor":3,"major":0},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/a256GCM":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/a256GCM","url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/a256gcm","role":"symbol","title":"ContentEncryptionAlgorithm.a256GCM","abstract":[{"type":"text","text":"AES encryption in GCM mode with a 256-bit key."},{"text":" ","type":"text"},{"text":"This algorithm provides robust security and is widely used in various security protocols and systems.","type":"text"}],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"a256GCM","kind":"identifier"}],"kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionalgorithm/decryptor.json b/data/documentation/jose_swift/contentencryptionalgorithm/decryptor.json new file mode 100644 index 0000000..835e52d --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionalgorithm/decryptor.json @@ -0,0 +1 @@ +{"metadata":{"role":"symbol","externalID":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO9decryptorAA0C9Decryptor_pvp","symbolKind":"property","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"decryptor","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms16ContentDecryptorP","text":"ContentDecryptor"}],"roleHeading":"Instance Property","modules":[{"name":"jose-swift"}],"title":"decryptor"},"sections":[],"kind":"symbol","primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"decryptor"},{"kind":"text","text":": "},{"text":"ContentDecryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentDecryptor","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms16ContentDecryptorP"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"},{"kind":"content","content":[{"level":2,"anchor":"return-value","type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An instance of a decryptor suitable for the algorithm."}]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/decryptor","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm"]]},"variants":[{"paths":["\/documentation\/jose_swift\/contentencryptionalgorithm\/decryptor"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"text":"Provides a ","type":"text"},{"type":"codeVoice","code":"ContentDecryptor"},{"text":" instance based on the selected encryption algorithm.","type":"text"}],"references":{"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/decryptor":{"abstract":[{"text":"Provides a ","type":"text"},{"code":"ContentDecryptor","type":"codeVoice"},{"type":"text","text":" instance based on the selected encryption algorithm."}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"decryptor","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms16ContentDecryptorP","text":"ContentDecryptor"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/decryptor","kind":"symbol","title":"decryptor","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/decryptor"},"doc://jose-swift/documentation/jose_swift/ContentDecryptor":{"title":"ContentDecryptor","type":"topic","kind":"symbol","role":"symbol","abstract":[{"code":"ContentDecryptor","type":"codeVoice"},{"text":" is a protocol that defines functionality for decrypting data.","type":"text"}],"fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"ContentDecryptor","kind":"identifier"}],"navigatorTitle":[{"text":"ContentDecryptor","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentDecryptor","url":"\/documentation\/jose_swift\/contentdecryptor"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionalgorithm/encode(to:).json b/data/documentation/jose_swift/contentencryptionalgorithm/encode(to:).json new file mode 100644 index 0000000..274432e --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionalgorithm/encode(to:).json @@ -0,0 +1 @@ +{"kind":"symbol","sections":[],"schemaVersion":{"minor":3,"major":0,"patch":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/encode(to:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/RawRepresentable-Implementations"]]},"variants":[{"paths":["\/documentation\/jose_swift\/contentencryptionalgorithm\/encode(to:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"title":"encode(to:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"kind":"text","text":"("},{"text":"to","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7EncoderP","kind":"typeIdentifier","text":"Encoder"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"externalID":"s:SYsSERzSS8RawValueSYRtzrlE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Encodable"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" is "},{"code":"String","type":"codeVoice"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"extendedModule":"Swift","symbolKind":"method","modules":[{"name":"jose-swift","relatedModules":["Swift"]}],"roleHeading":"Instance Method","role":"symbol"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"encode","kind":"identifier"},{"kind":"text","text":"("},{"text":"to","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"encoder","kind":"internalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s7EncoderP","kind":"typeIdentifier","text":"Encoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"languages":["swift"],"platforms":["macOS"]}]}],"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"RawRepresentable.encode(to:)"},{"type":"text","text":"."}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/RawRepresentable-Implementations":{"abstract":[],"type":"topic","url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/rawrepresentable-implementations","kind":"article","title":"RawRepresentable Implementations","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/RawRepresentable-Implementations"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/encode(to:)":{"url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/encode(to:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/encode(to:)","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s7EncoderP","text":"Encoder","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"title":"encode(to:)","conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Encodable"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" is "},{"code":"String","type":"codeVoice"},{"type":"text","text":"."}]},"kind":"symbol","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionalgorithm/encryptor.json b/data/documentation/jose_swift/contentencryptionalgorithm/encryptor.json new file mode 100644 index 0000000..5dffd28 --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionalgorithm/encryptor.json @@ -0,0 +1 @@ +{"kind":"symbol","abstract":[{"type":"text","text":"Provides a "},{"code":"ContentEncryptor","type":"codeVoice"},{"type":"text","text":" instance based on the selected encryption algorithm."}],"schemaVersion":{"patch":0,"major":0,"minor":3},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/encryptor","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encryptor","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"ContentEncryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptor","preciseIdentifier":"s:17JSONWebAlgorithms16ContentEncryptorP"},{"kind":"text","text":" { "},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}]}]},{"content":[{"type":"heading","level":2,"anchor":"return-value","text":"Return Value"},{"inlineContent":[{"text":"An instance of an encryptor suitable for the algorithm.","type":"text"}],"type":"paragraph"}],"kind":"content"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentencryptionalgorithm\/encryptor"]}],"metadata":{"title":"encryptor","symbolKind":"property","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"encryptor","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"ContentEncryptor","preciseIdentifier":"s:17JSONWebAlgorithms16ContentEncryptorP"}],"modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO9encryptorAA0C9Encryptor_pvp","role":"symbol","roleHeading":"Instance Property"},"references":{"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/encryptor":{"abstract":[{"type":"text","text":"Provides a "},{"code":"ContentEncryptor","type":"codeVoice"},{"text":" instance based on the selected encryption algorithm.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"encryptor"},{"kind":"text","text":": "},{"text":"ContentEncryptor","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms16ContentEncryptorP"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/encryptor","kind":"symbol","title":"encryptor","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/encryptor"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentEncryptor":{"abstract":[{"type":"codeVoice","code":"ContentEncryptor"},{"type":"text","text":" is a protocol defining the functionality for encrypting content."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptor","url":"\/documentation\/jose_swift\/contentencryptor","kind":"symbol","title":"ContentEncryptor","role":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ContentEncryptor","kind":"identifier"}],"type":"topic","navigatorTitle":[{"text":"ContentEncryptor","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionalgorithm/equatable-implementations.json b/data/documentation/jose_swift/contentencryptionalgorithm/equatable-implementations.json new file mode 100644 index 0000000..4303b10 --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionalgorithm/equatable-implementations.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/contentencryptionalgorithm\/equatable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"topicSections":[{"title":"Operators","generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/!=(_:_:)"]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm"]]},"metadata":{"role":"collectionGroup","modules":[{"name":"jose-swift"}],"title":"Equatable Implementations"},"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"article","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/Equatable-Implementations"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/!=(_:_:)":{"abstract":[],"type":"topic","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/!=(_:_:)","kind":"symbol","title":"!=(_:_:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/!=(_:_:)"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionalgorithm/hash(into:).json b/data/documentation/jose_swift/contentencryptionalgorithm/hash(into:).json new file mode 100644 index 0000000..eb3fc8c --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionalgorithm/hash(into:).json @@ -0,0 +1 @@ +{"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"hash","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"into"},{"kind":"text","text":" "},{"text":"hasher","kind":"internalParam"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","text":"Hasher","preciseIdentifier":"s:s6HasherV"},{"text":")","kind":"text"}],"languages":["swift"]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/hash(into:)"},"schemaVersion":{"major":0,"patch":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/RawRepresentable-Implementations"]]},"metadata":{"title":"hash(into:)","roleHeading":"Instance Method","symbolKind":"method","modules":[{"relatedModules":["Swift"],"name":"jose-swift"}],"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"hash","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"into"},{"text":": ","kind":"text"},{"kind":"keyword","text":"inout"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:s6HasherV","text":"Hasher","kind":"typeIdentifier"},{"text":")","kind":"text"}],"extendedModule":"Swift","externalID":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","role":"symbol","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}],"conformancePrefix":[{"text":"Conforms when","type":"text"}]}},"abstract":[{"text":"Inherited from ","type":"text"},{"code":"RawRepresentable.hash(into:)","type":"codeVoice"},{"text":".","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentencryptionalgorithm\/hash(into:)"]}],"references":{"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/hash(into:)":{"kind":"symbol","title":"hash(into:)","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"hash","kind":"identifier"},{"text":"(","kind":"text"},{"text":"into","kind":"externalParam"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"kind":"text","text":" "},{"text":"Hasher","kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV"},{"text":")","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/hash(into:)","url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/hash(into:)","conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":"."}]},"abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/RawRepresentable-Implementations":{"abstract":[],"type":"topic","url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/rawrepresentable-implementations","kind":"article","title":"RawRepresentable Implementations","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/RawRepresentable-Implementations"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionalgorithm/hashvalue.json b/data/documentation/jose_swift/contentencryptionalgorithm/hashvalue.json new file mode 100644 index 0000000..c9fab4d --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionalgorithm/hashvalue.json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"Inherited from "},{"code":"RawRepresentable.hashValue","type":"codeVoice"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"extendedModule":"Swift","roleHeading":"Instance Property","externalID":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","title":"hashValue","modules":[{"relatedModules":["Swift"],"name":"jose-swift"}],"role":"symbol","symbolKind":"property","conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"text":" and ","type":"text"},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}],"conformancePrefix":[{"text":"Conforms when","type":"text"}]},"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"hashValue","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"}]},"sections":[],"variants":[{"paths":["\/documentation\/jose_swift\/contentencryptionalgorithm\/hashvalue"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/hashValue","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/RawRepresentable-Implementations"]]},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"hashValue","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}]}],"kind":"declarations"}],"schemaVersion":{"minor":3,"major":0,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/RawRepresentable-Implementations":{"abstract":[],"type":"topic","url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/rawrepresentable-implementations","kind":"article","title":"RawRepresentable Implementations","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/RawRepresentable-Implementations"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/hashValue":{"abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/hashValue","url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/hashvalue","kind":"symbol","title":"hashValue","conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"hashValue","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"}],"type":"topic"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionalgorithm/init(from:).json b/data/documentation/jose_swift/contentencryptionalgorithm/init(from:).json new file mode 100644 index 0000000..76034cb --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionalgorithm/init(from:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/RawRepresentable-Implementations"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"decoder","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/contentencryptionalgorithm\/init(from:)"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"symbol","sections":[],"abstract":[{"text":"Inherited from ","type":"text"},{"code":"RawRepresentable.init(from:)","type":"codeVoice"},{"type":"text","text":"."}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/init(from:)","interfaceLanguage":"swift"},"metadata":{"role":"symbol","roleHeading":"Initializer","extendedModule":"Swift","modules":[{"relatedModules":["Swift"],"name":"jose-swift"}],"conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Decodable"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" is "},{"code":"String","type":"codeVoice"},{"text":".","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"title":"init(from:)","symbolKind":"init","externalID":"s:SYsSeRzSS8RawValueSYRtzrlE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7DecoderP","text":"Decoder","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}]},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/init(from:)":{"kind":"symbol","title":"init(from:)","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7DecoderP","kind":"typeIdentifier","text":"Decoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/init(from:)","url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/init(from:)","conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Decodable"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" is "},{"code":"String","type":"codeVoice"},{"text":".","type":"text"}],"availabilityPrefix":[{"text":"Available when","type":"text"}]},"abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/RawRepresentable-Implementations":{"abstract":[],"type":"topic","url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/rawrepresentable-implementations","kind":"article","title":"RawRepresentable Implementations","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/RawRepresentable-Implementations"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionalgorithm/init(rawvalue:).json b/data/documentation/jose_swift/contentencryptionalgorithm/init(rawvalue:).json new file mode 100644 index 0000000..525731e --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionalgorithm/init(rawvalue:).json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"RawRepresentable.init(rawValue:)"},{"type":"text","text":"."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentencryptionalgorithm\/init(rawvalue:)"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/init(rawValue:)"},"metadata":{"fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"rawValue"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":")"}],"role":"symbol","roleHeading":"Initializer","symbolKind":"init","title":"init(rawValue:)","externalID":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO8rawValueACSgSS_tcfc","modules":[{"name":"jose-swift"}]},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"init","kind":"keyword"},{"text":"?(","kind":"text"},{"text":"rawValue","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":")","kind":"text"}],"platforms":["macOS"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm"]]},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/init(rawValue:)":{"abstract":[],"type":"topic","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"rawValue"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":")","kind":"text"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/init(rawvalue:)","kind":"symbol","title":"init(rawValue:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/init(rawValue:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionalgorithm/initializationvectorsizeinbits.json b/data/documentation/jose_swift/contentencryptionalgorithm/initializationvectorsizeinbits.json new file mode 100644 index 0000000..6b82972 --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionalgorithm/initializationvectorsizeinbits.json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"Returns the initialization vector size in bits suitable for the encryption algorithm."}],"variants":[{"paths":["\/documentation\/jose_swift\/contentencryptionalgorithm\/initializationvectorsizeinbits"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"initializationVectorSizeInBits"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"}],"symbolKind":"property","externalID":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO30initializationVectorSizeInBitsSivp","title":"initializationVectorSizeInBits","role":"symbol"},"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"initializationVectorSizeInBits"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"languages":["swift"]}]},{"content":[{"level":2,"text":"Return Value","type":"heading","anchor":"return-value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The size of the initialization vector in bits."}]}],"kind":"content"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/initializationVectorSizeInBits"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm"]]},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/initializationVectorSizeInBits":{"abstract":[{"text":"Returns the initialization vector size in bits suitable for the encryption algorithm.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"initializationVectorSizeInBits","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/initializationvectorsizeinbits","kind":"symbol","title":"initializationVectorSizeInBits","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/initializationVectorSizeInBits"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionalgorithm/keysizeinbits.json b/data/documentation/jose_swift/contentencryptionalgorithm/keysizeinbits.json new file mode 100644 index 0000000..88935e4 --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionalgorithm/keysizeinbits.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"keySizeInBits","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"text":"Return Value","type":"heading","level":2,"anchor":"return-value"},{"inlineContent":[{"text":"The size of the key in bits.","type":"text"}],"type":"paragraph"}]}],"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/keySizeInBits","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentencryptionalgorithm\/keysizeinbits"]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"abstract":[{"type":"text","text":"Returns the key size in bits used by the encryption algorithm."}],"metadata":{"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"keySizeInBits","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"}],"title":"keySizeInBits","symbolKind":"property","modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","role":"symbol","externalID":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO13keySizeInBitsSivp"},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/keySizeInBits":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"keySizeInBits"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"}],"title":"keySizeInBits","kind":"symbol","url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/keysizeinbits","type":"topic","abstract":[{"text":"Returns the key size in bits used by the encryption algorithm.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/keySizeInBits"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionalgorithm/rawrepresentable-implementations.json b/data/documentation/jose_swift/contentencryptionalgorithm/rawrepresentable-implementations.json new file mode 100644 index 0000000..620dfad --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionalgorithm/rawrepresentable-implementations.json @@ -0,0 +1 @@ +{"sections":[],"kind":"article","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/RawRepresentable-Implementations","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm"]]},"metadata":{"role":"collectionGroup","modules":[{"name":"jose-swift"}],"title":"RawRepresentable Implementations"},"topicSections":[{"generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/init(from:)"],"title":"Initializers"},{"generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/hashValue"],"title":"Instance Properties"},{"title":"Instance Methods","generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/encode(to:)","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/hash(into:)"]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentencryptionalgorithm\/rawrepresentable-implementations"]}],"references":{"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/encode(to:)":{"url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/encode(to:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/encode(to:)","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s7EncoderP","text":"Encoder","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"title":"encode(to:)","conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Encodable"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" is "},{"code":"String","type":"codeVoice"},{"type":"text","text":"."}]},"kind":"symbol","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/init(from:)":{"kind":"symbol","title":"init(from:)","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7DecoderP","kind":"typeIdentifier","text":"Decoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/init(from:)","url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/init(from:)","conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Decodable"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" is "},{"code":"String","type":"codeVoice"},{"text":".","type":"text"}],"availabilityPrefix":[{"text":"Available when","type":"text"}]},"abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/hashValue":{"abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/hashValue","url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/hashvalue","kind":"symbol","title":"hashValue","conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"hashValue","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"}],"type":"topic"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm/hash(into:)":{"kind":"symbol","title":"hash(into:)","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"hash","kind":"identifier"},{"text":"(","kind":"text"},{"text":"into","kind":"externalParam"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"kind":"text","text":" "},{"text":"Hasher","kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV"},{"text":")","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm\/hash(into:)","url":"\/documentation\/jose_swift\/contentencryptionalgorithm\/hash(into:)","conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":"."}]},"abstract":[],"type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionarguments.json b/data/documentation/jose_swift/contentencryptionarguments.json new file mode 100644 index 0000000..6f53ded --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionarguments.json @@ -0,0 +1 @@ +{"topicSections":[{"title":"Enumeration Cases","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments\/additionalAuthenticationData(_:)","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments\/authenticationTag(_:)","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments\/customData(key:value:)","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments\/customJWK(key:value:)","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments\/initializationVector(_:)","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments\/keySizeInBits(_:)"]}],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ContentEncryptionArguments","kind":"identifier"}],"languages":["swift"],"platforms":["macOS"]}]}],"abstract":[{"type":"codeVoice","code":"ContentEncryptionArguments"},{"text":" is an enumeration defining additional arguments that can be used in content encryption processes.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentencryptionarguments"]}],"metadata":{"navigatorTitle":[{"kind":"identifier","text":"ContentEncryptionArguments"}],"role":"symbol","externalID":"s:17JSONWebAlgorithms26ContentEncryptionArgumentsO","symbolKind":"enum","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ContentEncryptionArguments","kind":"identifier"}],"modules":[{"name":"jose-swift"}],"roleHeading":"Enumeration","title":"ContentEncryptionArguments"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments","interfaceLanguage":"swift"},"sections":[],"schemaVersion":{"major":0,"patch":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionArguments/customJWK(key:value:)":{"abstract":[{"type":"text","text":"Allows for a custom JSON Web Key (JWK) to be included, identified by a key."}],"kind":"symbol","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"customJWK"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"value","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":")","kind":"text"}],"url":"\/documentation\/jose_swift\/contentencryptionarguments\/customjwk(key:value:)","title":"ContentEncryptionArguments.customJWK(key:value:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments\/customJWK(key:value:)"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionArguments/keySizeInBits(_:)":{"abstract":[{"text":"Specifies the key size in bits.","type":"text"}],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"keySizeInBits","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"},{"kind":"text","text":")"}],"url":"\/documentation\/jose_swift\/contentencryptionarguments\/keysizeinbits(_:)","title":"ContentEncryptionArguments.keySizeInBits(_:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments\/keySizeInBits(_:)"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionArguments":{"abstract":[{"type":"codeVoice","code":"ContentEncryptionArguments"},{"text":" is an enumeration defining additional arguments that can be used in content encryption processes.","type":"text"}],"navigatorTitle":[{"text":"ContentEncryptionArguments","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ContentEncryptionArguments"}],"url":"\/documentation\/jose_swift\/contentencryptionarguments","kind":"symbol","title":"ContentEncryptionArguments","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionArguments/authenticationTag(_:)":{"title":"ContentEncryptionArguments.authenticationTag(_:)","kind":"symbol","url":"\/documentation\/jose_swift\/contentencryptionarguments\/authenticationtag(_:)","type":"topic","abstract":[{"type":"text","text":"Specifies the authentication tag as a "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" object."}],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"authenticationTag","kind":"identifier"},{"kind":"text","text":"("},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":")","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments\/authenticationTag(_:)","role":"symbol"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionArguments/initializationVector(_:)":{"title":"ContentEncryptionArguments.initializationVector(_:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments\/initializationVector(_:)","abstract":[{"type":"text","text":"Specifies the initialization vector as a "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" object."}],"url":"\/documentation\/jose_swift\/contentencryptionarguments\/initializationvector(_:)","type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"initializationVector","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":")","kind":"text"}]},"doc://jose-swift/documentation/jose_swift/ContentEncryptionArguments/customData(key:value:)":{"role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"customData","kind":"identifier"},{"kind":"text","text":"("},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"value","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":")","kind":"text"}],"abstract":[{"type":"text","text":"Allows for custom data to be included, identified by a key."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments\/customData(key:value:)","kind":"symbol","title":"ContentEncryptionArguments.customData(key:value:)","url":"\/documentation\/jose_swift\/contentencryptionarguments\/customdata(key:value:)","type":"topic"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionArguments/additionalAuthenticationData(_:)":{"abstract":[{"type":"text","text":"Specifies additional authentication data as a "},{"code":"Data","type":"codeVoice"},{"type":"text","text":" object."}],"kind":"symbol","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"additionalAuthenticationData"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":")","kind":"text"}],"url":"\/documentation\/jose_swift\/contentencryptionarguments\/additionalauthenticationdata(_:)","title":"ContentEncryptionArguments.additionalAuthenticationData(_:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments\/additionalAuthenticationData(_:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionarguments/additionalauthenticationdata(_:).json b/data/documentation/jose_swift/contentencryptionarguments/additionalauthenticationdata(_:).json new file mode 100644 index 0000000..0ce2707 --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionarguments/additionalauthenticationdata(_:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"additionalAuthenticationData","kind":"identifier"},{"kind":"text","text":"("},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":")","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments\/additionalAuthenticationData(_:)"},"schemaVersion":{"patch":0,"minor":3,"major":0},"variants":[{"paths":["\/documentation\/jose_swift\/contentencryptionarguments\/additionalauthenticationdata(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"externalID":"s:17JSONWebAlgorithms26ContentEncryptionArgumentsO28additionalAuthenticationDatayAC10Foundation0H0VcACmF","role":"symbol","symbolKind":"case","title":"ContentEncryptionArguments.additionalAuthenticationData(_:)","modules":[{"name":"jose-swift"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"additionalAuthenticationData","kind":"identifier"},{"text":"(","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")"}],"roleHeading":"Case"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments"]]},"kind":"symbol","abstract":[{"text":"Specifies additional authentication data as a ","type":"text"},{"type":"codeVoice","code":"Data"},{"text":" object.","type":"text"}],"sections":[],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionArguments/additionalAuthenticationData(_:)":{"abstract":[{"type":"text","text":"Specifies additional authentication data as a "},{"code":"Data","type":"codeVoice"},{"type":"text","text":" object."}],"kind":"symbol","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"additionalAuthenticationData"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":")","kind":"text"}],"url":"\/documentation\/jose_swift\/contentencryptionarguments\/additionalauthenticationdata(_:)","title":"ContentEncryptionArguments.additionalAuthenticationData(_:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments\/additionalAuthenticationData(_:)"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionArguments":{"abstract":[{"type":"codeVoice","code":"ContentEncryptionArguments"},{"text":" is an enumeration defining additional arguments that can be used in content encryption processes.","type":"text"}],"navigatorTitle":[{"text":"ContentEncryptionArguments","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ContentEncryptionArguments"}],"url":"\/documentation\/jose_swift\/contentencryptionarguments","kind":"symbol","title":"ContentEncryptionArguments","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionarguments/authenticationtag(_:).json b/data/documentation/jose_swift/contentencryptionarguments/authenticationtag(_:).json new file mode 100644 index 0000000..7e6befd --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionarguments/authenticationtag(_:).json @@ -0,0 +1 @@ +{"kind":"symbol","abstract":[{"text":"Specifies the authentication tag as a ","type":"text"},{"type":"codeVoice","code":"Data"},{"text":" object.","type":"text"}],"schemaVersion":{"patch":0,"minor":3,"major":0},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments\/authenticationTag(_:)","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"authenticationTag","kind":"identifier"},{"text":"(","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":")"}],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentencryptionarguments\/authenticationtag(_:)"]}],"metadata":{"title":"ContentEncryptionArguments.authenticationTag(_:)","symbolKind":"case","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"authenticationTag","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":")","kind":"text"}],"modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebAlgorithms26ContentEncryptionArgumentsO17authenticationTagyAC10Foundation4DataVcACmF","role":"symbol","roleHeading":"Case"},"references":{"doc://jose-swift/documentation/jose_swift/ContentEncryptionArguments/authenticationTag(_:)":{"title":"ContentEncryptionArguments.authenticationTag(_:)","kind":"symbol","url":"\/documentation\/jose_swift\/contentencryptionarguments\/authenticationtag(_:)","type":"topic","abstract":[{"type":"text","text":"Specifies the authentication tag as a "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" object."}],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"authenticationTag","kind":"identifier"},{"kind":"text","text":"("},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":")","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments\/authenticationTag(_:)","role":"symbol"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionArguments":{"abstract":[{"type":"codeVoice","code":"ContentEncryptionArguments"},{"text":" is an enumeration defining additional arguments that can be used in content encryption processes.","type":"text"}],"navigatorTitle":[{"text":"ContentEncryptionArguments","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ContentEncryptionArguments"}],"url":"\/documentation\/jose_swift\/contentencryptionarguments","kind":"symbol","title":"ContentEncryptionArguments","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionarguments/customdata(key:value:).json b/data/documentation/jose_swift/contentencryptionarguments/customdata(key:value:).json new file mode 100644 index 0000000..337db52 --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionarguments/customdata(key:value:).json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"customData","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"value"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":")","kind":"text"}],"externalID":"s:17JSONWebAlgorithms26ContentEncryptionArgumentsO10customDatayACSS_10Foundation0G0VtcACmF","symbolKind":"case","modules":[{"name":"jose-swift"}],"role":"symbol","title":"ContentEncryptionArguments.customData(key:value:)","roleHeading":"Case"},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"customData","kind":"identifier"},{"kind":"text","text":"("},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"value","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":")","kind":"text"}],"languages":["swift"]}]}],"kind":"symbol","variants":[{"paths":["\/documentation\/jose_swift\/contentencryptionarguments\/customdata(key:value:)"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments\/customData(key:value:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Allows for custom data to be included, identified by a key."}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionArguments/customData(key:value:)":{"role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"customData","kind":"identifier"},{"kind":"text","text":"("},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"value","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":")","kind":"text"}],"abstract":[{"type":"text","text":"Allows for custom data to be included, identified by a key."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments\/customData(key:value:)","kind":"symbol","title":"ContentEncryptionArguments.customData(key:value:)","url":"\/documentation\/jose_swift\/contentencryptionarguments\/customdata(key:value:)","type":"topic"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionArguments":{"abstract":[{"type":"codeVoice","code":"ContentEncryptionArguments"},{"text":" is an enumeration defining additional arguments that can be used in content encryption processes.","type":"text"}],"navigatorTitle":[{"text":"ContentEncryptionArguments","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ContentEncryptionArguments"}],"url":"\/documentation\/jose_swift\/contentencryptionarguments","kind":"symbol","title":"ContentEncryptionArguments","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionarguments/customjwk(key:value:).json b/data/documentation/jose_swift/contentencryptionarguments/customjwk(key:value:).json new file mode 100644 index 0000000..365537c --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionarguments/customjwk(key:value:).json @@ -0,0 +1 @@ +{"abstract":[{"text":"Allows for a custom JSON Web Key (JWK) to be included, identified by a key.","type":"text"}],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments\/customJWK(key:value:)"},"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"role":"symbol","title":"ContentEncryptionArguments.customJWK(key:value:)","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"customJWK","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"key"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":")","kind":"text"}],"modules":[{"name":"jose-swift"}],"symbolKind":"case","roleHeading":"Case","externalID":"s:17JSONWebAlgorithms26ContentEncryptionArgumentsO9customJWKyACSS_0A3Key0G0VtcACmF"},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentencryptionarguments\/customjwk(key:value:)"]}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"customJWK","kind":"identifier"},{"kind":"text","text":"("},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"value"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":")","kind":"text"}]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift/ContentEncryptionArguments/customJWK(key:value:)":{"abstract":[{"type":"text","text":"Allows for a custom JSON Web Key (JWK) to be included, identified by a key."}],"kind":"symbol","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"customJWK"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"value","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":")","kind":"text"}],"url":"\/documentation\/jose_swift\/contentencryptionarguments\/customjwk(key:value:)","title":"ContentEncryptionArguments.customJWK(key:value:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments\/customJWK(key:value:)"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionArguments":{"abstract":[{"type":"codeVoice","code":"ContentEncryptionArguments"},{"text":" is an enumeration defining additional arguments that can be used in content encryption processes.","type":"text"}],"navigatorTitle":[{"text":"ContentEncryptionArguments","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ContentEncryptionArguments"}],"url":"\/documentation\/jose_swift\/contentencryptionarguments","kind":"symbol","title":"ContentEncryptionArguments","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments"},"https://www.rfc-editor.org/rfc/rfc7517":{"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionarguments/initializationvector(_:).json b/data/documentation/jose_swift/contentencryptionarguments/initializationvector(_:).json new file mode 100644 index 0000000..f22ca18 --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionarguments/initializationvector(_:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"initializationVector","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":")","kind":"text"}]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentencryptionarguments\/initializationvector(_:)"]}],"sections":[],"kind":"symbol","abstract":[{"text":"Specifies the initialization vector as a ","type":"text"},{"type":"codeVoice","code":"Data"},{"type":"text","text":" object."}],"metadata":{"externalID":"s:17JSONWebAlgorithms26ContentEncryptionArgumentsO20initializationVectoryAC10Foundation4DataVcACmF","symbolKind":"case","role":"symbol","title":"ContentEncryptionArguments.initializationVector(_:)","roleHeading":"Case","modules":[{"name":"jose-swift"}],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"initializationVector","kind":"identifier"},{"text":"(","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":")","kind":"text"}]},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments"]]},"schemaVersion":{"patch":0,"minor":3,"major":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments\/initializationVector(_:)","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift/ContentEncryptionArguments/initializationVector(_:)":{"title":"ContentEncryptionArguments.initializationVector(_:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments\/initializationVector(_:)","abstract":[{"type":"text","text":"Specifies the initialization vector as a "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" object."}],"url":"\/documentation\/jose_swift\/contentencryptionarguments\/initializationvector(_:)","type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"initializationVector","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":")","kind":"text"}]},"doc://jose-swift/documentation/jose_swift/ContentEncryptionArguments":{"abstract":[{"type":"codeVoice","code":"ContentEncryptionArguments"},{"text":" is an enumeration defining additional arguments that can be used in content encryption processes.","type":"text"}],"navigatorTitle":[{"text":"ContentEncryptionArguments","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ContentEncryptionArguments"}],"url":"\/documentation\/jose_swift\/contentencryptionarguments","kind":"symbol","title":"ContentEncryptionArguments","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionarguments/keysizeinbits(_:).json b/data/documentation/jose_swift/contentencryptionarguments/keysizeinbits(_:).json new file mode 100644 index 0000000..9223e77 --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionarguments/keysizeinbits(_:).json @@ -0,0 +1 @@ +{"metadata":{"roleHeading":"Case","symbolKind":"case","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"keySizeInBits"},{"kind":"text","text":"("},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"},{"text":")","kind":"text"}],"title":"ContentEncryptionArguments.keySizeInBits(_:)","role":"symbol","externalID":"s:17JSONWebAlgorithms26ContentEncryptionArgumentsO13keySizeInBitsyACSicACmF","modules":[{"name":"jose-swift"}]},"schemaVersion":{"patch":0,"minor":3,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments\/keySizeInBits(_:)"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"keySizeInBits","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"},{"text":")","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"sections":[],"abstract":[{"type":"text","text":"Specifies the key size in bits."}],"kind":"symbol","variants":[{"paths":["\/documentation\/jose_swift\/contentencryptionarguments\/keysizeinbits(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionArguments":{"abstract":[{"type":"codeVoice","code":"ContentEncryptionArguments"},{"text":" is an enumeration defining additional arguments that can be used in content encryption processes.","type":"text"}],"navigatorTitle":[{"text":"ContentEncryptionArguments","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ContentEncryptionArguments"}],"url":"\/documentation\/jose_swift\/contentencryptionarguments","kind":"symbol","title":"ContentEncryptionArguments","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionArguments/keySizeInBits(_:)":{"abstract":[{"text":"Specifies the key size in bits.","type":"text"}],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"keySizeInBits","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"},{"kind":"text","text":")"}],"url":"\/documentation\/jose_swift\/contentencryptionarguments\/keysizeinbits(_:)","title":"ContentEncryptionArguments.keySizeInBits(_:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments\/keySizeInBits(_:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionresult.json b/data/documentation/jose_swift/contentencryptionresult.json new file mode 100644 index 0000000..88a1a7e --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionresult.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionResult","interfaceLanguage":"swift"},"metadata":{"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"ContentEncryptionResult","kind":"identifier"}],"roleHeading":"Structure","title":"ContentEncryptionResult","modules":[{"name":"jose-swift"}],"role":"symbol","symbolKind":"struct","navigatorTitle":[{"text":"ContentEncryptionResult","kind":"identifier"}],"externalID":"s:17JSONWebAlgorithms23ContentEncryptionResultV"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ContentEncryptionResult"}],"languages":["swift"]}],"kind":"declarations"}],"abstract":[{"code":"ContentEncryptionResult","type":"codeVoice"},{"type":"text","text":" is a struct representing the result of an encryption operation."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentencryptionresult"]}],"sections":[],"topicSections":[{"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionResult\/authenticationData","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionResult\/cipher"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift/ContentEncryptionResult":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionResult","url":"\/documentation\/jose_swift\/contentencryptionresult","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"ContentEncryptionResult","kind":"identifier"}],"title":"ContentEncryptionResult","kind":"symbol","abstract":[{"code":"ContentEncryptionResult","type":"codeVoice"},{"type":"text","text":" is a struct representing the result of an encryption operation."}],"type":"topic","role":"symbol","navigatorTitle":[{"text":"ContentEncryptionResult","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/ContentEncryptionResult/cipher":{"url":"\/documentation\/jose_swift\/contentencryptionresult\/cipher","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionResult\/cipher","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"cipher","kind":"identifier"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"title":"cipher","kind":"symbol","abstract":[{"text":"The encrypted data (cipher).","type":"text"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionResult/authenticationData":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionResult\/authenticationData","url":"\/documentation\/jose_swift\/contentencryptionresult\/authenticationdata","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"authenticationData","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"title":"authenticationData","kind":"symbol","abstract":[{"text":"The authentication data associated with the encryption, used for validating the integrity and authenticity of the data.","type":"text"}],"type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionresult/authenticationdata.json b/data/documentation/jose_swift/contentencryptionresult/authenticationdata.json new file mode 100644 index 0000000..d85249f --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionresult/authenticationdata.json @@ -0,0 +1 @@ +{"metadata":{"title":"authenticationData","symbolKind":"property","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"authenticationData","kind":"identifier"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"}],"modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","role":"symbol","externalID":"s:17JSONWebAlgorithms23ContentEncryptionResultV18authenticationData10Foundation0G0Vvp"},"abstract":[{"text":"The authentication data associated with the encryption, used for validating the integrity and authenticity of the data.","type":"text"}],"schemaVersion":{"minor":3,"patch":0,"major":0},"variants":[{"paths":["\/documentation\/jose_swift\/contentencryptionresult\/authenticationdata"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionResult\/authenticationData","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionResult"]]},"kind":"symbol","primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"authenticationData","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}]}],"kind":"declarations"}],"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/ContentEncryptionResult":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionResult","url":"\/documentation\/jose_swift\/contentencryptionresult","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"ContentEncryptionResult","kind":"identifier"}],"title":"ContentEncryptionResult","kind":"symbol","abstract":[{"code":"ContentEncryptionResult","type":"codeVoice"},{"type":"text","text":" is a struct representing the result of an encryption operation."}],"type":"topic","role":"symbol","navigatorTitle":[{"text":"ContentEncryptionResult","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/ContentEncryptionResult/authenticationData":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionResult\/authenticationData","url":"\/documentation\/jose_swift\/contentencryptionresult\/authenticationdata","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"authenticationData","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"title":"authenticationData","kind":"symbol","abstract":[{"text":"The authentication data associated with the encryption, used for validating the integrity and authenticity of the data.","type":"text"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptionresult/cipher.json b/data/documentation/jose_swift/contentencryptionresult/cipher.json new file mode 100644 index 0000000..032454a --- /dev/null +++ b/data/documentation/jose_swift/contentencryptionresult/cipher.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"metadata":{"symbolKind":"property","modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebAlgorithms23ContentEncryptionResultV6cipher10Foundation4DataVvp","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"cipher","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"roleHeading":"Instance Property","title":"cipher","role":"symbol"},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"cipher","kind":"identifier"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"languages":["swift"],"platforms":["macOS"]}]}],"abstract":[{"text":"The encrypted data (cipher).","type":"text"}],"variants":[{"paths":["\/documentation\/jose_swift\/contentencryptionresult\/cipher"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionResult"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionResult\/cipher"},"references":{"doc://jose-swift/documentation/jose_swift/ContentEncryptionResult/cipher":{"url":"\/documentation\/jose_swift\/contentencryptionresult\/cipher","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionResult\/cipher","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"cipher","kind":"identifier"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"title":"cipher","kind":"symbol","abstract":[{"text":"The encrypted data (cipher).","type":"text"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionResult":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionResult","url":"\/documentation\/jose_swift\/contentencryptionresult","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"ContentEncryptionResult","kind":"identifier"}],"title":"ContentEncryptionResult","kind":"symbol","abstract":[{"code":"ContentEncryptionResult","type":"codeVoice"},{"type":"text","text":" is a struct representing the result of an encryption operation."}],"type":"topic","role":"symbol","navigatorTitle":[{"text":"ContentEncryptionResult","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptor.json b/data/documentation/jose_swift/contentencryptor.json new file mode 100644 index 0000000..571fc52 --- /dev/null +++ b/data/documentation/jose_swift/contentencryptor.json @@ -0,0 +1 @@ +{"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptor"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"abstract":[{"type":"codeVoice","code":"ContentEncryptor"},{"text":" is a protocol defining the functionality for encrypting content.","type":"text"}],"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentencryptor"]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"role":"symbol","title":"ContentEncryptor","roleHeading":"Protocol","navigatorTitle":[{"kind":"identifier","text":"ContentEncryptor"}],"fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ContentEncryptor","kind":"identifier"}],"symbolKind":"protocol","modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebAlgorithms16ContentEncryptorP"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ContentEncryptor","kind":"identifier"}],"platforms":["macOS"],"languages":["swift"]}]}],"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptor\/encrypt(payload:using:arguments:)","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptor\/generateCEK()","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptor\/generateInitializationVector()"],"title":"Instance Methods"}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentEncryptor":{"abstract":[{"type":"codeVoice","code":"ContentEncryptor"},{"type":"text","text":" is a protocol defining the functionality for encrypting content."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptor","url":"\/documentation\/jose_swift\/contentencryptor","kind":"symbol","title":"ContentEncryptor","role":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ContentEncryptor","kind":"identifier"}],"type":"topic","navigatorTitle":[{"text":"ContentEncryptor","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/ContentEncryptor/generateInitializationVector()":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"generateInitializationVector","kind":"identifier"},{"kind":"text","text":"() "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptor\/generateInitializationVector()","type":"topic","role":"symbol","abstract":[{"type":"text","text":"Generates an initialization vector for the encryption process."}],"title":"generateInitializationVector()","url":"\/documentation\/jose_swift\/contentencryptor\/generateinitializationvector()","kind":"symbol","required":true},"doc://jose-swift/documentation/jose_swift/ContentEncryptor/encrypt(payload:using:arguments:)":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encrypt","kind":"identifier"},{"kind":"text","text":"("},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"using"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"arguments","kind":"externalParam"},{"text":": [","kind":"text"},{"text":"ContentEncryptionArguments","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionArgumentsO","kind":"typeIdentifier"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"ContentEncryptionResult","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms23ContentEncryptionResultV"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptor\/encrypt(payload:using:arguments:)","type":"topic","role":"symbol","abstract":[{"type":"text","text":"Encrypts the provided payload using the specified key and additional arguments."}],"title":"encrypt(payload:using:arguments:)","url":"\/documentation\/jose_swift\/contentencryptor\/encrypt(payload:using:arguments:)","kind":"symbol","required":true},"doc://jose-swift/documentation/jose_swift/ContentEncryptor/generateCEK()":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"generateCEK"},{"kind":"text","text":"() "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptor\/generateCEK()","type":"topic","role":"symbol","abstract":[{"type":"text","text":"Generates a Content Encryption Key (CEK) for the encryption process."}],"title":"generateCEK()","url":"\/documentation\/jose_swift\/contentencryptor\/generatecek()","kind":"symbol","required":true}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptor/encrypt(payload:using:arguments:).json b/data/documentation/jose_swift/contentencryptor/encrypt(payload:using:arguments:).json new file mode 100644 index 0000000..ba6564b --- /dev/null +++ b/data/documentation/jose_swift/contentencryptor/encrypt(payload:using:arguments:).json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"Encrypts the provided payload using the specified key and additional arguments."}],"metadata":{"roleHeading":"Instance Method","symbolKind":"method","externalID":"s:17JSONWebAlgorithms16ContentEncryptorP7encrypt7payload5using9argumentsAA0C16EncryptionResultV10Foundation4DataV_ALSayAA0cI9ArgumentsOGtKF","modules":[{"name":"jose-swift"}],"role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encrypt","kind":"identifier"},{"kind":"text","text":"("},{"text":"payload","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"using","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"arguments","kind":"externalParam"},{"text":": [","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionArgumentsO","text":"ContentEncryptionArguments","kind":"typeIdentifier"},{"kind":"text","text":"]) "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms23ContentEncryptionResultV","text":"ContentEncryptionResult"}],"title":"encrypt(payload:using:arguments:)","required":true},"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptor\/encrypt(payload:using:arguments:)","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"encrypt","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"text":"using","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"key"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"text":"arguments","kind":"externalParam"},{"text":": [","kind":"text"},{"text":"ContentEncryptionArguments","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionArgumentsO"},{"text":"]) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionResult","text":"ContentEncryptionResult","preciseIdentifier":"s:17JSONWebAlgorithms23ContentEncryptionResultV"}],"languages":["swift"]}],"kind":"declarations"},{"parameters":[{"name":"payload","content":[{"inlineContent":[{"text":"The data to be encrypted.","type":"text"}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"text":"The key used for the encryption process.","type":"text"}],"type":"paragraph"}],"name":"key"},{"content":[{"inlineContent":[{"text":"An array of ","type":"text"},{"type":"codeVoice","code":"ContentEncryptionArguments"},{"type":"text","text":" providing additional information required for encryption."}],"type":"paragraph"}],"name":"arguments"}],"kind":"parameters"},{"content":[{"anchor":"return-value","type":"heading","level":2,"text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"ContentEncryptionResult"},{"text":" containing the cipher and associated authentication data.","type":"text"}]}],"kind":"content"},{"content":[{"level":2,"anchor":"discussion","type":"heading","text":"Discussion"},{"type":"aside","name":"Throws","content":[{"type":"paragraph","inlineContent":[{"text":"An error if encryption fails. This could be due to invalid keys, incompatible arguments, or other issues.","type":"text"}]}],"style":"note"}],"kind":"content"}],"kind":"symbol","sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptor"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentencryptor\/encrypt(payload:using:arguments:)"]}],"references":{"doc://jose-swift/documentation/jose_swift/ContentEncryptor":{"abstract":[{"type":"codeVoice","code":"ContentEncryptor"},{"type":"text","text":" is a protocol defining the functionality for encrypting content."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptor","url":"\/documentation\/jose_swift\/contentencryptor","kind":"symbol","title":"ContentEncryptor","role":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ContentEncryptor","kind":"identifier"}],"type":"topic","navigatorTitle":[{"text":"ContentEncryptor","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionResult":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionResult","url":"\/documentation\/jose_swift\/contentencryptionresult","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"ContentEncryptionResult","kind":"identifier"}],"title":"ContentEncryptionResult","kind":"symbol","abstract":[{"code":"ContentEncryptionResult","type":"codeVoice"},{"type":"text","text":" is a struct representing the result of an encryption operation."}],"type":"topic","role":"symbol","navigatorTitle":[{"text":"ContentEncryptionResult","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/ContentEncryptor/encrypt(payload:using:arguments:)":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encrypt","kind":"identifier"},{"kind":"text","text":"("},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"using"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"arguments","kind":"externalParam"},{"text":": [","kind":"text"},{"text":"ContentEncryptionArguments","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionArgumentsO","kind":"typeIdentifier"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"ContentEncryptionResult","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms23ContentEncryptionResultV"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptor\/encrypt(payload:using:arguments:)","type":"topic","role":"symbol","abstract":[{"type":"text","text":"Encrypts the provided payload using the specified key and additional arguments."}],"title":"encrypt(payload:using:arguments:)","url":"\/documentation\/jose_swift\/contentencryptor\/encrypt(payload:using:arguments:)","kind":"symbol","required":true},"doc://jose-swift/documentation/jose_swift/ContentEncryptionArguments":{"abstract":[{"type":"codeVoice","code":"ContentEncryptionArguments"},{"text":" is an enumeration defining additional arguments that can be used in content encryption processes.","type":"text"}],"navigatorTitle":[{"text":"ContentEncryptionArguments","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ContentEncryptionArguments"}],"url":"\/documentation\/jose_swift\/contentencryptionarguments","kind":"symbol","title":"ContentEncryptionArguments","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionArguments"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptor/generatecek().json b/data/documentation/jose_swift/contentencryptor/generatecek().json new file mode 100644 index 0000000..691c9b8 --- /dev/null +++ b/data/documentation/jose_swift/contentencryptor/generatecek().json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/contentencryptor\/generatecek()"]}],"metadata":{"symbolKind":"method","title":"generateCEK()","required":true,"role":"symbol","modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebAlgorithms16ContentEncryptorP11generateCEK10Foundation4DataVyKF","roleHeading":"Instance Method","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"generateCEK"},{"text":"() ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"}]},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptor\/generateCEK()","interfaceLanguage":"swift"},"kind":"symbol","abstract":[{"type":"text","text":"Generates a Content Encryption Key (CEK) for the encryption process."}],"schemaVersion":{"patch":0,"minor":3,"major":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"generateCEK","kind":"identifier"},{"text":"() ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"}]}]},{"kind":"content","content":[{"text":"Return Value","anchor":"return-value","type":"heading","level":2},{"inlineContent":[{"type":"text","text":"The generated CEK as "},{"type":"codeVoice","code":"Data"},{"type":"text","text":"."}],"type":"paragraph"}]},{"kind":"content","content":[{"level":2,"anchor":"discussion","type":"heading","text":"Discussion"},{"type":"aside","style":"note","name":"Throws","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An error if the generation fails."}]}]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptor"]]},"references":{"doc://jose-swift/documentation/jose_swift/ContentEncryptor/generateCEK()":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"generateCEK"},{"kind":"text","text":"() "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptor\/generateCEK()","type":"topic","role":"symbol","abstract":[{"type":"text","text":"Generates a Content Encryption Key (CEK) for the encryption process."}],"title":"generateCEK()","url":"\/documentation\/jose_swift\/contentencryptor\/generatecek()","kind":"symbol","required":true},"doc://jose-swift/documentation/jose_swift/ContentEncryptor":{"abstract":[{"type":"codeVoice","code":"ContentEncryptor"},{"type":"text","text":" is a protocol defining the functionality for encrypting content."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptor","url":"\/documentation\/jose_swift\/contentencryptor","kind":"symbol","title":"ContentEncryptor","role":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ContentEncryptor","kind":"identifier"}],"type":"topic","navigatorTitle":[{"text":"ContentEncryptor","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/contentencryptor/generateinitializationvector().json b/data/documentation/jose_swift/contentencryptor/generateinitializationvector().json new file mode 100644 index 0000000..fc459eb --- /dev/null +++ b/data/documentation/jose_swift/contentencryptor/generateinitializationvector().json @@ -0,0 +1 @@ +{"metadata":{"roleHeading":"Instance Method","externalID":"s:17JSONWebAlgorithms16ContentEncryptorP28generateInitializationVector10Foundation4DataVyKF","role":"symbol","required":true,"symbolKind":"method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"generateInitializationVector","kind":"identifier"},{"text":"() ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"modules":[{"name":"jose-swift"}],"title":"generateInitializationVector()"},"variants":[{"paths":["\/documentation\/jose_swift\/contentencryptor\/generateinitializationvector()"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptor"]]},"abstract":[{"type":"text","text":"Generates an initialization vector for the encryption process."}],"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptor\/generateInitializationVector()","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"generateInitializationVector"},{"kind":"text","text":"() "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"platforms":["macOS"],"languages":["swift"]}]},{"content":[{"anchor":"return-value","type":"heading","text":"Return Value","level":2},{"type":"paragraph","inlineContent":[{"text":"The generated initialization vector as ","type":"text"},{"code":"Data","type":"codeVoice"},{"type":"text","text":"."}]}],"kind":"content"},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"content":[{"inlineContent":[{"type":"text","text":"An error if the generation fails."}],"type":"paragraph"}],"name":"Throws","type":"aside","style":"note"}]}],"sections":[],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/ContentEncryptor":{"abstract":[{"type":"codeVoice","code":"ContentEncryptor"},{"type":"text","text":" is a protocol defining the functionality for encrypting content."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptor","url":"\/documentation\/jose_swift\/contentencryptor","kind":"symbol","title":"ContentEncryptor","role":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ContentEncryptor","kind":"identifier"}],"type":"topic","navigatorTitle":[{"text":"ContentEncryptor","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentEncryptor/generateInitializationVector()":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"generateInitializationVector","kind":"identifier"},{"kind":"text","text":"() "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptor\/generateInitializationVector()","type":"topic","role":"symbol","abstract":[{"type":"text","text":"Generates an initialization vector for the encryption process."}],"title":"generateInitializationVector()","url":"\/documentation\/jose_swift\/contentencryptor\/generateinitializationvector()","kind":"symbol","required":true}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit.json b/data/documentation/jose_swift/cryptokit.json new file mode 100644 index 0000000..3d3d059 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit.json @@ -0,0 +1 @@ +{"metadata":{"modules":[{"name":"jose-swift"}],"title":"CryptoKit","roleHeading":"Extended Module","role":"collection","symbolKind":"extension","externalID":"s:m:s:e:s:e:s:e:s:9CryptoKit10Curve25519O12KeyAgreementO06PublicD0V17JSONWebAlgorithmsE17jwkRepresentation0gD03JWKVvp"},"sections":[],"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521"],"title":"Extended Types"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521":{"url":"\/documentation\/jose_swift\/cryptokit\/p521","type":"topic","kind":"symbol","role":"symbol","abstract":[],"navigatorTitle":[{"text":"P521","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","title":"P521"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256":{"url":"\/documentation\/jose_swift\/cryptokit\/p256","kind":"symbol","title":"P256","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","role":"symbol","navigatorTitle":[{"text":"P256","kind":"identifier"}],"type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384":{"title":"P384","navigatorTitle":[{"text":"P384","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519":{"kind":"symbol","role":"symbol","title":"Curve25519","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Curve25519"}],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/curve25519.json b/data/documentation/jose_swift/cryptokit/curve25519.json new file mode 100644 index 0000000..6a332bc --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/curve25519.json @@ -0,0 +1 @@ +{"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit"]]},"kind":"symbol","variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/curve25519"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"metadata":{"title":"Curve25519","navigatorTitle":[{"text":"Curve25519","kind":"identifier"}],"externalID":"s:e:s:e:s:e:s:9CryptoKit10Curve25519O12KeyAgreementO06PublicD0V17JSONWebAlgorithmsE17jwkRepresentation0gD03JWKVvp","roleHeading":"Extended Type","extendedModule":"CryptoKit","symbolKind":"extension","modules":[{"relatedModules":["CryptoKit"],"name":"jose-swift"}],"role":"symbol"},"topicSections":[{"title":"Extended Types","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing"]}],"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing","abstract":[],"role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Signing"}],"title":"Curve25519.Signing","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement","title":"Curve25519.KeyAgreement","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519":{"kind":"symbol","role":"symbol","title":"Curve25519","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Curve25519"}],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/curve25519/keyagreement.json b/data/documentation/jose_swift/cryptokit/curve25519/keyagreement.json new file mode 100644 index 0000000..a3d2469 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/curve25519/keyagreement.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519"]]},"sections":[],"topicSections":[{"title":"Extended Structures","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PublicKey"]}],"metadata":{"roleHeading":"Extended Type","modules":[{"relatedModules":["CryptoKit"],"name":"jose-swift"}],"externalID":"s:e:s:e:s:9CryptoKit10Curve25519O12KeyAgreementO06PublicD0V17JSONWebAlgorithmsE17jwkRepresentation0gD03JWKVvp","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyAgreement"}],"extendedModule":"CryptoKit","symbolKind":"extension","title":"Curve25519.KeyAgreement"},"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement"},"schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement","title":"Curve25519.KeyAgreement","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519":{"kind":"symbol","role":"symbol","title":"Curve25519","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Curve25519"}],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement/PrivateKey":{"fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O","text":"Curve25519"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"text":".","kind":"text"},{"text":"PrivateKey","preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO07PrivateD0V","kind":"identifier"}],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey","title":"Curve25519.KeyAgreement.PrivateKey","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/privatekey","navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement/PublicKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PublicKey","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Curve25519","preciseIdentifier":"s:9CryptoKit10Curve25519O"},{"text":".","kind":"text"},{"kind":"identifier","text":"KeyAgreement","preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO"},{"text":".","kind":"text"},{"kind":"identifier","text":"PublicKey","preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO06PublicD0V"}],"role":"symbol","type":"topic","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/publickey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}],"kind":"symbol","title":"Curve25519.KeyAgreement.PublicKey"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey.json b/data/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey.json new file mode 100644 index 0000000..4fb26be --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement"]]},"metadata":{"roleHeading":"Extended Structure","extendedModule":"CryptoKit","symbolKind":"extension","modules":[{"relatedModules":["CryptoKit"],"name":"jose-swift"}],"navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"title":"Curve25519.KeyAgreement.PrivateKey","role":"symbol","externalID":"s:e:s:9CryptoKit10Curve25519O12KeyAgreementO07PrivateD0V17JSONWebAlgorithmsE016sharedSecretFromdE006publicD5Share10Foundation4DataV0gD03JWKV_tKF","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"text":"Curve25519","kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO","text":"KeyAgreement"},{"text":".","kind":"text"},{"text":"PrivateKey","preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO07PrivateD0V","kind":"identifier"}]},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey\/SharedKeyAgreement-Implementations"],"generated":true,"title":"Default Implementations"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","text":"Curve25519","preciseIdentifier":"s:9CryptoKit10Curve25519O"},{"text":".","kind":"text"},{"text":"KeyAgreement","kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO07PrivateD0V","text":"PrivateKey","kind":"typeIdentifier"}]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/privatekey"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"type":"conformsTo","kind":"relationships","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable"],"title":"Conforms To"}],"sections":[],"kind":"symbol","schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement/PrivateKey/SharedKeyAgreement-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey\/SharedKeyAgreement-Implementations","abstract":[],"title":"SharedKeyAgreement Implementations","kind":"article","url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/privatekey\/sharedkeyagreement-implementations","role":"collectionGroup","type":"topic"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement/PrivateKey/JWKRepresentable-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations","abstract":[],"title":"JWKRepresentable Implementations","kind":"article","url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/privatekey\/jwkrepresentable-implementations","role":"collectionGroup","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519":{"kind":"symbol","role":"symbol","title":"Curve25519","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Curve25519"}],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement","title":"Curve25519.KeyAgreement","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement/PrivateKey":{"fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O","text":"Curve25519"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"text":".","kind":"text"},{"text":"PrivateKey","preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO07PrivateD0V","kind":"identifier"}],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey","title":"Curve25519.KeyAgreement.PrivateKey","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/privatekey","navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/jwkrepresentable-implementations.json b/data/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/jwkrepresentable-implementations.json new file mode 100644 index 0000000..af6b7df --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/jwkrepresentable-implementations.json @@ -0,0 +1 @@ +{"sections":[],"kind":"article","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations"},"schemaVersion":{"major":0,"patch":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey"]]},"metadata":{"modules":[{"name":"jose-swift"}],"role":"collectionGroup","title":"JWKRepresentable Implementations"},"topicSections":[{"title":"Instance Properties","generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey\/jwkRepresentation"]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/privatekey\/jwkrepresentable-implementations"]}],"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement/PrivateKey/jwkRepresentation":{"kind":"symbol","title":"jwkRepresentation","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey\/jwkRepresentation","url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/privatekey\/jwkrepresentation","abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"type":"codeVoice","code":"Curve25519.KeyAgreement.PrivateKey"},{"text":" instance.","type":"text"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement/PrivateKey":{"fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O","text":"Curve25519"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"text":".","kind":"text"},{"text":"PrivateKey","preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO07PrivateD0V","kind":"identifier"}],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey","title":"Curve25519.KeyAgreement.PrivateKey","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/privatekey","navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement","title":"Curve25519.KeyAgreement","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519":{"kind":"symbol","role":"symbol","title":"Curve25519","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Curve25519"}],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/jwkrepresentation.json b/data/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/jwkrepresentation.json new file mode 100644 index 0000000..e855e2d --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/jwkrepresentation.json @@ -0,0 +1 @@ +{"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey\/jwkRepresentation","interfaceLanguage":"swift"},"abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"type":"codeVoice","code":"Curve25519.KeyAgreement.PrivateKey"},{"type":"text","text":" instance."}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/privatekey\/jwkrepresentation"]}],"metadata":{"role":"symbol","externalID":"s:9CryptoKit10Curve25519O12KeyAgreementO07PrivateD0V17JSONWebAlgorithmsE17jwkRepresentation0gD03JWKVvp","extendedModule":"CryptoKit","symbolKind":"property","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"jwkRepresentation"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"roleHeading":"Instance Property","modules":[{"relatedModules":["CryptoKit"],"name":"jose-swift"}],"title":"jwkRepresentation"},"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement/PrivateKey":{"fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O","text":"Curve25519"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"text":".","kind":"text"},{"text":"PrivateKey","preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO07PrivateD0V","kind":"identifier"}],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey","title":"Curve25519.KeyAgreement.PrivateKey","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/privatekey","navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement","title":"Curve25519.KeyAgreement","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519":{"kind":"symbol","role":"symbol","title":"Curve25519","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Curve25519"}],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement/PrivateKey/JWKRepresentable-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations","abstract":[],"title":"JWKRepresentable Implementations","kind":"article","url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/privatekey\/jwkrepresentable-implementations","role":"collectionGroup","type":"topic"},"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"text":"RFC7517","type":"text"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement/PrivateKey/jwkRepresentation":{"kind":"symbol","title":"jwkRepresentation","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey\/jwkRepresentation","url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/privatekey\/jwkrepresentation","abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"type":"codeVoice","code":"Curve25519.KeyAgreement.PrivateKey"},{"text":" instance.","type":"text"}],"type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/sharedkeyagreement-implementations.json b/data/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/sharedkeyagreement-implementations.json new file mode 100644 index 0000000..10f6251 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/sharedkeyagreement-implementations.json @@ -0,0 +1 @@ +{"sections":[],"metadata":{"role":"collectionGroup","title":"SharedKeyAgreement Implementations","modules":[{"name":"jose-swift"}]},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey"]]},"kind":"article","topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey\/sharedSecretFromKeyAgreement(publicKeyShare:)"],"generated":true,"title":"Instance Methods"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey\/SharedKeyAgreement-Implementations","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/privatekey\/sharedkeyagreement-implementations"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement","title":"Curve25519.KeyAgreement","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519":{"kind":"symbol","role":"symbol","title":"Curve25519","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Curve25519"}],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement/PrivateKey/sharedSecretFromKeyAgreement(publicKeyShare:)":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"sharedSecretFromKeyAgreement","kind":"identifier"},{"kind":"text","text":"("},{"text":"publicKeyShare","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"title":"sharedSecretFromKeyAgreement(publicKeyShare:)","kind":"symbol","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey\/sharedSecretFromKeyAgreement(publicKeyShare:)","url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/privatekey\/sharedsecretfromkeyagreement(publickeyshare:)","type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement/PrivateKey":{"fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O","text":"Curve25519"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"text":".","kind":"text"},{"text":"PrivateKey","preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO07PrivateD0V","kind":"identifier"}],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey","title":"Curve25519.KeyAgreement.PrivateKey","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/privatekey","navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:).json b/data/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:).json new file mode 100644 index 0000000..98c514f --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:).json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey\/sharedSecretFromKeyAgreement(publicKeyShare:)"},"abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"SharedKeyAgreement.sharedSecretFromKeyAgreement(publicKeyShare:)"},{"type":"text","text":"."}],"sections":[],"kind":"symbol","metadata":{"extendedModule":"CryptoKit","externalID":"s:9CryptoKit10Curve25519O12KeyAgreementO07PrivateD0V17JSONWebAlgorithmsE016sharedSecretFromdE006publicD5Share10Foundation4DataV0gD03JWKV_tKF","role":"symbol","modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}],"title":"sharedSecretFromKeyAgreement(publicKeyShare:)","symbolKind":"method","roleHeading":"Instance Method","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"sharedSecretFromKeyAgreement","kind":"identifier"},{"text":"(","kind":"text"},{"text":"publicKeyShare","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}]},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey\/SharedKeyAgreement-Implementations"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"sharedSecretFromKeyAgreement","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"publicKeyShare"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"languages":["swift"]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/privatekey\/sharedsecretfromkeyagreement(publickeyshare:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","titleInlineContent":[{"text":"RFC7517","type":"text"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement/PrivateKey/SharedKeyAgreement-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey\/SharedKeyAgreement-Implementations","abstract":[],"title":"SharedKeyAgreement Implementations","kind":"article","url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/privatekey\/sharedkeyagreement-implementations","role":"collectionGroup","type":"topic"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement","title":"Curve25519.KeyAgreement","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement/PrivateKey/sharedSecretFromKeyAgreement(publicKeyShare:)":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"sharedSecretFromKeyAgreement","kind":"identifier"},{"kind":"text","text":"("},{"text":"publicKeyShare","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"title":"sharedSecretFromKeyAgreement(publicKeyShare:)","kind":"symbol","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey\/sharedSecretFromKeyAgreement(publicKeyShare:)","url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/privatekey\/sharedsecretfromkeyagreement(publickeyshare:)","type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519":{"kind":"symbol","role":"symbol","title":"Curve25519","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Curve25519"}],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement/PrivateKey":{"fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O","text":"Curve25519"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"text":".","kind":"text"},{"text":"PrivateKey","preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO07PrivateD0V","kind":"identifier"}],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey","title":"Curve25519.KeyAgreement.PrivateKey","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/privatekey","navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/curve25519/keyagreement/publickey.json b/data/documentation/jose_swift/cryptokit/curve25519/keyagreement/publickey.json new file mode 100644 index 0000000..c2a5360 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/curve25519/keyagreement/publickey.json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"kind":"symbol","metadata":{"fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:9CryptoKit10Curve25519O","text":"Curve25519","kind":"identifier"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO","text":"KeyAgreement"},{"kind":"text","text":"."},{"text":"PublicKey","preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO06PublicD0V","kind":"identifier"}],"modules":[{"relatedModules":["CryptoKit"],"name":"jose-swift"}],"externalID":"s:e:s:9CryptoKit10Curve25519O12KeyAgreementO06PublicD0V17JSONWebAlgorithmsE17jwkRepresentation0gD03JWKVvp","title":"Curve25519.KeyAgreement.PublicKey","roleHeading":"Extended Structure","role":"symbol","symbolKind":"extension","extendedModule":"CryptoKit","navigatorTitle":[{"kind":"identifier","text":"PublicKey"}]},"relationshipsSections":[{"kind":"relationships","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable"],"type":"conformsTo","title":"Conforms To"}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"text":"Curve25519","kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit10Curve25519O"},{"text":".","kind":"text"},{"text":"KeyAgreement","kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO"},{"text":".","kind":"text"},{"text":"PublicKey","kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO06PublicD0V"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/publickey"]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PublicKey","interfaceLanguage":"swift"},"topicSections":[{"title":"Default Implementations","generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement"]]},"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519":{"kind":"symbol","role":"symbol","title":"Curve25519","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Curve25519"}],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement","title":"Curve25519.KeyAgreement","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement/PublicKey/JWKRepresentable-Implementations":{"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/publickey\/jwkrepresentable-implementations","type":"topic","abstract":[],"role":"collectionGroup","kind":"article","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations","title":"JWKRepresentable Implementations"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement/PublicKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PublicKey","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Curve25519","preciseIdentifier":"s:9CryptoKit10Curve25519O"},{"text":".","kind":"text"},{"kind":"identifier","text":"KeyAgreement","preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO"},{"text":".","kind":"text"},{"kind":"identifier","text":"PublicKey","preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO06PublicD0V"}],"role":"symbol","type":"topic","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/publickey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}],"kind":"symbol","title":"Curve25519.KeyAgreement.PublicKey"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/curve25519/keyagreement/publickey/jwkrepresentable-implementations.json b/data/documentation/jose_swift/cryptokit/curve25519/keyagreement/publickey/jwkrepresentable-implementations.json new file mode 100644 index 0000000..216b4d5 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/curve25519/keyagreement/publickey/jwkrepresentable-implementations.json @@ -0,0 +1 @@ +{"metadata":{"role":"collectionGroup","title":"JWKRepresentable Implementations","modules":[{"name":"jose-swift"}]},"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PublicKey"]]},"kind":"article","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations","interfaceLanguage":"swift"},"topicSections":[{"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PublicKey\/jwkRepresentation"],"generated":true}],"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/publickey\/jwkrepresentable-implementations"]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement/PublicKey/jwkRepresentation":{"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/publickey\/jwkrepresentation","type":"topic","abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"code":"Curve25519.KeyAgreement.PublicKey","type":"codeVoice"},{"type":"text","text":" instance."}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PublicKey\/jwkRepresentation","kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwkRepresentation"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"title":"jwkRepresentation"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement/PublicKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PublicKey","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Curve25519","preciseIdentifier":"s:9CryptoKit10Curve25519O"},{"text":".","kind":"text"},{"kind":"identifier","text":"KeyAgreement","preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO"},{"text":".","kind":"text"},{"kind":"identifier","text":"PublicKey","preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO06PublicD0V"}],"role":"symbol","type":"topic","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/publickey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}],"kind":"symbol","title":"Curve25519.KeyAgreement.PublicKey"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement","title":"Curve25519.KeyAgreement","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519":{"kind":"symbol","role":"symbol","title":"Curve25519","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Curve25519"}],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/curve25519/keyagreement/publickey/jwkrepresentation.json b/data/documentation/jose_swift/cryptokit/curve25519/keyagreement/publickey/jwkrepresentation.json new file mode 100644 index 0000000..b2c8f42 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/curve25519/keyagreement/publickey/jwkrepresentation.json @@ -0,0 +1 @@ +{"sections":[],"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PublicKey\/jwkRepresentation","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}],"role":"symbol","externalID":"s:9CryptoKit10Curve25519O12KeyAgreementO06PublicD0V17JSONWebAlgorithmsE17jwkRepresentation0gD03JWKVvp","extendedModule":"CryptoKit","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"jwkRepresentation"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"}],"title":"jwkRepresentation","roleHeading":"Instance Property","symbolKind":"property"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PublicKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"platforms":["macOS"],"languages":["swift"]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/publickey\/jwkrepresentation"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"type":"codeVoice","code":"Curve25519.KeyAgreement.PublicKey"},{"text":" instance.","type":"text"}],"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement/PublicKey/jwkRepresentation":{"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/publickey\/jwkrepresentation","type":"topic","abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"code":"Curve25519.KeyAgreement.PublicKey","type":"codeVoice"},{"type":"text","text":" instance."}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PublicKey\/jwkRepresentation","kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwkRepresentation"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"title":"jwkRepresentation"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement","title":"Curve25519.KeyAgreement","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519":{"kind":"symbol","role":"symbol","title":"Curve25519","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Curve25519"}],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement/PublicKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PublicKey","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Curve25519","preciseIdentifier":"s:9CryptoKit10Curve25519O"},{"text":".","kind":"text"},{"kind":"identifier","text":"KeyAgreement","preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO"},{"text":".","kind":"text"},{"kind":"identifier","text":"PublicKey","preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO06PublicD0V"}],"role":"symbol","type":"topic","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/publickey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}],"kind":"symbol","title":"Curve25519.KeyAgreement.PublicKey"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement/PublicKey/JWKRepresentable-Implementations":{"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/publickey\/jwkrepresentable-implementations","type":"topic","abstract":[],"role":"collectionGroup","kind":"article","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations","title":"JWKRepresentable Implementations"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/curve25519/signing.json b/data/documentation/jose_swift/cryptokit/curve25519/signing.json new file mode 100644 index 0000000..c135f0a --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/curve25519/signing.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519"]]},"metadata":{"externalID":"s:e:s:e:s:9CryptoKit10Curve25519O7SigningO10PrivateKeyV17JSONWebAlgorithmsE17jwkRepresentation0gF03JWKVvp","role":"symbol","roleHeading":"Extended Type","symbolKind":"extension","navigatorTitle":[{"text":"Signing","kind":"identifier"}],"extendedModule":"CryptoKit","modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}],"title":"Curve25519.Signing"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/curve25519\/signing"]}],"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"topicSections":[{"title":"Extended Structures","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PublicKey"]}],"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing/PrivateKey":{"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/privatekey","type":"topic","kind":"symbol","role":"symbol","abstract":[],"fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O","text":"Curve25519"},{"kind":"text","text":"."},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO"},{"text":".","kind":"text"},{"text":"PrivateKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO10PrivateKeyV"}],"navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PrivateKey","title":"Curve25519.Signing.PrivateKey"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing/PublicKey":{"fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Curve25519","preciseIdentifier":"s:9CryptoKit10Curve25519O"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO","text":"Signing"},{"text":".","kind":"text"},{"text":"PublicKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO9PublicKeyV"}],"navigatorTitle":[{"kind":"identifier","text":"PublicKey"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PublicKey","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/publickey","kind":"symbol","type":"topic","title":"Curve25519.Signing.PublicKey"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519":{"kind":"symbol","role":"symbol","title":"Curve25519","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Curve25519"}],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing","abstract":[],"role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Signing"}],"title":"Curve25519.Signing","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/curve25519/signing/privatekey.json b/data/documentation/jose_swift/cryptokit/curve25519/signing/privatekey.json new file mode 100644 index 0000000..06cddd2 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/curve25519/signing/privatekey.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"major":0,"patch":0},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:9CryptoKit10Curve25519O","text":"Curve25519","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"Signing","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"PrivateKey","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO10PrivateKeyV","kind":"typeIdentifier"}],"languages":["swift"]}],"kind":"declarations"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PrivateKey","interfaceLanguage":"swift"},"metadata":{"externalID":"s:e:s:9CryptoKit10Curve25519O7SigningO10PrivateKeyV17JSONWebAlgorithmsE17jwkRepresentation0gF03JWKVvp","modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}],"extendedModule":"CryptoKit","navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"role":"symbol","title":"Curve25519.Signing.PrivateKey","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O","text":"Curve25519"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO","text":"Signing"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO10PrivateKeyV","kind":"identifier","text":"PrivateKey"}],"roleHeading":"Extended Structure","symbolKind":"extension"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing"]]},"relationshipsSections":[{"kind":"relationships","type":"conformsTo","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable"],"title":"Conforms To"}],"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/privatekey"]}],"kind":"symbol","topicSections":[{"generated":true,"title":"Default Implementations","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PrivateKey\/JWKRepresentable-Implementations"]}],"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519":{"kind":"symbol","role":"symbol","title":"Curve25519","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Curve25519"}],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing/PrivateKey/JWKRepresentable-Implementations":{"title":"JWKRepresentable Implementations","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PrivateKey\/JWKRepresentable-Implementations","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/privatekey\/jwkrepresentable-implementations","type":"topic","kind":"article"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing/PrivateKey":{"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/privatekey","type":"topic","kind":"symbol","role":"symbol","abstract":[],"fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O","text":"Curve25519"},{"kind":"text","text":"."},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO"},{"text":".","kind":"text"},{"text":"PrivateKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO10PrivateKeyV"}],"navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PrivateKey","title":"Curve25519.Signing.PrivateKey"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing","abstract":[],"role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Signing"}],"title":"Curve25519.Signing","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/curve25519/signing/privatekey/jwkrepresentable-implementations.json b/data/documentation/jose_swift/cryptokit/curve25519/signing/privatekey/jwkrepresentable-implementations.json new file mode 100644 index 0000000..86dd096 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/curve25519/signing/privatekey/jwkrepresentable-implementations.json @@ -0,0 +1 @@ +{"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PrivateKey\/jwkRepresentation"],"generated":true,"title":"Instance Properties"}],"kind":"article","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PrivateKey\/JWKRepresentable-Implementations","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/privatekey\/jwkrepresentable-implementations"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PrivateKey"]]},"metadata":{"title":"JWKRepresentable Implementations","modules":[{"name":"jose-swift"}],"role":"collectionGroup"},"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing","abstract":[],"role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Signing"}],"title":"Curve25519.Signing","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing/PrivateKey":{"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/privatekey","type":"topic","kind":"symbol","role":"symbol","abstract":[],"fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O","text":"Curve25519"},{"kind":"text","text":"."},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO"},{"text":".","kind":"text"},{"text":"PrivateKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO10PrivateKeyV"}],"navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PrivateKey","title":"Curve25519.Signing.PrivateKey"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519":{"kind":"symbol","role":"symbol","title":"Curve25519","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Curve25519"}],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing/PrivateKey/jwkRepresentation":{"title":"jwkRepresentation","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PrivateKey\/jwkRepresentation","abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"type":"codeVoice","code":"Curve25519.KeyAgreement.PrivateKey"},{"text":" instance.","type":"text"}],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/privatekey\/jwkrepresentation","type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/curve25519/signing/privatekey/jwkrepresentation.json b/data/documentation/jose_swift/cryptokit/curve25519/signing/privatekey/jwkrepresentation.json new file mode 100644 index 0000000..b92d0fe --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/curve25519/signing/privatekey/jwkrepresentation.json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PrivateKey\/jwkRepresentation","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"code":"Curve25519.KeyAgreement.PrivateKey","type":"codeVoice"},{"type":"text","text":" instance."}],"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/privatekey\/jwkrepresentation"]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PrivateKey\/JWKRepresentable-Implementations"]]},"metadata":{"title":"jwkRepresentation","externalID":"s:9CryptoKit10Curve25519O7SigningO10PrivateKeyV17JSONWebAlgorithmsE17jwkRepresentation0gF03JWKVvp","role":"symbol","symbolKind":"property","extendedModule":"CryptoKit","roleHeading":"Instance Property","modules":[{"relatedModules":["CryptoKit"],"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwkRepresentation"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"}]},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing/PrivateKey/jwkRepresentation":{"title":"jwkRepresentation","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PrivateKey\/jwkRepresentation","abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"type":"codeVoice","code":"Curve25519.KeyAgreement.PrivateKey"},{"text":" instance.","type":"text"}],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/privatekey\/jwkrepresentation","type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519":{"kind":"symbol","role":"symbol","title":"Curve25519","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Curve25519"}],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing","abstract":[],"role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Signing"}],"title":"Curve25519.Signing","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing","kind":"symbol"},"https://www.rfc-editor.org/rfc/rfc7517":{"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing/PrivateKey":{"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/privatekey","type":"topic","kind":"symbol","role":"symbol","abstract":[],"fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O","text":"Curve25519"},{"kind":"text","text":"."},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO"},{"text":".","kind":"text"},{"text":"PrivateKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO10PrivateKeyV"}],"navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PrivateKey","title":"Curve25519.Signing.PrivateKey"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing/PrivateKey/JWKRepresentable-Implementations":{"title":"JWKRepresentable Implementations","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PrivateKey\/JWKRepresentable-Implementations","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/privatekey\/jwkrepresentable-implementations","type":"topic","kind":"article"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/curve25519/signing/publickey.json b/data/documentation/jose_swift/cryptokit/curve25519/signing/publickey.json new file mode 100644 index 0000000..54e48b8 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/curve25519/signing/publickey.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing"]]},"relationshipsSections":[{"kind":"relationships","type":"conformsTo","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable"],"title":"Conforms To"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:9CryptoKit10Curve25519O","text":"Curve25519","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"Signing","kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO9PublicKeyV","kind":"typeIdentifier","text":"PublicKey"}]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/publickey"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PublicKey"},"topicSections":[{"title":"Default Implementations","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PublicKey\/JWKRepresentable-Implementations"],"generated":true}],"metadata":{"extendedModule":"CryptoKit","role":"symbol","modules":[{"relatedModules":["CryptoKit"],"name":"jose-swift"}],"title":"Curve25519.Signing.PublicKey","roleHeading":"Extended Structure","symbolKind":"extension","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"Curve25519","kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO","text":"Signing"},{"text":".","kind":"text"},{"text":"PublicKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO9PublicKeyV"}],"externalID":"s:e:s:9CryptoKit10Curve25519O7SigningO9PublicKeyV17JSONWebAlgorithmsE17jwkRepresentation0gF03JWKVvp"},"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","sections":[],"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing/PublicKey/JWKRepresentable-Implementations":{"role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PublicKey\/JWKRepresentable-Implementations","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/publickey\/jwkrepresentable-implementations","kind":"article","type":"topic","title":"JWKRepresentable Implementations"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519":{"kind":"symbol","role":"symbol","title":"Curve25519","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Curve25519"}],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing/PublicKey":{"fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Curve25519","preciseIdentifier":"s:9CryptoKit10Curve25519O"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO","text":"Signing"},{"text":".","kind":"text"},{"text":"PublicKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO9PublicKeyV"}],"navigatorTitle":[{"kind":"identifier","text":"PublicKey"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PublicKey","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/publickey","kind":"symbol","type":"topic","title":"Curve25519.Signing.PublicKey"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing","abstract":[],"role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Signing"}],"title":"Curve25519.Signing","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/curve25519/signing/publickey/jwkrepresentable-implementations.json b/data/documentation/jose_swift/cryptokit/curve25519/signing/publickey/jwkrepresentable-implementations.json new file mode 100644 index 0000000..9c71113 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/curve25519/signing/publickey/jwkrepresentable-implementations.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/publickey\/jwkrepresentable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PublicKey"]]},"kind":"article","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PublicKey\/JWKRepresentable-Implementations"},"schemaVersion":{"patch":0,"minor":3,"major":0},"sections":[],"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PublicKey\/jwkRepresentation"],"generated":true,"title":"Instance Properties"}],"metadata":{"modules":[{"name":"jose-swift"}],"title":"JWKRepresentable Implementations","role":"collectionGroup"},"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing/PublicKey/jwkRepresentation":{"title":"jwkRepresentation","kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/publickey\/jwkrepresentation","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PublicKey\/jwkRepresentation","abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"code":"Curve25519.KeyAgreement.PublicKey","type":"codeVoice"},{"text":" instance.","type":"text"}],"role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing","abstract":[],"role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Signing"}],"title":"Curve25519.Signing","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing/PublicKey":{"fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Curve25519","preciseIdentifier":"s:9CryptoKit10Curve25519O"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO","text":"Signing"},{"text":".","kind":"text"},{"text":"PublicKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO9PublicKeyV"}],"navigatorTitle":[{"kind":"identifier","text":"PublicKey"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PublicKey","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/publickey","kind":"symbol","type":"topic","title":"Curve25519.Signing.PublicKey"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519":{"kind":"symbol","role":"symbol","title":"Curve25519","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Curve25519"}],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/curve25519/signing/publickey/jwkrepresentation.json b/data/documentation/jose_swift/cryptokit/curve25519/signing/publickey/jwkrepresentation.json new file mode 100644 index 0000000..1ad5e31 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/curve25519/signing/publickey/jwkrepresentation.json @@ -0,0 +1 @@ +{"metadata":{"roleHeading":"Instance Property","role":"symbol","extendedModule":"CryptoKit","symbolKind":"property","externalID":"s:9CryptoKit10Curve25519O7SigningO9PublicKeyV17JSONWebAlgorithmsE17jwkRepresentation0gF03JWKVvp","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"}],"modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}],"title":"jwkRepresentation"},"kind":"symbol","schemaVersion":{"patch":0,"major":0,"minor":3},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/publickey\/jwkrepresentation"]}],"abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"code":"Curve25519.KeyAgreement.PublicKey","type":"codeVoice"},{"text":" instance.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PublicKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PublicKey\/JWKRepresentable-Implementations"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":" { "},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"languages":["swift"]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PublicKey\/jwkRepresentation","interfaceLanguage":"swift"},"sections":[],"references":{"https://www.rfc-editor.org/rfc/rfc7517":{"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing/PublicKey/JWKRepresentable-Implementations":{"role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PublicKey\/JWKRepresentable-Implementations","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/publickey\/jwkrepresentable-implementations","kind":"article","type":"topic","title":"JWKRepresentable Implementations"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing/PublicKey":{"fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Curve25519","preciseIdentifier":"s:9CryptoKit10Curve25519O"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO","text":"Signing"},{"text":".","kind":"text"},{"text":"PublicKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO9PublicKeyV"}],"navigatorTitle":[{"kind":"identifier","text":"PublicKey"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PublicKey","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/publickey","kind":"symbol","type":"topic","title":"Curve25519.Signing.PublicKey"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing/PublicKey/jwkRepresentation":{"title":"jwkRepresentation","kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/publickey\/jwkrepresentation","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PublicKey\/jwkRepresentation","abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"code":"Curve25519.KeyAgreement.PublicKey","type":"codeVoice"},{"text":" instance.","type":"text"}],"role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing","abstract":[],"role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Signing"}],"title":"Curve25519.Signing","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519":{"kind":"symbol","role":"symbol","title":"Curve25519","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Curve25519"}],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p256.json b/data/documentation/jose_swift/cryptokit/p256.json new file mode 100644 index 0000000..39be742 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p256.json @@ -0,0 +1 @@ +{"sections":[],"metadata":{"modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}],"role":"symbol","title":"P256","externalID":"s:e:s:e:s:e:s:9CryptoKit4P256O12KeyAgreementO06PublicD0V17JSONWebAlgorithmsE17jwkRepresentation0gD03JWKVvp","symbolKind":"extension","roleHeading":"Extended Type","extendedModule":"CryptoKit","navigatorTitle":[{"text":"P256","kind":"identifier"}]},"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","interfaceLanguage":"swift"},"topicSections":[{"title":"Extended Types","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing"]}],"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/p256"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit"]]},"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing","url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing","role":"symbol","type":"topic","abstract":[],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Signing"}],"title":"P256.Signing"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256":{"url":"\/documentation\/jose_swift\/cryptokit\/p256","kind":"symbol","title":"P256","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","role":"symbol","navigatorTitle":[{"text":"P256","kind":"identifier"}],"type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement":{"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement","kind":"symbol","title":"P256.KeyAgreement","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement","role":"symbol","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}],"type":"topic","abstract":[]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p256/keyagreement.json b/data/documentation/jose_swift/cryptokit/p256/keyagreement.json new file mode 100644 index 0000000..afbcc5f --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p256/keyagreement.json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256"]]},"topicSections":[{"title":"Extended Structures","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PublicKey"]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"kind":"symbol","metadata":{"externalID":"s:e:s:e:s:9CryptoKit4P256O12KeyAgreementO06PublicD0V17JSONWebAlgorithmsE17jwkRepresentation0gD03JWKVvp","symbolKind":"extension","extendedModule":"CryptoKit","role":"symbol","title":"P256.KeyAgreement","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}],"modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}],"roleHeading":"Extended Type"},"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement":{"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement","kind":"symbol","title":"P256.KeyAgreement","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement","role":"symbol","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}],"type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256":{"url":"\/documentation\/jose_swift\/cryptokit\/p256","kind":"symbol","title":"P256","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","role":"symbol","navigatorTitle":[{"text":"P256","kind":"identifier"}],"type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement/PrivateKey":{"title":"P256.KeyAgreement.PrivateKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/privatekey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey","navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"type":"topic","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O","text":"P256"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO07PrivateD0V","kind":"identifier","text":"PrivateKey"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement/PublicKey":{"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/publickey","kind":"symbol","role":"symbol","type":"topic","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O","text":"P256"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO","text":"KeyAgreement"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO06PublicD0V","kind":"identifier","text":"PublicKey"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PublicKey","title":"P256.KeyAgreement.PublicKey","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PublicKey"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey.json b/data/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey.json new file mode 100644 index 0000000..454d860 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey.json @@ -0,0 +1 @@ +{"kind":"symbol","relationshipsSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P256O","kind":"typeIdentifier","text":"P256"},{"text":".","kind":"text"},{"text":"KeyAgreement","kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO07PrivateD0V","text":"PrivateKey"}],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey","interfaceLanguage":"swift"},"metadata":{"extendedModule":"CryptoKit","modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}],"externalID":"s:e:s:9CryptoKit4P256O12KeyAgreementO07PrivateD0V17JSONWebAlgorithmsE016sharedSecretFromdE006publicD5Share10Foundation4DataV0gD03JWKV_tKF","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O","text":"P256"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO","kind":"identifier","text":"KeyAgreement"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO07PrivateD0V","text":"PrivateKey","kind":"identifier"}],"navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}],"title":"P256.KeyAgreement.PrivateKey","role":"symbol","symbolKind":"extension","roleHeading":"Extended Structure"},"topicSections":[{"title":"Default Implementations","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey\/SharedKeyAgreement-Implementations"],"generated":true}],"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/privatekey"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement/PrivateKey/SharedKeyAgreement-Implementations":{"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/privatekey\/sharedkeyagreement-implementations","kind":"article","title":"SharedKeyAgreement Implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey\/SharedKeyAgreement-Implementations","role":"collectionGroup","type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement":{"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement","kind":"symbol","title":"P256.KeyAgreement","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement","role":"symbol","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}],"type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256":{"url":"\/documentation\/jose_swift\/cryptokit\/p256","kind":"symbol","title":"P256","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","role":"symbol","navigatorTitle":[{"text":"P256","kind":"identifier"}],"type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement/PrivateKey":{"title":"P256.KeyAgreement.PrivateKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/privatekey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey","navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"type":"topic","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O","text":"P256"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO07PrivateD0V","kind":"identifier","text":"PrivateKey"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement/PrivateKey/JWKRepresentable-Implementations":{"kind":"article","url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/privatekey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations","role":"collectionGroup","type":"topic","abstract":[]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/jwkrepresentable-implementations.json b/data/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/jwkrepresentable-implementations.json new file mode 100644 index 0000000..e05a3ab --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/jwkrepresentable-implementations.json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"patch":0,"minor":3},"topicSections":[{"generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey\/jwkRepresentation"],"title":"Instance Properties"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations","interfaceLanguage":"swift"},"kind":"article","sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey"]]},"metadata":{"role":"collectionGroup","title":"JWKRepresentable Implementations","modules":[{"name":"jose-swift"}]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/privatekey\/jwkrepresentable-implementations"]}],"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement":{"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement","kind":"symbol","title":"P256.KeyAgreement","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement","role":"symbol","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}],"type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256":{"url":"\/documentation\/jose_swift\/cryptokit\/p256","kind":"symbol","title":"P256","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","role":"symbol","navigatorTitle":[{"text":"P256","kind":"identifier"}],"type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement/PrivateKey":{"title":"P256.KeyAgreement.PrivateKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/privatekey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey","navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"type":"topic","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O","text":"P256"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO07PrivateD0V","kind":"identifier","text":"PrivateKey"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement/PrivateKey/jwkRepresentation":{"abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"type":"codeVoice","code":"P256.KeyAgreement.PrivateKey"},{"type":"text","text":" instance."}],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey\/jwkRepresentation","title":"jwkRepresentation","url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/privatekey\/jwkrepresentation","kind":"symbol","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/jwkrepresentation.json b/data/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/jwkrepresentation.json new file mode 100644 index 0000000..aebd4dc --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/jwkrepresentation.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/privatekey\/jwkrepresentation"]}],"abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"code":"P256.KeyAgreement.PrivateKey","type":"codeVoice"},{"type":"text","text":" instance."}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}]}],"kind":"declarations"}],"kind":"symbol","metadata":{"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"}],"title":"jwkRepresentation","extendedModule":"CryptoKit","roleHeading":"Instance Property","symbolKind":"property","modules":[{"relatedModules":["CryptoKit"],"name":"jose-swift"}],"role":"symbol","externalID":"s:9CryptoKit4P256O12KeyAgreementO07PrivateD0V17JSONWebAlgorithmsE17jwkRepresentation0gD03JWKVvp"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations"]]},"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey\/jwkRepresentation","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement/PrivateKey/JWKRepresentable-Implementations":{"kind":"article","url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/privatekey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations","role":"collectionGroup","type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement/PrivateKey/jwkRepresentation":{"abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"type":"codeVoice","code":"P256.KeyAgreement.PrivateKey"},{"type":"text","text":" instance."}],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey\/jwkRepresentation","title":"jwkRepresentation","url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/privatekey\/jwkrepresentation","kind":"symbol","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256":{"url":"\/documentation\/jose_swift\/cryptokit\/p256","kind":"symbol","title":"P256","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","role":"symbol","navigatorTitle":[{"text":"P256","kind":"identifier"}],"type":"topic","abstract":[]},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement":{"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement","kind":"symbol","title":"P256.KeyAgreement","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement","role":"symbol","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}],"type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement/PrivateKey":{"title":"P256.KeyAgreement.PrivateKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/privatekey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey","navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"type":"topic","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O","text":"P256"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO07PrivateD0V","kind":"identifier","text":"PrivateKey"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/sharedkeyagreement-implementations.json b/data/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/sharedkeyagreement-implementations.json new file mode 100644 index 0000000..f6be997 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/sharedkeyagreement-implementations.json @@ -0,0 +1 @@ +{"kind":"article","schemaVersion":{"patch":0,"minor":3,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey"]]},"topicSections":[{"title":"Instance Methods","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey\/sharedSecretFromKeyAgreement(publicKeyShare:)"],"generated":true}],"metadata":{"role":"collectionGroup","title":"SharedKeyAgreement Implementations","modules":[{"name":"jose-swift"}]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey\/SharedKeyAgreement-Implementations","interfaceLanguage":"swift"},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/privatekey\/sharedkeyagreement-implementations"]}],"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256":{"url":"\/documentation\/jose_swift\/cryptokit\/p256","kind":"symbol","title":"P256","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","role":"symbol","navigatorTitle":[{"text":"P256","kind":"identifier"}],"type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement/PrivateKey/sharedSecretFromKeyAgreement(publicKeyShare:)":{"abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey\/sharedSecretFromKeyAgreement(publicKeyShare:)","title":"sharedSecretFromKeyAgreement(publicKeyShare:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"sharedSecretFromKeyAgreement"},{"text":"(","kind":"text"},{"text":"publicKeyShare","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"}],"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/privatekey\/sharedsecretfromkeyagreement(publickeyshare:)","type":"topic","kind":"symbol","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement/PrivateKey":{"title":"P256.KeyAgreement.PrivateKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/privatekey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey","navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"type":"topic","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O","text":"P256"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO07PrivateD0V","kind":"identifier","text":"PrivateKey"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement":{"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement","kind":"symbol","title":"P256.KeyAgreement","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement","role":"symbol","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}],"type":"topic","abstract":[]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:).json b/data/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:).json new file mode 100644 index 0000000..e180fdd --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey\/SharedKeyAgreement-Implementations"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"sharedSecretFromKeyAgreement","kind":"identifier"},{"text":"(","kind":"text"},{"text":"publicKeyShare","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"}],"languages":["swift"]}]}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey\/sharedSecretFromKeyAgreement(publicKeyShare:)"},"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/privatekey\/sharedsecretfromkeyagreement(publickeyshare:)"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"SharedKeyAgreement.sharedSecretFromKeyAgreement(publicKeyShare:)"},{"type":"text","text":"."}],"metadata":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"sharedSecretFromKeyAgreement"},{"text":"(","kind":"text"},{"text":"publicKeyShare","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"}],"title":"sharedSecretFromKeyAgreement(publicKeyShare:)","modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}],"role":"symbol","roleHeading":"Instance Method","symbolKind":"method","extendedModule":"CryptoKit","externalID":"s:9CryptoKit4P256O12KeyAgreementO07PrivateD0V17JSONWebAlgorithmsE016sharedSecretFromdE006publicD5Share10Foundation4DataV0gD03JWKV_tKF"},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement/PrivateKey/SharedKeyAgreement-Implementations":{"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/privatekey\/sharedkeyagreement-implementations","kind":"article","title":"SharedKeyAgreement Implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey\/SharedKeyAgreement-Implementations","role":"collectionGroup","type":"topic","abstract":[]},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256":{"url":"\/documentation\/jose_swift\/cryptokit\/p256","kind":"symbol","title":"P256","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","role":"symbol","navigatorTitle":[{"text":"P256","kind":"identifier"}],"type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement/PrivateKey/sharedSecretFromKeyAgreement(publicKeyShare:)":{"abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey\/sharedSecretFromKeyAgreement(publicKeyShare:)","title":"sharedSecretFromKeyAgreement(publicKeyShare:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"sharedSecretFromKeyAgreement"},{"text":"(","kind":"text"},{"text":"publicKeyShare","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"}],"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/privatekey\/sharedsecretfromkeyagreement(publickeyshare:)","type":"topic","kind":"symbol","role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement/PrivateKey":{"title":"P256.KeyAgreement.PrivateKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/privatekey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey","navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"type":"topic","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O","text":"P256"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO07PrivateD0V","kind":"identifier","text":"PrivateKey"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement":{"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement","kind":"symbol","title":"P256.KeyAgreement","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement","role":"symbol","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}],"type":"topic","abstract":[]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p256/keyagreement/publickey.json b/data/documentation/jose_swift/cryptokit/p256/keyagreement/publickey.json new file mode 100644 index 0000000..b481a78 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p256/keyagreement/publickey.json @@ -0,0 +1 @@ +{"metadata":{"roleHeading":"Extended Structure","extendedModule":"CryptoKit","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}],"modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}],"role":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P256O","text":"P256","kind":"identifier"},{"text":".","kind":"text"},{"text":"KeyAgreement","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO06PublicD0V","text":"PublicKey"}],"externalID":"s:e:s:9CryptoKit4P256O12KeyAgreementO06PublicD0V17JSONWebAlgorithmsE17jwkRepresentation0gD03JWKVvp","symbolKind":"extension","title":"P256.KeyAgreement.PublicKey"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit4P256O","text":"P256"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO","text":"KeyAgreement","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"PublicKey","kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO06PublicD0V"}],"platforms":["macOS"],"languages":["swift"]}]}],"relationshipsSections":[{"title":"Conforms To","type":"conformsTo","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable"],"kind":"relationships"}],"topicSections":[{"generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations"],"title":"Default Implementations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/publickey"]}],"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PublicKey","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement"]]},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement/PublicKey/JWKRepresentable-Implementations":{"abstract":[],"type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/publickey\/jwkrepresentable-implementations","kind":"article","title":"JWKRepresentable Implementations","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256":{"url":"\/documentation\/jose_swift\/cryptokit\/p256","kind":"symbol","title":"P256","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","role":"symbol","navigatorTitle":[{"text":"P256","kind":"identifier"}],"type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement/PublicKey":{"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/publickey","kind":"symbol","role":"symbol","type":"topic","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O","text":"P256"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO","text":"KeyAgreement"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO06PublicD0V","kind":"identifier","text":"PublicKey"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PublicKey","title":"P256.KeyAgreement.PublicKey","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PublicKey"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement":{"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement","kind":"symbol","title":"P256.KeyAgreement","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement","role":"symbol","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}],"type":"topic","abstract":[]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p256/keyagreement/publickey/jwkrepresentable-implementations.json b/data/documentation/jose_swift/cryptokit/p256/keyagreement/publickey/jwkrepresentable-implementations.json new file mode 100644 index 0000000..f5e0389 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p256/keyagreement/publickey/jwkrepresentable-implementations.json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"minor":3,"major":0},"topicSections":[{"title":"Instance Properties","generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PublicKey\/jwkRepresentation"]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations","interfaceLanguage":"swift"},"kind":"article","sections":[],"metadata":{"modules":[{"name":"jose-swift"}],"role":"collectionGroup","title":"JWKRepresentable Implementations"},"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/publickey\/jwkrepresentable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PublicKey"]]},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement":{"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement","kind":"symbol","title":"P256.KeyAgreement","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement","role":"symbol","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}],"type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256":{"url":"\/documentation\/jose_swift\/cryptokit\/p256","kind":"symbol","title":"P256","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","role":"symbol","navigatorTitle":[{"text":"P256","kind":"identifier"}],"type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement/PublicKey":{"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/publickey","kind":"symbol","role":"symbol","type":"topic","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O","text":"P256"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO","text":"KeyAgreement"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO06PublicD0V","kind":"identifier","text":"PublicKey"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PublicKey","title":"P256.KeyAgreement.PublicKey","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PublicKey"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement/PublicKey/jwkRepresentation":{"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/publickey\/jwkrepresentation","kind":"symbol","title":"jwkRepresentation","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PublicKey\/jwkRepresentation","type":"topic","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"type":"codeVoice","code":"P256.KeyAgreement.PublicKey"},{"type":"text","text":" instance."}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p256/keyagreement/publickey/jwkrepresentation.json b/data/documentation/jose_swift/cryptokit/p256/keyagreement/publickey/jwkrepresentation.json new file mode 100644 index 0000000..893cc9e --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p256/keyagreement/publickey/jwkrepresentation.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PublicKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations"]]},"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/publickey\/jwkrepresentation"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PublicKey\/jwkRepresentation","interfaceLanguage":"swift"},"metadata":{"role":"symbol","title":"jwkRepresentation","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}],"extendedModule":"CryptoKit","symbolKind":"property","roleHeading":"Instance Property","externalID":"s:9CryptoKit4P256O12KeyAgreementO06PublicD0V17JSONWebAlgorithmsE17jwkRepresentation0gD03JWKVvp"},"sections":[],"abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"code":"P256.KeyAgreement.PublicKey","type":"codeVoice"},{"type":"text","text":" instance."}],"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":" { "},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"platforms":["macOS"]}]}],"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement/PublicKey/JWKRepresentable-Implementations":{"abstract":[],"type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/publickey\/jwkrepresentable-implementations","kind":"article","title":"JWKRepresentable Implementations","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement/PublicKey":{"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/publickey","kind":"symbol","role":"symbol","type":"topic","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O","text":"P256"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO","text":"KeyAgreement"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO06PublicD0V","kind":"identifier","text":"PublicKey"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PublicKey","title":"P256.KeyAgreement.PublicKey","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PublicKey"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement":{"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement","kind":"symbol","title":"P256.KeyAgreement","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement","role":"symbol","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}],"type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement/PublicKey/jwkRepresentation":{"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/publickey\/jwkrepresentation","kind":"symbol","title":"jwkRepresentation","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PublicKey\/jwkRepresentation","type":"topic","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"type":"codeVoice","code":"P256.KeyAgreement.PublicKey"},{"type":"text","text":" instance."}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256":{"url":"\/documentation\/jose_swift\/cryptokit\/p256","kind":"symbol","title":"P256","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","role":"symbol","navigatorTitle":[{"text":"P256","kind":"identifier"}],"type":"topic","abstract":[]},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p256/signing.json b/data/documentation/jose_swift/cryptokit/p256/signing.json new file mode 100644 index 0000000..995f273 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p256/signing.json @@ -0,0 +1 @@ +{"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256"]]},"kind":"symbol","topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PublicKey"],"title":"Extended Structures"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p256\/signing"]}],"metadata":{"title":"P256.Signing","roleHeading":"Extended Type","role":"symbol","symbolKind":"extension","navigatorTitle":[{"text":"Signing","kind":"identifier"}],"modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}],"externalID":"s:e:s:e:s:9CryptoKit4P256O7SigningO10PrivateKeyV17JSONWebAlgorithmsE17jwkRepresentation0gF03JWKVvp","extendedModule":"CryptoKit"},"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing","url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing","role":"symbol","type":"topic","abstract":[],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Signing"}],"title":"P256.Signing"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing/PublicKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PublicKey","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P256O","kind":"identifier","text":"P256"},{"kind":"text","text":"."},{"text":"Signing","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O7SigningO"},{"kind":"text","text":"."},{"text":"PublicKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O7SigningO9PublicKeyV"}],"kind":"symbol","url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing\/publickey","title":"P256.Signing.PublicKey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}],"abstract":[],"type":"topic"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256":{"url":"\/documentation\/jose_swift\/cryptokit\/p256","kind":"symbol","title":"P256","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","role":"symbol","navigatorTitle":[{"text":"P256","kind":"identifier"}],"type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing/PrivateKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PrivateKey","url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing\/privatekey","role":"symbol","type":"topic","abstract":[],"kind":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P256","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O"},{"kind":"text","text":"."},{"text":"Signing","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O7SigningO"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P256O7SigningO10PrivateKeyV","text":"PrivateKey","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"title":"P256.Signing.PrivateKey"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p256/signing/privatekey.json b/data/documentation/jose_swift/cryptokit/p256/signing/privatekey.json new file mode 100644 index 0000000..da73bed --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p256/signing/privatekey.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing"]]},"relationshipsSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable"],"type":"conformsTo","kind":"relationships","title":"Conforms To"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PrivateKey"},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PrivateKey\/JWKRepresentable-Implementations"],"title":"Default Implementations","generated":true}],"sections":[],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P256O","text":"P256","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Signing","kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit4P256O7SigningO"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P256O7SigningO10PrivateKeyV","text":"PrivateKey","kind":"typeIdentifier"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/p256\/signing\/privatekey"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"title":"P256.Signing.PrivateKey","symbolKind":"extension","role":"symbol","extendedModule":"CryptoKit","fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"preciseIdentifier":"s:9CryptoKit4P256O","text":"P256","kind":"identifier"},{"kind":"text","text":"."},{"text":"Signing","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O7SigningO"},{"kind":"text","text":"."},{"text":"PrivateKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O7SigningO10PrivateKeyV"}],"navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}],"modules":[{"relatedModules":["CryptoKit"],"name":"jose-swift"}],"externalID":"s:e:s:9CryptoKit4P256O7SigningO10PrivateKeyV17JSONWebAlgorithmsE17jwkRepresentation0gF03JWKVvp","roleHeading":"Extended Structure"},"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing","url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing","role":"symbol","type":"topic","abstract":[],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Signing"}],"title":"P256.Signing"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256":{"url":"\/documentation\/jose_swift\/cryptokit\/p256","kind":"symbol","title":"P256","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","role":"symbol","navigatorTitle":[{"text":"P256","kind":"identifier"}],"type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing/PrivateKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PrivateKey","url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing\/privatekey","role":"symbol","type":"topic","abstract":[],"kind":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P256","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O"},{"kind":"text","text":"."},{"text":"Signing","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O7SigningO"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P256O7SigningO10PrivateKeyV","text":"PrivateKey","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"title":"P256.Signing.PrivateKey"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing/PrivateKey/JWKRepresentable-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PrivateKey\/JWKRepresentable-Implementations","url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing\/privatekey\/jwkrepresentable-implementations","role":"collectionGroup","type":"topic","abstract":[],"kind":"article","title":"JWKRepresentable Implementations"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p256/signing/privatekey/jwkrepresentable-implementations.json b/data/documentation/jose_swift/cryptokit/p256/signing/privatekey/jwkrepresentable-implementations.json new file mode 100644 index 0000000..717b1a9 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p256/signing/privatekey/jwkrepresentable-implementations.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PrivateKey\/JWKRepresentable-Implementations"},"sections":[],"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/p256\/signing\/privatekey\/jwkrepresentable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"modules":[{"name":"jose-swift"}],"title":"JWKRepresentable Implementations","role":"collectionGroup"},"kind":"article","topicSections":[{"generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PrivateKey\/jwkRepresentation"],"title":"Instance Properties"}],"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PrivateKey"]]},"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256":{"url":"\/documentation\/jose_swift\/cryptokit\/p256","kind":"symbol","title":"P256","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","role":"symbol","navigatorTitle":[{"text":"P256","kind":"identifier"}],"type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing","url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing","role":"symbol","type":"topic","abstract":[],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Signing"}],"title":"P256.Signing"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing/PrivateKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PrivateKey","url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing\/privatekey","role":"symbol","type":"topic","abstract":[],"kind":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P256","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O"},{"kind":"text","text":"."},{"text":"Signing","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O7SigningO"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P256O7SigningO10PrivateKeyV","text":"PrivateKey","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"title":"P256.Signing.PrivateKey"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing/PrivateKey/jwkRepresentation":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PrivateKey\/jwkRepresentation","url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing\/privatekey\/jwkrepresentation","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"}],"title":"jwkRepresentation","kind":"symbol","abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"code":"P256.KeyAgreement.PrivateKey","type":"codeVoice"},{"type":"text","text":" instance."}],"type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p256/signing/privatekey/jwkrepresentation.json b/data/documentation/jose_swift/cryptokit/p256/signing/privatekey/jwkrepresentation.json new file mode 100644 index 0000000..8d6c16c --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p256/signing/privatekey/jwkrepresentation.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PrivateKey\/JWKRepresentable-Implementations"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p256\/signing\/privatekey\/jwkrepresentation"]}],"metadata":{"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"}],"roleHeading":"Instance Property","title":"jwkRepresentation","modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}],"role":"symbol","extendedModule":"CryptoKit","symbolKind":"property","externalID":"s:9CryptoKit4P256O7SigningO10PrivateKeyV17JSONWebAlgorithmsE17jwkRepresentation0gF03JWKVvp"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PrivateKey\/jwkRepresentation","interfaceLanguage":"swift"},"sections":[],"kind":"symbol","abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"type":"codeVoice","code":"P256.KeyAgreement.PrivateKey"},{"type":"text","text":" instance."}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing/PrivateKey/jwkRepresentation":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PrivateKey\/jwkRepresentation","url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing\/privatekey\/jwkrepresentation","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"}],"title":"jwkRepresentation","kind":"symbol","abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"code":"P256.KeyAgreement.PrivateKey","type":"codeVoice"},{"type":"text","text":" instance."}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256":{"url":"\/documentation\/jose_swift\/cryptokit\/p256","kind":"symbol","title":"P256","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","role":"symbol","navigatorTitle":[{"text":"P256","kind":"identifier"}],"type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing/PrivateKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PrivateKey","url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing\/privatekey","role":"symbol","type":"topic","abstract":[],"kind":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P256","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O"},{"kind":"text","text":"."},{"text":"Signing","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O7SigningO"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P256O7SigningO10PrivateKeyV","text":"PrivateKey","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"title":"P256.Signing.PrivateKey"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing","url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing","role":"symbol","type":"topic","abstract":[],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Signing"}],"title":"P256.Signing"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing/PrivateKey/JWKRepresentable-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PrivateKey\/JWKRepresentable-Implementations","url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing\/privatekey\/jwkrepresentable-implementations","role":"collectionGroup","type":"topic","abstract":[],"kind":"article","title":"JWKRepresentable Implementations"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"text":"RFC7517","type":"text"}],"title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p256/signing/publickey.json b/data/documentation/jose_swift/cryptokit/p256/signing/publickey.json new file mode 100644 index 0000000..0f11398 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p256/signing/publickey.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PublicKey"},"sections":[],"kind":"symbol","relationshipsSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"schemaVersion":{"patch":0,"major":0,"minor":3},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p256\/signing\/publickey"]}],"topicSections":[{"generated":true,"title":"Default Implementations","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PublicKey\/JWKRepresentable-Implementations"]}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"P256","preciseIdentifier":"s:9CryptoKit4P256O"},{"text":".","kind":"text"},{"text":"Signing","kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit4P256O7SigningO"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P256O7SigningO9PublicKeyV","text":"PublicKey","kind":"typeIdentifier"}]}],"kind":"declarations"}],"metadata":{"symbolKind":"extension","role":"symbol","extendedModule":"CryptoKit","roleHeading":"Extended Structure","title":"P256.Signing.PublicKey","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"P256","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P256O7SigningO","kind":"identifier","text":"Signing"},{"kind":"text","text":"."},{"kind":"identifier","text":"PublicKey","preciseIdentifier":"s:9CryptoKit4P256O7SigningO9PublicKeyV"}],"navigatorTitle":[{"kind":"identifier","text":"PublicKey"}],"modules":[{"relatedModules":["CryptoKit"],"name":"jose-swift"}],"externalID":"s:e:s:9CryptoKit4P256O7SigningO9PublicKeyV17JSONWebAlgorithmsE17jwkRepresentation0gF03JWKVvp"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing"]]},"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing","url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing","role":"symbol","type":"topic","abstract":[],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Signing"}],"title":"P256.Signing"},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256":{"url":"\/documentation\/jose_swift\/cryptokit\/p256","kind":"symbol","title":"P256","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","role":"symbol","navigatorTitle":[{"text":"P256","kind":"identifier"}],"type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing/PublicKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PublicKey","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P256O","kind":"identifier","text":"P256"},{"kind":"text","text":"."},{"text":"Signing","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O7SigningO"},{"kind":"text","text":"."},{"text":"PublicKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O7SigningO9PublicKeyV"}],"kind":"symbol","url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing\/publickey","title":"P256.Signing.PublicKey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}],"abstract":[],"type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing/PublicKey/JWKRepresentable-Implementations":{"abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PublicKey\/JWKRepresentable-Implementations","url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing\/publickey\/jwkrepresentable-implementations","kind":"article","title":"JWKRepresentable Implementations","role":"collectionGroup","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p256/signing/publickey/jwkrepresentable-implementations.json b/data/documentation/jose_swift/cryptokit/p256/signing/publickey/jwkrepresentable-implementations.json new file mode 100644 index 0000000..02b22f9 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p256/signing/publickey/jwkrepresentable-implementations.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/p256\/signing\/publickey\/jwkrepresentable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"role":"collectionGroup","title":"JWKRepresentable Implementations","modules":[{"name":"jose-swift"}]},"sections":[],"kind":"article","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PublicKey\/JWKRepresentable-Implementations"},"topicSections":[{"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PublicKey\/jwkRepresentation"],"generated":true}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PublicKey"]]},"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing/PublicKey/jwkRepresentation":{"kind":"symbol","abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"type":"codeVoice","code":"P256.KeyAgreement.PublicKey"},{"type":"text","text":" instance."}],"role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing\/publickey\/jwkrepresentation","title":"jwkRepresentation","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PublicKey\/jwkRepresentation"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256":{"url":"\/documentation\/jose_swift\/cryptokit\/p256","kind":"symbol","title":"P256","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","role":"symbol","navigatorTitle":[{"text":"P256","kind":"identifier"}],"type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing/PublicKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PublicKey","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P256O","kind":"identifier","text":"P256"},{"kind":"text","text":"."},{"text":"Signing","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O7SigningO"},{"kind":"text","text":"."},{"text":"PublicKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O7SigningO9PublicKeyV"}],"kind":"symbol","url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing\/publickey","title":"P256.Signing.PublicKey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}],"abstract":[],"type":"topic"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing","url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing","role":"symbol","type":"topic","abstract":[],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Signing"}],"title":"P256.Signing"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p256/signing/publickey/jwkrepresentation.json b/data/documentation/jose_swift/cryptokit/p256/signing/publickey/jwkrepresentation.json new file mode 100644 index 0000000..31d461c --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p256/signing/publickey/jwkrepresentation.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PublicKey\/jwkRepresentation","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"metadata":{"roleHeading":"Instance Property","extendedModule":"CryptoKit","externalID":"s:9CryptoKit4P256O7SigningO9PublicKeyV17JSONWebAlgorithmsE17jwkRepresentation0gF03JWKVvp","title":"jwkRepresentation","modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}],"role":"symbol","symbolKind":"property","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"}]},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PublicKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PublicKey\/JWKRepresentable-Implementations"]]},"abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"type":"codeVoice","code":"P256.KeyAgreement.PublicKey"},{"text":" instance.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p256\/signing\/publickey\/jwkrepresentation"]}],"references":{"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing/PublicKey/JWKRepresentable-Implementations":{"abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PublicKey\/JWKRepresentable-Implementations","url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing\/publickey\/jwkrepresentable-implementations","kind":"article","title":"JWKRepresentable Implementations","role":"collectionGroup","type":"topic"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing/PublicKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PublicKey","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P256O","kind":"identifier","text":"P256"},{"kind":"text","text":"."},{"text":"Signing","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O7SigningO"},{"kind":"text","text":"."},{"text":"PublicKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O7SigningO9PublicKeyV"}],"kind":"symbol","url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing\/publickey","title":"P256.Signing.PublicKey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}],"abstract":[],"type":"topic"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256":{"url":"\/documentation\/jose_swift\/cryptokit\/p256","kind":"symbol","title":"P256","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256","role":"symbol","navigatorTitle":[{"text":"P256","kind":"identifier"}],"type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing/PublicKey/jwkRepresentation":{"kind":"symbol","abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"type":"codeVoice","code":"P256.KeyAgreement.PublicKey"},{"type":"text","text":" instance."}],"role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing\/publickey\/jwkrepresentation","title":"jwkRepresentation","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PublicKey\/jwkRepresentation"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing","url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing","role":"symbol","type":"topic","abstract":[],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Signing"}],"title":"P256.Signing"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p384.json b/data/documentation/jose_swift/cryptokit/p384.json new file mode 100644 index 0000000..15c5097 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p384.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","interfaceLanguage":"swift"},"kind":"symbol","topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing"],"title":"Extended Types"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit"]]},"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/p384"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"roleHeading":"Extended Type","extendedModule":"CryptoKit","externalID":"s:e:s:e:s:e:s:9CryptoKit4P384O12KeyAgreementO06PublicD0V17JSONWebAlgorithmsE17jwkRepresentation0gD03JWKVvp","symbolKind":"extension","role":"symbol","title":"P384","navigatorTitle":[{"text":"P384","kind":"identifier"}],"modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}]},"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P384":{"title":"P384","navigatorTitle":[{"text":"P384","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement","title":"P384.KeyAgreement","navigatorTitle":[{"kind":"identifier","text":"KeyAgreement"}],"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement","abstract":[],"role":"symbol","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing":{"title":"P384.Signing","navigatorTitle":[{"text":"Signing","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p384/keyagreement.json b/data/documentation/jose_swift/cryptokit/p384/keyagreement.json new file mode 100644 index 0000000..8a85da1 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p384/keyagreement.json @@ -0,0 +1 @@ +{"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384"]]},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement"]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}],"role":"symbol","extendedModule":"CryptoKit","externalID":"s:e:s:e:s:9CryptoKit4P384O12KeyAgreementO06PublicD0V17JSONWebAlgorithmsE17jwkRepresentation0gD03JWKVvp","symbolKind":"extension","modules":[{"relatedModules":["CryptoKit"],"name":"jose-swift"}],"roleHeading":"Extended Type","title":"P384.KeyAgreement"},"topicSections":[{"title":"Extended Structures","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PublicKey"]}],"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement","title":"P384.KeyAgreement","navigatorTitle":[{"kind":"identifier","text":"KeyAgreement"}],"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement","abstract":[],"role":"symbol","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384":{"title":"P384","navigatorTitle":[{"text":"P384","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement/PrivateKey":{"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/privatekey","kind":"symbol","abstract":[],"type":"topic","title":"P384.KeyAgreement.PrivateKey","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"P384","preciseIdentifier":"s:9CryptoKit4P384O","kind":"identifier"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO","text":"KeyAgreement"},{"kind":"text","text":"."},{"text":"PrivateKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO07PrivateD0V"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement/PublicKey":{"role":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/publickey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PublicKey","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P384","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P384O"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO06PublicD0V","text":"PublicKey","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"PublicKey"}],"kind":"symbol","type":"topic","title":"P384.KeyAgreement.PublicKey"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey.json b/data/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey.json new file mode 100644 index 0000000..1bf85f7 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P384","kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit4P384O"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO","text":"KeyAgreement","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"PrivateKey","kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO07PrivateD0V"}],"platforms":["macOS"]}],"kind":"declarations"}],"metadata":{"role":"symbol","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}],"extendedModule":"CryptoKit","roleHeading":"Extended Structure","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"P384","preciseIdentifier":"s:9CryptoKit4P384O"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"kind":"text","text":"."},{"kind":"identifier","text":"PrivateKey","preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO07PrivateD0V"}],"modules":[{"relatedModules":["CryptoKit"],"name":"jose-swift"}],"symbolKind":"extension","externalID":"s:e:s:9CryptoKit4P384O12KeyAgreementO07PrivateD0V17JSONWebAlgorithmsE016sharedSecretFromdE006publicD5Share10Foundation4DataV0gD03JWKV_tKF","title":"P384.KeyAgreement.PrivateKey"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/privatekey"]}],"relationshipsSections":[{"title":"Conforms To","kind":"relationships","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable"],"type":"conformsTo"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey","interfaceLanguage":"swift"},"topicSections":[{"title":"Default Implementations","generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey\/SharedKeyAgreement-Implementations"]}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement/PrivateKey/SharedKeyAgreement-Implementations":{"role":"collectionGroup","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey\/SharedKeyAgreement-Implementations","url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/privatekey\/sharedkeyagreement-implementations","kind":"article","abstract":[],"title":"SharedKeyAgreement Implementations"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement/PrivateKey/JWKRepresentable-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations","title":"JWKRepresentable Implementations","url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/privatekey\/jwkrepresentable-implementations","abstract":[],"role":"collectionGroup","kind":"article","type":"topic"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement/PrivateKey":{"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/privatekey","kind":"symbol","abstract":[],"type":"topic","title":"P384.KeyAgreement.PrivateKey","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"P384","preciseIdentifier":"s:9CryptoKit4P384O","kind":"identifier"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO","text":"KeyAgreement"},{"kind":"text","text":"."},{"text":"PrivateKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO07PrivateD0V"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement","title":"P384.KeyAgreement","navigatorTitle":[{"kind":"identifier","text":"KeyAgreement"}],"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement","abstract":[],"role":"symbol","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384":{"title":"P384","navigatorTitle":[{"text":"P384","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/jwkrepresentable-implementations.json b/data/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/jwkrepresentable-implementations.json new file mode 100644 index 0000000..4a59551 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/jwkrepresentable-implementations.json @@ -0,0 +1 @@ +{"topicSections":[{"generated":true,"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey\/jwkRepresentation"]}],"kind":"article","sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations"},"schemaVersion":{"minor":3,"patch":0,"major":0},"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/privatekey\/jwkrepresentable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey"]]},"metadata":{"modules":[{"name":"jose-swift"}],"role":"collectionGroup","title":"JWKRepresentable Implementations"},"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement","title":"P384.KeyAgreement","navigatorTitle":[{"kind":"identifier","text":"KeyAgreement"}],"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement","abstract":[],"role":"symbol","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384":{"title":"P384","navigatorTitle":[{"text":"P384","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement/PrivateKey":{"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/privatekey","kind":"symbol","abstract":[],"type":"topic","title":"P384.KeyAgreement.PrivateKey","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"P384","preciseIdentifier":"s:9CryptoKit4P384O","kind":"identifier"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO","text":"KeyAgreement"},{"kind":"text","text":"."},{"text":"PrivateKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO07PrivateD0V"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement/PrivateKey/jwkRepresentation":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey\/jwkRepresentation","title":"jwkRepresentation","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"}],"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/privatekey\/jwkrepresentation","abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"code":"P384.KeyAgreement.PrivateKey","type":"codeVoice"},{"type":"text","text":" instance."}],"role":"symbol","kind":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/jwkrepresentation.json b/data/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/jwkrepresentation.json new file mode 100644 index 0000000..ed1cc02 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/jwkrepresentation.json @@ -0,0 +1 @@ +{"metadata":{"symbolKind":"property","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"jwkRepresentation"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"roleHeading":"Instance Property","modules":[{"relatedModules":["CryptoKit"],"name":"jose-swift"}],"extendedModule":"CryptoKit","role":"symbol","title":"jwkRepresentation","externalID":"s:9CryptoKit4P384O12KeyAgreementO07PrivateD0V17JSONWebAlgorithmsE17jwkRepresentation0gD03JWKVvp"},"abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"code":"P384.KeyAgreement.PrivateKey","type":"codeVoice"},{"text":" instance.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/privatekey\/jwkrepresentation"]}],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwkRepresentation"},{"text":": ","kind":"text"},{"text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey\/jwkRepresentation","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations"]]},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384":{"title":"P384","navigatorTitle":[{"text":"P384","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement/PrivateKey":{"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/privatekey","kind":"symbol","abstract":[],"type":"topic","title":"P384.KeyAgreement.PrivateKey","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"P384","preciseIdentifier":"s:9CryptoKit4P384O","kind":"identifier"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO","text":"KeyAgreement"},{"kind":"text","text":"."},{"text":"PrivateKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO07PrivateD0V"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement/PrivateKey/JWKRepresentable-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations","title":"JWKRepresentable Implementations","url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/privatekey\/jwkrepresentable-implementations","abstract":[],"role":"collectionGroup","kind":"article","type":"topic"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement/PrivateKey/jwkRepresentation":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey\/jwkRepresentation","title":"jwkRepresentation","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"}],"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/privatekey\/jwkrepresentation","abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"code":"P384.KeyAgreement.PrivateKey","type":"codeVoice"},{"type":"text","text":" instance."}],"role":"symbol","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement","title":"P384.KeyAgreement","navigatorTitle":[{"kind":"identifier","text":"KeyAgreement"}],"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement","abstract":[],"role":"symbol","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/sharedkeyagreement-implementations.json b/data/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/sharedkeyagreement-implementations.json new file mode 100644 index 0000000..85a6189 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/sharedkeyagreement-implementations.json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey"]]},"kind":"article","metadata":{"modules":[{"name":"jose-swift"}],"title":"SharedKeyAgreement Implementations","role":"collectionGroup"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey\/SharedKeyAgreement-Implementations"},"sections":[],"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/privatekey\/sharedkeyagreement-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"topicSections":[{"title":"Instance Methods","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey\/sharedSecretFromKeyAgreement(publicKeyShare:)"],"generated":true}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement/PrivateKey/sharedSecretFromKeyAgreement(publicKeyShare:)":{"title":"sharedSecretFromKeyAgreement(publicKeyShare:)","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/privatekey\/sharedsecretfromkeyagreement(publickeyshare:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey\/sharedSecretFromKeyAgreement(publicKeyShare:)","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"sharedSecretFromKeyAgreement","kind":"identifier"},{"text":"(","kind":"text"},{"text":"publicKeyShare","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384":{"title":"P384","navigatorTitle":[{"text":"P384","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement","title":"P384.KeyAgreement","navigatorTitle":[{"kind":"identifier","text":"KeyAgreement"}],"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement","abstract":[],"role":"symbol","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement/PrivateKey":{"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/privatekey","kind":"symbol","abstract":[],"type":"topic","title":"P384.KeyAgreement.PrivateKey","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"P384","preciseIdentifier":"s:9CryptoKit4P384O","kind":"identifier"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO","text":"KeyAgreement"},{"kind":"text","text":"."},{"text":"PrivateKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO07PrivateD0V"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:).json b/data/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:).json new file mode 100644 index 0000000..314736f --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"sharedSecretFromKeyAgreement","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"publicKeyShare"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"platforms":["macOS"],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey\/SharedKeyAgreement-Implementations"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey\/sharedSecretFromKeyAgreement(publicKeyShare:)","interfaceLanguage":"swift"},"sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"title":"sharedSecretFromKeyAgreement(publicKeyShare:)","roleHeading":"Instance Method","symbolKind":"method","modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}],"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"sharedSecretFromKeyAgreement","kind":"identifier"},{"kind":"text","text":"("},{"text":"publicKeyShare","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"}],"extendedModule":"CryptoKit","externalID":"s:9CryptoKit4P384O12KeyAgreementO07PrivateD0V17JSONWebAlgorithmsE016sharedSecretFromdE006publicD5Share10Foundation4DataV0gD03JWKV_tKF","role":"symbol"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"SharedKeyAgreement.sharedSecretFromKeyAgreement(publicKeyShare:)"},{"text":".","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/privatekey\/sharedsecretfromkeyagreement(publickeyshare:)"]}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement/PrivateKey/sharedSecretFromKeyAgreement(publicKeyShare:)":{"title":"sharedSecretFromKeyAgreement(publicKeyShare:)","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/privatekey\/sharedsecretfromkeyagreement(publickeyshare:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey\/sharedSecretFromKeyAgreement(publicKeyShare:)","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"sharedSecretFromKeyAgreement","kind":"identifier"},{"text":"(","kind":"text"},{"text":"publicKeyShare","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384":{"title":"P384","navigatorTitle":[{"text":"P384","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","type":"link","titleInlineContent":[{"text":"RFC7517","type":"text"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement","title":"P384.KeyAgreement","navigatorTitle":[{"kind":"identifier","text":"KeyAgreement"}],"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement","abstract":[],"role":"symbol","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement/PrivateKey/SharedKeyAgreement-Implementations":{"role":"collectionGroup","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey\/SharedKeyAgreement-Implementations","url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/privatekey\/sharedkeyagreement-implementations","kind":"article","abstract":[],"title":"SharedKeyAgreement Implementations"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement/PrivateKey":{"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/privatekey","kind":"symbol","abstract":[],"type":"topic","title":"P384.KeyAgreement.PrivateKey","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"P384","preciseIdentifier":"s:9CryptoKit4P384O","kind":"identifier"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO","text":"KeyAgreement"},{"kind":"text","text":"."},{"text":"PrivateKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO07PrivateD0V"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p384/keyagreement/publickey.json b/data/documentation/jose_swift/cryptokit/p384/keyagreement/publickey.json new file mode 100644 index 0000000..7c6fef8 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p384/keyagreement/publickey.json @@ -0,0 +1 @@ +{"relationshipsSections":[{"title":"Conforms To","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable"],"type":"conformsTo","kind":"relationships"}],"schemaVersion":{"minor":3,"major":0,"patch":0},"topicSections":[{"title":"Default Implementations","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations"],"generated":true}],"kind":"symbol","sections":[],"metadata":{"fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"text":"P384","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P384O"},{"text":".","kind":"text"},{"kind":"identifier","text":"KeyAgreement","preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO06PublicD0V","kind":"identifier","text":"PublicKey"}],"modules":[{"relatedModules":["CryptoKit"],"name":"jose-swift"}],"symbolKind":"extension","role":"symbol","title":"P384.KeyAgreement.PublicKey","extendedModule":"CryptoKit","roleHeading":"Extended Structure","externalID":"s:e:s:9CryptoKit4P384O12KeyAgreementO06PublicD0V17JSONWebAlgorithmsE17jwkRepresentation0gD03JWKVvp","navigatorTitle":[{"kind":"identifier","text":"PublicKey"}]},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PublicKey"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"text":"P384","kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit4P384O"},{"text":".","kind":"text"},{"text":"KeyAgreement","kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO"},{"text":".","kind":"text"},{"text":"PublicKey","kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO06PublicD0V"}]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/publickey"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P384":{"title":"P384","navigatorTitle":[{"text":"P384","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement/PublicKey/JWKRepresentable-Implementations":{"role":"collectionGroup","type":"topic","title":"JWKRepresentable Implementations","url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/publickey\/jwkrepresentable-implementations","kind":"article","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement","title":"P384.KeyAgreement","navigatorTitle":[{"kind":"identifier","text":"KeyAgreement"}],"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement","abstract":[],"role":"symbol","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement/PublicKey":{"role":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/publickey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PublicKey","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P384","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P384O"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO06PublicD0V","text":"PublicKey","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"PublicKey"}],"kind":"symbol","type":"topic","title":"P384.KeyAgreement.PublicKey"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p384/keyagreement/publickey/jwkrepresentable-implementations.json b/data/documentation/jose_swift/cryptokit/p384/keyagreement/publickey/jwkrepresentable-implementations.json new file mode 100644 index 0000000..f7b40f7 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p384/keyagreement/publickey/jwkrepresentable-implementations.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/publickey\/jwkrepresentable-implementations"]}],"metadata":{"modules":[{"name":"jose-swift"}],"role":"collectionGroup","title":"JWKRepresentable Implementations"},"kind":"article","sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PublicKey"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations","interfaceLanguage":"swift"},"topicSections":[{"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PublicKey\/jwkRepresentation"],"generated":true}],"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement/PublicKey":{"role":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/publickey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PublicKey","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P384","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P384O"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO06PublicD0V","text":"PublicKey","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"PublicKey"}],"kind":"symbol","type":"topic","title":"P384.KeyAgreement.PublicKey"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384":{"title":"P384","navigatorTitle":[{"text":"P384","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement/PublicKey/jwkRepresentation":{"role":"symbol","abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"type":"codeVoice","code":"P384.KeyAgreement.PublicKey"},{"text":" instance.","type":"text"}],"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/publickey\/jwkrepresentation","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PublicKey\/jwkRepresentation","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"}],"kind":"symbol","type":"topic","title":"jwkRepresentation"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement","title":"P384.KeyAgreement","navigatorTitle":[{"kind":"identifier","text":"KeyAgreement"}],"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement","abstract":[],"role":"symbol","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p384/keyagreement/publickey/jwkrepresentation.json b/data/documentation/jose_swift/cryptokit/p384/keyagreement/publickey/jwkrepresentation.json new file mode 100644 index 0000000..f3c7dd7 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p384/keyagreement/publickey/jwkrepresentation.json @@ -0,0 +1 @@ +{"kind":"symbol","metadata":{"title":"jwkRepresentation","modules":[{"relatedModules":["CryptoKit"],"name":"jose-swift"}],"extendedModule":"CryptoKit","roleHeading":"Instance Property","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"}],"role":"symbol","externalID":"s:9CryptoKit4P384O12KeyAgreementO06PublicD0V17JSONWebAlgorithmsE17jwkRepresentation0gD03JWKVvp","symbolKind":"property"},"abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"code":"P384.KeyAgreement.PublicKey","type":"codeVoice"},{"text":" instance.","type":"text"}],"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PublicKey\/jwkRepresentation","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PublicKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations"]]},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/publickey\/jwkrepresentation"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"languages":["swift"]}]}],"references":{"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement/PublicKey/JWKRepresentable-Implementations":{"role":"collectionGroup","type":"topic","title":"JWKRepresentable Implementations","url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/publickey\/jwkrepresentable-implementations","kind":"article","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement/PublicKey/jwkRepresentation":{"role":"symbol","abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"type":"codeVoice","code":"P384.KeyAgreement.PublicKey"},{"text":" instance.","type":"text"}],"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/publickey\/jwkrepresentation","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PublicKey\/jwkRepresentation","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"}],"kind":"symbol","type":"topic","title":"jwkRepresentation"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement","title":"P384.KeyAgreement","navigatorTitle":[{"kind":"identifier","text":"KeyAgreement"}],"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement","abstract":[],"role":"symbol","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement/PublicKey":{"role":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/publickey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PublicKey","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P384","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P384O"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO06PublicD0V","text":"PublicKey","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"PublicKey"}],"kind":"symbol","type":"topic","title":"P384.KeyAgreement.PublicKey"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384":{"title":"P384","navigatorTitle":[{"text":"P384","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p384/signing.json b/data/documentation/jose_swift/cryptokit/p384/signing.json new file mode 100644 index 0000000..a5705f6 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p384/signing.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/p384\/signing"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"extendedModule":"CryptoKit","role":"symbol","roleHeading":"Extended Type","externalID":"s:e:s:e:s:9CryptoKit4P384O7SigningO10PrivateKeyV17JSONWebAlgorithmsE17jwkRepresentation0gF03JWKVvp","symbolKind":"extension","navigatorTitle":[{"kind":"identifier","text":"Signing"}],"modules":[{"relatedModules":["CryptoKit"],"name":"jose-swift"}],"title":"P384.Signing"},"kind":"symbol","sections":[],"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PublicKey"],"title":"Extended Structures"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384"]]},"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384":{"title":"P384","navigatorTitle":[{"text":"P384","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing/PublicKey":{"title":"P384.Signing.PublicKey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PublicKey","kind":"symbol","abstract":[],"role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"P384","preciseIdentifier":"s:9CryptoKit4P384O"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P384O7SigningO","text":"Signing","kind":"identifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P384O7SigningO9PublicKeyV","text":"PublicKey","kind":"identifier"}],"type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing\/publickey"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing":{"title":"P384.Signing","navigatorTitle":[{"text":"Signing","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing/PrivateKey":{"title":"P384.Signing.PrivateKey","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PrivateKey","kind":"symbol","abstract":[],"role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"preciseIdentifier":"s:9CryptoKit4P384O","text":"P384","kind":"identifier"},{"text":".","kind":"text"},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9CryptoKit4P384O7SigningO"},{"kind":"text","text":"."},{"text":"PrivateKey","preciseIdentifier":"s:9CryptoKit4P384O7SigningO10PrivateKeyV","kind":"identifier"}],"type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing\/privatekey"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p384/signing/privatekey.json b/data/documentation/jose_swift/cryptokit/p384/signing/privatekey.json new file mode 100644 index 0000000..0f519cd --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p384/signing/privatekey.json @@ -0,0 +1 @@ +{"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PrivateKey\/JWKRepresentable-Implementations"],"generated":true,"title":"Default Implementations"}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit4P384O","text":"P384"},{"text":".","kind":"text"},{"text":"Signing","kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit4P384O7SigningO"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P384O7SigningO10PrivateKeyV","kind":"typeIdentifier","text":"PrivateKey"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"schemaVersion":{"patch":0,"major":0,"minor":3},"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PrivateKey"},"metadata":{"title":"P384.Signing.PrivateKey","roleHeading":"Extended Structure","symbolKind":"extension","modules":[{"relatedModules":["CryptoKit"],"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"preciseIdentifier":"s:9CryptoKit4P384O","kind":"identifier","text":"P384"},{"text":".","kind":"text"},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9CryptoKit4P384O7SigningO"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P384O7SigningO10PrivateKeyV","text":"PrivateKey","kind":"identifier"}],"extendedModule":"CryptoKit","externalID":"s:e:s:9CryptoKit4P384O7SigningO10PrivateKeyV17JSONWebAlgorithmsE17jwkRepresentation0gF03JWKVvp","role":"symbol","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p384\/signing\/privatekey"]}],"relationshipsSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable"],"type":"conformsTo","kind":"relationships","title":"Conforms To"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing"]]},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing":{"title":"P384.Signing","navigatorTitle":[{"text":"Signing","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing/PrivateKey":{"title":"P384.Signing.PrivateKey","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PrivateKey","kind":"symbol","abstract":[],"role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"preciseIdentifier":"s:9CryptoKit4P384O","text":"P384","kind":"identifier"},{"text":".","kind":"text"},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9CryptoKit4P384O7SigningO"},{"kind":"text","text":"."},{"text":"PrivateKey","preciseIdentifier":"s:9CryptoKit4P384O7SigningO10PrivateKeyV","kind":"identifier"}],"type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing\/privatekey"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384":{"title":"P384","navigatorTitle":[{"text":"P384","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384"},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing/PrivateKey/JWKRepresentable-Implementations":{"title":"JWKRepresentable Implementations","kind":"article","url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing\/privatekey\/jwkrepresentable-implementations","type":"topic","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PrivateKey\/JWKRepresentable-Implementations","role":"collectionGroup"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p384/signing/privatekey/jwkrepresentable-implementations.json b/data/documentation/jose_swift/cryptokit/p384/signing/privatekey/jwkrepresentable-implementations.json new file mode 100644 index 0000000..5d67e16 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p384/signing/privatekey/jwkrepresentable-implementations.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PrivateKey\/JWKRepresentable-Implementations","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PrivateKey"]]},"metadata":{"modules":[{"name":"jose-swift"}],"title":"JWKRepresentable Implementations","role":"collectionGroup"},"schemaVersion":{"minor":3,"patch":0,"major":0},"topicSections":[{"title":"Instance Properties","generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PrivateKey\/jwkRepresentation"]}],"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/p384\/signing\/privatekey\/jwkrepresentable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"kind":"article","references":{"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing/PrivateKey/jwkRepresentation":{"url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing\/privatekey\/jwkrepresentation","abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"code":"P384.KeyAgreement.PrivateKey","type":"codeVoice"},{"type":"text","text":" instance."}],"title":"jwkRepresentation","role":"symbol","type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PrivateKey\/jwkRepresentation"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384":{"title":"P384","navigatorTitle":[{"text":"P384","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing":{"title":"P384.Signing","navigatorTitle":[{"text":"Signing","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing/PrivateKey":{"title":"P384.Signing.PrivateKey","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PrivateKey","kind":"symbol","abstract":[],"role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"preciseIdentifier":"s:9CryptoKit4P384O","text":"P384","kind":"identifier"},{"text":".","kind":"text"},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9CryptoKit4P384O7SigningO"},{"kind":"text","text":"."},{"text":"PrivateKey","preciseIdentifier":"s:9CryptoKit4P384O7SigningO10PrivateKeyV","kind":"identifier"}],"type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing\/privatekey"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p384/signing/privatekey/jwkrepresentation.json b/data/documentation/jose_swift/cryptokit/p384/signing/privatekey/jwkrepresentation.json new file mode 100644 index 0000000..d0ca261 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p384/signing/privatekey/jwkrepresentation.json @@ -0,0 +1 @@ +{"metadata":{"roleHeading":"Instance Property","externalID":"s:9CryptoKit4P384O7SigningO10PrivateKeyV17JSONWebAlgorithmsE17jwkRepresentation0gF03JWKVvp","modules":[{"relatedModules":["CryptoKit"],"name":"jose-swift"}],"symbolKind":"property","title":"jwkRepresentation","extendedModule":"CryptoKit","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"}]},"sections":[],"kind":"symbol","schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PrivateKey\/jwkRepresentation","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PrivateKey\/JWKRepresentable-Implementations"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p384\/signing\/privatekey\/jwkrepresentation"]}],"abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"code":"P384.KeyAgreement.PrivateKey","type":"codeVoice"},{"text":" instance.","type":"text"}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing/PrivateKey":{"title":"P384.Signing.PrivateKey","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PrivateKey","kind":"symbol","abstract":[],"role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"preciseIdentifier":"s:9CryptoKit4P384O","text":"P384","kind":"identifier"},{"text":".","kind":"text"},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9CryptoKit4P384O7SigningO"},{"kind":"text","text":"."},{"text":"PrivateKey","preciseIdentifier":"s:9CryptoKit4P384O7SigningO10PrivateKeyV","kind":"identifier"}],"type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing\/privatekey"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing/PrivateKey/jwkRepresentation":{"url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing\/privatekey\/jwkrepresentation","abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"code":"P384.KeyAgreement.PrivateKey","type":"codeVoice"},{"type":"text","text":" instance."}],"title":"jwkRepresentation","role":"symbol","type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PrivateKey\/jwkRepresentation"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing":{"title":"P384.Signing","navigatorTitle":[{"text":"Signing","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing/PrivateKey/JWKRepresentable-Implementations":{"title":"JWKRepresentable Implementations","kind":"article","url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing\/privatekey\/jwkrepresentable-implementations","type":"topic","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PrivateKey\/JWKRepresentable-Implementations","role":"collectionGroup"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"text":"RFC7517","type":"text"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384":{"title":"P384","navigatorTitle":[{"text":"P384","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p384/signing/publickey.json b/data/documentation/jose_swift/cryptokit/p384/signing/publickey.json new file mode 100644 index 0000000..a4acd8a --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p384/signing/publickey.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PublicKey","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"text":"P384","kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit4P384O"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P384O7SigningO","text":"Signing","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"PublicKey","preciseIdentifier":"s:9CryptoKit4P384O7SigningO9PublicKeyV","kind":"typeIdentifier"}],"languages":["swift"]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/p384\/signing\/publickey"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","schemaVersion":{"major":0,"patch":0,"minor":3},"topicSections":[{"title":"Default Implementations","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PublicKey\/JWKRepresentable-Implementations"],"generated":true}],"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing"]]},"metadata":{"externalID":"s:e:s:9CryptoKit4P384O7SigningO9PublicKeyV17JSONWebAlgorithmsE17jwkRepresentation0gF03JWKVvp","extendedModule":"CryptoKit","title":"P384.Signing.PublicKey","roleHeading":"Extended Structure","role":"symbol","modules":[{"relatedModules":["CryptoKit"],"name":"jose-swift"}],"fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"text":"P384","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P384O"},{"text":".","kind":"text"},{"text":"Signing","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P384O7SigningO"},{"kind":"text","text":"."},{"text":"PublicKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P384O7SigningO9PublicKeyV"}],"navigatorTitle":[{"kind":"identifier","text":"PublicKey"}],"symbolKind":"extension"},"relationshipsSections":[{"kind":"relationships","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable"],"title":"Conforms To","type":"conformsTo"}],"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing/PublicKey/JWKRepresentable-Implementations":{"kind":"article","url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing\/publickey\/jwkrepresentable-implementations","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PublicKey\/JWKRepresentable-Implementations","title":"JWKRepresentable Implementations","type":"topic","role":"collectionGroup"},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing/PublicKey":{"title":"P384.Signing.PublicKey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PublicKey","kind":"symbol","abstract":[],"role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"P384","preciseIdentifier":"s:9CryptoKit4P384O"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P384O7SigningO","text":"Signing","kind":"identifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P384O7SigningO9PublicKeyV","text":"PublicKey","kind":"identifier"}],"type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing\/publickey"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing":{"title":"P384.Signing","navigatorTitle":[{"text":"Signing","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384":{"title":"P384","navigatorTitle":[{"text":"P384","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p384/signing/publickey/jwkrepresentable-implementations.json b/data/documentation/jose_swift/cryptokit/p384/signing/publickey/jwkrepresentable-implementations.json new file mode 100644 index 0000000..abe1f10 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p384/signing/publickey/jwkrepresentable-implementations.json @@ -0,0 +1 @@ +{"topicSections":[{"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PublicKey\/jwkRepresentation"],"generated":true}],"sections":[],"schemaVersion":{"patch":0,"minor":3,"major":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PublicKey\/JWKRepresentable-Implementations"},"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/p384\/signing\/publickey\/jwkrepresentable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"article","metadata":{"title":"JWKRepresentable Implementations","modules":[{"name":"jose-swift"}],"role":"collectionGroup"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PublicKey"]]},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing/PublicKey":{"title":"P384.Signing.PublicKey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PublicKey","kind":"symbol","abstract":[],"role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"P384","preciseIdentifier":"s:9CryptoKit4P384O"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P384O7SigningO","text":"Signing","kind":"identifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P384O7SigningO9PublicKeyV","text":"PublicKey","kind":"identifier"}],"type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing\/publickey"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing":{"title":"P384.Signing","navigatorTitle":[{"text":"Signing","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384":{"title":"P384","navigatorTitle":[{"text":"P384","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing/PublicKey/jwkRepresentation":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"}],"kind":"symbol","abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"code":"P384.KeyAgreement.PublicKey","type":"codeVoice"},{"text":" instance.","type":"text"}],"url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing\/publickey\/jwkrepresentation","title":"jwkRepresentation","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PublicKey\/jwkRepresentation","type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p384/signing/publickey/jwkrepresentation.json b/data/documentation/jose_swift/cryptokit/p384/signing/publickey/jwkrepresentation.json new file mode 100644 index 0000000..db34fcc --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p384/signing/publickey/jwkrepresentation.json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PublicKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PublicKey\/JWKRepresentable-Implementations"]]},"abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"code":"P384.KeyAgreement.PublicKey","type":"codeVoice"},{"type":"text","text":" instance."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwkRepresentation"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"platforms":["macOS"],"languages":["swift"]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/p384\/signing\/publickey\/jwkrepresentation"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PublicKey\/jwkRepresentation"},"sections":[],"metadata":{"extendedModule":"CryptoKit","modules":[{"relatedModules":["CryptoKit"],"name":"jose-swift"}],"title":"jwkRepresentation","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"jwkRepresentation"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"}],"roleHeading":"Instance Property","externalID":"s:9CryptoKit4P384O7SigningO9PublicKeyV17JSONWebAlgorithmsE17jwkRepresentation0gF03JWKVvp","role":"symbol","symbolKind":"property"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384":{"title":"P384","navigatorTitle":[{"text":"P384","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing":{"title":"P384.Signing","navigatorTitle":[{"text":"Signing","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing","abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing/PublicKey/JWKRepresentable-Implementations":{"kind":"article","url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing\/publickey\/jwkrepresentable-implementations","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PublicKey\/JWKRepresentable-Implementations","title":"JWKRepresentable Implementations","type":"topic","role":"collectionGroup"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing/PublicKey/jwkRepresentation":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"}],"kind":"symbol","abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"code":"P384.KeyAgreement.PublicKey","type":"codeVoice"},{"text":" instance.","type":"text"}],"url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing\/publickey\/jwkrepresentation","title":"jwkRepresentation","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PublicKey\/jwkRepresentation","type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing/PublicKey":{"title":"P384.Signing.PublicKey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PublicKey","kind":"symbol","abstract":[],"role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"P384","preciseIdentifier":"s:9CryptoKit4P384O"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P384O7SigningO","text":"Signing","kind":"identifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P384O7SigningO9PublicKeyV","text":"PublicKey","kind":"identifier"}],"type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing\/publickey"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"text":"RFC7517","type":"text"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","title":"RFC7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p521.json b/data/documentation/jose_swift/cryptokit/p521.json new file mode 100644 index 0000000..b0400fb --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p521.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit"]]},"topicSections":[{"title":"Extended Types","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing"]}],"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/p521"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"kind":"symbol","metadata":{"externalID":"s:e:s:e:s:e:s:9CryptoKit4P521O12KeyAgreementO06PublicD0V17JSONWebAlgorithmsE17jwkRepresentation0gD03JWKVvp","symbolKind":"extension","extendedModule":"CryptoKit","role":"symbol","title":"P521","navigatorTitle":[{"text":"P521","kind":"identifier"}],"modules":[{"relatedModules":["CryptoKit"],"name":"jose-swift"}],"roleHeading":"Extended Type"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521"},"schemaVersion":{"major":0,"patch":0,"minor":3},"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement":{"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement","type":"topic","title":"P521.KeyAgreement","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing":{"title":"P521.Signing","kind":"symbol","type":"topic","role":"symbol","abstract":[],"navigatorTitle":[{"text":"Signing","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing","url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521":{"url":"\/documentation\/jose_swift\/cryptokit\/p521","type":"topic","kind":"symbol","role":"symbol","abstract":[],"navigatorTitle":[{"text":"P521","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","title":"P521"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p521/keyagreement.json b/data/documentation/jose_swift/cryptokit/p521/keyagreement.json new file mode 100644 index 0000000..6a30282 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p521/keyagreement.json @@ -0,0 +1 @@ +{"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PublicKey"],"title":"Extended Structures"}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement"},"kind":"symbol","variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521"]]},"metadata":{"roleHeading":"Extended Type","title":"P521.KeyAgreement","modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}],"role":"symbol","extendedModule":"CryptoKit","symbolKind":"extension","externalID":"s:e:s:e:s:9CryptoKit4P521O12KeyAgreementO06PublicD0V17JSONWebAlgorithmsE17jwkRepresentation0gD03JWKVvp","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]},"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement/PublicKey":{"role":"symbol","type":"topic","title":"P521.KeyAgreement.PublicKey","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P521","preciseIdentifier":"s:9CryptoKit4P521O","kind":"identifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO","kind":"identifier","text":"KeyAgreement"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO06PublicD0V","text":"PublicKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PublicKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/publickey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement/PrivateKey":{"fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P521","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P521O"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO07PrivateD0V","text":"PrivateKey","kind":"identifier"}],"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/privatekey","type":"topic","title":"P521.KeyAgreement.PrivateKey","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement":{"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement","type":"topic","title":"P521.KeyAgreement","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521":{"url":"\/documentation\/jose_swift\/cryptokit\/p521","type":"topic","kind":"symbol","role":"symbol","abstract":[],"navigatorTitle":[{"text":"P521","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","title":"P521"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey.json b/data/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey.json new file mode 100644 index 0000000..ff97e51 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"tokens":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit4P521O","text":"P521"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO","text":"KeyAgreement"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO07PrivateD0V","kind":"typeIdentifier","text":"PrivateKey"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey\/SharedKeyAgreement-Implementations"],"generated":true,"title":"Default Implementations"}],"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement"]]},"relationshipsSections":[{"title":"Conforms To","kind":"relationships","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable"],"type":"conformsTo"}],"metadata":{"extendedModule":"CryptoKit","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P521O","text":"P521"},{"text":".","kind":"text"},{"text":"KeyAgreement","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO07PrivateD0V","kind":"identifier","text":"PrivateKey"}],"title":"P521.KeyAgreement.PrivateKey","modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}],"navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}],"externalID":"s:e:s:9CryptoKit4P521O12KeyAgreementO07PrivateD0V17JSONWebAlgorithmsE016sharedSecretFromdE006publicD5Share10Foundation4DataV0gD03JWKV_tKF","symbolKind":"extension","roleHeading":"Extended Structure","role":"symbol"},"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/privatekey"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey"},"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement":{"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement","type":"topic","title":"P521.KeyAgreement","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521":{"url":"\/documentation\/jose_swift\/cryptokit\/p521","type":"topic","kind":"symbol","role":"symbol","abstract":[],"navigatorTitle":[{"text":"P521","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","title":"P521"},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement/PrivateKey/SharedKeyAgreement-Implementations":{"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/privatekey\/sharedkeyagreement-implementations","type":"topic","title":"SharedKeyAgreement Implementations","role":"collectionGroup","abstract":[],"kind":"article","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey\/SharedKeyAgreement-Implementations"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement/PrivateKey/JWKRepresentable-Implementations":{"abstract":[],"type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/privatekey\/jwkrepresentable-implementations","kind":"article","title":"JWKRepresentable Implementations","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement/PrivateKey":{"fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P521","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P521O"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO07PrivateD0V","text":"PrivateKey","kind":"identifier"}],"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/privatekey","type":"topic","title":"P521.KeyAgreement.PrivateKey","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/jwkrepresentable-implementations.json b/data/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/jwkrepresentable-implementations.json new file mode 100644 index 0000000..a5bfc42 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/jwkrepresentable-implementations.json @@ -0,0 +1 @@ +{"kind":"article","schemaVersion":{"patch":0,"major":0,"minor":3},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey\/jwkRepresentation"],"generated":true,"title":"Instance Properties"}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey"]]},"metadata":{"role":"collectionGroup","modules":[{"name":"jose-swift"}],"title":"JWKRepresentable Implementations"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/privatekey\/jwkrepresentable-implementations"]}],"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement/PrivateKey/jwkRepresentation":{"type":"topic","kind":"symbol","url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/privatekey\/jwkrepresentation","abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"type":"codeVoice","code":"P521.KeyAgreement.PrivateKey"},{"type":"text","text":" instance."}],"role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"jwkRepresentation"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey\/jwkRepresentation","title":"jwkRepresentation"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement":{"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement","type":"topic","title":"P521.KeyAgreement","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521":{"url":"\/documentation\/jose_swift\/cryptokit\/p521","type":"topic","kind":"symbol","role":"symbol","abstract":[],"navigatorTitle":[{"text":"P521","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","title":"P521"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement/PrivateKey":{"fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P521","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P521O"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO07PrivateD0V","text":"PrivateKey","kind":"identifier"}],"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/privatekey","type":"topic","title":"P521.KeyAgreement.PrivateKey","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/jwkrepresentation.json b/data/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/jwkrepresentation.json new file mode 100644 index 0000000..54e25ed --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/jwkrepresentation.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations"]]},"abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"type":"codeVoice","code":"P521.KeyAgreement.PrivateKey"},{"type":"text","text":" instance."}],"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/privatekey\/jwkrepresentation"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"kind":"symbol","metadata":{"externalID":"s:9CryptoKit4P521O12KeyAgreementO07PrivateD0V17JSONWebAlgorithmsE17jwkRepresentation0gD03JWKVvp","symbolKind":"property","role":"symbol","extendedModule":"CryptoKit","title":"jwkRepresentation","modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}],"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwkRepresentation"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"}],"roleHeading":"Instance Property"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"kind":"text","text":": "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"]}],"kind":"declarations"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey\/jwkRepresentation"},"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement/PrivateKey/JWKRepresentable-Implementations":{"abstract":[],"type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/privatekey\/jwkrepresentable-implementations","kind":"article","title":"JWKRepresentable Implementations","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement/PrivateKey/jwkRepresentation":{"type":"topic","kind":"symbol","url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/privatekey\/jwkrepresentation","abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"type":"codeVoice","code":"P521.KeyAgreement.PrivateKey"},{"type":"text","text":" instance."}],"role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"jwkRepresentation"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey\/jwkRepresentation","title":"jwkRepresentation"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement":{"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement","type":"topic","title":"P521.KeyAgreement","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521":{"url":"\/documentation\/jose_swift\/cryptokit\/p521","type":"topic","kind":"symbol","role":"symbol","abstract":[],"navigatorTitle":[{"text":"P521","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","title":"P521"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"text":"RFC7517","type":"text"}],"title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement/PrivateKey":{"fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P521","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P521O"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO07PrivateD0V","text":"PrivateKey","kind":"identifier"}],"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/privatekey","type":"topic","title":"P521.KeyAgreement.PrivateKey","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/sharedkeyagreement-implementations.json b/data/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/sharedkeyagreement-implementations.json new file mode 100644 index 0000000..2df3e83 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/sharedkeyagreement-implementations.json @@ -0,0 +1 @@ +{"sections":[],"kind":"article","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey\/SharedKeyAgreement-Implementations"},"schemaVersion":{"minor":3,"major":0,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey"]]},"metadata":{"modules":[{"name":"jose-swift"}],"role":"collectionGroup","title":"SharedKeyAgreement Implementations"},"topicSections":[{"generated":true,"title":"Instance Methods","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey\/sharedSecretFromKeyAgreement(publicKeyShare:)"]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/privatekey\/sharedkeyagreement-implementations"]}],"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement/PrivateKey/sharedSecretFromKeyAgreement(publicKeyShare:)":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"sharedSecretFromKeyAgreement"},{"text":"(","kind":"text"},{"text":"publicKeyShare","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/privatekey\/sharedsecretfromkeyagreement(publickeyshare:)","type":"topic","title":"sharedSecretFromKeyAgreement(publicKeyShare:)","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey\/sharedSecretFromKeyAgreement(publicKeyShare:)"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement/PrivateKey":{"fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P521","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P521O"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO07PrivateD0V","text":"PrivateKey","kind":"identifier"}],"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/privatekey","type":"topic","title":"P521.KeyAgreement.PrivateKey","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521":{"url":"\/documentation\/jose_swift\/cryptokit\/p521","type":"topic","kind":"symbol","role":"symbol","abstract":[],"navigatorTitle":[{"text":"P521","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","title":"P521"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement":{"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement","type":"topic","title":"P521.KeyAgreement","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:).json b/data/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:).json new file mode 100644 index 0000000..d0907dc --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"sharedSecretFromKeyAgreement"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"publicKeyShare"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey\/SharedKeyAgreement-Implementations"]]},"sections":[],"metadata":{"symbolKind":"method","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"sharedSecretFromKeyAgreement","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"publicKeyShare"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"}],"title":"sharedSecretFromKeyAgreement(publicKeyShare:)","role":"symbol","externalID":"s:9CryptoKit4P521O12KeyAgreementO07PrivateD0V17JSONWebAlgorithmsE016sharedSecretFromdE006publicD5Share10Foundation4DataV0gD03JWKV_tKF","roleHeading":"Instance Method","extendedModule":"CryptoKit","modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}]},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/privatekey\/sharedsecretfromkeyagreement(publickeyshare:)"]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey\/sharedSecretFromKeyAgreement(publicKeyShare:)"},"abstract":[{"text":"Inherited from ","type":"text"},{"code":"SharedKeyAgreement.sharedSecretFromKeyAgreement(publicKeyShare:)","type":"codeVoice"},{"type":"text","text":"."}],"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P521":{"url":"\/documentation\/jose_swift\/cryptokit\/p521","type":"topic","kind":"symbol","role":"symbol","abstract":[],"navigatorTitle":[{"text":"P521","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","title":"P521"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement":{"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement","type":"topic","title":"P521.KeyAgreement","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement/PrivateKey/SharedKeyAgreement-Implementations":{"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/privatekey\/sharedkeyagreement-implementations","type":"topic","title":"SharedKeyAgreement Implementations","role":"collectionGroup","abstract":[],"kind":"article","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey\/SharedKeyAgreement-Implementations"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement/PrivateKey/sharedSecretFromKeyAgreement(publicKeyShare:)":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"sharedSecretFromKeyAgreement"},{"text":"(","kind":"text"},{"text":"publicKeyShare","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/privatekey\/sharedsecretfromkeyagreement(publickeyshare:)","type":"topic","title":"sharedSecretFromKeyAgreement(publicKeyShare:)","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey\/sharedSecretFromKeyAgreement(publicKeyShare:)"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement/PrivateKey":{"fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P521","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P521O"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO07PrivateD0V","text":"PrivateKey","kind":"identifier"}],"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/privatekey","type":"topic","title":"P521.KeyAgreement.PrivateKey","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p521/keyagreement/publickey.json b/data/documentation/jose_swift/cryptokit/p521/keyagreement/publickey.json new file mode 100644 index 0000000..d5d162c --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p521/keyagreement/publickey.json @@ -0,0 +1 @@ +{"kind":"symbol","topicSections":[{"title":"Default Implementations","generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PublicKey","interfaceLanguage":"swift"},"relationshipsSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable"],"type":"conformsTo","kind":"relationships","title":"Conforms To"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P521O","text":"P521","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO","kind":"typeIdentifier","text":"KeyAgreement"},{"kind":"text","text":"."},{"text":"PublicKey","preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO06PublicD0V","kind":"typeIdentifier"}],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/publickey"]}],"metadata":{"extendedModule":"CryptoKit","title":"P521.KeyAgreement.PublicKey","symbolKind":"extension","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P521O","text":"P521","kind":"identifier"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO","text":"KeyAgreement"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO06PublicD0V","kind":"identifier","text":"PublicKey"}],"modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}],"externalID":"s:e:s:9CryptoKit4P521O12KeyAgreementO06PublicD0V17JSONWebAlgorithmsE17jwkRepresentation0gD03JWKVvp","role":"symbol","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}],"roleHeading":"Extended Structure"},"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement/PublicKey/JWKRepresentable-Implementations":{"title":"JWKRepresentable Implementations","kind":"article","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/publickey\/jwkrepresentable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations","type":"topic","role":"collectionGroup"},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement/PublicKey":{"role":"symbol","type":"topic","title":"P521.KeyAgreement.PublicKey","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P521","preciseIdentifier":"s:9CryptoKit4P521O","kind":"identifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO","kind":"identifier","text":"KeyAgreement"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO06PublicD0V","text":"PublicKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PublicKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/publickey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521":{"url":"\/documentation\/jose_swift\/cryptokit\/p521","type":"topic","kind":"symbol","role":"symbol","abstract":[],"navigatorTitle":[{"text":"P521","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","title":"P521"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement":{"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement","type":"topic","title":"P521.KeyAgreement","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p521/keyagreement/publickey/jwkrepresentable-implementations.json b/data/documentation/jose_swift/cryptokit/p521/keyagreement/publickey/jwkrepresentable-implementations.json new file mode 100644 index 0000000..43a1b61 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p521/keyagreement/publickey/jwkrepresentable-implementations.json @@ -0,0 +1 @@ +{"kind":"article","topicSections":[{"generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PublicKey\/jwkRepresentation"],"title":"Instance Properties"}],"schemaVersion":{"patch":0,"major":0,"minor":3},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/publickey\/jwkrepresentable-implementations"]}],"metadata":{"modules":[{"name":"jose-swift"}],"role":"collectionGroup","title":"JWKRepresentable Implementations"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PublicKey"]]},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement/PublicKey":{"role":"symbol","type":"topic","title":"P521.KeyAgreement.PublicKey","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P521","preciseIdentifier":"s:9CryptoKit4P521O","kind":"identifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO","kind":"identifier","text":"KeyAgreement"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO06PublicD0V","text":"PublicKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PublicKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/publickey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement":{"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement","type":"topic","title":"P521.KeyAgreement","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521":{"url":"\/documentation\/jose_swift\/cryptokit\/p521","type":"topic","kind":"symbol","role":"symbol","abstract":[],"navigatorTitle":[{"text":"P521","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","title":"P521"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement/PublicKey/jwkRepresentation":{"title":"jwkRepresentation","kind":"symbol","abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"code":"P521.KeyAgreement.PublicKey","type":"codeVoice"},{"type":"text","text":" instance."}],"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/publickey\/jwkrepresentation","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PublicKey\/jwkRepresentation","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p521/keyagreement/publickey/jwkrepresentation.json b/data/documentation/jose_swift/cryptokit/p521/keyagreement/publickey/jwkrepresentation.json new file mode 100644 index 0000000..9dfbe1d --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p521/keyagreement/publickey/jwkrepresentation.json @@ -0,0 +1 @@ +{"metadata":{"title":"jwkRepresentation","symbolKind":"property","roleHeading":"Instance Property","externalID":"s:9CryptoKit4P521O12KeyAgreementO06PublicD0V17JSONWebAlgorithmsE17jwkRepresentation0gD03JWKVvp","extendedModule":"CryptoKit","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"}],"role":"symbol","modules":[{"relatedModules":["CryptoKit"],"name":"jose-swift"}]},"abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"code":"P521.KeyAgreement.PublicKey","type":"codeVoice"},{"type":"text","text":" instance."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/publickey\/jwkrepresentation"]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PublicKey\/jwkRepresentation","interfaceLanguage":"swift"},"sections":[],"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PublicKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations"]]},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"jwkRepresentation"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement/PublicKey/jwkRepresentation":{"title":"jwkRepresentation","kind":"symbol","abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"code":"P521.KeyAgreement.PublicKey","type":"codeVoice"},{"type":"text","text":" instance."}],"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/publickey\/jwkrepresentation","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PublicKey\/jwkRepresentation","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement":{"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement","type":"topic","title":"P521.KeyAgreement","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement/PublicKey/JWKRepresentable-Implementations":{"title":"JWKRepresentable Implementations","kind":"article","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/publickey\/jwkrepresentable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations","type":"topic","role":"collectionGroup"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521":{"url":"\/documentation\/jose_swift\/cryptokit\/p521","type":"topic","kind":"symbol","role":"symbol","abstract":[],"navigatorTitle":[{"text":"P521","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","title":"P521"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement/PublicKey":{"role":"symbol","type":"topic","title":"P521.KeyAgreement.PublicKey","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P521","preciseIdentifier":"s:9CryptoKit4P521O","kind":"identifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO","kind":"identifier","text":"KeyAgreement"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO06PublicD0V","text":"PublicKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PublicKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/publickey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p521/signing.json b/data/documentation/jose_swift/cryptokit/p521/signing.json new file mode 100644 index 0000000..e3b31db --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p521/signing.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"major":0,"patch":0},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PublicKey"],"title":"Extended Structures"}],"kind":"symbol","metadata":{"navigatorTitle":[{"text":"Signing","kind":"identifier"}],"role":"symbol","externalID":"s:e:s:e:s:9CryptoKit4P521O7SigningO10PrivateKeyV17JSONWebAlgorithmsE17jwkRepresentation0gF03JWKVvp","extendedModule":"CryptoKit","symbolKind":"extension","modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}],"roleHeading":"Extended Type","title":"P521.Signing"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521"]]},"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/p521\/signing"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521":{"url":"\/documentation\/jose_swift\/cryptokit\/p521","type":"topic","kind":"symbol","role":"symbol","abstract":[],"navigatorTitle":[{"text":"P521","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","title":"P521"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing/PrivateKey":{"url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing\/privatekey","type":"topic","kind":"symbol","role":"symbol","abstract":[],"fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"P521","preciseIdentifier":"s:9CryptoKit4P521O","kind":"identifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P521O7SigningO","text":"Signing","kind":"identifier"},{"kind":"text","text":"."},{"kind":"identifier","text":"PrivateKey","preciseIdentifier":"s:9CryptoKit4P521O7SigningO10PrivateKeyV"}],"navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PrivateKey","title":"P521.Signing.PrivateKey"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing/PublicKey":{"title":"P521.Signing.PublicKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing\/publickey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PublicKey","navigatorTitle":[{"kind":"identifier","text":"PublicKey"}],"type":"topic","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P521O","text":"P521"},{"text":".","kind":"text"},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9CryptoKit4P521O7SigningO"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P521O7SigningO9PublicKeyV","text":"PublicKey"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing":{"title":"P521.Signing","kind":"symbol","type":"topic","role":"symbol","abstract":[],"navigatorTitle":[{"text":"Signing","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing","url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p521/signing/privatekey.json b/data/documentation/jose_swift/cryptokit/p521/signing/privatekey.json new file mode 100644 index 0000000..1b1519b --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p521/signing/privatekey.json @@ -0,0 +1 @@ +{"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PrivateKey"},"metadata":{"symbolKind":"extension","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P521","preciseIdentifier":"s:9CryptoKit4P521O","kind":"identifier"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P521O7SigningO","text":"Signing"},{"kind":"text","text":"."},{"text":"PrivateKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P521O7SigningO10PrivateKeyV"}],"role":"symbol","navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"title":"P521.Signing.PrivateKey","extendedModule":"CryptoKit","roleHeading":"Extended Structure","externalID":"s:e:s:9CryptoKit4P521O7SigningO10PrivateKeyV17JSONWebAlgorithmsE17jwkRepresentation0gF03JWKVvp","modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}]},"relationshipsSections":[{"type":"conformsTo","title":"Conforms To","kind":"relationships","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable"]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing"]]},"schemaVersion":{"patch":0,"minor":3,"major":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit4P521O","text":"P521"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit4P521O7SigningO","text":"Signing"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P521O7SigningO10PrivateKeyV","text":"PrivateKey","kind":"typeIdentifier"}],"platforms":["macOS"],"languages":["swift"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p521\/signing\/privatekey"]}],"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PrivateKey\/JWKRepresentable-Implementations"],"generated":true,"title":"Default Implementations"}],"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing/PrivateKey/JWKRepresentable-Implementations":{"title":"JWKRepresentable Implementations","kind":"article","type":"topic","role":"collectionGroup","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PrivateKey\/JWKRepresentable-Implementations","url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing\/privatekey\/jwkrepresentable-implementations"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521":{"url":"\/documentation\/jose_swift\/cryptokit\/p521","type":"topic","kind":"symbol","role":"symbol","abstract":[],"navigatorTitle":[{"text":"P521","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","title":"P521"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing":{"title":"P521.Signing","kind":"symbol","type":"topic","role":"symbol","abstract":[],"navigatorTitle":[{"text":"Signing","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing","url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing/PrivateKey":{"url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing\/privatekey","type":"topic","kind":"symbol","role":"symbol","abstract":[],"fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"P521","preciseIdentifier":"s:9CryptoKit4P521O","kind":"identifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P521O7SigningO","text":"Signing","kind":"identifier"},{"kind":"text","text":"."},{"kind":"identifier","text":"PrivateKey","preciseIdentifier":"s:9CryptoKit4P521O7SigningO10PrivateKeyV"}],"navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PrivateKey","title":"P521.Signing.PrivateKey"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p521/signing/privatekey/jwkrepresentable-implementations.json b/data/documentation/jose_swift/cryptokit/p521/signing/privatekey/jwkrepresentable-implementations.json new file mode 100644 index 0000000..396cc4f --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p521/signing/privatekey/jwkrepresentable-implementations.json @@ -0,0 +1 @@ +{"kind":"article","topicSections":[{"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PrivateKey\/jwkRepresentation"],"generated":true}],"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PrivateKey\/JWKRepresentable-Implementations","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PrivateKey"]]},"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/p521\/signing\/privatekey\/jwkrepresentable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"title":"JWKRepresentable Implementations","modules":[{"name":"jose-swift"}],"role":"collectionGroup"},"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing/PrivateKey/jwkRepresentation":{"abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"code":"P521.KeyAgreement.PrivateKey","type":"codeVoice"},{"text":" instance.","type":"text"}],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PrivateKey\/jwkRepresentation","title":"jwkRepresentation","url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing\/privatekey\/jwkrepresentation","role":"symbol","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwkRepresentation"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521":{"url":"\/documentation\/jose_swift\/cryptokit\/p521","type":"topic","kind":"symbol","role":"symbol","abstract":[],"navigatorTitle":[{"text":"P521","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","title":"P521"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing":{"title":"P521.Signing","kind":"symbol","type":"topic","role":"symbol","abstract":[],"navigatorTitle":[{"text":"Signing","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing","url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing/PrivateKey":{"url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing\/privatekey","type":"topic","kind":"symbol","role":"symbol","abstract":[],"fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"P521","preciseIdentifier":"s:9CryptoKit4P521O","kind":"identifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P521O7SigningO","text":"Signing","kind":"identifier"},{"kind":"text","text":"."},{"kind":"identifier","text":"PrivateKey","preciseIdentifier":"s:9CryptoKit4P521O7SigningO10PrivateKeyV"}],"navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PrivateKey","title":"P521.Signing.PrivateKey"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p521/signing/privatekey/jwkrepresentation.json b/data/documentation/jose_swift/cryptokit/p521/signing/privatekey/jwkrepresentation.json new file mode 100644 index 0000000..dd5bd54 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p521/signing/privatekey/jwkrepresentation.json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"type":"codeVoice","code":"P521.KeyAgreement.PrivateKey"},{"type":"text","text":" instance."}],"schemaVersion":{"minor":3,"major":0,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PrivateKey\/JWKRepresentable-Implementations"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PrivateKey\/jwkRepresentation"},"metadata":{"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwkRepresentation"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"title":"jwkRepresentation","modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}],"roleHeading":"Instance Property","externalID":"s:9CryptoKit4P521O7SigningO10PrivateKeyV17JSONWebAlgorithmsE17jwkRepresentation0gF03JWKVvp","role":"symbol","extendedModule":"CryptoKit","symbolKind":"property"},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwkRepresentation"},{"kind":"text","text":": "},{"text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"platforms":["macOS"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p521\/signing\/privatekey\/jwkrepresentation"]}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P521":{"url":"\/documentation\/jose_swift\/cryptokit\/p521","type":"topic","kind":"symbol","role":"symbol","abstract":[],"navigatorTitle":[{"text":"P521","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","title":"P521"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing/PrivateKey/jwkRepresentation":{"abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"code":"P521.KeyAgreement.PrivateKey","type":"codeVoice"},{"text":" instance.","type":"text"}],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PrivateKey\/jwkRepresentation","title":"jwkRepresentation","url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing\/privatekey\/jwkrepresentation","role":"symbol","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwkRepresentation"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing/PrivateKey":{"url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing\/privatekey","type":"topic","kind":"symbol","role":"symbol","abstract":[],"fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"P521","preciseIdentifier":"s:9CryptoKit4P521O","kind":"identifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P521O7SigningO","text":"Signing","kind":"identifier"},{"kind":"text","text":"."},{"kind":"identifier","text":"PrivateKey","preciseIdentifier":"s:9CryptoKit4P521O7SigningO10PrivateKeyV"}],"navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PrivateKey","title":"P521.Signing.PrivateKey"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing":{"title":"P521.Signing","kind":"symbol","type":"topic","role":"symbol","abstract":[],"navigatorTitle":[{"text":"Signing","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing","url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"text":"RFC7517","type":"text"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing/PrivateKey/JWKRepresentable-Implementations":{"title":"JWKRepresentable Implementations","kind":"article","type":"topic","role":"collectionGroup","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PrivateKey\/JWKRepresentable-Implementations","url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing\/privatekey\/jwkrepresentable-implementations"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p521/signing/publickey.json b/data/documentation/jose_swift/cryptokit/p521/signing/publickey.json new file mode 100644 index 0000000..00538d1 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p521/signing/publickey.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PublicKey"},"schemaVersion":{"patch":0,"major":0,"minor":3},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P521","kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit4P521O"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit4P521O7SigningO","text":"Signing"},{"text":".","kind":"text"},{"text":"PublicKey","kind":"typeIdentifier","preciseIdentifier":"s:9CryptoKit4P521O7SigningO9PublicKeyV"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PublicKey\/JWKRepresentable-Implementations"],"generated":true,"title":"Default Implementations"}],"metadata":{"roleHeading":"Extended Structure","modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}],"symbolKind":"extension","externalID":"s:e:s:9CryptoKit4P521O7SigningO9PublicKeyV17JSONWebAlgorithmsE17jwkRepresentation0gF03JWKVvp","extendedModule":"CryptoKit","navigatorTitle":[{"kind":"identifier","text":"PublicKey"}],"title":"P521.Signing.PublicKey","role":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P521","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P521O"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P521O7SigningO","text":"Signing","kind":"identifier"},{"kind":"text","text":"."},{"text":"PublicKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P521O7SigningO9PublicKeyV"}]},"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing"]]},"variants":[{"paths":["\/documentation\/jose_swift\/cryptokit\/p521\/signing\/publickey"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"kind":"relationships","title":"Conforms To","type":"conformsTo","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable"]}],"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P521":{"url":"\/documentation\/jose_swift\/cryptokit\/p521","type":"topic","kind":"symbol","role":"symbol","abstract":[],"navigatorTitle":[{"text":"P521","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","title":"P521"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing":{"title":"P521.Signing","kind":"symbol","type":"topic","role":"symbol","abstract":[],"navigatorTitle":[{"text":"Signing","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing","url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing/PublicKey":{"title":"P521.Signing.PublicKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing\/publickey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PublicKey","navigatorTitle":[{"kind":"identifier","text":"PublicKey"}],"type":"topic","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P521O","text":"P521"},{"text":".","kind":"text"},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9CryptoKit4P521O7SigningO"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P521O7SigningO9PublicKeyV","text":"PublicKey"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing/PublicKey/JWKRepresentable-Implementations":{"url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing\/publickey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","abstract":[],"type":"topic","kind":"article","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PublicKey\/JWKRepresentable-Implementations"},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p521/signing/publickey/jwkrepresentable-implementations.json b/data/documentation/jose_swift/cryptokit/p521/signing/publickey/jwkrepresentable-implementations.json new file mode 100644 index 0000000..ef6bd0a --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p521/signing/publickey/jwkrepresentable-implementations.json @@ -0,0 +1 @@ +{"topicSections":[{"generated":true,"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PublicKey\/jwkRepresentation"]}],"kind":"article","sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PublicKey\/JWKRepresentable-Implementations","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"patch":0,"minor":3},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p521\/signing\/publickey\/jwkrepresentable-implementations"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PublicKey"]]},"metadata":{"modules":[{"name":"jose-swift"}],"role":"collectionGroup","title":"JWKRepresentable Implementations"},"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P521":{"url":"\/documentation\/jose_swift\/cryptokit\/p521","type":"topic","kind":"symbol","role":"symbol","abstract":[],"navigatorTitle":[{"text":"P521","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","title":"P521"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing/PublicKey/jwkRepresentation":{"title":"jwkRepresentation","kind":"symbol","abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"code":"P521.KeyAgreement.PublicKey","type":"codeVoice"},{"type":"text","text":" instance."}],"url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing\/publickey\/jwkrepresentation","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PublicKey\/jwkRepresentation","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwkRepresentation"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing":{"title":"P521.Signing","kind":"symbol","type":"topic","role":"symbol","abstract":[],"navigatorTitle":[{"text":"Signing","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing","url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing/PublicKey":{"title":"P521.Signing.PublicKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing\/publickey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PublicKey","navigatorTitle":[{"kind":"identifier","text":"PublicKey"}],"type":"topic","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P521O","text":"P521"},{"text":".","kind":"text"},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9CryptoKit4P521O7SigningO"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P521O7SigningO9PublicKeyV","text":"PublicKey"}],"role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/cryptokit/p521/signing/publickey/jwkrepresentation.json b/data/documentation/jose_swift/cryptokit/p521/signing/publickey/jwkrepresentation.json new file mode 100644 index 0000000..e82e804 --- /dev/null +++ b/data/documentation/jose_swift/cryptokit/p521/signing/publickey/jwkrepresentation.json @@ -0,0 +1 @@ +{"metadata":{"title":"jwkRepresentation","modules":[{"name":"jose-swift","relatedModules":["CryptoKit"]}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"symbolKind":"property","role":"symbol","extendedModule":"CryptoKit","roleHeading":"Instance Property","externalID":"s:9CryptoKit4P521O7SigningO9PublicKeyV17JSONWebAlgorithmsE17jwkRepresentation0gF03JWKVvp"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PublicKey\/jwkRepresentation"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwkRepresentation"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK","kind":"typeIdentifier"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/cryptokit\/p521\/signing\/publickey\/jwkrepresentation"]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PublicKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PublicKey\/JWKRepresentable-Implementations"]]},"sections":[],"kind":"symbol","abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"code":"P521.KeyAgreement.PublicKey","type":"codeVoice"},{"type":"text","text":" instance."}],"references":{"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing/PublicKey/jwkRepresentation":{"title":"jwkRepresentation","kind":"symbol","abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"code":"P521.KeyAgreement.PublicKey","type":"codeVoice"},{"type":"text","text":" instance."}],"url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing\/publickey\/jwkrepresentation","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PublicKey\/jwkRepresentation","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwkRepresentation"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing/PublicKey/JWKRepresentable-Implementations":{"url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing\/publickey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","abstract":[],"type":"topic","kind":"article","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PublicKey\/JWKRepresentable-Implementations"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521":{"url":"\/documentation\/jose_swift\/cryptokit\/p521","type":"topic","kind":"symbol","role":"symbol","abstract":[],"navigatorTitle":[{"text":"P521","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521","title":"P521"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing":{"title":"P521.Signing","kind":"symbol","type":"topic","role":"symbol","abstract":[],"navigatorTitle":[{"text":"Signing","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing","url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing/PublicKey":{"title":"P521.Signing.PublicKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing\/publickey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PublicKey","navigatorTitle":[{"kind":"identifier","text":"PublicKey"}],"type":"topic","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P521O","text":"P521"},{"text":".","kind":"text"},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9CryptoKit4P521O7SigningO"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P521O7SigningO9PublicKeyV","text":"PublicKey"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/CryptoKit":{"url":"\/documentation\/jose_swift\/cryptokit","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit","role":"collection","kind":"symbol","type":"topic","abstract":[],"title":"CryptoKit"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/curve448.json b/data/documentation/jose_swift/curve448.json new file mode 100644 index 0000000..7507c9c --- /dev/null +++ b/data/documentation/jose_swift/curve448.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"topicSections":[{"title":"Enumerations","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448"},"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","metadata":{"modules":[{"name":"jose-swift"}],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Curve448"}],"title":"Curve448","navigatorTitle":[{"text":"Curve448","kind":"identifier"}],"roleHeading":"Enumeration","externalID":"s:10JSONWebKey8Curve448O","role":"symbol","symbolKind":"enum"},"sections":[],"abstract":[{"text":"The Curve448 Elliptic Curve.","type":"text"}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Curve448"}],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/curve448"]}],"references":{"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement":{"role":"symbol","type":"topic","title":"Curve448.KeyAgreement","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyAgreement"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","kind":"symbol","url":"\/documentation\/jose_swift\/curve448\/keyagreement","abstract":[],"navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/Curve448":{"role":"symbol","type":"topic","title":"Curve448","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"Curve448","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","kind":"symbol","abstract":[{"text":"The Curve448 Elliptic Curve.","type":"text"}],"url":"\/documentation\/jose_swift\/curve448","navigatorTitle":[{"text":"Curve448","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/curve448/keyagreement.json b/data/documentation/jose_swift/curve448/keyagreement.json new file mode 100644 index 0000000..5030823 --- /dev/null +++ b/data/documentation/jose_swift/curve448/keyagreement.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448"]]},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey"],"title":"Structures"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement"},"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","sections":[],"metadata":{"title":"Curve448.KeyAgreement","navigatorTitle":[{"kind":"identifier","text":"KeyAgreement"}],"externalID":"s:10JSONWebKey8Curve448O0B9AgreementO","roleHeading":"Enumeration","extendedModule":"JSONWebKey","symbolKind":"enum","modules":[{"name":"jose-swift","relatedModules":["JSONWebKey"]}],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyAgreement"}],"role":"symbol"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyAgreement","kind":"identifier"}],"languages":["swift"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/curve448\/keyagreement"]}],"references":{"doc://jose-swift/documentation/jose_swift/Curve448":{"role":"symbol","type":"topic","title":"Curve448","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"Curve448","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","kind":"symbol","abstract":[{"text":"The Curve448 Elliptic Curve.","type":"text"}],"url":"\/documentation\/jose_swift\/curve448","navigatorTitle":[{"text":"Curve448","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement":{"role":"symbol","type":"topic","title":"Curve448.KeyAgreement","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyAgreement"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","kind":"symbol","url":"\/documentation\/jose_swift\/curve448\/keyagreement","abstract":[],"navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PublicKey":{"role":"symbol","type":"topic","title":"Curve448.KeyAgreement.PublicKey","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"PublicKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/curve448\/keyagreement\/publickey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PrivateKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey","url":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PrivateKey","kind":"identifier"}],"title":"Curve448.KeyAgreement.PrivateKey","kind":"symbol","abstract":[],"type":"topic","role":"symbol","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/curve448/keyagreement/privatekey.json b/data/documentation/jose_swift/curve448/keyagreement/privatekey.json new file mode 100644 index 0000000..92624f9 --- /dev/null +++ b/data/documentation/jose_swift/curve448/keyagreement/privatekey.json @@ -0,0 +1 @@ +{"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement"]]},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}],"role":"symbol","externalID":"s:10JSONWebKey8Curve448O0B9AgreementO07PrivateB0V","symbolKind":"struct","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"PrivateKey","kind":"identifier"}],"roleHeading":"Structure","modules":[{"name":"jose-swift"}],"title":"Curve448.KeyAgreement.PrivateKey"},"relationshipsSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable"],"kind":"relationships","type":"conformsTo","title":"Conforms To"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"PrivateKey"}],"platforms":["macOS"],"languages":["swift"]}]}],"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/init()","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/init(rawRepresentation:)"]},{"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/publicKey","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/rawRepresentation"]},{"title":"Instance Methods","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/sharedSecretFromKeyAgreement(with:)"]},{"title":"Default Implementations","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations"],"generated":true}],"references":{"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement":{"role":"symbol","type":"topic","title":"Curve448.KeyAgreement","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyAgreement"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","kind":"symbol","url":"\/documentation\/jose_swift\/curve448\/keyagreement","abstract":[],"navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PrivateKey/rawRepresentation":{"url":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/rawrepresentation","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/rawRepresentation","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"rawRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"}],"title":"rawRepresentation","kind":"symbol","abstract":[{"type":"text","text":"A data representation of the private key"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PrivateKey/publicKey":{"abstract":[{"type":"text","text":"Returns the associated X448 public key."}],"kind":"symbol","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"publicKey","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey8Curve448O","kind":"typeIdentifier","text":"Curve448"},{"text":".","kind":"text"},{"text":"KeyAgreement","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey8Curve448O0B9AgreementO"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey8Curve448O0B9AgreementO06PublicB0V","text":"PublicKey"}],"url":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/publickey","title":"publicKey","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/publicKey"},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PrivateKey/sharedSecretFromKeyAgreement(with:)":{"abstract":[{"type":"text","text":"Performs an elliptic curve Diffie-Hellmann key agreement over X448."}],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"sharedSecretFromKeyAgreement","kind":"identifier"},{"kind":"text","text":"("},{"text":"with","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey8Curve448O","text":"Curve448"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"KeyAgreement","preciseIdentifier":"s:10JSONWebKey8Curve448O0B9AgreementO"},{"text":".","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey8Curve448O0B9AgreementO06PublicB0V","text":"PublicKey","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"url":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/sharedsecretfromkeyagreement(with:)","title":"sharedSecretFromKeyAgreement(with:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/sharedSecretFromKeyAgreement(with:)"},"doc://jose-swift/documentation/jose_swift/Curve448":{"role":"symbol","type":"topic","title":"Curve448","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"Curve448","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","kind":"symbol","abstract":[{"text":"The Curve448 Elliptic Curve.","type":"text"}],"url":"\/documentation\/jose_swift\/curve448","navigatorTitle":[{"text":"Curve448","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PrivateKey/JWKRepresentable-Implementations":{"abstract":[],"kind":"article","role":"collectionGroup","url":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations"},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PrivateKey/init()":{"abstract":[{"text":"Generates a new X448 private key.","type":"text"}],"kind":"symbol","role":"symbol","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"()"}],"url":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/init()","title":"init()","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/init()"},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PrivateKey/init(rawRepresentation:)":{"abstract":[{"type":"text","text":"Initializes the key with data."}],"kind":"symbol","title":"init(rawRepresentation:)","url":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/init(rawrepresentation:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"rawRepresentation","kind":"externalParam"},{"text":": some ","kind":"text"},{"kind":"typeIdentifier","text":"ContiguousBytes","preciseIdentifier":"s:10Foundation15ContiguousBytesP"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/init(rawRepresentation:)","type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PrivateKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey","url":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PrivateKey","kind":"identifier"}],"title":"Curve448.KeyAgreement.PrivateKey","kind":"symbol","abstract":[],"type":"topic","role":"symbol","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/curve448/keyagreement/privatekey/init().json b/data/documentation/jose_swift/curve448/keyagreement/privatekey/init().json new file mode 100644 index 0000000..41cac97 --- /dev/null +++ b/data/documentation/jose_swift/curve448/keyagreement/privatekey/init().json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"init","kind":"keyword"},{"kind":"text","text":"()"}],"languages":["swift"]}]}],"abstract":[{"type":"text","text":"Generates a new X448 private key."}],"sections":[],"kind":"symbol","metadata":{"role":"symbol","externalID":"s:10JSONWebKey8Curve448O0B9AgreementO07PrivateB0VAGycfc","symbolKind":"init","fragments":[{"text":"init","kind":"identifier"},{"text":"()","kind":"text"}],"modules":[{"name":"jose-swift"}],"roleHeading":"Initializer","title":"init()"},"schemaVersion":{"minor":3,"patch":0,"major":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/init()"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/init()"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey"]]},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PrivateKey/init()":{"abstract":[{"text":"Generates a new X448 private key.","type":"text"}],"kind":"symbol","role":"symbol","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"()"}],"url":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/init()","title":"init()","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/init()"},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement":{"role":"symbol","type":"topic","title":"Curve448.KeyAgreement","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyAgreement"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","kind":"symbol","url":"\/documentation\/jose_swift\/curve448\/keyagreement","abstract":[],"navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448":{"role":"symbol","type":"topic","title":"Curve448","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"Curve448","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","kind":"symbol","abstract":[{"text":"The Curve448 Elliptic Curve.","type":"text"}],"url":"\/documentation\/jose_swift\/curve448","navigatorTitle":[{"text":"Curve448","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PrivateKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey","url":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PrivateKey","kind":"identifier"}],"title":"Curve448.KeyAgreement.PrivateKey","kind":"symbol","abstract":[],"type":"topic","role":"symbol","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/curve448/keyagreement/privatekey/init(rawrepresentation:).json b/data/documentation/jose_swift/curve448/keyagreement/privatekey/init(rawrepresentation:).json new file mode 100644 index 0000000..1a7cee5 --- /dev/null +++ b/data/documentation/jose_swift/curve448/keyagreement/privatekey/init(rawrepresentation:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"text":"rawRepresentation","kind":"externalParam"},{"kind":"text","text":": some "},{"text":"ContiguousBytes","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation15ContiguousBytesP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"content":[{"inlineContent":[{"text":"The 56-bytes representation of the private key.","type":"text"}],"type":"paragraph"}],"name":"data"}]}],"abstract":[{"text":"Initializes the key with data.","type":"text"}],"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey"]]},"metadata":{"title":"init(rawRepresentation:)","externalID":"s:10JSONWebKey8Curve448O0B9AgreementO07PrivateB0V17rawRepresentationAGx_tKc10Foundation15ContiguousBytesRzlufc","modules":[{"name":"jose-swift"}],"fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"rawRepresentation"},{"text":": some ","kind":"text"},{"text":"ContiguousBytes","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation15ContiguousBytesP"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"role":"symbol","roleHeading":"Initializer","symbolKind":"init"},"variants":[{"paths":["\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/init(rawrepresentation:)"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/init(rawRepresentation:)"},"references":{"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PrivateKey/init(rawRepresentation:)":{"abstract":[{"type":"text","text":"Initializes the key with data."}],"kind":"symbol","title":"init(rawRepresentation:)","url":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/init(rawrepresentation:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"rawRepresentation","kind":"externalParam"},{"text":": some ","kind":"text"},{"kind":"typeIdentifier","text":"ContiguousBytes","preciseIdentifier":"s:10Foundation15ContiguousBytesP"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/init(rawRepresentation:)","type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/Curve448":{"role":"symbol","type":"topic","title":"Curve448","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"Curve448","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","kind":"symbol","abstract":[{"text":"The Curve448 Elliptic Curve.","type":"text"}],"url":"\/documentation\/jose_swift\/curve448","navigatorTitle":[{"text":"Curve448","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement":{"role":"symbol","type":"topic","title":"Curve448.KeyAgreement","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyAgreement"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","kind":"symbol","url":"\/documentation\/jose_swift\/curve448\/keyagreement","abstract":[],"navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PrivateKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey","url":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PrivateKey","kind":"identifier"}],"title":"Curve448.KeyAgreement.PrivateKey","kind":"symbol","abstract":[],"type":"topic","role":"symbol","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/curve448/keyagreement/privatekey/jwkrepresentable-implementations.json b/data/documentation/jose_swift/curve448/keyagreement/privatekey/jwkrepresentable-implementations.json new file mode 100644 index 0000000..1350717 --- /dev/null +++ b/data/documentation/jose_swift/curve448/keyagreement/privatekey/jwkrepresentable-implementations.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey"]]},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/jwkRepresentation"],"generated":true,"title":"Instance Properties"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/jwkrepresentable-implementations"]}],"sections":[],"kind":"article","metadata":{"role":"collectionGroup","title":"JWKRepresentable Implementations","modules":[{"name":"jose-swift"}]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PrivateKey/jwkRepresentation":{"abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"type":"codeVoice","code":"Curve448.KeyAgreement.PrivateKey"},{"type":"text","text":" instance."}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"jwkRepresentation"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"}],"url":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/jwkrepresentation","kind":"symbol","title":"jwkRepresentation","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/jwkRepresentation"},"doc://jose-swift/documentation/jose_swift/Curve448":{"role":"symbol","type":"topic","title":"Curve448","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"Curve448","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","kind":"symbol","abstract":[{"text":"The Curve448 Elliptic Curve.","type":"text"}],"url":"\/documentation\/jose_swift\/curve448","navigatorTitle":[{"text":"Curve448","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement":{"role":"symbol","type":"topic","title":"Curve448.KeyAgreement","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyAgreement"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","kind":"symbol","url":"\/documentation\/jose_swift\/curve448\/keyagreement","abstract":[],"navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PrivateKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey","url":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PrivateKey","kind":"identifier"}],"title":"Curve448.KeyAgreement.PrivateKey","kind":"symbol","abstract":[],"type":"topic","role":"symbol","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/curve448/keyagreement/privatekey/jwkrepresentation.json b/data/documentation/jose_swift/curve448/keyagreement/privatekey/jwkrepresentation.json new file mode 100644 index 0000000..4b79dc3 --- /dev/null +++ b/data/documentation/jose_swift/curve448/keyagreement/privatekey/jwkrepresentation.json @@ -0,0 +1 @@ +{"metadata":{"roleHeading":"Instance Property","extendedModule":"JSONWebKey","title":"jwkRepresentation","externalID":"s:10JSONWebKey8Curve448O0B9AgreementO07PrivateB0V0A10AlgorithmsE17jwkRepresentationAA3JWKVvp","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"symbolKind":"property","modules":[{"relatedModules":["JSONWebKey"],"name":"jose-swift"}],"role":"symbol"},"sections":[],"abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"code":"Curve448.KeyAgreement.PrivateKey","type":"codeVoice"},{"text":" instance.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"languages":["swift"]}]}],"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/jwkRepresentation","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/jwkrepresentation"]}],"references":{"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement":{"role":"symbol","type":"topic","title":"Curve448.KeyAgreement","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyAgreement"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","kind":"symbol","url":"\/documentation\/jose_swift\/curve448\/keyagreement","abstract":[],"navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PrivateKey/jwkRepresentation":{"abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"type":"codeVoice","code":"Curve448.KeyAgreement.PrivateKey"},{"type":"text","text":" instance."}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"jwkRepresentation"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"}],"url":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/jwkrepresentation","kind":"symbol","title":"jwkRepresentation","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/jwkRepresentation"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/Curve448":{"role":"symbol","type":"topic","title":"Curve448","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"Curve448","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","kind":"symbol","abstract":[{"text":"The Curve448 Elliptic Curve.","type":"text"}],"url":"\/documentation\/jose_swift\/curve448","navigatorTitle":[{"text":"Curve448","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PrivateKey/JWKRepresentable-Implementations":{"abstract":[],"kind":"article","role":"collectionGroup","url":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations"},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PrivateKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey","url":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PrivateKey","kind":"identifier"}],"title":"Curve448.KeyAgreement.PrivateKey","kind":"symbol","abstract":[],"type":"topic","role":"symbol","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/curve448/keyagreement/privatekey/publickey.json b/data/documentation/jose_swift/curve448/keyagreement/privatekey/publickey.json new file mode 100644 index 0000000..b29167a --- /dev/null +++ b/data/documentation/jose_swift/curve448/keyagreement/privatekey/publickey.json @@ -0,0 +1 @@ +{"kind":"symbol","abstract":[{"type":"text","text":"Returns the associated X448 public key."}],"schemaVersion":{"major":0,"patch":0,"minor":3},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/publicKey","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"publicKey"},{"kind":"text","text":": "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","preciseIdentifier":"s:10JSONWebKey8Curve448O","kind":"typeIdentifier","text":"Curve448"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"KeyAgreement","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","preciseIdentifier":"s:10JSONWebKey8Curve448O0B9AgreementO"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey","text":"PublicKey","preciseIdentifier":"s:10JSONWebKey8Curve448O0B9AgreementO06PublicB0V"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}]}],"kind":"declarations"},{"kind":"content","content":[{"text":"Return Value","level":2,"type":"heading","anchor":"return-value"},{"inlineContent":[{"type":"text","text":"The public key"}],"type":"paragraph"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey"]]},"variants":[{"paths":["\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/publickey"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"title":"publicKey","symbolKind":"property","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"publicKey","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey8Curve448O","text":"Curve448","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey8Curve448O0B9AgreementO","kind":"typeIdentifier","text":"KeyAgreement"},{"kind":"text","text":"."},{"text":"PublicKey","preciseIdentifier":"s:10JSONWebKey8Curve448O0B9AgreementO06PublicB0V","kind":"typeIdentifier"}],"modules":[{"name":"jose-swift"}],"externalID":"s:10JSONWebKey8Curve448O0B9AgreementO07PrivateB0V06publicB0AE06PublicB0Vvp","role":"symbol","roleHeading":"Instance Property"},"references":{"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement":{"role":"symbol","type":"topic","title":"Curve448.KeyAgreement","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyAgreement"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","kind":"symbol","url":"\/documentation\/jose_swift\/curve448\/keyagreement","abstract":[],"navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448":{"role":"symbol","type":"topic","title":"Curve448","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"Curve448","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","kind":"symbol","abstract":[{"text":"The Curve448 Elliptic Curve.","type":"text"}],"url":"\/documentation\/jose_swift\/curve448","navigatorTitle":[{"text":"Curve448","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PrivateKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey","url":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PrivateKey","kind":"identifier"}],"title":"Curve448.KeyAgreement.PrivateKey","kind":"symbol","abstract":[],"type":"topic","role":"symbol","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PrivateKey/publicKey":{"abstract":[{"type":"text","text":"Returns the associated X448 public key."}],"kind":"symbol","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"publicKey","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey8Curve448O","kind":"typeIdentifier","text":"Curve448"},{"text":".","kind":"text"},{"text":"KeyAgreement","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey8Curve448O0B9AgreementO"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey8Curve448O0B9AgreementO06PublicB0V","text":"PublicKey"}],"url":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/publickey","title":"publicKey","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/publicKey"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PublicKey":{"role":"symbol","type":"topic","title":"Curve448.KeyAgreement.PublicKey","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"PublicKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/curve448\/keyagreement\/publickey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/curve448/keyagreement/privatekey/rawrepresentation.json b/data/documentation/jose_swift/curve448/keyagreement/privatekey/rawrepresentation.json new file mode 100644 index 0000000..025318c --- /dev/null +++ b/data/documentation/jose_swift/curve448/keyagreement/privatekey/rawrepresentation.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/rawrepresentation"]}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/rawRepresentation"},"metadata":{"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"rawRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"}],"roleHeading":"Instance Property","title":"rawRepresentation","modules":[{"name":"jose-swift"}],"symbolKind":"property","role":"symbol","externalID":"s:10JSONWebKey8Curve448O0B9AgreementO07PrivateB0V17rawRepresentation10Foundation4DataVvp"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey"]]},"abstract":[{"type":"text","text":"A data representation of the private key"}],"schemaVersion":{"minor":3,"patch":0,"major":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"rawRepresentation","kind":"identifier"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"languages":["swift"]}]}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PrivateKey/rawRepresentation":{"url":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/rawrepresentation","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/rawRepresentation","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"rawRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"}],"title":"rawRepresentation","kind":"symbol","abstract":[{"type":"text","text":"A data representation of the private key"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement":{"role":"symbol","type":"topic","title":"Curve448.KeyAgreement","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyAgreement"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","kind":"symbol","url":"\/documentation\/jose_swift\/curve448\/keyagreement","abstract":[],"navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448":{"role":"symbol","type":"topic","title":"Curve448","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"Curve448","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","kind":"symbol","abstract":[{"text":"The Curve448 Elliptic Curve.","type":"text"}],"url":"\/documentation\/jose_swift\/curve448","navigatorTitle":[{"text":"Curve448","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PrivateKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey","url":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PrivateKey","kind":"identifier"}],"title":"Curve448.KeyAgreement.PrivateKey","kind":"symbol","abstract":[],"type":"topic","role":"symbol","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/curve448/keyagreement/privatekey/sharedsecretfromkeyagreement(with:).json b/data/documentation/jose_swift/curve448/keyagreement/privatekey/sharedsecretfromkeyagreement(with:).json new file mode 100644 index 0000000..e078be8 --- /dev/null +++ b/data/documentation/jose_swift/curve448/keyagreement/privatekey/sharedsecretfromkeyagreement(with:).json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/sharedSecretFromKeyAgreement(with:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Performs an elliptic curve Diffie-Hellmann key agreement over X448."}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey"]]},"sections":[],"metadata":{"title":"sharedSecretFromKeyAgreement(with:)","symbolKind":"method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"sharedSecretFromKeyAgreement"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"with"},{"kind":"text","text":": "},{"text":"Curve448","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey8Curve448O"},{"kind":"text","text":"."},{"text":"KeyAgreement","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey8Curve448O0B9AgreementO"},{"kind":"text","text":"."},{"text":"PublicKey","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey8Curve448O0B9AgreementO06PublicB0V"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"}],"modules":[{"name":"jose-swift"}],"role":"symbol","roleHeading":"Instance Method","externalID":"s:10JSONWebKey8Curve448O0B9AgreementO07PrivateB0V016sharedSecretFrombD04with10Foundation4DataVAE06PublicB0V_tKF"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"sharedSecretFromKeyAgreement","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"with"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"publicKeyShare"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey8Curve448O","text":"Curve448","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448"},{"text":".","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey8Curve448O0B9AgreementO","text":"KeyAgreement","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","kind":"typeIdentifier"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"PublicKey","preciseIdentifier":"s:10JSONWebKey8Curve448O0B9AgreementO06PublicB0V","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"languages":["swift"]}],"kind":"declarations"},{"parameters":[{"content":[{"type":"paragraph","inlineContent":[{"text":"The public key share to perform the key agreement with.","type":"text"}]}],"name":"publicKeyShare"}],"kind":"parameters"},{"content":[{"text":"Return Value","type":"heading","level":2,"anchor":"return-value"},{"inlineContent":[{"text":"The shared secret","type":"text"}],"type":"paragraph"}],"kind":"content"},{"content":[{"type":"heading","text":"Discussion","level":2,"anchor":"discussion"},{"style":"note","content":[{"inlineContent":[{"type":"text","text":"Throws if the operation failed to be performed."}],"type":"paragraph"}],"type":"aside","name":"Throws"}],"kind":"content"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/sharedsecretfromkeyagreement(with:)"]}],"references":{"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement":{"role":"symbol","type":"topic","title":"Curve448.KeyAgreement","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyAgreement"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","kind":"symbol","url":"\/documentation\/jose_swift\/curve448\/keyagreement","abstract":[],"navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/Curve448":{"role":"symbol","type":"topic","title":"Curve448","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"Curve448","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","kind":"symbol","abstract":[{"text":"The Curve448 Elliptic Curve.","type":"text"}],"url":"\/documentation\/jose_swift\/curve448","navigatorTitle":[{"text":"Curve448","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PublicKey":{"role":"symbol","type":"topic","title":"Curve448.KeyAgreement.PublicKey","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"PublicKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/curve448\/keyagreement\/publickey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PrivateKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey","url":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PrivateKey","kind":"identifier"}],"title":"Curve448.KeyAgreement.PrivateKey","kind":"symbol","abstract":[],"type":"topic","role":"symbol","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PrivateKey/sharedSecretFromKeyAgreement(with:)":{"abstract":[{"type":"text","text":"Performs an elliptic curve Diffie-Hellmann key agreement over X448."}],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"sharedSecretFromKeyAgreement","kind":"identifier"},{"kind":"text","text":"("},{"text":"with","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey8Curve448O","text":"Curve448"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"KeyAgreement","preciseIdentifier":"s:10JSONWebKey8Curve448O0B9AgreementO"},{"text":".","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey8Curve448O0B9AgreementO06PublicB0V","text":"PublicKey","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"url":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/sharedsecretfromkeyagreement(with:)","title":"sharedSecretFromKeyAgreement(with:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey\/sharedSecretFromKeyAgreement(with:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/curve448/keyagreement/publickey.json b/data/documentation/jose_swift/curve448/keyagreement/publickey.json new file mode 100644 index 0000000..9522dbb --- /dev/null +++ b/data/documentation/jose_swift/curve448/keyagreement/publickey.json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":3,"patch":0},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey\/init(rawRepresentation:)"],"title":"Initializers"},{"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey\/rawRepresentation"]},{"generated":true,"title":"Default Implementations","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations"]}],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey"},"metadata":{"role":"symbol","externalID":"s:10JSONWebKey8Curve448O0B9AgreementO06PublicB0V","title":"Curve448.KeyAgreement.PublicKey","modules":[{"name":"jose-swift"}],"navigatorTitle":[{"text":"PublicKey","kind":"identifier"}],"roleHeading":"Structure","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PublicKey","kind":"identifier"}],"symbolKind":"struct"},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/curve448\/keyagreement\/publickey"]}],"relationshipsSections":[{"title":"Conforms To","kind":"relationships","type":"conformsTo","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"PublicKey"}],"languages":["swift"]}]}],"references":{"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PublicKey/rawRepresentation":{"kind":"symbol","role":"symbol","title":"rawRepresentation","url":"\/documentation\/jose_swift\/curve448\/keyagreement\/publickey\/rawrepresentation","type":"topic","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"rawRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"abstract":[{"text":"A data representation of the public key","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey\/rawRepresentation"},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/Curve448":{"role":"symbol","type":"topic","title":"Curve448","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"Curve448","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","kind":"symbol","abstract":[{"text":"The Curve448 Elliptic Curve.","type":"text"}],"url":"\/documentation\/jose_swift\/curve448","navigatorTitle":[{"text":"Curve448","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PublicKey":{"role":"symbol","type":"topic","title":"Curve448.KeyAgreement.PublicKey","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"PublicKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/curve448\/keyagreement\/publickey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PublicKey/JWKRepresentable-Implementations":{"kind":"article","title":"JWKRepresentable Implementations","abstract":[],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations","url":"\/documentation\/jose_swift\/curve448\/keyagreement\/publickey\/jwkrepresentable-implementations","role":"collectionGroup"},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PublicKey/init(rawRepresentation:)":{"role":"symbol","type":"topic","title":"init(rawRepresentation:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"rawRepresentation","kind":"externalParam"},{"kind":"text","text":": some "},{"preciseIdentifier":"s:10Foundation15ContiguousBytesP","text":"ContiguousBytes","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey\/init(rawRepresentation:)","kind":"symbol","url":"\/documentation\/jose_swift\/curve448\/keyagreement\/publickey\/init(rawrepresentation:)","abstract":[{"type":"text","text":"Initializes a Curve448 Key for Key Agreement."}]},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement":{"role":"symbol","type":"topic","title":"Curve448.KeyAgreement","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyAgreement"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","kind":"symbol","url":"\/documentation\/jose_swift\/curve448\/keyagreement","abstract":[],"navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/curve448/keyagreement/publickey/init(rawrepresentation:).json b/data/documentation/jose_swift/curve448/keyagreement/publickey/init(rawrepresentation:).json new file mode 100644 index 0000000..c15b598 --- /dev/null +++ b/data/documentation/jose_swift/curve448/keyagreement/publickey/init(rawrepresentation:).json @@ -0,0 +1 @@ +{"kind":"symbol","variants":[{"paths":["\/documentation\/jose_swift\/curve448\/keyagreement\/publickey\/init(rawrepresentation:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"role":"symbol","title":"init(rawRepresentation:)","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"rawRepresentation","kind":"externalParam"},{"kind":"text","text":": some "},{"preciseIdentifier":"s:10Foundation15ContiguousBytesP","text":"ContiguousBytes","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"modules":[{"name":"jose-swift"}],"symbolKind":"init","roleHeading":"Initializer","externalID":"s:10JSONWebKey8Curve448O0B9AgreementO06PublicB0V17rawRepresentationAGx_tKc10Foundation15ContiguousBytesRzlufc"},"schemaVersion":{"minor":3,"patch":0,"major":0},"abstract":[{"type":"text","text":"Initializes a Curve448 Key for Key Agreement."}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey\/init(rawRepresentation:)","interfaceLanguage":"swift"},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"text":"rawRepresentation","kind":"externalParam"},{"kind":"text","text":": some "},{"preciseIdentifier":"s:10Foundation15ContiguousBytesP","text":"ContiguousBytes","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"rawRepresentation","content":[{"inlineContent":[{"text":"The data representation of the key","type":"text"}],"type":"paragraph"}]}]},{"kind":"content","content":[{"text":"Return Value","type":"heading","anchor":"return-value","level":2},{"inlineContent":[{"text":"An initialized key if the data is valid.","type":"text"}],"type":"paragraph"}]},{"kind":"content","content":[{"anchor":"discussion","type":"heading","text":"Discussion","level":2},{"style":"note","type":"aside","name":"Throws","content":[{"type":"paragraph","inlineContent":[{"text":"Throws if the data is not a valid key.","type":"text"}]}]}]}],"references":{"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PublicKey":{"role":"symbol","type":"topic","title":"Curve448.KeyAgreement.PublicKey","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"PublicKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/curve448\/keyagreement\/publickey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement":{"role":"symbol","type":"topic","title":"Curve448.KeyAgreement","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyAgreement"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","kind":"symbol","url":"\/documentation\/jose_swift\/curve448\/keyagreement","abstract":[],"navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/Curve448":{"role":"symbol","type":"topic","title":"Curve448","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"Curve448","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","kind":"symbol","abstract":[{"text":"The Curve448 Elliptic Curve.","type":"text"}],"url":"\/documentation\/jose_swift\/curve448","navigatorTitle":[{"text":"Curve448","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PublicKey/init(rawRepresentation:)":{"role":"symbol","type":"topic","title":"init(rawRepresentation:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"rawRepresentation","kind":"externalParam"},{"kind":"text","text":": some "},{"preciseIdentifier":"s:10Foundation15ContiguousBytesP","text":"ContiguousBytes","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey\/init(rawRepresentation:)","kind":"symbol","url":"\/documentation\/jose_swift\/curve448\/keyagreement\/publickey\/init(rawrepresentation:)","abstract":[{"type":"text","text":"Initializes a Curve448 Key for Key Agreement."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/curve448/keyagreement/publickey/jwkrepresentable-implementations.json b/data/documentation/jose_swift/curve448/keyagreement/publickey/jwkrepresentable-implementations.json new file mode 100644 index 0000000..ff7d6bb --- /dev/null +++ b/data/documentation/jose_swift/curve448/keyagreement/publickey/jwkrepresentable-implementations.json @@ -0,0 +1 @@ +{"kind":"article","topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey\/jwkRepresentation"],"title":"Instance Properties","generated":true}],"schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/curve448\/keyagreement\/publickey\/jwkrepresentable-implementations"]}],"metadata":{"role":"collectionGroup","title":"JWKRepresentable Implementations","modules":[{"name":"jose-swift"}]},"references":{"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PublicKey":{"role":"symbol","type":"topic","title":"Curve448.KeyAgreement.PublicKey","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"PublicKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/curve448\/keyagreement\/publickey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement":{"role":"symbol","type":"topic","title":"Curve448.KeyAgreement","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyAgreement"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","kind":"symbol","url":"\/documentation\/jose_swift\/curve448\/keyagreement","abstract":[],"navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448":{"role":"symbol","type":"topic","title":"Curve448","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"Curve448","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","kind":"symbol","abstract":[{"text":"The Curve448 Elliptic Curve.","type":"text"}],"url":"\/documentation\/jose_swift\/curve448","navigatorTitle":[{"text":"Curve448","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PublicKey/jwkRepresentation":{"title":"jwkRepresentation","kind":"symbol","url":"\/documentation\/jose_swift\/curve448\/keyagreement\/publickey\/jwkrepresentation","type":"topic","abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"type":"codeVoice","code":"Curve448.KeyAgreement.PublicKey"},{"text":" instance.","type":"text"}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey\/jwkRepresentation","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/curve448/keyagreement/publickey/jwkrepresentation.json b/data/documentation/jose_swift/curve448/keyagreement/publickey/jwkrepresentation.json new file mode 100644 index 0000000..d9ee4ba --- /dev/null +++ b/data/documentation/jose_swift/curve448/keyagreement/publickey/jwkrepresentation.json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"type":"codeVoice","code":"Curve448.KeyAgreement.PublicKey"},{"text":" instance.","type":"text"}],"schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey\/jwkRepresentation"},"metadata":{"symbolKind":"property","roleHeading":"Instance Property","role":"symbol","externalID":"s:10JSONWebKey8Curve448O0B9AgreementO06PublicB0V0A10AlgorithmsE17jwkRepresentationAA3JWKVvp","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwkRepresentation"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"}],"modules":[{"relatedModules":["JSONWebKey"],"name":"jose-swift"}],"title":"jwkRepresentation","extendedModule":"JSONWebKey"},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"jwkRepresentation"},{"text":": ","kind":"text"},{"text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"platforms":["macOS"],"languages":["swift"]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/curve448\/keyagreement\/publickey\/jwkrepresentation"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PublicKey/JWKRepresentable-Implementations":{"kind":"article","title":"JWKRepresentable Implementations","abstract":[],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations","url":"\/documentation\/jose_swift\/curve448\/keyagreement\/publickey\/jwkrepresentable-implementations","role":"collectionGroup"},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PublicKey":{"role":"symbol","type":"topic","title":"Curve448.KeyAgreement.PublicKey","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"PublicKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/curve448\/keyagreement\/publickey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement":{"role":"symbol","type":"topic","title":"Curve448.KeyAgreement","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyAgreement"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","kind":"symbol","url":"\/documentation\/jose_swift\/curve448\/keyagreement","abstract":[],"navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PublicKey/jwkRepresentation":{"title":"jwkRepresentation","kind":"symbol","url":"\/documentation\/jose_swift\/curve448\/keyagreement\/publickey\/jwkrepresentation","type":"topic","abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"type":"codeVoice","code":"Curve448.KeyAgreement.PublicKey"},{"text":" instance.","type":"text"}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey\/jwkRepresentation","role":"symbol"},"doc://jose-swift/documentation/jose_swift/Curve448":{"role":"symbol","type":"topic","title":"Curve448","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"Curve448","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","kind":"symbol","abstract":[{"text":"The Curve448 Elliptic Curve.","type":"text"}],"url":"\/documentation\/jose_swift\/curve448","navigatorTitle":[{"text":"Curve448","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/curve448/keyagreement/publickey/rawrepresentation.json b/data/documentation/jose_swift/curve448/keyagreement/publickey/rawrepresentation.json new file mode 100644 index 0000000..b226b1c --- /dev/null +++ b/data/documentation/jose_swift/curve448/keyagreement/publickey/rawrepresentation.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey\/rawRepresentation","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"modules":[{"name":"jose-swift"}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"rawRepresentation","kind":"identifier"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"role":"symbol","externalID":"s:10JSONWebKey8Curve448O0B9AgreementO06PublicB0V17rawRepresentation10Foundation4DataVvp","title":"rawRepresentation","symbolKind":"property","roleHeading":"Instance Property"},"kind":"symbol","sections":[],"abstract":[{"type":"text","text":"A data representation of the public key"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"rawRepresentation"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"languages":["swift"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/curve448\/keyagreement\/publickey\/rawrepresentation"]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement":{"role":"symbol","type":"topic","title":"Curve448.KeyAgreement","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyAgreement"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement","kind":"symbol","url":"\/documentation\/jose_swift\/curve448\/keyagreement","abstract":[],"navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PublicKey":{"role":"symbol","type":"topic","title":"Curve448.KeyAgreement.PublicKey","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"PublicKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/curve448\/keyagreement\/publickey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PublicKey/rawRepresentation":{"kind":"symbol","role":"symbol","title":"rawRepresentation","url":"\/documentation\/jose_swift\/curve448\/keyagreement\/publickey\/rawrepresentation","type":"topic","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"rawRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"abstract":[{"text":"A data representation of the public key","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey\/rawRepresentation"},"doc://jose-swift/documentation/jose_swift/Curve448":{"role":"symbol","type":"topic","title":"Curve448","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"Curve448","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448","kind":"symbol","abstract":[{"text":"The Curve448 Elliptic Curve.","type":"text"}],"url":"\/documentation\/jose_swift\/curve448","navigatorTitle":[{"text":"Curve448","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl.json b/data/documentation/jose_swift/defaultjweheaderimpl.json new file mode 100644 index 0000000..a4c372f --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl.json @@ -0,0 +1 @@ +{"metadata":{"externalID":"s:17JSONWebEncryption20DefaultJWEHeaderImplV","symbolKind":"struct","modules":[{"name":"jose-swift"}],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","role":"symbol","roleHeading":"Structure"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"languages":["swift"]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"},"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"code":"JWERegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process.","type":"text"}],"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-70326"],"title":"Initializers"},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/agreementPartyUInfo","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/agreementPartyVInfo","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/authenticationTag","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/compressionAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/contentType","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/critical","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/encodingAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/ephemeralPublicKey","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/initializationVector","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/jwk","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/jwkSetURL","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/keyID","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/keyManagementAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/pbes2SaltCount","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/pbes2SaltInput","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/senderKeyID","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/type","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/x509CertificateChain","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/x509CertificateSHA1Thumbprint","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/x509CertificateSHA256Thumbprint","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/x509URL"],"title":"Instance Properties"},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/Decodable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/Encodable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/JWERegisteredFieldsHeader-Implementations"],"title":"Default Implementations","generated":true}],"relationshipsSections":[{"title":"Conforms To","type":"conformsTo","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","doc:\/\/jose-swift\/Se","doc:\/\/jose-swift\/SE"],"kind":"relationships"}],"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/initializationVector":{"abstract":[{"type":"text","text":"The Initialization Vector (IV) used in certain encryption algorithms to provide additional randomness."},{"type":"text","text":" "},{"text":"IVs are critical for ensuring that the same plaintext encrypts differently each time.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/initializationVector","type":"topic","title":"initializationVector","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/initializationvector","role":"symbol","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"initializationVector"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}]},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/JWERegisteredFieldsHeader-Implementations":{"abstract":[],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/JWERegisteredFieldsHeader-Implementations","title":"JWERegisteredFieldsHeader Implementations","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/jweregisteredfieldsheader-implementations","role":"collectionGroup","kind":"article"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/authenticationTag":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/authenticationTag","title":"authenticationTag","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/authenticationtag","kind":"symbol","abstract":[{"type":"text","text":"The authentication tag, which is used to verify the integrity and authenticity of a message in authenticated encryption."},{"text":" ","type":"text"},{"text":"It’s essential for detecting data tampering.","type":"text"}],"role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"authenticationTag","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"type":"topic"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/Encodable-Implementations":{"abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/Encodable-Implementations","type":"topic","title":"Encodable Implementations","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/encodable-implementations","role":"collectionGroup","kind":"article"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/x509CertificateSHA256Thumbprint":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/x509CertificateSHA256Thumbprint","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"x509CertificateSHA256Thumbprint","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/x509certificatesha256thumbprint","abstract":[{"type":"text","text":"Base64URL-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate."}],"kind":"symbol","title":"x509CertificateSHA256Thumbprint"},"doc://jose-swift/Se":{"title":"Swift.Decodable","type":"unresolvable","identifier":"doc:\/\/jose-swift\/Se"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/x509CertificateSHA1Thumbprint":{"abstract":[{"type":"text","text":"Base64URL-encoded SHA-1 thumbprint of the DER encoding of an X.509 certificate, used for key identification."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/x509CertificateSHA1Thumbprint","type":"topic","title":"x509CertificateSHA1Thumbprint","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/x509certificatesha1thumbprint","role":"symbol","kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"x509CertificateSHA1Thumbprint"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?"}]},"doc://jose-swift/SE":{"type":"unresolvable","identifier":"doc:\/\/jose-swift\/SE","title":"Swift.Encodable"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/pbes2SaltCount":{"title":"pbes2SaltCount","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/pbes2SaltCount","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"pbes2SaltCount","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"kind":"symbol","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/pbes2saltcount","abstract":[{"type":"text","text":"The iteration count for the PBES2 salt input, determining how many times the password is hashed during the key derivation process."},{"type":"text","text":" "},{"type":"text","text":"Higher counts provide better security but require more computational resources."}],"type":"topic"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/x509CertificateChain":{"title":"x509CertificateChain","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/x509CertificateChain","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"x509CertificateChain"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?","kind":"text"}],"kind":"symbol","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/x509certificatechain","abstract":[{"type":"text","text":"X.509 public key certificate or certificate chain in string format."}],"type":"topic"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/contentType":{"title":"contentType","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/contentType","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"contentType"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"kind":"symbol","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/contenttype","abstract":[{"type":"text","text":"Media type of the complete JWE, describing the payload content type."}],"type":"topic"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/pbes2SaltInput":{"role":"symbol","title":"pbes2SaltInput","abstract":[{"text":"PBES2 (Password-Based Encryption Scheme 2) salt input, used in key derivation functions.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"The salt ensures that the same password generates different encryption keys each time."}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/pbes2saltinput","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"pbes2SaltInput","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/pbes2SaltInput","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-70326":{"title":"init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-70326","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keyManagementAlgorithm"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","kind":"typeIdentifier","text":"KeyManagementAlgorithm"},{"text":"?, ","kind":"text"},{"text":"encodingAlgorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","text":"ContentEncryptionAlgorithm","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"compressionAlgorithm","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO","text":"ContentCompressionAlgorithm"},{"kind":"text","text":"?, "},{"text":"keyID","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"text":"jwkSetURL","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"jwk","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"x509URL","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"x509CertificateChain","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"x509CertificateSHA1Thumbprint","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"x509CertificateSHA256Thumbprint"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"type"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"text":"contentType","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"text":"critical","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"ephemeralPublicKey","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"text":"agreementPartyUInfo","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"agreementPartyVInfo","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"text":"authenticationTag","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"pbes2SaltInput","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"pbes2SaltCount","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"senderKeyId","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?)"}],"kind":"symbol","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-8izc9","abstract":[{"type":"text","text":"Initializes a new "},{"type":"codeVoice","code":"DefaultJWSHeaderImpl"},{"type":"text","text":" instance with optional parameters for each field."}],"type":"topic"},"doc://jose-swift/documentation/jose_swift/JWARegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWARegisteredFieldsHeader","kind":"identifier"}],"title":"JWARegisteredFieldsHeader","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/jwaregisteredfieldsheader","type":"topic","navigatorTitle":[{"kind":"identifier","text":"JWARegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader","abstract":[{"code":"JWARegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":" is a protocol that defines a set of fields commonly used in JSON Web Algorithms (JWA)."},{"type":"text","text":" "},{"text":"These fields are typically used in cryptographic operations such as key agreement or key derivation.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/type":{"abstract":[{"text":"Type of the token, typically used to declare a MIME type.","type":"text"}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"type","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/type","kind":"symbol","title":"type","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/type"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/jwk":{"abstract":[{"type":"text","text":"JSON Web Key representing the key used to encrypt or validate the JWE payload."}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwk","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/jwk","kind":"symbol","title":"jwk","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/jwk"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/keyManagementAlgorithm":{"abstract":[{"text":"The algorithm used for key management in the JWE process.","type":"text"}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"keyManagementAlgorithm","kind":"identifier"},{"text":": ","kind":"text"},{"text":"KeyManagementAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO"},{"text":"?","kind":"text"}],"kind":"symbol","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/keymanagementalgorithm","title":"keyManagementAlgorithm","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/keyManagementAlgorithm"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/Decodable-Implementations":{"abstract":[],"type":"topic","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/decodable-implementations","kind":"article","title":"Decodable Implementations","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/Decodable-Implementations"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/compressionAlgorithm":{"abstract":[{"type":"text","text":"The compression algorithm used, if any, for compressing the payload before encryption."}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"compressionAlgorithm","kind":"identifier"},{"text":": ","kind":"text"},{"text":"ContentCompressionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO"},{"kind":"text","text":"?"}],"kind":"symbol","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/compressionalgorithm","title":"compressionAlgorithm","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/compressionAlgorithm"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/x509URL":{"abstract":[{"text":"URL pointing to an X.509 public key certificate or certificate chain.","type":"text"}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"x509URL","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/x509url","kind":"symbol","title":"x509URL","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/x509URL"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/senderKeyID":{"abstract":[{"type":"text","text":"Key ID of the sender’s key, used in the "},{"type":"codeVoice","code":"ECDH-1PU"},{"text":" key agreement algorithm.","type":"text"}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"senderKeyID","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"kind":"symbol","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/senderkeyid","title":"senderKeyID","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/senderKeyID"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/keyID":{"abstract":[{"text":"Identifier for the key used in the JWE process, facilitating key selection.","type":"text"}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"keyID","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/keyid","kind":"symbol","title":"keyID","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/keyID"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/jwkSetURL":{"abstract":[{"text":"URL pointing to a set of JSON-encoded public keys for key discovery.","type":"text"}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwkSetURL","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"kind":"symbol","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/jwkseturl","title":"jwkSetURL","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/jwkSetURL"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/agreementPartyVInfo":{"abstract":[{"text":"PartyVInfo (Voucher Information) data, used in key agreement protocols alongside PartyUInfo.","type":"text"},{"text":" ","type":"text"},{"text":"It also provides additional context or information during key derivation.","type":"text"}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"agreementPartyVInfo","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/agreementpartyvinfo","kind":"symbol","title":"agreementPartyVInfo","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/agreementPartyVInfo"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/encodingAlgorithm":{"abstract":[{"type":"text","text":"The algorithm used for encoding the content in the JWE process."}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encodingAlgorithm","kind":"identifier"},{"text":": ","kind":"text"},{"text":"ContentEncryptionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO"},{"kind":"text","text":"?"}],"kind":"symbol","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/encodingalgorithm","title":"encodingAlgorithm","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/encodingAlgorithm"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/ephemeralPublicKey":{"abstract":[{"text":"The ephemeral public key, often used in key agreement protocols.","type":"text"},{"type":"text","text":" "},{"text":"This key is typically short-lived and used for a single session or transaction.","type":"text"}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ephemeralPublicKey","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/ephemeralpublickey","kind":"symbol","title":"ephemeralPublicKey","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/ephemeralPublicKey"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/critical":{"abstract":[{"text":"List of critical headers that must be understood and processed.","type":"text"}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"critical","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"kind":"symbol","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/critical","title":"critical","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/critical"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/agreementPartyUInfo":{"abstract":[{"text":"PartyUInfo (User Information) data, used in key agreement protocols to provide additional context or information.","type":"text"},{"type":"text","text":" "},{"text":"This data is typically combined with the ephemeral public key during key derivation.","type":"text"}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"agreementPartyUInfo","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/agreementpartyuinfo","kind":"symbol","title":"agreementPartyUInfo","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/agreementPartyUInfo"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/agreementpartyuinfo.json b/data/documentation/jose_swift/defaultjweheaderimpl/agreementpartyuinfo.json new file mode 100644 index 0000000..7d5790f --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/agreementpartyuinfo.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"agreementPartyUInfo","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?","kind":"text"}]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/agreementPartyUInfo"},"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"title":"agreementPartyUInfo","roleHeading":"Instance Property","symbolKind":"property","modules":[{"name":"jose-swift"}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"agreementPartyUInfo"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"externalID":"s:17JSONWebEncryption20DefaultJWEHeaderImplV19agreementPartyUInfo10Foundation4DataVSgvp","role":"symbol"},"abstract":[{"text":"PartyUInfo (User Information) data, used in key agreement protocols to provide additional context or information.","type":"text"},{"type":"text","text":" "},{"text":"This data is typically combined with the ephemeral public key during key derivation.","type":"text"}],"variants":[{"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/agreementpartyuinfo"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/agreementPartyUInfo":{"abstract":[{"text":"PartyUInfo (User Information) data, used in key agreement protocols to provide additional context or information.","type":"text"},{"type":"text","text":" "},{"text":"This data is typically combined with the ephemeral public key during key derivation.","type":"text"}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"agreementPartyUInfo","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/agreementpartyuinfo","kind":"symbol","title":"agreementPartyUInfo","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/agreementPartyUInfo"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/agreementpartyvinfo.json b/data/documentation/jose_swift/defaultjweheaderimpl/agreementpartyvinfo.json new file mode 100644 index 0000000..5a3d314 --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/agreementpartyvinfo.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/agreementPartyVInfo","interfaceLanguage":"swift"},"kind":"symbol","sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"role":"symbol","modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","title":"agreementPartyVInfo","symbolKind":"property","externalID":"s:17JSONWebEncryption20DefaultJWEHeaderImplV19agreementPartyVInfo10Foundation4DataVSgvp","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"agreementPartyVInfo","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"?"}]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"agreementPartyVInfo"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"abstract":[{"type":"text","text":"PartyVInfo (Voucher Information) data, used in key agreement protocols alongside PartyUInfo."},{"type":"text","text":" "},{"text":"It also provides additional context or information during key derivation.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/agreementpartyvinfo"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"]]},"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/agreementPartyVInfo":{"abstract":[{"text":"PartyVInfo (Voucher Information) data, used in key agreement protocols alongside PartyUInfo.","type":"text"},{"text":" ","type":"text"},{"text":"It also provides additional context or information during key derivation.","type":"text"}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"agreementPartyVInfo","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/agreementpartyvinfo","kind":"symbol","title":"agreementPartyVInfo","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/agreementPartyVInfo"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/authenticationtag.json b/data/documentation/jose_swift/defaultjweheaderimpl/authenticationtag.json new file mode 100644 index 0000000..89440e9 --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/authenticationtag.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/authenticationTag","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"patch":0,"major":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/authenticationtag"]}],"metadata":{"role":"symbol","roleHeading":"Instance Property","externalID":"s:17JSONWebEncryption20DefaultJWEHeaderImplV17authenticationTag10Foundation4DataVSgvp","title":"authenticationTag","modules":[{"name":"jose-swift"}],"symbolKind":"property","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"authenticationTag"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?"}]},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"]]},"kind":"symbol","abstract":[{"type":"text","text":"The authentication tag, which is used to verify the integrity and authenticity of a message in authenticated encryption."},{"type":"text","text":" "},{"text":"It’s essential for detecting data tampering.","type":"text"}],"sections":[],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"authenticationTag","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"languages":["swift"]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/authenticationTag":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/authenticationTag","title":"authenticationTag","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/authenticationtag","kind":"symbol","abstract":[{"type":"text","text":"The authentication tag, which is used to verify the integrity and authenticity of a message in authenticated encryption."},{"text":" ","type":"text"},{"text":"It’s essential for detecting data tampering.","type":"text"}],"role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"authenticationTag","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"type":"topic"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/compressionalgorithm.json b/data/documentation/jose_swift/defaultjweheaderimpl/compressionalgorithm.json new file mode 100644 index 0000000..7230fa1 --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/compressionalgorithm.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"]]},"abstract":[{"type":"text","text":"The compression algorithm used, if any, for compressing the payload before encryption."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"compressionAlgorithm"},{"kind":"text","text":": "},{"preciseIdentifier":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO","kind":"typeIdentifier","text":"ContentCompressionAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm"},{"text":"?","kind":"text"}],"languages":["swift"]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/compressionAlgorithm"},"metadata":{"symbolKind":"property","modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebEncryption20DefaultJWEHeaderImplV20compressionAlgorithm0A10Algorithms018ContentCompressionG0OSgvp","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"compressionAlgorithm","kind":"identifier"},{"text":": ","kind":"text"},{"text":"ContentCompressionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO"},{"kind":"text","text":"?"}],"roleHeading":"Instance Property","title":"compressionAlgorithm","role":"symbol"},"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","variants":[{"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/compressionalgorithm"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm":{"url":"\/documentation\/jose_swift\/contentcompressionalgorithm","title":"ContentCompressionAlgorithm","abstract":[{"code":"ContentCompressionAlgorithm","type":"codeVoice"},{"text":" is an enumeration representing the supported content compression algorithms.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","navigatorTitle":[{"text":"ContentCompressionAlgorithm","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ContentCompressionAlgorithm","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/compressionAlgorithm":{"abstract":[{"type":"text","text":"The compression algorithm used, if any, for compressing the payload before encryption."}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"compressionAlgorithm","kind":"identifier"},{"text":": ","kind":"text"},{"text":"ContentCompressionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO"},{"kind":"text","text":"?"}],"kind":"symbol","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/compressionalgorithm","title":"compressionAlgorithm","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/compressionAlgorithm"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/contenttype.json b/data/documentation/jose_swift/defaultjweheaderimpl/contenttype.json new file mode 100644 index 0000000..7ac35dc --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/contenttype.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/contentType","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"contentType","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"languages":["swift"]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/contenttype"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"]]},"metadata":{"title":"contentType","symbolKind":"property","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"contentType","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebEncryption20DefaultJWEHeaderImplV11contentTypeSSSgvp","role":"symbol","roleHeading":"Instance Property"},"abstract":[{"text":"Media type of the complete JWE, describing the payload content type.","type":"text"}],"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/contentType":{"title":"contentType","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/contentType","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"contentType"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"kind":"symbol","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/contenttype","abstract":[{"type":"text","text":"Media type of the complete JWE, describing the payload content type."}],"type":"topic"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/critical.json b/data/documentation/jose_swift/defaultjweheaderimpl/critical.json new file mode 100644 index 0000000..c8f1c99 --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/critical.json @@ -0,0 +1 @@ +{"abstract":[{"text":"List of critical headers that must be understood and processed.","type":"text"}],"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/critical","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/critical"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"]]},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"critical"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"metadata":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"critical","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"roleHeading":"Instance Property","role":"symbol","title":"critical","modules":[{"name":"jose-swift"}],"symbolKind":"property","externalID":"s:17JSONWebEncryption20DefaultJWEHeaderImplV8criticalSSSgvp"},"kind":"symbol","sections":[],"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/critical":{"abstract":[{"text":"List of critical headers that must be understood and processed.","type":"text"}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"critical","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"kind":"symbol","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/critical","title":"critical","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/critical"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/decodable-implementations.json b/data/documentation/jose_swift/defaultjweheaderimpl/decodable-implementations.json new file mode 100644 index 0000000..cb2c81d --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/decodable-implementations.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/Decodable-Implementations","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/decodable-implementations"]}],"kind":"article","sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"]]},"metadata":{"modules":[{"name":"jose-swift"}],"role":"collectionGroup","title":"Decodable Implementations"},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/init(from:)-1kybm","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/init(from:)-5clf3"],"generated":true}],"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/init(from:)-1kybm":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/init(from:)-1kybm","title":"init(from:)","role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7DecoderP","kind":"typeIdentifier","text":"Decoder"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/init(from:)-1kybm","abstract":[]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/init(from:)-5clf3":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/init(from:)-5clf3","abstract":[],"role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":")","kind":"text"}],"kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/init(from:)-5clf3","title":"init(from:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/encodable-implementations.json b/data/documentation/jose_swift/defaultjweheaderimpl/encodable-implementations.json new file mode 100644 index 0000000..29540c9 --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/encodable-implementations.json @@ -0,0 +1 @@ +{"kind":"article","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"]]},"metadata":{"title":"Encodable Implementations","modules":[{"name":"jose-swift"}],"role":"collectionGroup"},"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/encodable-implementations"]}],"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/encode(to:)"],"generated":true,"title":"Instance Methods"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/Encodable-Implementations","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/encode(to:)":{"abstract":[],"type":"topic","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7EncoderP","kind":"typeIdentifier","text":"Encoder"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/encode(to:)","kind":"symbol","title":"encode(to:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/encode(to:)"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/encode(to:).json b/data/documentation/jose_swift/defaultjweheaderimpl/encode(to:).json new file mode 100644 index 0000000..3b23314 --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/encode(to:).json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/encode(to:)"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/Encodable-Implementations"]]},"sections":[],"abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"Encodable.encode(to:)"},{"type":"text","text":"."}],"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/encode(to:)","interfaceLanguage":"swift"},"metadata":{"modules":[{"name":"jose-swift","relatedModules":["JSONWebEncryption"]}],"roleHeading":"Instance Method","extendedModule":"JSONWebEncryption","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7EncoderP","text":"Encoder","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"symbolKind":"method","externalID":"s:17JSONWebEncryption20DefaultJWEHeaderImplV6encode2toys7Encoder_p_tKF","title":"encode(to:)","role":"symbol"},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"to"},{"kind":"text","text":" "},{"kind":"internalParam","text":"encoder"},{"kind":"text","text":": "},{"text":"Encoder","kind":"typeIdentifier","preciseIdentifier":"s:s7EncoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/Encodable-Implementations":{"abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/Encodable-Implementations","type":"topic","title":"Encodable Implementations","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/encodable-implementations","role":"collectionGroup","kind":"article"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/encode(to:)":{"abstract":[],"type":"topic","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7EncoderP","kind":"typeIdentifier","text":"Encoder"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/encode(to:)","kind":"symbol","title":"encode(to:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/encode(to:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/encodingalgorithm.json b/data/documentation/jose_swift/defaultjweheaderimpl/encodingalgorithm.json new file mode 100644 index 0000000..7cf2094 --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/encodingalgorithm.json @@ -0,0 +1 @@ +{"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/encodingalgorithm"]}],"metadata":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"encodingAlgorithm","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"ContentEncryptionAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO"},{"text":"?","kind":"text"}],"title":"encodingAlgorithm","externalID":"s:17JSONWebEncryption20DefaultJWEHeaderImplV17encodingAlgorithm0A10Algorithms07ContentbG0OSgvp","role":"symbol","roleHeading":"Instance Property","modules":[{"name":"jose-swift"}],"symbolKind":"property"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/encodingAlgorithm","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encodingAlgorithm","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","text":"ContentEncryptionAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO"},{"kind":"text","text":"?"}],"languages":["swift"]}]}],"abstract":[{"type":"text","text":"The algorithm used for encoding the content in the JWE process."}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/encodingAlgorithm":{"abstract":[{"type":"text","text":"The algorithm used for encoding the content in the JWE process."}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encodingAlgorithm","kind":"identifier"},{"text":": ","kind":"text"},{"text":"ContentEncryptionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO"},{"kind":"text","text":"?"}],"kind":"symbol","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/encodingalgorithm","title":"encodingAlgorithm","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/encodingAlgorithm"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/ephemeralpublickey.json b/data/documentation/jose_swift/defaultjweheaderimpl/ephemeralpublickey.json new file mode 100644 index 0000000..614d00c --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/ephemeralpublickey.json @@ -0,0 +1 @@ +{"metadata":{"title":"ephemeralPublicKey","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"ephemeralPublicKey"},{"text":": ","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"modules":[{"name":"jose-swift"}],"role":"symbol","externalID":"s:17JSONWebEncryption20DefaultJWEHeaderImplV18ephemeralPublicKey0aH03JWKVSgvp","roleHeading":"Instance Property","symbolKind":"property"},"abstract":[{"type":"text","text":"The ephemeral public key, often used in key agreement protocols."},{"type":"text","text":" "},{"text":"This key is typically short-lived and used for a single session or transaction.","type":"text"}],"kind":"symbol","variants":[{"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/ephemeralpublickey"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"ephemeralPublicKey","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"schemaVersion":{"patch":0,"minor":3,"major":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/ephemeralPublicKey"},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"]]},"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/ephemeralPublicKey":{"abstract":[{"text":"The ephemeral public key, often used in key agreement protocols.","type":"text"},{"type":"text","text":" "},{"text":"This key is typically short-lived and used for a single session or transaction.","type":"text"}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ephemeralPublicKey","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/ephemeralpublickey","kind":"symbol","title":"ephemeralPublicKey","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/ephemeralPublicKey"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"text":"RFC7517","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/init(from:)-1kybm.json b/data/documentation/jose_swift/defaultjweheaderimpl/init(from:)-1kybm.json new file mode 100644 index 0000000..bfb784e --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/init(from:)-1kybm.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/Decodable-Implementations"]]},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"init","kind":"keyword"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":" "},{"kind":"internalParam","text":"decoder"},{"kind":"text","text":": "},{"text":"Decoder","preciseIdentifier":"s:s7DecoderP","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/init(from:)-1kybm"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","abstract":[{"type":"text","text":"Inherited from "},{"code":"Decodable.init(from:)","type":"codeVoice"},{"text":".","type":"text"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/init(from:)-1kybm","interfaceLanguage":"swift"},"metadata":{"fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP","text":"Decoder"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"extendedModule":"JSONWebEncryption","symbolKind":"init","externalID":"s:17JSONWebEncryption20DefaultJWEHeaderImplV4fromACs7Decoder_p_tKcfc","title":"init(from:)","role":"symbol","roleHeading":"Initializer","modules":[{"relatedModules":["JSONWebEncryption"],"name":"jose-swift"}]},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/Decodable-Implementations":{"abstract":[],"type":"topic","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/decodable-implementations","kind":"article","title":"Decodable Implementations","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/Decodable-Implementations"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/init(from:)-1kybm":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/init(from:)-1kybm","title":"init(from:)","role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7DecoderP","kind":"typeIdentifier","text":"Decoder"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/init(from:)-1kybm","abstract":[]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/init(from:)-5clf3.json b/data/documentation/jose_swift/defaultjweheaderimpl/init(from:)-5clf3.json new file mode 100644 index 0000000..60dbaac --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/init(from:)-5clf3.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":")","kind":"text"}],"languages":["swift"]}],"kind":"declarations"}],"sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"abstract":[{"type":"text","text":"Inherited from "},{"code":"Decodable.init(from:)","type":"codeVoice"},{"type":"text","text":"."}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/init(from:)-5clf3"},"metadata":{"fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":")"}],"externalID":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderPAAE4fromx0A3Key3JWKV_tcfc::SYNTHESIZED::s:17JSONWebEncryption20DefaultJWEHeaderImplV","modules":[{"name":"jose-swift","relatedModules":["JSONWebEncryption"]}],"role":"symbol","extendedModule":"JSONWebEncryption","symbolKind":"init","title":"init(from:)","roleHeading":"Initializer"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/init(from:)-5clf3"]}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/Decodable-Implementations"]]},"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/init(from:)-5clf3":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/init(from:)-5clf3","abstract":[],"role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":")","kind":"text"}],"kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/init(from:)-5clf3","title":"init(from:)"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"text":"RFC7517","type":"text"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/Decodable-Implementations":{"abstract":[],"type":"topic","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/decodable-implementations","kind":"article","title":"Decodable Implementations","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/Decodable-Implementations"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-80pr.json b/data/documentation/jose_swift/defaultjweheaderimpl/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-80pr.json new file mode 100644 index 0000000..1d3da09 --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-80pr.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/JWERegisteredFieldsHeader-Implementations"]]},"sections":[],"abstract":[{"type":"text","text":"Initializes a new header with the specified parameters."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"text":"keyManagementAlgorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","text":"KeyManagementAlgorithm","kind":"typeIdentifier"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"encodingAlgorithm"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","text":"ContentEncryptionAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"compressionAlgorithm"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO","kind":"typeIdentifier","text":"ContentCompressionAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm"},{"kind":"text","text":"? = nil, "},{"text":"keyID","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"text":"jwkSetURL","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":"? = nil, "},{"text":"jwk","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"x509URL"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"text":"x509CertificateChain","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"? = nil, ","kind":"text"},{"text":"x509CertificateSHA1Thumbprint","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"? = nil, "},{"text":"x509CertificateSHA256Thumbprint","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"type"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"contentType"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"? = nil, "},{"text":"critical","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"ephemeralPublicKey"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"? = nil, "},{"text":"agreementPartyUInfo","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"text":"agreementPartyVInfo","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"initializationVector"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"authenticationTag"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"? = nil, "},{"text":"pbes2SaltInput","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"pbes2SaltCount"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"? = nil, ","kind":"text"},{"text":"senderKeyId","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"? = nil)","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Algorithm used for key management."}]}],"name":"keyManagementAlgorithm"},{"name":"encodingAlgorithm","content":[{"inlineContent":[{"type":"text","text":"Algorithm used for content encryption."}],"type":"paragraph"}]},{"name":"compressionAlgorithm","content":[{"inlineContent":[{"type":"text","text":"Optional compression algorithm."}],"type":"paragraph"}]},{"name":"keyID","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional identifier for the key."}]}]},{"name":"jwkSetURL","content":[{"inlineContent":[{"type":"text","text":"Optional URL for the JSON Web Key Set."}],"type":"paragraph"}]},{"name":"jwk","content":[{"inlineContent":[{"type":"text","text":"Optional JSON Web Key."}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional URL for X.509 public key certificate."}]}],"name":"x509URL"},{"name":"x509CertificateChain","content":[{"inlineContent":[{"type":"text","text":"Optional X.509 certificate chain."}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional SHA-1 thumbprint of X.509 certificate."}]}],"name":"x509CertificateSHA1Thumbprint"},{"content":[{"inlineContent":[{"type":"text","text":"Optional SHA-256 thumbprint of X.509 certificate."}],"type":"paragraph"}],"name":"x509CertificateSHA256Thumbprint"},{"name":"type","content":[{"inlineContent":[{"type":"text","text":"Optional type of the token."}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"Optional content type of the JWE.","type":"text"}]}],"name":"contentType"},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional list of critical headers."}]}],"name":"critical"},{"name":"senderKeyId","content":[{"inlineContent":[{"text":"Optional Key ID of the sender’s key.","type":"text"}],"type":"paragraph"}]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-80pr"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-35aqb"},"metadata":{"fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"keyManagementAlgorithm"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","text":"KeyManagementAlgorithm","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"encodingAlgorithm","kind":"externalParam"},{"kind":"text","text":": "},{"text":"ContentEncryptionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"compressionAlgorithm"},{"text":": ","kind":"text"},{"text":"ContentCompressionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO"},{"text":"?, ","kind":"text"},{"text":"keyID","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"jwkSetURL","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"jwk"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"kind":"text","text":"?, "},{"text":"x509URL","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"x509CertificateChain"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"x509CertificateSHA1Thumbprint"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"x509CertificateSHA256Thumbprint"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"type"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"contentType"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"critical","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"text":"ephemeralPublicKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"agreementPartyUInfo"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"agreementPartyVInfo"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"initializationVector"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"authenticationTag"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"pbes2SaltInput","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"pbes2SaltCount"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"senderKeyId"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?)","kind":"text"}],"externalID":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderPAAE22keyManagementAlgorithm08encodingH0011compressionH00F2ID9jwkSetURL0L004x509N00O16CertificateChain0oP14SHA1Thumbprint0op6SHA256S04type11contentType8critical18ephemeralPublicKey19agreementPartyUInfo19agreementPartyVInfo20initializationVector17authenticationTag14pbes2SaltInput14pbes2SaltCount11senderKeyIdx0A10Algorithms03KeygH0OSg_AY07ContentbH0OSgAY018ContentCompressionH0OSgSSSgA7_0A3Key3JWKVSgA7_A7_A7_A7_A7_A7_A7_A11_10Foundation4DataVSgA15_A15_A15_A15_A15_A7_tcfc::SYNTHESIZED::s:17JSONWebEncryption20DefaultJWEHeaderImplV","modules":[{"name":"jose-swift","relatedModules":["JSONWebEncryption"]}],"title":"init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)","role":"symbol","symbolKind":"init","extendedModule":"JSONWebEncryption","roleHeading":"Initializer"},"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-35aqb":{"fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"keyManagementAlgorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"KeyManagementAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"encodingAlgorithm"},{"kind":"text","text":": "},{"text":"ContentEncryptionAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"compressionAlgorithm"},{"kind":"text","text":": "},{"text":"ContentCompressionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO"},{"kind":"text","text":"?, "},{"text":"keyID","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"jwkSetURL","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"jwk","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"x509URL","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"x509CertificateChain"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"x509CertificateSHA1Thumbprint","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"x509CertificateSHA256Thumbprint"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"type"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"contentType"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"critical","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"ephemeralPublicKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"agreementPartyUInfo","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"agreementPartyVInfo","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"initializationVector"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"text":"authenticationTag","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"pbes2SaltInput"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"pbes2SaltCount"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"senderKeyId"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?)"}],"title":"init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)","role":"symbol","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-80pr","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-35aqb","abstract":[{"type":"text","text":"Initializes a new header with the specified parameters."}],"kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm":{"url":"\/documentation\/jose_swift\/contentcompressionalgorithm","title":"ContentCompressionAlgorithm","abstract":[{"code":"ContentCompressionAlgorithm","type":"codeVoice"},{"text":" is an enumeration representing the supported content compression algorithms.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","navigatorTitle":[{"text":"ContentCompressionAlgorithm","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ContentCompressionAlgorithm","kind":"identifier"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/JWERegisteredFieldsHeader-Implementations":{"abstract":[],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/JWERegisteredFieldsHeader-Implementations","title":"JWERegisteredFieldsHeader Implementations","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/jweregisteredfieldsheader-implementations","role":"collectionGroup","kind":"article"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-8izc9.json b/data/documentation/jose_swift/defaultjweheaderimpl/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-8izc9.json new file mode 100644 index 0000000..2a28baa --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-8izc9.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"init","kind":"keyword"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keyManagementAlgorithm"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","text":"KeyManagementAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"encodingAlgorithm"},{"kind":"text","text":": "},{"text":"ContentEncryptionAlgorithm","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO"},{"text":"?, ","kind":"text"},{"text":"compressionAlgorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"ContentCompressionAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"keyID","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"jwkSetURL","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"jwk","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"x509URL"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"text":"x509CertificateChain","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"x509CertificateSHA1Thumbprint","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"x509CertificateSHA256Thumbprint"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"type"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"contentType"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"critical","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"ephemeralPublicKey"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"agreementPartyUInfo"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"agreementPartyVInfo"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"initializationVector"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"text":"authenticationTag","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"pbes2SaltInput"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"?, "},{"text":"pbes2SaltCount","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"text":"senderKeyId","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?)","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}]},{"parameters":[{"content":[{"type":"paragraph","inlineContent":[{"text":"The signing algorithm to be used (optional).","type":"text"}]}],"name":"algorithm"},{"name":"keyID","content":[{"inlineContent":[{"text":"The Key ID hint (optional).","type":"text"}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The URL for a set of JSON-encoded public keys (optional)."}]}],"name":"jwkSetURL"},{"name":"jwk","content":[{"type":"paragraph","inlineContent":[{"text":"The JSON Web Key (optional).","type":"text"}]}]},{"content":[{"inlineContent":[{"type":"text","text":"The URL for the X.509 public key certificate or certificate chain (optional)."}],"type":"paragraph"}],"name":"x509URL"},{"content":[{"inlineContent":[{"type":"text","text":"The X.509 public key certificate or certificate chain (optional)."}],"type":"paragraph"}],"name":"x509CertificateChain"},{"name":"x509CertificateSHA1Thumbprint","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The SHA-1 thumbprint of the X.509 certificate (optional)."}]}]},{"content":[{"inlineContent":[{"type":"text","text":"The SHA-256 thumbprint of the X.509 certificate (optional)."}],"type":"paragraph"}],"name":"x509CertificateSHA256Thumbprint"},{"name":"type","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The type of token (optional)."}]}]},{"name":"contentType","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The media type of the complete JWS (optional)."}]}]},{"name":"critical","content":[{"inlineContent":[{"type":"text","text":"Indications of extensions that must be understood and processed (optional)."}],"type":"paragraph"}]}],"kind":"parameters"}],"kind":"symbol","abstract":[{"text":"Initializes a new ","type":"text"},{"type":"codeVoice","code":"DefaultJWSHeaderImpl"},{"text":" instance with optional parameters for each field.","type":"text"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-70326"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-8izc9"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"metadata":{"modules":[{"name":"jose-swift"}],"title":"init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)","externalID":"s:17JSONWebEncryption20DefaultJWEHeaderImplV22keyManagementAlgorithm08encodingH0011compressionH00F2ID9jwkSetURL0L004x509N00O16CertificateChain0oP14SHA1Thumbprint0op6SHA256S04type11contentType8critical18ephemeralPublicKey19agreementPartyUInfo19agreementPartyVInfo20initializationVector17authenticationTag14pbes2SaltInput14pbes2SaltCount11senderKeyIdAC0A10Algorithms03KeygH0OSg_AY07ContentbH0OSgAY018ContentCompressionH0OSgSSSgA7_0A3Key3JWKVSgA7_A7_A7_A7_A7_A7_A7_A11_10Foundation4DataVSgA15_A15_A15_A15_A15_A7_tcfc","symbolKind":"init","role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"keyManagementAlgorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"KeyManagementAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"encodingAlgorithm"},{"kind":"text","text":": "},{"text":"ContentEncryptionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO"},{"text":"?, ","kind":"text"},{"text":"compressionAlgorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO","text":"ContentCompressionAlgorithm","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"keyID"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"jwkSetURL","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"jwk"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"x509URL","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"x509CertificateChain","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"x509CertificateSHA1Thumbprint","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?, ","kind":"text"},{"text":"x509CertificateSHA256Thumbprint","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"type","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"contentType"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"critical"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"ephemeralPublicKey"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"agreementPartyUInfo","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"text":"agreementPartyVInfo","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"initializationVector","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"authenticationTag"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"pbes2SaltInput","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"text":"pbes2SaltCount","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"senderKeyId"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?)"}],"roleHeading":"Initializer"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"]]},"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-70326":{"title":"init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-70326","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keyManagementAlgorithm"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","kind":"typeIdentifier","text":"KeyManagementAlgorithm"},{"text":"?, ","kind":"text"},{"text":"encodingAlgorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","text":"ContentEncryptionAlgorithm","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"compressionAlgorithm","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO","text":"ContentCompressionAlgorithm"},{"kind":"text","text":"?, "},{"text":"keyID","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"text":"jwkSetURL","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"jwk","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"x509URL","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"x509CertificateChain","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"x509CertificateSHA1Thumbprint","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"x509CertificateSHA256Thumbprint"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"type"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"text":"contentType","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"text":"critical","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"ephemeralPublicKey","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"text":"agreementPartyUInfo","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"agreementPartyVInfo","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"text":"authenticationTag","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"pbes2SaltInput","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"pbes2SaltCount","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"senderKeyId","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?)"}],"kind":"symbol","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-8izc9","abstract":[{"type":"text","text":"Initializes a new "},{"type":"codeVoice","code":"DefaultJWSHeaderImpl"},{"type":"text","text":" instance with optional parameters for each field."}],"type":"topic"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm":{"url":"\/documentation\/jose_swift\/contentcompressionalgorithm","title":"ContentCompressionAlgorithm","abstract":[{"code":"ContentCompressionAlgorithm","type":"codeVoice"},{"text":" is an enumeration representing the supported content compression algorithms.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","navigatorTitle":[{"text":"ContentCompressionAlgorithm","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ContentCompressionAlgorithm","kind":"identifier"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}]},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/initializationvector.json b/data/documentation/jose_swift/defaultjweheaderimpl/initializationvector.json new file mode 100644 index 0000000..3671357 --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/initializationvector.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"initializationVector","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"languages":["swift"]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/initializationVector","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"]]},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/initializationvector"]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"metadata":{"title":"initializationVector","roleHeading":"Instance Property","externalID":"s:17JSONWebEncryption20DefaultJWEHeaderImplV20initializationVector10Foundation4DataVSgvp","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"initializationVector","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"role":"symbol","symbolKind":"property"},"abstract":[{"text":"The Initialization Vector (IV) used in certain encryption algorithms to provide additional randomness.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"IVs are critical for ensuring that the same plaintext encrypts differently each time."}],"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/initializationVector":{"abstract":[{"type":"text","text":"The Initialization Vector (IV) used in certain encryption algorithms to provide additional randomness."},{"type":"text","text":" "},{"text":"IVs are critical for ensuring that the same plaintext encrypts differently each time.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/initializationVector","type":"topic","title":"initializationVector","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/initializationvector","role":"symbol","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"initializationVector"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/jweregisteredfieldsheader-implementations.json b/data/documentation/jose_swift/defaultjweheaderimpl/jweregisteredfieldsheader-implementations.json new file mode 100644 index 0000000..17d382e --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/jweregisteredfieldsheader-implementations.json @@ -0,0 +1 @@ +{"kind":"article","schemaVersion":{"major":0,"patch":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-35aqb"],"generated":true}],"metadata":{"title":"JWERegisteredFieldsHeader Implementations","modules":[{"name":"jose-swift"}],"role":"collectionGroup"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/JWERegisteredFieldsHeader-Implementations","interfaceLanguage":"swift"},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/jweregisteredfieldsheader-implementations"]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-35aqb":{"fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"keyManagementAlgorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"KeyManagementAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"encodingAlgorithm"},{"kind":"text","text":": "},{"text":"ContentEncryptionAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"compressionAlgorithm"},{"kind":"text","text":": "},{"text":"ContentCompressionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO"},{"kind":"text","text":"?, "},{"text":"keyID","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"jwkSetURL","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"jwk","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"x509URL","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"x509CertificateChain"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"x509CertificateSHA1Thumbprint","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"x509CertificateSHA256Thumbprint"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"type"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"contentType"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"critical","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"ephemeralPublicKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"agreementPartyUInfo","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"agreementPartyVInfo","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"initializationVector"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"text":"authenticationTag","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"pbes2SaltInput"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"pbes2SaltCount"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"senderKeyId"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?)"}],"title":"init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)","role":"symbol","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-80pr","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-35aqb","abstract":[{"type":"text","text":"Initializes a new header with the specified parameters."}],"kind":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/jwk.json b/data/documentation/jose_swift/defaultjweheaderimpl/jwk.json new file mode 100644 index 0000000..7e209ae --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/jwk.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/jwk"]}],"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/jwk","interfaceLanguage":"swift"},"metadata":{"role":"symbol","title":"jwk","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwk"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?","kind":"text"}],"symbolKind":"property","roleHeading":"Instance Property","externalID":"s:17JSONWebEncryption20DefaultJWEHeaderImplV3jwk0A3Key3JWKVSgvp"},"sections":[],"abstract":[{"type":"text","text":"JSON Web Key representing the key used to encrypt or validate the JWE payload."}],"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"jwk","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"kind":"text","text":"?"}],"platforms":["macOS"]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"text":"RFC7517","type":"text"}]},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/jwk":{"abstract":[{"type":"text","text":"JSON Web Key representing the key used to encrypt or validate the JWE payload."}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwk","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/jwk","kind":"symbol","title":"jwk","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/jwk"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/jwkseturl.json b/data/documentation/jose_swift/defaultjweheaderimpl/jwkseturl.json new file mode 100644 index 0000000..8043b2f --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/jwkseturl.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","sections":[],"metadata":{"symbolKind":"property","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwkSetURL","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"externalID":"s:17JSONWebEncryption20DefaultJWEHeaderImplV9jwkSetURLSSSgvp","modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","title":"jwkSetURL","role":"symbol"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwkSetURL","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?"}]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/jwkseturl"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/jwkSetURL"},"abstract":[{"text":"URL pointing to a set of JSON-encoded public keys for key discovery.","type":"text"}],"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/jwkSetURL":{"abstract":[{"text":"URL pointing to a set of JSON-encoded public keys for key discovery.","type":"text"}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwkSetURL","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"kind":"symbol","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/jwkseturl","title":"jwkSetURL","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/jwkSetURL"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/keyid.json b/data/documentation/jose_swift/defaultjweheaderimpl/keyid.json new file mode 100644 index 0000000..62dfc04 --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/keyid.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/keyid"]}],"metadata":{"symbolKind":"property","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyID"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?"}],"title":"keyID","role":"symbol","modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","externalID":"s:17JSONWebEncryption20DefaultJWEHeaderImplV5keyIDSSSgvp"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"]]},"abstract":[{"type":"text","text":"Identifier for the key used in the JWE process, facilitating key selection."}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"keyID","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?"}]}],"kind":"declarations"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/keyID"},"sections":[],"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/keyID":{"abstract":[{"text":"Identifier for the key used in the JWE process, facilitating key selection.","type":"text"}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"keyID","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/keyid","kind":"symbol","title":"keyID","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/keyID"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/keymanagementalgorithm.json b/data/documentation/jose_swift/defaultjweheaderimpl/keymanagementalgorithm.json new file mode 100644 index 0000000..a0ad687 --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/keymanagementalgorithm.json @@ -0,0 +1 @@ +{"metadata":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"keyManagementAlgorithm","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","text":"KeyManagementAlgorithm"},{"kind":"text","text":"?"}],"symbolKind":"property","modules":[{"name":"jose-swift"}],"role":"symbol","externalID":"s:17JSONWebEncryption20DefaultJWEHeaderImplV22keyManagementAlgorithm0A10Algorithms03KeygH0OSgvp","title":"keyManagementAlgorithm","roleHeading":"Instance Property"},"sections":[],"abstract":[{"text":"The algorithm used for key management in the JWE process.","type":"text"}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"keyManagementAlgorithm"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"KeyManagementAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO"},{"kind":"text","text":"?"}],"platforms":["macOS"]}],"kind":"declarations"}],"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/keyManagementAlgorithm"},"variants":[{"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/keymanagementalgorithm"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/keyManagementAlgorithm":{"abstract":[{"text":"The algorithm used for key management in the JWE process.","type":"text"}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"keyManagementAlgorithm","kind":"identifier"},{"text":": ","kind":"text"},{"text":"KeyManagementAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO"},{"text":"?","kind":"text"}],"kind":"symbol","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/keymanagementalgorithm","title":"keyManagementAlgorithm","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/keyManagementAlgorithm"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/pbes2saltcount.json b/data/documentation/jose_swift/defaultjweheaderimpl/pbes2saltcount.json new file mode 100644 index 0000000..279d907 --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/pbes2saltcount.json @@ -0,0 +1 @@ +{"sections":[],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"pbes2SaltCount"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/pbes2SaltCount","interfaceLanguage":"swift"},"metadata":{"title":"pbes2SaltCount","symbolKind":"property","modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"pbes2SaltCount","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"externalID":"s:17JSONWebEncryption20DefaultJWEHeaderImplV14pbes2SaltCount10Foundation4DataVSgvp"},"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"text":"The iteration count for the PBES2 salt input, determining how many times the password is hashed during the key derivation process.","type":"text"},{"type":"text","text":" "},{"text":"Higher counts provide better security but require more computational resources.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/pbes2saltcount"]}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/pbes2SaltCount":{"title":"pbes2SaltCount","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/pbes2SaltCount","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"pbes2SaltCount","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"kind":"symbol","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/pbes2saltcount","abstract":[{"type":"text","text":"The iteration count for the PBES2 salt input, determining how many times the password is hashed during the key derivation process."},{"type":"text","text":" "},{"type":"text","text":"Higher counts provide better security but require more computational resources."}],"type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/pbes2saltinput.json b/data/documentation/jose_swift/defaultjweheaderimpl/pbes2saltinput.json new file mode 100644 index 0000000..887e8ef --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/pbes2saltinput.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/pbes2saltinput"]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"]]},"sections":[],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"pbes2SaltInput"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/pbes2SaltInput","interfaceLanguage":"swift"},"abstract":[{"text":"PBES2 (Password-Based Encryption Scheme 2) salt input, used in key derivation functions.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"The salt ensures that the same password generates different encryption keys each time."}],"metadata":{"symbolKind":"property","externalID":"s:17JSONWebEncryption20DefaultJWEHeaderImplV14pbes2SaltInput10Foundation4DataVSgvp","role":"symbol","title":"pbes2SaltInput","roleHeading":"Instance Property","modules":[{"name":"jose-swift"}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"pbes2SaltInput"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?","kind":"text"}]},"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/pbes2SaltInput":{"role":"symbol","title":"pbes2SaltInput","abstract":[{"text":"PBES2 (Password-Based Encryption Scheme 2) salt input, used in key derivation functions.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"The salt ensures that the same password generates different encryption keys each time."}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/pbes2saltinput","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"pbes2SaltInput","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/pbes2SaltInput","kind":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/senderkeyid.json b/data/documentation/jose_swift/defaultjweheaderimpl/senderkeyid.json new file mode 100644 index 0000000..65f1868 --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/senderkeyid.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"major":0,"patch":0},"abstract":[{"type":"text","text":"Key ID of the sender’s key, used in the "},{"code":"ECDH-1PU","type":"codeVoice"},{"text":" key agreement algorithm.","type":"text"}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"senderKeyID","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"modules":[{"name":"jose-swift"}],"symbolKind":"property","role":"symbol","title":"senderKeyID","roleHeading":"Instance Property","externalID":"s:17JSONWebEncryption20DefaultJWEHeaderImplV11senderKeyIDSSSgvp"},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/senderKeyID","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"senderKeyID"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/senderkeyid"]}],"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/senderKeyID":{"abstract":[{"type":"text","text":"Key ID of the sender’s key, used in the "},{"type":"codeVoice","code":"ECDH-1PU"},{"text":" key agreement algorithm.","type":"text"}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"senderKeyID","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"kind":"symbol","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/senderkeyid","title":"senderKeyID","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/senderKeyID"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/type.json b/data/documentation/jose_swift/defaultjweheaderimpl/type.json new file mode 100644 index 0000000..204e674 --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/type.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/type","interfaceLanguage":"swift"},"abstract":[{"text":"Type of the token, typically used to declare a MIME type.","type":"text"}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"type"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/type"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","metadata":{"roleHeading":"Instance Property","modules":[{"name":"jose-swift"}],"symbolKind":"property","externalID":"s:17JSONWebEncryption20DefaultJWEHeaderImplV4typeSSSgvp","title":"type","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"type","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}]},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/type":{"abstract":[{"text":"Type of the token, typically used to declare a MIME type.","type":"text"}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"type","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/type","kind":"symbol","title":"type","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/type"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/x509certificatechain.json b/data/documentation/jose_swift/defaultjweheaderimpl/x509certificatechain.json new file mode 100644 index 0000000..7d6641f --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/x509certificatechain.json @@ -0,0 +1 @@ +{"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/x509CertificateChain","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"]]},"abstract":[{"type":"text","text":"X.509 public key certificate or certificate chain in string format."}],"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/x509certificatechain"]}],"schemaVersion":{"patch":0,"minor":3,"major":0},"metadata":{"modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebEncryption20DefaultJWEHeaderImplV20x509CertificateChainSSSgvp","symbolKind":"property","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"x509CertificateChain"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"roleHeading":"Instance Property","role":"symbol","title":"x509CertificateChain"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"x509CertificateChain"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/x509CertificateChain":{"title":"x509CertificateChain","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/x509CertificateChain","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"x509CertificateChain"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?","kind":"text"}],"kind":"symbol","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/x509certificatechain","abstract":[{"type":"text","text":"X.509 public key certificate or certificate chain in string format."}],"type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/x509certificatesha1thumbprint.json b/data/documentation/jose_swift/defaultjweheaderimpl/x509certificatesha1thumbprint.json new file mode 100644 index 0000000..6366bbe --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/x509certificatesha1thumbprint.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/x509certificatesha1thumbprint"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"x509CertificateSHA1Thumbprint"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?"}]}]}],"abstract":[{"type":"text","text":"Base64URL-encoded SHA-1 thumbprint of the DER encoding of an X.509 certificate, used for key identification."}],"metadata":{"externalID":"s:17JSONWebEncryption20DefaultJWEHeaderImplV29x509CertificateSHA1ThumbprintSSSgvp","symbolKind":"property","role":"symbol","title":"x509CertificateSHA1Thumbprint","roleHeading":"Instance Property","modules":[{"name":"jose-swift"}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"x509CertificateSHA1Thumbprint","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/x509CertificateSHA1Thumbprint"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/x509CertificateSHA1Thumbprint":{"abstract":[{"type":"text","text":"Base64URL-encoded SHA-1 thumbprint of the DER encoding of an X.509 certificate, used for key identification."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/x509CertificateSHA1Thumbprint","type":"topic","title":"x509CertificateSHA1Thumbprint","url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/x509certificatesha1thumbprint","role":"symbol","kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"x509CertificateSHA1Thumbprint"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/x509certificatesha256thumbprint.json b/data/documentation/jose_swift/defaultjweheaderimpl/x509certificatesha256thumbprint.json new file mode 100644 index 0000000..b79aaf9 --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/x509certificatesha256thumbprint.json @@ -0,0 +1 @@ +{"sections":[],"schemaVersion":{"minor":3,"major":0,"patch":0},"abstract":[{"text":"Base64URL-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"x509CertificateSHA256Thumbprint"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?","kind":"text"}],"platforms":["macOS"]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/x509CertificateSHA256Thumbprint","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/x509certificatesha256thumbprint"]}],"metadata":{"role":"symbol","roleHeading":"Instance Property","externalID":"s:17JSONWebEncryption20DefaultJWEHeaderImplV31x509CertificateSHA256ThumbprintSSSgvp","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"x509CertificateSHA256Thumbprint","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?","kind":"text"}],"symbolKind":"property","title":"x509CertificateSHA256Thumbprint"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"]]},"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/x509CertificateSHA256Thumbprint":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/x509CertificateSHA256Thumbprint","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"x509CertificateSHA256Thumbprint","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/x509certificatesha256thumbprint","abstract":[{"type":"text","text":"Base64URL-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate."}],"kind":"symbol","title":"x509CertificateSHA256Thumbprint"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjweheaderimpl/x509url.json b/data/documentation/jose_swift/defaultjweheaderimpl/x509url.json new file mode 100644 index 0000000..92c8c3d --- /dev/null +++ b/data/documentation/jose_swift/defaultjweheaderimpl/x509url.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/x509URL","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"type":"text","text":"URL pointing to an X.509 public key certificate or certificate chain."}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"x509URL"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"}],"metadata":{"externalID":"s:17JSONWebEncryption20DefaultJWEHeaderImplV7x509URLSSSgvp","role":"symbol","modules":[{"name":"jose-swift"}],"title":"x509URL","symbolKind":"property","roleHeading":"Instance Property","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"x509URL","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}]},"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"]]},"variants":[{"paths":["\/documentation\/jose_swift\/defaultjweheaderimpl\/x509url"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl/x509URL":{"abstract":[{"text":"URL pointing to an X.509 public key certificate or certificate chain.","type":"text"}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"x509URL","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl\/x509url","kind":"symbol","title":"x509URL","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl\/x509URL"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwejson.json b/data/documentation/jose_swift/defaultjwejson.json new file mode 100644 index 0000000..bc6a7ef --- /dev/null +++ b/data/documentation/jose_swift/defaultjwejson.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEJson"},"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"DefaultJWEJson","kind":"identifier"},{"text":" = ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","text":"JWEJson"},{"kind":"text","text":"<"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","kind":"typeIdentifier","text":"DefaultJWEHeaderImpl","preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV","text":"DefaultJWEHeaderImpl"},{"kind":"text","text":", "},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV","text":"DefaultJWEHeaderImpl"},{"kind":"text","text":">"}],"languages":["swift"]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/defaultjwejson"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"externalID":"s:17JSONWebEncryption14DefaultJWEJsona","role":"symbol","roleHeading":"Type Alias","symbolKind":"typealias","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"DefaultJWEJson","kind":"identifier"}],"navigatorTitle":[{"text":"DefaultJWEJson","kind":"identifier"}],"modules":[{"name":"jose-swift"}],"title":"DefaultJWEJson"},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"},"doc://jose-swift/documentation/jose_swift/DefaultJWEJson":{"url":"\/documentation\/jose_swift\/defaultjwejson","type":"topic","kind":"symbol","role":"symbol","abstract":[],"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"DefaultJWEJson","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"DefaultJWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEJson","title":"DefaultJWEJson"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwsheaderimpl.json b/data/documentation/jose_swift/defaultjwsheaderimpl.json new file mode 100644 index 0000000..cd2e279 --- /dev/null +++ b/data/documentation/jose_swift/defaultjwsheaderimpl.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"tokens":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"DefaultJWSHeaderImpl","kind":"identifier"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"variants":[{"paths":["\/documentation\/jose_swift\/defaultjwsheaderimpl"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"symbolKind":"struct","title":"DefaultJWSHeaderImpl","modules":[{"name":"jose-swift"}],"navigatorTitle":[{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"DefaultJWSHeaderImpl","kind":"identifier"}],"roleHeading":"Structure","externalID":"s:16JSONWebSignature20DefaultJWSHeaderImplV","role":"symbol"},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/init(algorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:)","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/init(from:)-1rqkx"]},{"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/algorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/contentType","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/critical","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/jwk","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/jwkSetURL","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/keyID","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/type","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/x509CertificateChain","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/x509CertificateSHA1Thumbprint","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/x509CertificateSHA256Thumbprint","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/x509URL"]},{"title":"Default Implementations","generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/Decodable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/Encodable-Implementations"]}],"abstract":[{"type":"codeVoice","code":"DefaultJWSHeaderImpl"},{"text":" is a default implementation of the ","type":"text"},{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol.","type":"text"},{"type":"text","text":" "},{"text":"It provides storage for the common fields found in a JWS protected header.","type":"text"}],"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","interfaceLanguage":"swift"},"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"relationshipsSections":[{"title":"Conforms To","type":"conformsTo","kind":"relationships","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","doc:\/\/jose-swift\/Se","doc:\/\/jose-swift\/SE"]}],"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/init(algorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:)":{"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/init(algorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:)","type":"topic","kind":"symbol","abstract":[{"type":"text","text":"Initializes a new "},{"code":"DefaultJWSHeaderImpl","type":"codeVoice"},{"type":"text","text":" instance with optional parameters for each field."}],"role":"symbol","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"text":"algorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"SigningAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms16SigningAlgorithmO","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"keyID","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"jwkSetURL","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"jwk"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"text":"x509URL","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"x509CertificateChain"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"x509CertificateSHA1Thumbprint"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"x509CertificateSHA256Thumbprint"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"type"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"contentType","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"critical","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?)","kind":"text"}],"title":"init(algorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/init(algorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:)"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/type":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/type","url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/type","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"type","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?","kind":"text"}],"title":"type","kind":"symbol","abstract":[{"text":"Type of token - typically used to declare a MIME type.","type":"text"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/x509CertificateSHA1Thumbprint":{"type":"topic","abstract":[{"text":"Base64URL-encoded SHA-1 thumbprint (a.k.a. digest) of the DER encoding of an X.509 certificate.","type":"text"}],"role":"symbol","title":"x509CertificateSHA1Thumbprint","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"x509CertificateSHA1Thumbprint","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/x509CertificateSHA1Thumbprint","url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/x509certificatesha1thumbprint"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/critical":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/critical","role":"symbol","abstract":[{"text":"Indicates extensions to this protocol that must be understood and processed.","type":"text"}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"critical"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/critical","type":"topic","title":"critical"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/jwkSetURL":{"kind":"symbol","abstract":[{"text":"URL that refers to a resource for a set of JSON-encoded public keys.","type":"text"}],"type":"topic","url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/jwkseturl","role":"symbol","title":"jwkSetURL","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"jwkSetURL","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/jwkSetURL"},"doc://jose-swift/Se":{"type":"unresolvable","title":"Swift.Decodable","identifier":"doc:\/\/jose-swift\/Se"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/Decodable-Implementations":{"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/decodable-implementations","title":"Decodable Implementations","abstract":[],"type":"topic","kind":"article","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/Decodable-Implementations"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/Encodable-Implementations":{"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/encodable-implementations","kind":"article","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/Encodable-Implementations","title":"Encodable Implementations","type":"topic","abstract":[]},"doc://jose-swift/SE":{"type":"unresolvable","title":"Swift.Encodable","identifier":"doc:\/\/jose-swift\/SE"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/algorithm":{"title":"algorithm","url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/algorithm","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"algorithm"},{"text":": ","kind":"text"},{"text":"SigningAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms16SigningAlgorithmO"},{"text":"?","kind":"text"}],"type":"topic","kind":"symbol","abstract":[{"text":"The signing algorithm to be used.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/algorithm"},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/init(from:)-1rqkx":{"type":"topic","url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/init(from:)-1rqkx","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/init(from:)-1rqkx","kind":"symbol","role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":")","kind":"text"}],"abstract":[],"title":"init(from:)"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl":{"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","title":"DefaultJWSHeaderImpl","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWSHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"code":"JWSProtectedFieldsHeader","type":"codeVoice"},{"type":"text","text":" protocol."},{"text":" ","type":"text"},{"text":"It provides storage for the common fields found in a JWS protected header.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/jwk":{"title":"jwk","kind":"symbol","abstract":[{"type":"text","text":"JSON Web Key representing the key used to sign the payload."}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/jwk","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/jwk","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"jwk","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/x509URL":{"abstract":[{"text":"URL for the X.509 public key certificate or certificate chain corresponding to the key used to sign the JWS.","type":"text"}],"kind":"symbol","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"x509URL"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/x509url","title":"x509URL","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/x509URL"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/keyID":{"kind":"symbol","title":"keyID","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"keyID","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/keyID","url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/keyid","abstract":[{"text":"Key ID hint indicating which key was used to secure the JWS.","type":"text"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/contentType":{"abstract":[{"text":"Media type of the complete JWS.","type":"text"}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"contentType"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/contentType","title":"contentType","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/contenttype","type":"topic"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/x509CertificateChain":{"kind":"symbol","title":"x509CertificateChain","url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/x509certificatechain","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"x509CertificateChain"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/x509CertificateChain","type":"topic","abstract":[{"type":"text","text":"X.509 public key certificate or certificate chain."}]},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/x509CertificateSHA256Thumbprint":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/x509CertificateSHA256Thumbprint","url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/x509certificatesha256thumbprint","role":"symbol","title":"x509CertificateSHA256Thumbprint","abstract":[{"type":"text","text":"Base64URL-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate."}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"x509CertificateSHA256Thumbprint"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"kind":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwsheaderimpl/algorithm.json b/data/documentation/jose_swift/defaultjwsheaderimpl/algorithm.json new file mode 100644 index 0000000..140eb3c --- /dev/null +++ b/data/documentation/jose_swift/defaultjwsheaderimpl/algorithm.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"algorithm"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","kind":"typeIdentifier","text":"SigningAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms16SigningAlgorithmO"},{"text":"?","kind":"text"}]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjwsheaderimpl\/algorithm"]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl"]]},"metadata":{"externalID":"s:16JSONWebSignature20DefaultJWSHeaderImplV9algorithm0A10Algorithms16SigningAlgorithmOSgvp","symbolKind":"property","role":"symbol","title":"algorithm","modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"algorithm","kind":"identifier"},{"text":": ","kind":"text"},{"text":"SigningAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms16SigningAlgorithmO"},{"kind":"text","text":"?"}]},"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","abstract":[{"type":"text","text":"The signing algorithm to be used."}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/algorithm","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl":{"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","title":"DefaultJWSHeaderImpl","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWSHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"code":"JWSProtectedFieldsHeader","type":"codeVoice"},{"type":"text","text":" protocol."},{"text":" ","type":"text"},{"text":"It provides storage for the common fields found in a JWS protected header.","type":"text"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/algorithm":{"title":"algorithm","url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/algorithm","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"algorithm"},{"text":": ","kind":"text"},{"text":"SigningAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms16SigningAlgorithmO"},{"text":"?","kind":"text"}],"type":"topic","kind":"symbol","abstract":[{"text":"The signing algorithm to be used.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/algorithm"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwsheaderimpl/contenttype.json b/data/documentation/jose_swift/defaultjwsheaderimpl/contenttype.json new file mode 100644 index 0000000..3d7cf6d --- /dev/null +++ b/data/documentation/jose_swift/defaultjwsheaderimpl/contenttype.json @@ -0,0 +1 @@ +{"kind":"symbol","sections":[],"abstract":[{"text":"Media type of the complete JWS.","type":"text"}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"contentType"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl"]]},"variants":[{"paths":["\/documentation\/jose_swift\/defaultjwsheaderimpl\/contenttype"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"roleHeading":"Instance Property","externalID":"s:16JSONWebSignature20DefaultJWSHeaderImplV11contentTypeSSSgvp","title":"contentType","modules":[{"name":"jose-swift"}],"symbolKind":"property","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"contentType","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?","kind":"text"}]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/contentType","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/contentType":{"abstract":[{"text":"Media type of the complete JWS.","type":"text"}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"contentType"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/contentType","title":"contentType","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/contenttype","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl":{"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","title":"DefaultJWSHeaderImpl","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWSHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"code":"JWSProtectedFieldsHeader","type":"codeVoice"},{"type":"text","text":" protocol."},{"text":" ","type":"text"},{"text":"It provides storage for the common fields found in a JWS protected header.","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwsheaderimpl/critical.json b/data/documentation/jose_swift/defaultjwsheaderimpl/critical.json new file mode 100644 index 0000000..3d44087 --- /dev/null +++ b/data/documentation/jose_swift/defaultjwsheaderimpl/critical.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"critical"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/critical"},"metadata":{"title":"critical","symbolKind":"property","roleHeading":"Instance Property","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"critical"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"externalID":"s:16JSONWebSignature20DefaultJWSHeaderImplV8criticalSSSgvp","role":"symbol"},"variants":[{"paths":["\/documentation\/jose_swift\/defaultjwsheaderimpl\/critical"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl"]]},"kind":"symbol","abstract":[{"type":"text","text":"Indicates extensions to this protocol that must be understood and processed."}],"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl":{"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","title":"DefaultJWSHeaderImpl","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWSHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"code":"JWSProtectedFieldsHeader","type":"codeVoice"},{"type":"text","text":" protocol."},{"text":" ","type":"text"},{"text":"It provides storage for the common fields found in a JWS protected header.","type":"text"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/critical":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/critical","role":"symbol","abstract":[{"text":"Indicates extensions to this protocol that must be understood and processed.","type":"text"}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"critical"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/critical","type":"topic","title":"critical"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwsheaderimpl/decodable-implementations.json b/data/documentation/jose_swift/defaultjwsheaderimpl/decodable-implementations.json new file mode 100644 index 0000000..1056006 --- /dev/null +++ b/data/documentation/jose_swift/defaultjwsheaderimpl/decodable-implementations.json @@ -0,0 +1 @@ +{"metadata":{"title":"Decodable Implementations","modules":[{"name":"jose-swift"}],"role":"collectionGroup"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjwsheaderimpl\/decodable-implementations"]}],"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/init(from:)-8tlhj"],"title":"Initializers","generated":true}],"kind":"article","sections":[],"schemaVersion":{"minor":3,"major":0,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/Decodable-Implementations"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl"]]},"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl":{"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","title":"DefaultJWSHeaderImpl","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWSHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"code":"JWSProtectedFieldsHeader","type":"codeVoice"},{"type":"text","text":" protocol."},{"text":" ","type":"text"},{"text":"It provides storage for the common fields found in a JWS protected header.","type":"text"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/init(from:)-8tlhj":{"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/init(from:)-8tlhj","title":"init(from:)","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/init(from:)-8tlhj","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwsheaderimpl/encodable-implementations.json b/data/documentation/jose_swift/defaultjwsheaderimpl/encodable-implementations.json new file mode 100644 index 0000000..7460c07 --- /dev/null +++ b/data/documentation/jose_swift/defaultjwsheaderimpl/encodable-implementations.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl"]]},"topicSections":[{"generated":true,"title":"Instance Methods","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/encode(to:)"]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjwsheaderimpl\/encodable-implementations"]}],"sections":[],"kind":"article","metadata":{"modules":[{"name":"jose-swift"}],"title":"Encodable Implementations","role":"collectionGroup"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/Encodable-Implementations","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/encode(to:)":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"("},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s7EncoderP","text":"Encoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"title":"encode(to:)","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/encode(to:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/encode(to:)","abstract":[]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl":{"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","title":"DefaultJWSHeaderImpl","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWSHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"code":"JWSProtectedFieldsHeader","type":"codeVoice"},{"type":"text","text":" protocol."},{"text":" ","type":"text"},{"text":"It provides storage for the common fields found in a JWS protected header.","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwsheaderimpl/encode(to:).json b/data/documentation/jose_swift/defaultjwsheaderimpl/encode(to:).json new file mode 100644 index 0000000..8c79820 --- /dev/null +++ b/data/documentation/jose_swift/defaultjwsheaderimpl/encode(to:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"encode","kind":"identifier"},{"kind":"text","text":"("},{"text":"to","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"encoder"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s7EncoderP","text":"Encoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjwsheaderimpl\/encode(to:)"]}],"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"Encodable.encode(to:)"},{"type":"text","text":"."}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/encode(to:)","interfaceLanguage":"swift"},"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/Encodable-Implementations"]]},"schemaVersion":{"major":0,"patch":0,"minor":3},"metadata":{"extendedModule":"JSONWebSignature","role":"symbol","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s7EncoderP","text":"Encoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"title":"encode(to:)","externalID":"s:16JSONWebSignature20DefaultJWSHeaderImplV6encode2toys7Encoder_p_tKF","symbolKind":"method","modules":[{"name":"jose-swift","relatedModules":["JSONWebSignature"]}]},"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/encode(to:)":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"("},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s7EncoderP","text":"Encoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"title":"encode(to:)","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/encode(to:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/encode(to:)","abstract":[]},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/Encodable-Implementations":{"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/encodable-implementations","kind":"article","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/Encodable-Implementations","title":"Encodable Implementations","type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl":{"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","title":"DefaultJWSHeaderImpl","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWSHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"code":"JWSProtectedFieldsHeader","type":"codeVoice"},{"type":"text","text":" protocol."},{"text":" ","type":"text"},{"text":"It provides storage for the common fields found in a JWS protected header.","type":"text"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwsheaderimpl/init(algorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:).json b/data/documentation/jose_swift/defaultjwsheaderimpl/init(algorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:).json new file mode 100644 index 0000000..8443280 --- /dev/null +++ b/data/documentation/jose_swift/defaultjwsheaderimpl/init(algorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:).json @@ -0,0 +1 @@ +{"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl"]]},"abstract":[{"text":"Initializes a new ","type":"text"},{"code":"DefaultJWSHeaderImpl","type":"codeVoice"},{"type":"text","text":" instance with optional parameters for each field."}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"text":"algorithm","kind":"externalParam"},{"kind":"text","text":": "},{"text":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms16SigningAlgorithmO"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"keyID"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"? = nil, ","kind":"text"},{"text":"jwkSetURL","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"? = nil, ","kind":"text"},{"text":"jwk","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"text":"? = nil, ","kind":"text"},{"text":"x509URL","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"? = nil, "},{"text":"x509CertificateChain","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"text":"x509CertificateSHA1Thumbprint","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"text":"x509CertificateSHA256Thumbprint","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"? = nil, ","kind":"text"},{"text":"type","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"? = nil, ","kind":"text"},{"text":"contentType","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"critical"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"? = nil)","kind":"text"}],"languages":["swift"]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"name":"algorithm","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The signing algorithm to be used (optional)."}]}]},{"name":"keyID","content":[{"inlineContent":[{"type":"text","text":"The Key ID hint (optional)."}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The URL for a set of JSON-encoded public keys (optional)."}]}],"name":"jwkSetURL"},{"name":"jwk","content":[{"type":"paragraph","inlineContent":[{"text":"The JSON Web Key (optional).","type":"text"}]}]},{"name":"x509URL","content":[{"inlineContent":[{"text":"The URL for the X.509 public key certificate or certificate chain (optional).","type":"text"}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"text":"The X.509 public key certificate or certificate chain (optional).","type":"text"}],"type":"paragraph"}],"name":"x509CertificateChain"},{"name":"x509CertificateSHA1Thumbprint","content":[{"type":"paragraph","inlineContent":[{"text":"The SHA-1 thumbprint of the X.509 certificate (optional).","type":"text"}]}]},{"name":"x509CertificateSHA256Thumbprint","content":[{"inlineContent":[{"text":"The SHA-256 thumbprint of the X.509 certificate (optional).","type":"text"}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"text":"The type of token (optional).","type":"text"}],"type":"paragraph"}],"name":"type"},{"content":[{"inlineContent":[{"text":"The media type of the complete JWS (optional).","type":"text"}],"type":"paragraph"}],"name":"contentType"},{"content":[{"inlineContent":[{"type":"text","text":"Indications of extensions that must be understood and processed (optional)."}],"type":"paragraph"}],"name":"critical"}]}],"metadata":{"modules":[{"name":"jose-swift"}],"symbolKind":"init","role":"symbol","externalID":"s:16JSONWebSignature20DefaultJWSHeaderImplV9algorithm5keyID9jwkSetURL0I004x509K00L16CertificateChain0lM14SHA1Thumbprint0lm6SHA256P04type11contentType8criticalAC0A10Algorithms16SigningAlgorithmOSg_SSSgAS0A3Key3JWKVSgA7Stcfc","title":"init(algorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:)","roleHeading":"Initializer","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"algorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"SigningAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms16SigningAlgorithmO"},{"kind":"text","text":"?, "},{"text":"keyID","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"jwkSetURL","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"jwk"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"x509URL"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"x509CertificateChain","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"x509CertificateSHA1Thumbprint"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"x509CertificateSHA256Thumbprint"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"type","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"contentType","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"critical","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?)","kind":"text"}]},"variants":[{"paths":["\/documentation\/jose_swift\/defaultjwsheaderimpl\/init(algorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:)"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/init(algorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:)"},"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/init(algorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:)":{"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/init(algorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:)","type":"topic","kind":"symbol","abstract":[{"type":"text","text":"Initializes a new "},{"code":"DefaultJWSHeaderImpl","type":"codeVoice"},{"type":"text","text":" instance with optional parameters for each field."}],"role":"symbol","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"text":"algorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"SigningAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms16SigningAlgorithmO","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"keyID","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"jwkSetURL","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"jwk"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"text":"x509URL","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"x509CertificateChain"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"x509CertificateSHA1Thumbprint"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"x509CertificateSHA256Thumbprint"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"type"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"contentType","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"critical","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?)","kind":"text"}],"title":"init(algorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/init(algorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:)"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl":{"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","title":"DefaultJWSHeaderImpl","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWSHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"code":"JWSProtectedFieldsHeader","type":"codeVoice"},{"type":"text","text":" protocol."},{"text":" ","type":"text"},{"text":"It provides storage for the common fields found in a JWS protected header.","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwsheaderimpl/init(from:)-1rqkx.json b/data/documentation/jose_swift/defaultjwsheaderimpl/init(from:)-1rqkx.json new file mode 100644 index 0000000..c8dffe5 --- /dev/null +++ b/data/documentation/jose_swift/defaultjwsheaderimpl/init(from:)-1rqkx.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjwsheaderimpl\/init(from:)-1rqkx"]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/init(from:)-1rqkx","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":")","kind":"text"}]}],"kind":"declarations"}],"sections":[],"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl"]]},"metadata":{"title":"init(from:)","symbolKind":"init","modules":[{"name":"jose-swift"}],"roleHeading":"Initializer","externalID":"s:16JSONWebSignature20DefaultJWSHeaderImplV4fromAC0A3Key3JWKV_tcfc","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":")","kind":"text"}],"role":"symbol"},"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl":{"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","title":"DefaultJWSHeaderImpl","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWSHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"code":"JWSProtectedFieldsHeader","type":"codeVoice"},{"type":"text","text":" protocol."},{"text":" ","type":"text"},{"text":"It provides storage for the common fields found in a JWS protected header.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"type":"link"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/init(from:)-1rqkx":{"type":"topic","url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/init(from:)-1rqkx","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/init(from:)-1rqkx","kind":"symbol","role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":")","kind":"text"}],"abstract":[],"title":"init(from:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwsheaderimpl/init(from:)-8tlhj.json b/data/documentation/jose_swift/defaultjwsheaderimpl/init(from:)-8tlhj.json new file mode 100644 index 0000000..d981a9c --- /dev/null +++ b/data/documentation/jose_swift/defaultjwsheaderimpl/init(from:)-8tlhj.json @@ -0,0 +1 @@ +{"sections":[],"abstract":[{"text":"Inherited from ","type":"text"},{"code":"Decodable.init(from:)","type":"codeVoice"},{"type":"text","text":"."}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/Decodable-Implementations"]]},"metadata":{"externalID":"s:16JSONWebSignature20DefaultJWSHeaderImplV4fromACs7Decoder_p_tKcfc","symbolKind":"init","extendedModule":"JSONWebSignature","title":"init(from:)","role":"symbol","modules":[{"relatedModules":["JSONWebSignature"],"name":"jose-swift"}],"roleHeading":"Initializer","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP","text":"Decoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/init(from:)-8tlhj"},"schemaVersion":{"major":0,"patch":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"decoder","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"platforms":["macOS"]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/defaultjwsheaderimpl\/init(from:)-8tlhj"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/Decodable-Implementations":{"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/decodable-implementations","title":"Decodable Implementations","abstract":[],"type":"topic","kind":"article","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/Decodable-Implementations"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/init(from:)-8tlhj":{"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/init(from:)-8tlhj","title":"init(from:)","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/init(from:)-8tlhj","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}]},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl":{"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","title":"DefaultJWSHeaderImpl","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWSHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"code":"JWSProtectedFieldsHeader","type":"codeVoice"},{"type":"text","text":" protocol."},{"text":" ","type":"text"},{"text":"It provides storage for the common fields found in a JWS protected header.","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwsheaderimpl/jwk.json b/data/documentation/jose_swift/defaultjwsheaderimpl/jwk.json new file mode 100644 index 0000000..2094fa1 --- /dev/null +++ b/data/documentation/jose_swift/defaultjwsheaderimpl/jwk.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl"]]},"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"abstract":[{"type":"text","text":"JSON Web Key representing the key used to sign the payload."}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"jwk","kind":"identifier"},{"kind":"text","text":": "},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"platforms":["macOS"]}],"kind":"declarations"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/jwk","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/jose_swift\/defaultjwsheaderimpl\/jwk"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"metadata":{"title":"jwk","symbolKind":"property","modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","externalID":"s:16JSONWebSignature20DefaultJWSHeaderImplV3jwk0A3Key3JWKVSgvp","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"jwk","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"?"}],"role":"symbol"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl":{"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","title":"DefaultJWSHeaderImpl","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWSHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"code":"JWSProtectedFieldsHeader","type":"codeVoice"},{"type":"text","text":" protocol."},{"text":" ","type":"text"},{"text":"It provides storage for the common fields found in a JWS protected header.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/jwk":{"title":"jwk","kind":"symbol","abstract":[{"type":"text","text":"JSON Web Key representing the key used to sign the payload."}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/jwk","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/jwk","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"jwk","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?"}],"role":"symbol"},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwsheaderimpl/jwkseturl.json b/data/documentation/jose_swift/defaultjwsheaderimpl/jwkseturl.json new file mode 100644 index 0000000..111f2dc --- /dev/null +++ b/data/documentation/jose_swift/defaultjwsheaderimpl/jwkseturl.json @@ -0,0 +1 @@ +{"kind":"symbol","metadata":{"roleHeading":"Instance Property","role":"symbol","symbolKind":"property","externalID":"s:16JSONWebSignature20DefaultJWSHeaderImplV9jwkSetURLSSSgvp","modules":[{"name":"jose-swift"}],"title":"jwkSetURL","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwkSetURL","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":"?"}]},"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/jwkSetURL","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl"]]},"abstract":[{"type":"text","text":"URL that refers to a resource for a set of JSON-encoded public keys."}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"jwkSetURL"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":"?"}]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjwsheaderimpl\/jwkseturl"]}],"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/jwkSetURL":{"kind":"symbol","abstract":[{"text":"URL that refers to a resource for a set of JSON-encoded public keys.","type":"text"}],"type":"topic","url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/jwkseturl","role":"symbol","title":"jwkSetURL","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"jwkSetURL","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/jwkSetURL"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl":{"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","title":"DefaultJWSHeaderImpl","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWSHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"code":"JWSProtectedFieldsHeader","type":"codeVoice"},{"type":"text","text":" protocol."},{"text":" ","type":"text"},{"text":"It provides storage for the common fields found in a JWS protected header.","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwsheaderimpl/keyid.json b/data/documentation/jose_swift/defaultjwsheaderimpl/keyid.json new file mode 100644 index 0000000..eb8b8e4 --- /dev/null +++ b/data/documentation/jose_swift/defaultjwsheaderimpl/keyid.json @@ -0,0 +1 @@ +{"sections":[],"kind":"symbol","primaryContentSections":[{"declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"keyID","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":"?"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/keyID","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"patch":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl"]]},"metadata":{"symbolKind":"property","roleHeading":"Instance Property","title":"keyID","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"keyID","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"externalID":"s:16JSONWebSignature20DefaultJWSHeaderImplV5keyIDSSSgvp","role":"symbol"},"abstract":[{"type":"text","text":"Key ID hint indicating which key was used to secure the JWS."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjwsheaderimpl\/keyid"]}],"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl":{"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","title":"DefaultJWSHeaderImpl","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWSHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"code":"JWSProtectedFieldsHeader","type":"codeVoice"},{"type":"text","text":" protocol."},{"text":" ","type":"text"},{"text":"It provides storage for the common fields found in a JWS protected header.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/keyID":{"kind":"symbol","title":"keyID","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"keyID","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/keyID","url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/keyid","abstract":[{"text":"Key ID hint indicating which key was used to secure the JWS.","type":"text"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwsheaderimpl/type.json b/data/documentation/jose_swift/defaultjwsheaderimpl/type.json new file mode 100644 index 0000000..8e2d583 --- /dev/null +++ b/data/documentation/jose_swift/defaultjwsheaderimpl/type.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"type","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"languages":["swift"]}],"kind":"declarations"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl"]]},"variants":[{"paths":["\/documentation\/jose_swift\/defaultjwsheaderimpl\/type"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/type"},"metadata":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"type","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"roleHeading":"Instance Property","title":"type","modules":[{"name":"jose-swift"}],"role":"symbol","symbolKind":"property","externalID":"s:16JSONWebSignature20DefaultJWSHeaderImplV4typeSSSgvp"},"sections":[],"kind":"symbol","abstract":[{"text":"Type of token - typically used to declare a MIME type.","type":"text"}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/type":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/type","url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/type","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"type","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?","kind":"text"}],"title":"type","kind":"symbol","abstract":[{"text":"Type of token - typically used to declare a MIME type.","type":"text"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl":{"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","title":"DefaultJWSHeaderImpl","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWSHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"code":"JWSProtectedFieldsHeader","type":"codeVoice"},{"type":"text","text":" protocol."},{"text":" ","type":"text"},{"text":"It provides storage for the common fields found in a JWS protected header.","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwsheaderimpl/x509certificatechain.json b/data/documentation/jose_swift/defaultjwsheaderimpl/x509certificatechain.json new file mode 100644 index 0000000..c3415e2 --- /dev/null +++ b/data/documentation/jose_swift/defaultjwsheaderimpl/x509certificatechain.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjwsheaderimpl\/x509certificatechain"]}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl"]]},"sections":[],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"x509CertificateChain","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"schemaVersion":{"minor":3,"major":0,"patch":0},"metadata":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"x509CertificateChain"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?","kind":"text"}],"title":"x509CertificateChain","role":"symbol","roleHeading":"Instance Property","externalID":"s:16JSONWebSignature20DefaultJWSHeaderImplV20x509CertificateChainSSSgvp","symbolKind":"property","modules":[{"name":"jose-swift"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/x509CertificateChain"},"abstract":[{"type":"text","text":"X.509 public key certificate or certificate chain."}],"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/x509CertificateChain":{"kind":"symbol","title":"x509CertificateChain","url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/x509certificatechain","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"x509CertificateChain"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/x509CertificateChain","type":"topic","abstract":[{"type":"text","text":"X.509 public key certificate or certificate chain."}]},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl":{"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","title":"DefaultJWSHeaderImpl","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWSHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"code":"JWSProtectedFieldsHeader","type":"codeVoice"},{"type":"text","text":" protocol."},{"text":" ","type":"text"},{"text":"It provides storage for the common fields found in a JWS protected header.","type":"text"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwsheaderimpl/x509certificatesha1thumbprint.json b/data/documentation/jose_swift/defaultjwsheaderimpl/x509certificatesha1thumbprint.json new file mode 100644 index 0000000..dba1d6d --- /dev/null +++ b/data/documentation/jose_swift/defaultjwsheaderimpl/x509certificatesha1thumbprint.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/defaultjwsheaderimpl\/x509certificatesha1thumbprint"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"externalID":"s:16JSONWebSignature20DefaultJWSHeaderImplV29x509CertificateSHA1ThumbprintSSSgvp","symbolKind":"property","role":"symbol","title":"x509CertificateSHA1Thumbprint","modules":[{"name":"jose-swift"}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"x509CertificateSHA1Thumbprint","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?","kind":"text"}],"roleHeading":"Instance Property"},"sections":[],"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/x509CertificateSHA1Thumbprint","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"x509CertificateSHA1Thumbprint"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}]}],"abstract":[{"text":"Base64URL-encoded SHA-1 thumbprint (a.k.a. digest) of the DER encoding of an X.509 certificate.","type":"text"}],"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/x509CertificateSHA1Thumbprint":{"type":"topic","abstract":[{"text":"Base64URL-encoded SHA-1 thumbprint (a.k.a. digest) of the DER encoding of an X.509 certificate.","type":"text"}],"role":"symbol","title":"x509CertificateSHA1Thumbprint","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"x509CertificateSHA1Thumbprint","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/x509CertificateSHA1Thumbprint","url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/x509certificatesha1thumbprint"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl":{"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","title":"DefaultJWSHeaderImpl","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWSHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"code":"JWSProtectedFieldsHeader","type":"codeVoice"},{"type":"text","text":" protocol."},{"text":" ","type":"text"},{"text":"It provides storage for the common fields found in a JWS protected header.","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwsheaderimpl/x509certificatesha256thumbprint.json b/data/documentation/jose_swift/defaultjwsheaderimpl/x509certificatesha256thumbprint.json new file mode 100644 index 0000000..1c3ef25 --- /dev/null +++ b/data/documentation/jose_swift/defaultjwsheaderimpl/x509certificatesha256thumbprint.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"x509CertificateSHA256Thumbprint"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/x509CertificateSHA256Thumbprint"},"sections":[],"kind":"symbol","abstract":[{"text":"Base64URL-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate.","type":"text"}],"schemaVersion":{"minor":3,"patch":0,"major":0},"variants":[{"paths":["\/documentation\/jose_swift\/defaultjwsheaderimpl\/x509certificatesha256thumbprint"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"externalID":"s:16JSONWebSignature20DefaultJWSHeaderImplV31x509CertificateSHA256ThumbprintSSSgvp","role":"symbol","title":"x509CertificateSHA256Thumbprint","roleHeading":"Instance Property","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"x509CertificateSHA256Thumbprint"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"symbolKind":"property","modules":[{"name":"jose-swift"}]},"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl":{"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","title":"DefaultJWSHeaderImpl","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWSHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"code":"JWSProtectedFieldsHeader","type":"codeVoice"},{"type":"text","text":" protocol."},{"text":" ","type":"text"},{"text":"It provides storage for the common fields found in a JWS protected header.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/x509CertificateSHA256Thumbprint":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/x509CertificateSHA256Thumbprint","url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/x509certificatesha256thumbprint","role":"symbol","title":"x509CertificateSHA256Thumbprint","abstract":[{"type":"text","text":"Base64URL-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate."}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"x509CertificateSHA256Thumbprint"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwsheaderimpl/x509url.json b/data/documentation/jose_swift/defaultjwsheaderimpl/x509url.json new file mode 100644 index 0000000..bd6d922 --- /dev/null +++ b/data/documentation/jose_swift/defaultjwsheaderimpl/x509url.json @@ -0,0 +1 @@ +{"sections":[],"abstract":[{"text":"URL for the X.509 public key certificate or certificate chain corresponding to the key used to sign the JWS.","type":"text"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/x509URL","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"x509URL"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/defaultjwsheaderimpl\/x509url"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"role":"symbol","externalID":"s:16JSONWebSignature20DefaultJWSHeaderImplV7x509URLSSSgvp","symbolKind":"property","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"x509URL","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?","kind":"text"}],"modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","title":"x509URL"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl/x509URL":{"abstract":[{"text":"URL for the X.509 public key certificate or certificate chain corresponding to the key used to sign the JWS.","type":"text"}],"kind":"symbol","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"x509URL"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/x509url","title":"x509URL","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl\/x509URL"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl":{"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","title":"DefaultJWSHeaderImpl","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWSHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"code":"JWSProtectedFieldsHeader","type":"codeVoice"},{"type":"text","text":" protocol."},{"text":" ","type":"text"},{"text":"It provides storage for the common fields found in a JWS protected header.","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwsjson.json b/data/documentation/jose_swift/defaultjwsjson.json new file mode 100644 index 0000000..34efd5c --- /dev/null +++ b/data/documentation/jose_swift/defaultjwsjson.json @@ -0,0 +1 @@ +{"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjwsjson"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"DefaultJWSJson","kind":"identifier"},{"text":" = ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature7JWSJsonV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","text":"JWSJson"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:16JSONWebSignature20DefaultJWSHeaderImplV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","text":"DefaultJWSHeaderImpl","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"preciseIdentifier":"s:16JSONWebSignature20DefaultJWSHeaderImplV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","text":"DefaultJWSHeaderImpl","kind":"typeIdentifier"},{"text":">","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"kind":"symbol","metadata":{"modules":[{"name":"jose-swift"}],"navigatorTitle":[{"kind":"identifier","text":"DefaultJWSJson"}],"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"DefaultJWSJson","kind":"identifier"}],"title":"DefaultJWSJson","role":"symbol","symbolKind":"typealias","externalID":"s:16JSONWebSignature14DefaultJWSJsona","roleHeading":"Type Alias"},"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSJson","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl":{"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","title":"DefaultJWSHeaderImpl","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWSHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"code":"JWSProtectedFieldsHeader","type":"codeVoice"},{"type":"text","text":" protocol."},{"text":" ","type":"text"},{"text":"It provides storage for the common fields found in a JWS protected header.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/DefaultJWSJson":{"url":"\/documentation\/jose_swift\/defaultjwsjson","navigatorTitle":[{"kind":"identifier","text":"DefaultJWSJson"}],"type":"topic","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"DefaultJWSJson","kind":"identifier"}],"title":"DefaultJWSJson","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSJson","abstract":[],"role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJson":{"title":"JWSJson","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" represents a JSON Web Signature (JWS) object with support for multiple signatures."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJson","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWSJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","url":"\/documentation\/jose_swift\/jwsjson","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwtclaimsimpl.json b/data/documentation/jose_swift/defaultjwtclaimsimpl.json new file mode 100644 index 0000000..24f642b --- /dev/null +++ b/data/documentation/jose_swift/defaultjwtclaimsimpl.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"DefaultJWTClaimsImpl"}],"platforms":["macOS"]}],"kind":"declarations"}],"abstract":[{"code":"DefaultJWTClaimsImpl","type":"codeVoice"},{"text":" is a struct implementing the ","type":"text"},{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"text":" protocol, providing a default set of claims.","type":"text"}],"sections":[],"kind":"symbol","metadata":{"title":"DefaultJWTClaimsImpl","modules":[{"name":"jose-swift"}],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"DefaultJWTClaimsImpl"}],"symbolKind":"struct","roleHeading":"Structure","navigatorTitle":[{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"role":"symbol","externalID":"s:12JSONWebToken20DefaultJWTClaimsImplV"},"schemaVersion":{"minor":3,"patch":0,"major":0},"variants":[{"paths":["\/documentation\/jose_swift\/defaultjwtclaimsimpl"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/init(issuer:subject:audience:expirationTime:notBeforeTime:issuedAt:jwtID:)"],"title":"Initializers"},{"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/audience","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/expirationTime","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/issuedAt","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/issuer","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/jwtID","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/notBeforeTime","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/subject"]},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/validateExtraClaims()"],"title":"Instance Methods"},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/Decodable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/Encodable-Implementations"],"title":"Default Implementations","generated":true}],"relationshipsSections":[{"kind":"relationships","title":"Conforms To","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims","doc:\/\/jose-swift\/Se","doc:\/\/jose-swift\/SE"],"type":"conformsTo"}],"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/Decodable-Implementations":{"title":"Decodable Implementations","role":"collectionGroup","kind":"article","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/Decodable-Implementations","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/decodable-implementations","abstract":[]},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/issuedAt":{"abstract":[],"kind":"symbol","title":"issuedAt","type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"text":"issuedAt","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DateV","kind":"typeIdentifier","text":"Date"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/issuedAt","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/issuedat"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/Encodable-Implementations":{"kind":"article","abstract":[],"title":"Encodable Implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/Encodable-Implementations","type":"topic","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/encodable-implementations","role":"collectionGroup"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/expirationTime":{"kind":"symbol","title":"expirationTime","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"expirationTime"},{"kind":"text","text":": "},{"text":"Date","preciseIdentifier":"s:10Foundation4DateV","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/expirationTime","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/expirationtime","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/notBeforeTime":{"kind":"symbol","type":"topic","role":"symbol","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/notBeforeTime","title":"notBeforeTime","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/notbeforetime","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"text":"notBeforeTime","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DateV","text":"Date","kind":"typeIdentifier"},{"kind":"text","text":"?"}]},"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWTRegisteredFieldsClaims","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"JWTRegisteredFieldsClaims"}],"abstract":[{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"type":"text","text":" is a protocol defining the standard claims typically included in a JWT."},{"type":"text","text":" "},{"type":"text","text":"Conforming types can represent the payload of a JWT, encompassing both registered claim names and custom claims."}],"title":"JWTRegisteredFieldsClaims"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/jwtID":{"kind":"symbol","abstract":[],"type":"topic","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/jwtid","title":"jwtID","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/jwtID","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwtID","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/subject":{"abstract":[],"type":"topic","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"subject"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"kind":"symbol","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/subject","title":"subject","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/subject"},"doc://jose-swift/SE":{"type":"unresolvable","identifier":"doc:\/\/jose-swift\/SE","title":"Swift.Encodable"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/init(issuer:subject:audience:expirationTime:notBeforeTime:issuedAt:jwtID:)":{"url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/init(issuer:subject:audience:expirationtime:notbeforetime:issuedat:jwtid:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/init(issuer:subject:audience:expirationTime:notBeforeTime:issuedAt:jwtID:)","title":"init(issuer:subject:audience:expirationTime:notBeforeTime:issuedAt:jwtID:)","role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"issuer","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"text":"subject","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?, ","kind":"text"},{"text":"audience","kind":"externalParam"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"]?, ","kind":"text"},{"text":"expirationTime","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DateV","text":"Date","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"notBeforeTime","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Date","preciseIdentifier":"s:10Foundation4DateV","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"issuedAt","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DateV","text":"Date","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"jwtID"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?)"}],"type":"topic","kind":"symbol","abstract":[{"text":"Initializes a new ","type":"text"},{"code":"DefaultJWTClaimsImpl","type":"codeVoice"},{"type":"text","text":" instance with optional parameters for each standard claim."}]},"doc://jose-swift/Se":{"type":"unresolvable","identifier":"doc:\/\/jose-swift\/Se","title":"Swift.Decodable"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"navigatorTitle":[{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"DefaultJWTClaimsImpl"},{"type":"text","text":" is a struct implementing the "},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"type":"text","text":" protocol, providing a default set of claims."}],"title":"DefaultJWTClaimsImpl"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/audience":{"url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/audience","role":"symbol","title":"audience","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/audience","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"audience"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"]?"}],"type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/validateExtraClaims()":{"url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/validateextraclaims()","role":"symbol","title":"validateExtraClaims()","kind":"symbol","abstract":[{"type":"text","text":"Validates extra claims in the JWT."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/validateExtraClaims()","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"validateExtraClaims"},{"kind":"text","text":"() "},{"kind":"keyword","text":"throws"}],"type":"topic"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/issuer":{"abstract":[],"role":"symbol","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"issuer"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/issuer","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/issuer","title":"issuer"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwtclaimsimpl/audience.json b/data/documentation/jose_swift/defaultjwtclaimsimpl/audience.json new file mode 100644 index 0000000..11cc7b5 --- /dev/null +++ b/data/documentation/jose_swift/defaultjwtclaimsimpl/audience.json @@ -0,0 +1 @@ +{"abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"JWTRegisteredFieldsClaims.audience"},{"text":".","type":"text"}],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/audience"},"metadata":{"title":"audience","symbolKind":"property","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"kind":"identifier","text":"audience"},{"text":": [","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":"]?"}],"modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","externalID":"s:12JSONWebToken20DefaultJWTClaimsImplV8audienceSaySSGSgvp","role":"symbol"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"kind":"identifier","text":"audience"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"]?","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/defaultjwtclaimsimpl\/audience"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"navigatorTitle":[{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"DefaultJWTClaimsImpl"},{"type":"text","text":" is a struct implementing the "},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"type":"text","text":" protocol, providing a default set of claims."}],"title":"DefaultJWTClaimsImpl"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/audience":{"url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/audience","role":"symbol","title":"audience","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/audience","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"audience"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"]?"}],"type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwtclaimsimpl/decodable-implementations.json b/data/documentation/jose_swift/defaultjwtclaimsimpl/decodable-implementations.json new file mode 100644 index 0000000..0b94e9c --- /dev/null +++ b/data/documentation/jose_swift/defaultjwtclaimsimpl/decodable-implementations.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/Decodable-Implementations","interfaceLanguage":"swift"},"metadata":{"modules":[{"name":"jose-swift"}],"role":"collectionGroup","title":"Decodable Implementations"},"sections":[],"variants":[{"paths":["\/documentation\/jose_swift\/defaultjwtclaimsimpl\/decodable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"article","topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/init(from:)"],"title":"Initializers","generated":true}],"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/init(from:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/init(from:)","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/init(from:)","role":"symbol","abstract":[],"title":"init(from:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s7DecoderP","text":"Decoder","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"navigatorTitle":[{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"DefaultJWTClaimsImpl"},{"type":"text","text":" is a struct implementing the "},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"type":"text","text":" protocol, providing a default set of claims."}],"title":"DefaultJWTClaimsImpl"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwtclaimsimpl/encodable-implementations.json b/data/documentation/jose_swift/defaultjwtclaimsimpl/encodable-implementations.json new file mode 100644 index 0000000..d5ec1d1 --- /dev/null +++ b/data/documentation/jose_swift/defaultjwtclaimsimpl/encodable-implementations.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl"]]},"topicSections":[{"title":"Instance Methods","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/encode(to:)"],"generated":true}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjwtclaimsimpl\/encodable-implementations"]}],"sections":[],"kind":"article","metadata":{"title":"Encodable Implementations","modules":[{"name":"jose-swift"}],"role":"collectionGroup"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/Encodable-Implementations"},"schemaVersion":{"patch":0,"minor":3,"major":0},"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"navigatorTitle":[{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"DefaultJWTClaimsImpl"},{"type":"text","text":" is a struct implementing the "},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"type":"text","text":" protocol, providing a default set of claims."}],"title":"DefaultJWTClaimsImpl"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/encode(to:)":{"abstract":[],"type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s7EncoderP","text":"Encoder","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/encode(to:)","kind":"symbol","title":"encode(to:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/encode(to:)"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwtclaimsimpl/encode(to:).json b/data/documentation/jose_swift/defaultjwtclaimsimpl/encode(to:).json new file mode 100644 index 0000000..b0cce5a --- /dev/null +++ b/data/documentation/jose_swift/defaultjwtclaimsimpl/encode(to:).json @@ -0,0 +1 @@ +{"metadata":{"role":"symbol","modules":[{"relatedModules":["JSONWebToken"],"name":"jose-swift"}],"externalID":"s:12JSONWebToken20DefaultJWTClaimsImplV6encode2toys7Encoder_p_tKF","roleHeading":"Instance Method","title":"encode(to:)","symbolKind":"method","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"to"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"extendedModule":"JSONWebToken"},"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/Encodable-Implementations"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjwtclaimsimpl\/encode(to:)"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"kind":"text","text":" "},{"text":"encoder","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/encode(to:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"Encodable.encode(to:)"},{"type":"text","text":"."}],"sections":[],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/encode(to:)":{"abstract":[],"type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s7EncoderP","text":"Encoder","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/encode(to:)","kind":"symbol","title":"encode(to:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/encode(to:)"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"navigatorTitle":[{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"DefaultJWTClaimsImpl"},{"type":"text","text":" is a struct implementing the "},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"type":"text","text":" protocol, providing a default set of claims."}],"title":"DefaultJWTClaimsImpl"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/Encodable-Implementations":{"kind":"article","abstract":[],"title":"Encodable Implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/Encodable-Implementations","type":"topic","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/encodable-implementations","role":"collectionGroup"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwtclaimsimpl/expirationtime.json b/data/documentation/jose_swift/defaultjwtclaimsimpl/expirationtime.json new file mode 100644 index 0000000..05380a2 --- /dev/null +++ b/data/documentation/jose_swift/defaultjwtclaimsimpl/expirationtime.json @@ -0,0 +1 @@ +{"sections":[],"kind":"symbol","primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"kind":"identifier","text":"expirationTime"},{"kind":"text","text":": "},{"text":"Date","preciseIdentifier":"s:10Foundation4DateV","kind":"typeIdentifier"},{"text":"?","kind":"text"}]}],"kind":"declarations"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/expirationTime"},"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl"]]},"metadata":{"title":"expirationTime","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"expirationTime","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Date","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DateV"},{"text":"?","kind":"text"}],"roleHeading":"Instance Property","symbolKind":"property","modules":[{"name":"jose-swift"}],"role":"symbol","externalID":"s:12JSONWebToken20DefaultJWTClaimsImplV14expirationTime10Foundation4DateVSgvp"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"JWTRegisteredFieldsClaims.expirationTime"},{"type":"text","text":"."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjwtclaimsimpl\/expirationtime"]}],"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"navigatorTitle":[{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"DefaultJWTClaimsImpl"},{"type":"text","text":" is a struct implementing the "},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"type":"text","text":" protocol, providing a default set of claims."}],"title":"DefaultJWTClaimsImpl"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/expirationTime":{"kind":"symbol","title":"expirationTime","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"expirationTime"},{"kind":"text","text":": "},{"text":"Date","preciseIdentifier":"s:10Foundation4DateV","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/expirationTime","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/expirationtime","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwtclaimsimpl/init(from:).json b/data/documentation/jose_swift/defaultjwtclaimsimpl/init(from:).json new file mode 100644 index 0000000..5e3e05f --- /dev/null +++ b/data/documentation/jose_swift/defaultjwtclaimsimpl/init(from:).json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"text":"Inherited from ","type":"text"},{"code":"Decodable.init(from:)","type":"codeVoice"},{"type":"text","text":"."}],"metadata":{"title":"init(from:)","extendedModule":"JSONWebToken","symbolKind":"init","modules":[{"name":"jose-swift","relatedModules":["JSONWebToken"]}],"role":"symbol","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP","text":"Decoder"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"externalID":"s:12JSONWebToken20DefaultJWTClaimsImplV4fromACs7Decoder_p_tKcfc","roleHeading":"Initializer"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/Decodable-Implementations"]]},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"decoder","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7DecoderP","kind":"typeIdentifier","text":"Decoder"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjwtclaimsimpl\/init(from:)"]}],"sections":[],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/init(from:)"},"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"navigatorTitle":[{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"DefaultJWTClaimsImpl"},{"type":"text","text":" is a struct implementing the "},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"type":"text","text":" protocol, providing a default set of claims."}],"title":"DefaultJWTClaimsImpl"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/init(from:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/init(from:)","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/init(from:)","role":"symbol","abstract":[],"title":"init(from:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s7DecoderP","text":"Decoder","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/Decodable-Implementations":{"title":"Decodable Implementations","role":"collectionGroup","kind":"article","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/Decodable-Implementations","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/decodable-implementations","abstract":[]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwtclaimsimpl/init(issuer:subject:audience:expirationtime:notbeforetime:issuedat:jwtid:).json b/data/documentation/jose_swift/defaultjwtclaimsimpl/init(issuer:subject:audience:expirationtime:notbeforetime:issuedat:jwtid:).json new file mode 100644 index 0000000..c9185af --- /dev/null +++ b/data/documentation/jose_swift/defaultjwtclaimsimpl/init(issuer:subject:audience:expirationtime:notbeforetime:issuedat:jwtid:).json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjwtclaimsimpl\/init(issuer:subject:audience:expirationtime:notbeforetime:issuedat:jwtid:)"]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/init(issuer:subject:audience:expirationTime:notBeforeTime:issuedAt:jwtID:)","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"issuer"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"? = nil, ","kind":"text"},{"text":"subject","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":"? = nil, "},{"text":"audience","kind":"externalParam"},{"kind":"text","text":": ["},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"]? = nil, ","kind":"text"},{"text":"expirationTime","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"notBeforeTime"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DateV","text":"Date"},{"kind":"text","text":"? = nil, "},{"text":"issuedAt","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DateV","text":"Date"},{"kind":"text","text":"? = nil, "},{"text":"jwtID","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"? = nil)","kind":"text"}]}]}],"sections":[],"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"title":"init(issuer:subject:audience:expirationTime:notBeforeTime:issuedAt:jwtID:)","symbolKind":"init","modules":[{"name":"jose-swift"}],"roleHeading":"Initializer","externalID":"s:12JSONWebToken20DefaultJWTClaimsImplV6issuer7subject8audience14expirationTime09notBeforeJ08issuedAt5jwtIDACSSSg_AKSaySSGSg10Foundation4DateVSgA2qKtcfc","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"issuer"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"subject","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"audience"},{"text":": [","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"]?, ","kind":"text"},{"text":"expirationTime","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DateV","text":"Date"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"notBeforeTime"},{"text":": ","kind":"text"},{"text":"Date","preciseIdentifier":"s:10Foundation4DateV","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"issuedAt"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DateV","text":"Date"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"jwtID"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?)","kind":"text"}],"role":"symbol"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl"]]},"abstract":[{"type":"text","text":"Initializes a new "},{"type":"codeVoice","code":"DefaultJWTClaimsImpl"},{"text":" instance with optional parameters for each standard claim.","type":"text"}],"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"navigatorTitle":[{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"DefaultJWTClaimsImpl"},{"type":"text","text":" is a struct implementing the "},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"type":"text","text":" protocol, providing a default set of claims."}],"title":"DefaultJWTClaimsImpl"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/init(issuer:subject:audience:expirationTime:notBeforeTime:issuedAt:jwtID:)":{"url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/init(issuer:subject:audience:expirationtime:notbeforetime:issuedat:jwtid:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/init(issuer:subject:audience:expirationTime:notBeforeTime:issuedAt:jwtID:)","title":"init(issuer:subject:audience:expirationTime:notBeforeTime:issuedAt:jwtID:)","role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"issuer","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"text":"subject","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?, ","kind":"text"},{"text":"audience","kind":"externalParam"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"]?, ","kind":"text"},{"text":"expirationTime","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DateV","text":"Date","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"notBeforeTime","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Date","preciseIdentifier":"s:10Foundation4DateV","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"issuedAt","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DateV","text":"Date","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"jwtID"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?)"}],"type":"topic","kind":"symbol","abstract":[{"text":"Initializes a new ","type":"text"},{"code":"DefaultJWTClaimsImpl","type":"codeVoice"},{"type":"text","text":" instance with optional parameters for each standard claim."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwtclaimsimpl/issuedat.json b/data/documentation/jose_swift/defaultjwtclaimsimpl/issuedat.json new file mode 100644 index 0000000..db1f817 --- /dev/null +++ b/data/documentation/jose_swift/defaultjwtclaimsimpl/issuedat.json @@ -0,0 +1 @@ +{"metadata":{"symbolKind":"property","externalID":"s:12JSONWebToken20DefaultJWTClaimsImplV8issuedAt10Foundation4DateVSgvp","roleHeading":"Instance Property","title":"issuedAt","role":"symbol","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"text":"issuedAt","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Date","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"modules":[{"name":"jose-swift"}]},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"issuedAt","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DateV","text":"Date","kind":"typeIdentifier"},{"text":"?","kind":"text"}]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjwtclaimsimpl\/issuedat"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/issuedAt"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl"]]},"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"JWTRegisteredFieldsClaims.issuedAt"},{"type":"text","text":"."}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/issuedAt":{"abstract":[],"kind":"symbol","title":"issuedAt","type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"text":"issuedAt","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DateV","kind":"typeIdentifier","text":"Date"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/issuedAt","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/issuedat"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"navigatorTitle":[{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"DefaultJWTClaimsImpl"},{"type":"text","text":" is a struct implementing the "},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"type":"text","text":" protocol, providing a default set of claims."}],"title":"DefaultJWTClaimsImpl"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwtclaimsimpl/issuer.json b/data/documentation/jose_swift/defaultjwtclaimsimpl/issuer.json new file mode 100644 index 0000000..fba494f --- /dev/null +++ b/data/documentation/jose_swift/defaultjwtclaimsimpl/issuer.json @@ -0,0 +1 @@ +{"sections":[],"metadata":{"roleHeading":"Instance Property","role":"symbol","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"issuer"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"modules":[{"name":"jose-swift"}],"symbolKind":"property","externalID":"s:12JSONWebToken20DefaultJWTClaimsImplV6issuerSSSgvp","title":"issuer"},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"issuer"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"platforms":["macOS"]}]}],"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"JWTRegisteredFieldsClaims.issuer"},{"type":"text","text":"."}],"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/issuer"},"variants":[{"paths":["\/documentation\/jose_swift\/defaultjwtclaimsimpl\/issuer"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl"]]},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"navigatorTitle":[{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"DefaultJWTClaimsImpl"},{"type":"text","text":" is a struct implementing the "},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"type":"text","text":" protocol, providing a default set of claims."}],"title":"DefaultJWTClaimsImpl"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/issuer":{"abstract":[],"role":"symbol","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"issuer"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/issuer","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/issuer","title":"issuer"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwtclaimsimpl/jwtid.json b/data/documentation/jose_swift/defaultjwtclaimsimpl/jwtid.json new file mode 100644 index 0000000..8dd7c41 --- /dev/null +++ b/data/documentation/jose_swift/defaultjwtclaimsimpl/jwtid.json @@ -0,0 +1 @@ +{"kind":"symbol","sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/jwtID"},"metadata":{"role":"symbol","externalID":"s:12JSONWebToken20DefaultJWTClaimsImplV5jwtIDSSSgvp","symbolKind":"property","title":"jwtID","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"jwtID"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?"}],"roleHeading":"Instance Property","modules":[{"name":"jose-swift"}]},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"JWTRegisteredFieldsClaims.jwtID"},{"type":"text","text":"."}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"text":"jwtID","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"languages":["swift"]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/defaultjwtclaimsimpl\/jwtid"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/jwtID":{"kind":"symbol","abstract":[],"type":"topic","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/jwtid","title":"jwtID","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/jwtID","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwtID","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"navigatorTitle":[{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"DefaultJWTClaimsImpl"},{"type":"text","text":" is a struct implementing the "},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"type":"text","text":" protocol, providing a default set of claims."}],"title":"DefaultJWTClaimsImpl"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwtclaimsimpl/notbeforetime.json b/data/documentation/jose_swift/defaultjwtclaimsimpl/notbeforetime.json new file mode 100644 index 0000000..9d28f7d --- /dev/null +++ b/data/documentation/jose_swift/defaultjwtclaimsimpl/notbeforetime.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjwtclaimsimpl\/notbeforetime"]}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"notBeforeTime"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"languages":["swift"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl"]]},"abstract":[{"type":"text","text":"Inherited from "},{"code":"JWTRegisteredFieldsClaims.notBeforeTime","type":"codeVoice"},{"type":"text","text":"."}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/notBeforeTime","interfaceLanguage":"swift"},"metadata":{"role":"symbol","symbolKind":"property","roleHeading":"Instance Property","title":"notBeforeTime","modules":[{"name":"jose-swift"}],"externalID":"s:12JSONWebToken20DefaultJWTClaimsImplV13notBeforeTime10Foundation4DateVSgvp","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"notBeforeTime","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DateV","text":"Date"},{"kind":"text","text":"?"}]},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"navigatorTitle":[{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"DefaultJWTClaimsImpl"},{"type":"text","text":" is a struct implementing the "},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"type":"text","text":" protocol, providing a default set of claims."}],"title":"DefaultJWTClaimsImpl"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/notBeforeTime":{"kind":"symbol","type":"topic","role":"symbol","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/notBeforeTime","title":"notBeforeTime","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/notbeforetime","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"text":"notBeforeTime","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DateV","text":"Date","kind":"typeIdentifier"},{"kind":"text","text":"?"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwtclaimsimpl/subject.json b/data/documentation/jose_swift/defaultjwtclaimsimpl/subject.json new file mode 100644 index 0000000..5e08589 --- /dev/null +++ b/data/documentation/jose_swift/defaultjwtclaimsimpl/subject.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl"]]},"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"subject"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"platforms":["macOS"]}],"kind":"declarations"}],"sections":[],"abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"JWTRegisteredFieldsClaims.subject"},{"type":"text","text":"."}],"variants":[{"paths":["\/documentation\/jose_swift\/defaultjwtclaimsimpl\/subject"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/subject"},"metadata":{"modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"subject","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"symbolKind":"property","externalID":"s:12JSONWebToken20DefaultJWTClaimsImplV7subjectSSSgvp","title":"subject","role":"symbol"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"navigatorTitle":[{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"DefaultJWTClaimsImpl"},{"type":"text","text":" is a struct implementing the "},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"type":"text","text":" protocol, providing a default set of claims."}],"title":"DefaultJWTClaimsImpl"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/subject":{"abstract":[],"type":"topic","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"subject"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"kind":"symbol","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/subject","title":"subject","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/subject"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/defaultjwtclaimsimpl/validateextraclaims().json b/data/documentation/jose_swift/defaultjwtclaimsimpl/validateextraclaims().json new file mode 100644 index 0000000..75ffb21 --- /dev/null +++ b/data/documentation/jose_swift/defaultjwtclaimsimpl/validateextraclaims().json @@ -0,0 +1 @@ +{"metadata":{"title":"validateExtraClaims()","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"validateExtraClaims","kind":"identifier"},{"text":"() ","kind":"text"},{"text":"throws","kind":"keyword"}],"roleHeading":"Instance Method","externalID":"s:12JSONWebToken20DefaultJWTClaimsImplV19validateExtraClaimsyyKF","symbolKind":"method","modules":[{"name":"jose-swift"}],"role":"symbol"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/defaultjwtclaimsimpl\/validateextraclaims()"]}],"abstract":[{"text":"Validates extra claims in the JWT.","type":"text"}],"kind":"symbol","primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"validateExtraClaims","kind":"identifier"},{"kind":"text","text":"() "},{"text":"throws","kind":"keyword"}],"languages":["swift"]}],"kind":"declarations"},{"content":[{"type":"heading","level":2,"anchor":"discussion","text":"Discussion"},{"style":"note","type":"aside","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":""},{"type":"codeVoice","code":"JWTError"},{"type":"text","text":" if any claim validations fail."}]}],"name":"Throws"}],"kind":"content"}],"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/validateExtraClaims()","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl"]]},"references":{"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl/validateExtraClaims()":{"url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/validateextraclaims()","role":"symbol","title":"validateExtraClaims()","kind":"symbol","abstract":[{"type":"text","text":"Validates extra claims in the JWT."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl\/validateExtraClaims()","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"validateExtraClaims"},{"kind":"text","text":"() "},{"kind":"keyword","text":"throws"}],"type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"navigatorTitle":[{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"DefaultJWTClaimsImpl"},{"type":"text","text":" is a struct implementing the "},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"type":"text","text":" protocol, providing a default set of claims."}],"title":"DefaultJWTClaimsImpl"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwaregisteredfieldsheader.json b/data/documentation/jose_swift/jwaregisteredfieldsheader.json new file mode 100644 index 0000000..10a2d70 --- /dev/null +++ b/data/documentation/jose_swift/jwaregisteredfieldsheader.json @@ -0,0 +1 @@ +{"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/agreementPartyUInfo","doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/agreementPartyVInfo","doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/authenticationTag","doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/ephemeralPublicKey","doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/initializationVector","doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/pbes2SaltCount","doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/pbes2SaltInput"],"title":"Instance Properties"}],"abstract":[{"code":"JWARegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":" is a protocol that defines a set of fields commonly used in JSON Web Algorithms (JWA)."},{"text":" ","type":"text"},{"text":"These fields are typically used in cryptographic operations such as key agreement or key derivation.","type":"text"}],"variants":[{"paths":["\/documentation\/jose_swift\/jwaregisteredfieldsheader"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWARegisteredFieldsHeader"},{"text":" : ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Se","text":"Decodable"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Encodable","preciseIdentifier":"s:SE"}],"languages":["swift"]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader","interfaceLanguage":"swift"},"kind":"symbol","sections":[],"relationshipsSections":[{"identifiers":["doc:\/\/jose-swift\/Se","doc:\/\/jose-swift\/SE"],"type":"inheritsFrom","title":"Inherits From","kind":"relationships"},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"],"kind":"relationships","title":"Inherited By","type":"inheritedBy"},{"title":"Conforming Types","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"],"kind":"relationships","type":"conformingTypes"}],"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"navigatorTitle":[{"text":"JWARegisteredFieldsHeader","kind":"identifier"}],"title":"JWARegisteredFieldsHeader","modules":[{"name":"jose-swift"}],"fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWARegisteredFieldsHeader"}],"symbolKind":"protocol","role":"symbol","roleHeading":"Protocol","externalID":"s:17JSONWebAlgorithms25JWARegisteredFieldsHeaderP"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"references":{"doc://jose-swift/documentation/jose_swift/JWARegisteredFieldsHeader/agreementPartyVInfo":{"url":"\/documentation\/jose_swift\/jwaregisteredfieldsheader\/agreementpartyvinfo","kind":"symbol","abstract":[{"type":"text","text":"PartyVInfo (Voucher Information) data, used in key agreement protocols alongside PartyUInfo."},{"type":"text","text":" "},{"type":"text","text":"It also provides additional context or information during key derivation."}],"required":true,"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/agreementPartyVInfo","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"agreementPartyVInfo","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?"}],"title":"agreementPartyVInfo","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWARegisteredFieldsHeader/initializationVector":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"initializationVector","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?","kind":"text"}],"abstract":[{"type":"text","text":"The Initialization Vector (IV) used in certain encryption algorithms to provide additional randomness."},{"text":" ","type":"text"},{"type":"text","text":"IVs are critical for ensuring that the same plaintext encrypts differently each time."}],"type":"topic","url":"\/documentation\/jose_swift\/jwaregisteredfieldsheader\/initializationvector","kind":"symbol","required":true,"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/initializationVector","title":"initializationVector","role":"symbol"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWARegisteredFieldsHeader/agreementPartyUInfo":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"agreementPartyUInfo"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?","kind":"text"}],"abstract":[{"type":"text","text":"PartyUInfo (User Information) data, used in key agreement protocols to provide additional context or information."},{"text":" ","type":"text"},{"type":"text","text":"This data is typically combined with the ephemeral public key during key derivation."}],"type":"topic","url":"\/documentation\/jose_swift\/jwaregisteredfieldsheader\/agreementpartyuinfo","kind":"symbol","required":true,"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/agreementPartyUInfo","title":"agreementPartyUInfo","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWARegisteredFieldsHeader/ephemeralPublicKey":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"ephemeralPublicKey","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?","kind":"text"}],"abstract":[{"type":"text","text":"The ephemeral public key, often used in key agreement protocols."},{"text":" ","type":"text"},{"type":"text","text":"This key is typically short-lived and used for a single session or transaction."}],"type":"topic","url":"\/documentation\/jose_swift\/jwaregisteredfieldsheader\/ephemeralpublickey","kind":"symbol","required":true,"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/ephemeralPublicKey","title":"ephemeralPublicKey","role":"symbol"},"doc://jose-swift/SE":{"type":"unresolvable","title":"Swift.Encodable","identifier":"doc:\/\/jose-swift\/SE"},"doc://jose-swift/documentation/jose_swift/JWARegisteredFieldsHeader/authenticationTag":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"authenticationTag","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?"}],"title":"authenticationTag","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/jwaregisteredfieldsheader\/authenticationtag","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/authenticationTag","abstract":[{"type":"text","text":"The authentication tag, which is used to verify the integrity and authenticity of a message in authenticated encryption."},{"type":"text","text":" "},{"text":"It’s essential for detecting data tampering.","type":"text"}],"required":true},"doc://jose-swift/documentation/jose_swift/JWARegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWARegisteredFieldsHeader","kind":"identifier"}],"title":"JWARegisteredFieldsHeader","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/jwaregisteredfieldsheader","type":"topic","navigatorTitle":[{"kind":"identifier","text":"JWARegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader","abstract":[{"code":"JWARegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":" is a protocol that defines a set of fields commonly used in JSON Web Algorithms (JWA)."},{"type":"text","text":" "},{"text":"These fields are typically used in cryptographic operations such as key agreement or key derivation.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift/JWARegisteredFieldsHeader/pbes2SaltInput":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/pbes2SaltInput","required":true,"kind":"symbol","title":"pbes2SaltInput","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"pbes2SaltInput","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/jwaregisteredfieldsheader\/pbes2saltinput","abstract":[{"type":"text","text":"PBES2 (Password-Based Encryption Scheme 2) salt input, used in key derivation functions."},{"type":"text","text":" "},{"type":"text","text":"The salt ensures that the same password generates different encryption keys each time."}],"type":"topic"},"doc://jose-swift/Se":{"identifier":"doc:\/\/jose-swift\/Se","title":"Swift.Decodable","type":"unresolvable"},"doc://jose-swift/documentation/jose_swift/JWARegisteredFieldsHeader/pbes2SaltCount":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/pbes2SaltCount","title":"pbes2SaltCount","role":"symbol","abstract":[{"type":"text","text":"The iteration count for the PBES2 salt input, determining how many times the password is hashed during the key derivation process."},{"text":" ","type":"text"},{"type":"text","text":"Higher counts provide better security but require more computational resources."}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"pbes2SaltCount","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"required":true,"url":"\/documentation\/jose_swift\/jwaregisteredfieldsheader\/pbes2saltcount","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwaregisteredfieldsheader/agreementpartyuinfo.json b/data/documentation/jose_swift/jwaregisteredfieldsheader/agreementpartyuinfo.json new file mode 100644 index 0000000..776acac --- /dev/null +++ b/data/documentation/jose_swift/jwaregisteredfieldsheader/agreementpartyuinfo.json @@ -0,0 +1 @@ +{"sections":[],"schemaVersion":{"minor":3,"major":0,"patch":0},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"agreementPartyUInfo","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"? { "},{"text":"get","kind":"keyword"},{"text":" ","kind":"text"},{"text":"set","kind":"keyword"},{"text":" }","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"metadata":{"externalID":"s:17JSONWebAlgorithms25JWARegisteredFieldsHeaderP19agreementPartyUInfo10Foundation4DataVSgvp","required":true,"title":"agreementPartyUInfo","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"agreementPartyUInfo","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"modules":[{"name":"jose-swift"}],"symbolKind":"property","roleHeading":"Instance Property"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader"]]},"abstract":[{"type":"text","text":"PartyUInfo (User Information) data, used in key agreement protocols to provide additional context or information."},{"type":"text","text":" "},{"type":"text","text":"This data is typically combined with the ephemeral public key during key derivation."}],"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/agreementPartyUInfo","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/jose_swift\/jwaregisteredfieldsheader\/agreementpartyuinfo"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWARegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWARegisteredFieldsHeader","kind":"identifier"}],"title":"JWARegisteredFieldsHeader","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/jwaregisteredfieldsheader","type":"topic","navigatorTitle":[{"kind":"identifier","text":"JWARegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader","abstract":[{"code":"JWARegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":" is a protocol that defines a set of fields commonly used in JSON Web Algorithms (JWA)."},{"type":"text","text":" "},{"text":"These fields are typically used in cryptographic operations such as key agreement or key derivation.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWARegisteredFieldsHeader/agreementPartyUInfo":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"agreementPartyUInfo"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?","kind":"text"}],"abstract":[{"type":"text","text":"PartyUInfo (User Information) data, used in key agreement protocols to provide additional context or information."},{"text":" ","type":"text"},{"type":"text","text":"This data is typically combined with the ephemeral public key during key derivation."}],"type":"topic","url":"\/documentation\/jose_swift\/jwaregisteredfieldsheader\/agreementpartyuinfo","kind":"symbol","required":true,"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/agreementPartyUInfo","title":"agreementPartyUInfo","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwaregisteredfieldsheader/agreementpartyvinfo.json b/data/documentation/jose_swift/jwaregisteredfieldsheader/agreementpartyvinfo.json new file mode 100644 index 0000000..56cbe7c --- /dev/null +++ b/data/documentation/jose_swift/jwaregisteredfieldsheader/agreementpartyvinfo.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"agreementPartyVInfo","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"? { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" "},{"text":"set","kind":"keyword"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/agreementPartyVInfo"},"sections":[],"kind":"symbol","abstract":[{"type":"text","text":"PartyVInfo (Voucher Information) data, used in key agreement protocols alongside PartyUInfo."},{"type":"text","text":" "},{"type":"text","text":"It also provides additional context or information during key derivation."}],"schemaVersion":{"patch":0,"major":0,"minor":3},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwaregisteredfieldsheader\/agreementpartyvinfo"]}],"metadata":{"role":"symbol","symbolKind":"property","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"agreementPartyVInfo","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?"}],"externalID":"s:17JSONWebAlgorithms25JWARegisteredFieldsHeaderP19agreementPartyVInfo10Foundation4DataVSgvp","modules":[{"name":"jose-swift"}],"required":true,"title":"agreementPartyVInfo","roleHeading":"Instance Property"},"references":{"doc://jose-swift/documentation/jose_swift/JWARegisteredFieldsHeader/agreementPartyVInfo":{"url":"\/documentation\/jose_swift\/jwaregisteredfieldsheader\/agreementpartyvinfo","kind":"symbol","abstract":[{"type":"text","text":"PartyVInfo (Voucher Information) data, used in key agreement protocols alongside PartyUInfo."},{"type":"text","text":" "},{"type":"text","text":"It also provides additional context or information during key derivation."}],"required":true,"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/agreementPartyVInfo","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"agreementPartyVInfo","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?"}],"title":"agreementPartyVInfo","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWARegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWARegisteredFieldsHeader","kind":"identifier"}],"title":"JWARegisteredFieldsHeader","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/jwaregisteredfieldsheader","type":"topic","navigatorTitle":[{"kind":"identifier","text":"JWARegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader","abstract":[{"code":"JWARegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":" is a protocol that defines a set of fields commonly used in JSON Web Algorithms (JWA)."},{"type":"text","text":" "},{"text":"These fields are typically used in cryptographic operations such as key agreement or key derivation.","type":"text"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwaregisteredfieldsheader/authenticationtag.json b/data/documentation/jose_swift/jwaregisteredfieldsheader/authenticationtag.json new file mode 100644 index 0000000..8c92346 --- /dev/null +++ b/data/documentation/jose_swift/jwaregisteredfieldsheader/authenticationtag.json @@ -0,0 +1 @@ +{"metadata":{"roleHeading":"Instance Property","symbolKind":"property","title":"authenticationTag","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"authenticationTag"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"role":"symbol","externalID":"s:17JSONWebAlgorithms25JWARegisteredFieldsHeaderP17authenticationTag10Foundation4DataVSgvp","modules":[{"name":"jose-swift"}],"required":true},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"authenticationTag"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"? { ","kind":"text"},{"text":"get","kind":"keyword"},{"kind":"text","text":" "},{"text":"set","kind":"keyword"},{"kind":"text","text":" }"}]}]}],"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwaregisteredfieldsheader\/authenticationtag"]}],"abstract":[{"type":"text","text":"The authentication tag, which is used to verify the integrity and authenticity of a message in authenticated encryption."},{"type":"text","text":" "},{"text":"It’s essential for detecting data tampering.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/authenticationTag","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWARegisteredFieldsHeader/authenticationTag":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"authenticationTag","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?"}],"title":"authenticationTag","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/jwaregisteredfieldsheader\/authenticationtag","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/authenticationTag","abstract":[{"type":"text","text":"The authentication tag, which is used to verify the integrity and authenticity of a message in authenticated encryption."},{"type":"text","text":" "},{"text":"It’s essential for detecting data tampering.","type":"text"}],"required":true},"doc://jose-swift/documentation/jose_swift/JWARegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWARegisteredFieldsHeader","kind":"identifier"}],"title":"JWARegisteredFieldsHeader","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/jwaregisteredfieldsheader","type":"topic","navigatorTitle":[{"kind":"identifier","text":"JWARegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader","abstract":[{"code":"JWARegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":" is a protocol that defines a set of fields commonly used in JSON Web Algorithms (JWA)."},{"type":"text","text":" "},{"text":"These fields are typically used in cryptographic operations such as key agreement or key derivation.","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwaregisteredfieldsheader/ephemeralpublickey.json b/data/documentation/jose_swift/jwaregisteredfieldsheader/ephemeralpublickey.json new file mode 100644 index 0000000..5016ae4 --- /dev/null +++ b/data/documentation/jose_swift/jwaregisteredfieldsheader/ephemeralpublickey.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/ephemeralPublicKey","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"abstract":[{"text":"The ephemeral public key, often used in key agreement protocols.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"This key is typically short-lived and used for a single session or transaction."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"ephemeralPublicKey","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"text":"? { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"set"},{"text":" }","kind":"text"}],"languages":["swift"]}]}],"kind":"symbol","metadata":{"externalID":"s:17JSONWebAlgorithms25JWARegisteredFieldsHeaderP18ephemeralPublicKey0aH03JWKVSgvp","role":"symbol","roleHeading":"Instance Property","symbolKind":"property","title":"ephemeralPublicKey","modules":[{"name":"jose-swift"}],"required":true,"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ephemeralPublicKey"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?","kind":"text"}]},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jwaregisteredfieldsheader\/ephemeralpublickey"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWARegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWARegisteredFieldsHeader","kind":"identifier"}],"title":"JWARegisteredFieldsHeader","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/jwaregisteredfieldsheader","type":"topic","navigatorTitle":[{"kind":"identifier","text":"JWARegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader","abstract":[{"code":"JWARegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":" is a protocol that defines a set of fields commonly used in JSON Web Algorithms (JWA)."},{"type":"text","text":" "},{"text":"These fields are typically used in cryptographic operations such as key agreement or key derivation.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWARegisteredFieldsHeader/ephemeralPublicKey":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"ephemeralPublicKey","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?","kind":"text"}],"abstract":[{"type":"text","text":"The ephemeral public key, often used in key agreement protocols."},{"text":" ","type":"text"},{"type":"text","text":"This key is typically short-lived and used for a single session or transaction."}],"type":"topic","url":"\/documentation\/jose_swift\/jwaregisteredfieldsheader\/ephemeralpublickey","kind":"symbol","required":true,"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/ephemeralPublicKey","title":"ephemeralPublicKey","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwaregisteredfieldsheader/initializationvector.json b/data/documentation/jose_swift/jwaregisteredfieldsheader/initializationvector.json new file mode 100644 index 0000000..ea82c0a --- /dev/null +++ b/data/documentation/jose_swift/jwaregisteredfieldsheader/initializationvector.json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"The Initialization Vector (IV) used in certain encryption algorithms to provide additional randomness."},{"type":"text","text":" "},{"type":"text","text":"IVs are critical for ensuring that the same plaintext encrypts differently each time."}],"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/initializationVector","interfaceLanguage":"swift"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader"]]},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"initializationVector"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"? { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" ","kind":"text"},{"kind":"keyword","text":"set"},{"kind":"text","text":" }"}]}],"kind":"declarations"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwaregisteredfieldsheader\/initializationvector"]}],"metadata":{"role":"symbol","symbolKind":"property","roleHeading":"Instance Property","required":true,"title":"initializationVector","externalID":"s:17JSONWebAlgorithms25JWARegisteredFieldsHeaderP20initializationVector10Foundation4DataVSgvp","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"initializationVector"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"modules":[{"name":"jose-swift"}]},"references":{"doc://jose-swift/documentation/jose_swift/JWARegisteredFieldsHeader/initializationVector":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"initializationVector","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?","kind":"text"}],"abstract":[{"type":"text","text":"The Initialization Vector (IV) used in certain encryption algorithms to provide additional randomness."},{"text":" ","type":"text"},{"type":"text","text":"IVs are critical for ensuring that the same plaintext encrypts differently each time."}],"type":"topic","url":"\/documentation\/jose_swift\/jwaregisteredfieldsheader\/initializationvector","kind":"symbol","required":true,"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/initializationVector","title":"initializationVector","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWARegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWARegisteredFieldsHeader","kind":"identifier"}],"title":"JWARegisteredFieldsHeader","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/jwaregisteredfieldsheader","type":"topic","navigatorTitle":[{"kind":"identifier","text":"JWARegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader","abstract":[{"code":"JWARegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":" is a protocol that defines a set of fields commonly used in JSON Web Algorithms (JWA)."},{"type":"text","text":" "},{"text":"These fields are typically used in cryptographic operations such as key agreement or key derivation.","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwaregisteredfieldsheader/pbes2saltcount.json b/data/documentation/jose_swift/jwaregisteredfieldsheader/pbes2saltcount.json new file mode 100644 index 0000000..c03d320 --- /dev/null +++ b/data/documentation/jose_swift/jwaregisteredfieldsheader/pbes2saltcount.json @@ -0,0 +1 @@ +{"metadata":{"title":"pbes2SaltCount","symbolKind":"property","externalID":"s:17JSONWebAlgorithms25JWARegisteredFieldsHeaderP14pbes2SaltCount10Foundation4DataVSgvp","role":"symbol","modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","required":true,"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"pbes2SaltCount"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?","kind":"text"}]},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/pbes2SaltCount","interfaceLanguage":"swift"},"abstract":[{"text":"The iteration count for the PBES2 salt input, determining how many times the password is hashed during the key derivation process.","type":"text"},{"type":"text","text":" "},{"text":"Higher counts provide better security but require more computational resources.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"pbes2SaltCount"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"? { "},{"text":"get","kind":"keyword"},{"text":" ","kind":"text"},{"text":"set","kind":"keyword"},{"text":" }","kind":"text"}]}]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jwaregisteredfieldsheader\/pbes2saltcount"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWARegisteredFieldsHeader/pbes2SaltCount":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/pbes2SaltCount","title":"pbes2SaltCount","role":"symbol","abstract":[{"type":"text","text":"The iteration count for the PBES2 salt input, determining how many times the password is hashed during the key derivation process."},{"text":" ","type":"text"},{"type":"text","text":"Higher counts provide better security but require more computational resources."}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"pbes2SaltCount","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"required":true,"url":"\/documentation\/jose_swift\/jwaregisteredfieldsheader\/pbes2saltcount","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWARegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWARegisteredFieldsHeader","kind":"identifier"}],"title":"JWARegisteredFieldsHeader","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/jwaregisteredfieldsheader","type":"topic","navigatorTitle":[{"kind":"identifier","text":"JWARegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader","abstract":[{"code":"JWARegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":" is a protocol that defines a set of fields commonly used in JSON Web Algorithms (JWA)."},{"type":"text","text":" "},{"text":"These fields are typically used in cryptographic operations such as key agreement or key derivation.","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwaregisteredfieldsheader/pbes2saltinput.json b/data/documentation/jose_swift/jwaregisteredfieldsheader/pbes2saltinput.json new file mode 100644 index 0000000..9d7ea0b --- /dev/null +++ b/data/documentation/jose_swift/jwaregisteredfieldsheader/pbes2saltinput.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/jwaregisteredfieldsheader\/pbes2saltinput"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"modules":[{"name":"jose-swift"}],"required":true,"externalID":"s:17JSONWebAlgorithms25JWARegisteredFieldsHeaderP14pbes2SaltInput10Foundation4DataVSgvp","symbolKind":"property","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"pbes2SaltInput"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"title":"pbes2SaltInput","role":"symbol","roleHeading":"Instance Property"},"kind":"symbol","sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/pbes2SaltInput","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader"]]},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"pbes2SaltInput","kind":"identifier"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"? { ","kind":"text"},{"kind":"keyword","text":"get"},{"kind":"text","text":" "},{"text":"set","kind":"keyword"},{"text":" }","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"abstract":[{"type":"text","text":"PBES2 (Password-Based Encryption Scheme 2) salt input, used in key derivation functions."},{"text":" ","type":"text"},{"type":"text","text":"The salt ensures that the same password generates different encryption keys each time."}],"references":{"doc://jose-swift/documentation/jose_swift/JWARegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWARegisteredFieldsHeader","kind":"identifier"}],"title":"JWARegisteredFieldsHeader","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/jwaregisteredfieldsheader","type":"topic","navigatorTitle":[{"kind":"identifier","text":"JWARegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader","abstract":[{"code":"JWARegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":" is a protocol that defines a set of fields commonly used in JSON Web Algorithms (JWA)."},{"type":"text","text":" "},{"text":"These fields are typically used in cryptographic operations such as key agreement or key derivation.","type":"text"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWARegisteredFieldsHeader/pbes2SaltInput":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader\/pbes2SaltInput","required":true,"kind":"symbol","title":"pbes2SaltInput","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"pbes2SaltInput","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/jwaregisteredfieldsheader\/pbes2saltinput","abstract":[{"type":"text","text":"PBES2 (Password-Based Encryption Scheme 2) salt input, used in key derivation functions."},{"type":"text","text":" "},{"type":"text","text":"The salt ensures that the same password generates different encryption keys each time."}],"type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe.json b/data/documentation/jose_swift/jwe.json new file mode 100644 index 0000000..9602ab6 --- /dev/null +++ b/data/documentation/jose_swift/jwe.json @@ -0,0 +1 @@ +{"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/init(compactString:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/init(payload:keyManagementAlg:encryptionAlgorithm:senderKey:recipientKey:cek:initializationVector:additionalAuthenticationData:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/init(payload:keyManagementAlg:encryptionAlgorithm:unprotectedHeader:senderKey:recipientKey:cek:additionalAuthenticationData:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/init(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:cek:initializationVector:additionalAuthenticationData:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/init(protectedHeader:encryptedKey:initializationVector:cipher:authenticationTag:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/init(protectedHeader:protectedHeaderData:cipher:unprotectedHeader:unprotectedHeaderData:encryptedKey:initializationVector:authenticationTag:additionalAuthenticatedData:)"],"title":"Initializers"},{"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/additionalAuthenticatedData","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/authenticationTag","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/cipher","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/encryptedKey","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/initializationVector","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/protectedHeader","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/protectedHeaderData","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/unprotectedHeader","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/unprotectedHeaderData"]},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/compactSerialization()","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/decrypt(senderKey:recipientKey:sharedKey:)"],"title":"Instance Methods"},{"title":"Type Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/encryptionModule"]},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/decrypt(compactString:senderKey:recipientKey:sharedKey:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/decrypt(jweJson:senderKey:recipientKey:sharedKey:tryAllRecipients:)-3j231","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/decrypt(jweJson:senderKey:recipientKey:sharedKey:tryAllRecipients:)-3j446","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/jsonSerialization(payload:encryptionAlgorithm:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/jsonSerialization(payload:encryptionAlgorithm:unprotectedHeader:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/jsonSerialization(payload:protectedHeader:unprotectedHeader:senderKey:recipientKeys:cek:initializationVector:additionalAuthenticationData:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/jsonSerialization(payload:protectedHeader:unprotectedHeader:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)"],"title":"Type Methods"}],"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE","interfaceLanguage":"swift"},"metadata":{"roleHeading":"Structure","title":"JWE","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"modules":[{"name":"jose-swift"}],"navigatorTitle":[{"text":"JWE","kind":"identifier"}],"externalID":"s:17JSONWebEncryption3JWEV","role":"symbol","symbolKind":"struct"},"variants":[{"paths":["\/documentation\/jose_swift\/jwe"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWE"}]}],"kind":"declarations"}],"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/JWE/encryptionModule":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/encryptionModule","title":"encryptionModule","role":"symbol","abstract":[],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"encryptionModule"},{"kind":"text","text":": "},{"text":"JWEEncryptionModule","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption19JWEEncryptionModuleV"}],"url":"\/documentation\/jose_swift\/jwe\/encryptionmodule","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWE/jsonSerialization(payload:encryptionAlgorithm:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/jsonSerialization(payload:encryptionAlgorithm:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)","title":"jsonSerialization(payload:encryptionAlgorithm:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)","role":"symbol","abstract":[{"text":"Creates a JSON serialization of a ","type":"text"},{"code":"JWE","type":"codeVoice"},{"text":" object using a specified encryption algorithm and a set of recipients.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"This method is particularly used when you have multiple recipients and a single encryption algorithm."}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jsonSerialization"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"payload"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"encryptionAlgorithm"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","text":"ContentEncryptionAlgorithm","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"recipients","kind":"externalParam"},{"text":": [(alg","kind":"text"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","text":"KeyManagementAlgorithm"},{"kind":"text","text":", key"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":")], "},{"kind":"externalParam","text":"cek"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"text":"initializationVector","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"additionalAuthenticationData"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV","text":"JWEJson","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"text":"DefaultJWEHeaderImpl","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV"},{"text":", ","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV","kind":"typeIdentifier","text":"DefaultJWEHeaderImpl"},{"text":", ","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV","text":"DefaultJWEHeaderImpl","kind":"typeIdentifier"},{"kind":"text","text":">"}],"url":"\/documentation\/jose_swift\/jwe\/jsonserialization(payload:encryptionalgorithm:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:)","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWE/unprotectedHeaderData":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/unprotectedHeaderData","title":"unprotectedHeaderData","role":"symbol","abstract":[{"type":"codeVoice","code":"unprotectedHeaderData"},{"type":"text","text":" represents the raw binary data of the shared unprotected header, if available."}],"fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"kind":"identifier","text":"unprotectedHeaderData"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/jwe\/unprotectedheaderdata","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWE/init(protectedHeader:protectedHeaderData:cipher:unprotectedHeader:unprotectedHeaderData:encryptedKey:initializationVector:authenticationTag:additionalAuthenticatedData:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/init(protectedHeader:protectedHeaderData:cipher:unprotectedHeader:unprotectedHeaderData:encryptedKey:initializationVector:authenticationTag:additionalAuthenticatedData:)","title":"init(protectedHeader:protectedHeaderData:cipher:unprotectedHeader:unprotectedHeaderData:encryptedKey:initializationVector:authenticationTag:additionalAuthenticatedData:)","role":"symbol","abstract":[{"type":"text","text":"Initializes a new "},{"code":"JWE","type":"codeVoice"},{"type":"text","text":" object with the specified parameters."}],"fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"protectedHeader"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWERegisteredFieldsHeader","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"protectedHeaderData"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"cipher","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWERegisteredFieldsHeader","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"unprotectedHeaderData"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"encryptedKey"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"authenticationTag"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"additionalAuthenticatedData"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":"?)","kind":"text"}],"url":"\/documentation\/jose_swift\/jwe\/init(protectedheader:protectedheaderdata:cipher:unprotectedheader:unprotectedheaderdata:encryptedkey:initializationvector:authenticationtag:additionalauthenticateddata:)","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWE/compactSerialization()":{"url":"\/documentation\/jose_swift\/jwe\/compactserialization()","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"compactSerialization","kind":"identifier"},{"text":"() -> ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"}],"abstract":[{"text":"Generates a compact serialization of the ","type":"text"},{"code":"JWE","type":"codeVoice"},{"text":" object.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"This serialization is a string representation consisting of base64url-encoded values separated by periods."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/compactSerialization()","role":"symbol","kind":"symbol","type":"topic","title":"compactSerialization()"},"doc://jose-swift/documentation/jose_swift/JWE/protectedHeaderData":{"url":"\/documentation\/jose_swift\/jwe\/protectedheaderdata","kind":"symbol","title":"protectedHeaderData","role":"symbol","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"protectedHeaderData","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"}],"type":"topic","abstract":[{"type":"codeVoice","code":"protectedHeaderData"},{"type":"text","text":" represents the raw binary data of the protected header."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/protectedHeaderData"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWE/unprotectedHeader":{"type":"topic","title":"unprotectedHeader","role":"symbol","abstract":[{"code":"unprotectedHeader","type":"codeVoice"},{"text":" is an optional JWE header with registered fields that are not integrity protected.","type":"text"}],"fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"unprotectedHeader","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","text":"JWERegisteredFieldsHeader","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jwe\/unprotectedheader","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/unprotectedHeader"},"doc://jose-swift/documentation/jose_swift/JWE/protectedHeader":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/protectedHeader","title":"protectedHeader","role":"symbol","abstract":[{"type":"text","text":"The "},{"type":"codeVoice","code":"protectedHeader"},{"type":"text","text":" is a JWE header with registered fields that are integrity protected."}],"fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"protectedHeader","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWERegisteredFieldsHeader","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"}],"url":"\/documentation\/jose_swift\/jwe\/protectedheader","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWE/init(payload:keyManagementAlg:encryptionAlgorithm:senderKey:recipientKey:cek:initializationVector:additionalAuthenticationData:)":{"type":"topic","title":"init(payload:keyManagementAlg:encryptionAlgorithm:senderKey:recipientKey:cek:initializationVector:additionalAuthenticationData:)","role":"symbol","abstract":[{"text":"Initializes a ","type":"text"},{"type":"codeVoice","code":"JWE"},{"text":" object for encryption, given the payload and various encryption parameters.","type":"text"}],"fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"keyManagementAlg"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","text":"KeyManagementAlgorithm","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"encryptionAlgorithm","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","text":"ContentEncryptionAlgorithm"},{"text":", ","kind":"text"},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"?, "},{"text":"recipientKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"text":"cek","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"initializationVector"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"additionalAuthenticationData"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"}],"url":"\/documentation\/jose_swift\/jwe\/init(payload:keymanagementalg:encryptionalgorithm:senderkey:recipientkey:cek:initializationvector:additionalauthenticationdata:)","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/init(payload:keyManagementAlg:encryptionAlgorithm:senderKey:recipientKey:cek:initializationVector:additionalAuthenticationData:)"},"doc://jose-swift/documentation/jose_swift/JWE/decrypt(jweJson:senderKey:recipientKey:sharedKey:tryAllRecipients:)-3j231":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/decrypt(jweJson:senderKey:recipientKey:sharedKey:tryAllRecipients:)-3j231","title":"decrypt(jweJson:senderKey:recipientKey:sharedKey:tryAllRecipients:)","role":"symbol","abstract":[{"text":"Static method to decrypt a JWE from a JSON representation.","type":"text"}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"decrypt"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"jweJson"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"senderKey"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"text":"recipientKey","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"kind":"text","text":"?, "},{"text":"sharedKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"tryAllRecipients"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"}],"url":"\/documentation\/jose_swift\/jwe\/decrypt(jwejson:senderkey:recipientkey:sharedkey:tryallrecipients:)-3j231","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWE/init(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:cek:initializationVector:additionalAuthenticationData:)":{"type":"topic","title":"init(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:cek:initializationVector:additionalAuthenticationData:)","role":"symbol","abstract":[{"text":"Initializes a ","type":"text"},{"code":"JWE","type":"codeVoice"},{"text":" object with specified protected and shared headers.","type":"text"}],"fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"<"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"text":">(","kind":"text"},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":", "},{"text":"protectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"kind":"text","text":"?, "},{"text":"unprotectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"senderKey"},{"kind":"text","text":": "},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"recipientKey"},{"text":": ","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"cek","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"initializationVector","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"additionalAuthenticationData","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"}],"url":"\/documentation\/jose_swift\/jwe\/init(payload:protectedheader:unprotectedheader:senderkey:recipientkey:cek:initializationvector:additionalauthenticationdata:)","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/init(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:cek:initializationVector:additionalAuthenticationData:)"},"doc://jose-swift/documentation/jose_swift/JWE/initializationVector":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/initializationVector","title":"initializationVector","role":"symbol","abstract":[{"type":"codeVoice","code":"initializationVector"},{"type":"text","text":" is an optional field used in certain encryption algorithms to provide additional randomness."}],"fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"initializationVector"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jwe\/initializationvector","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWE/decrypt(compactString:senderKey:recipientKey:sharedKey:)":{"type":"topic","title":"decrypt(compactString:senderKey:recipientKey:sharedKey:)","role":"symbol","abstract":[{"text":"Static method to decrypt a JWE from a compact serialization string.","type":"text"}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"decrypt","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"compactString"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":", ","kind":"text"},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"text":"recipientKey","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"text":"sharedKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"}],"url":"\/documentation\/jose_swift\/jwe\/decrypt(compactstring:senderkey:recipientkey:sharedkey:)","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/decrypt(compactString:senderKey:recipientKey:sharedKey:)"},"doc://jose-swift/documentation/jose_swift/JWE/authenticationTag":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/authenticationTag","title":"authenticationTag","role":"symbol","abstract":[{"code":"authenticationTag","type":"codeVoice"},{"type":"text","text":" is an optional field used to store integrity information about the payload and headers."}],"fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"authenticationTag","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jwe\/authenticationtag","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},"doc://jose-swift/documentation/jose_swift/JWE/additionalAuthenticatedData":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/additionalAuthenticatedData","title":"additionalAuthenticatedData","role":"symbol","abstract":[{"type":"codeVoice","code":"additionalAuthenticatedData"},{"type":"text","text":" is optional extra data that can be authenticated along with the payload but is not encrypted."}],"fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"additionalAuthenticatedData","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/jwe\/additionalauthenticateddata","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWE/jsonSerialization(payload:protectedHeader:unprotectedHeader:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/jsonSerialization(payload:protectedHeader:unprotectedHeader:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)","title":"jsonSerialization(payload:protectedHeader:unprotectedHeader:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)","role":"symbol","abstract":[{"text":"Creates a JSON serialization of a ","type":"text"},{"type":"codeVoice","code":"JWE"},{"type":"text","text":" object with custom headers and multiple recipients."},{"text":" ","type":"text"},{"type":"text","text":"This method allows for a high degree of flexibility by accepting generic header types and a list of recipients."}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"jsonSerialization"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"P"},{"kind":"text","text":", "},{"text":"U","kind":"genericParameter"},{"text":", ","kind":"text"},{"text":"R","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"payload"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"text":"P","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"unprotectedHeader"},{"text":": ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"text":"recipients","kind":"externalParam"},{"text":": [(header","kind":"text"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"R"},{"text":", key","kind":"text"},{"kind":"text","text":": "},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"kind":"text","text":")], "},{"text":"cek","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"initializationVector"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"additionalAuthenticationData"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"text":"JWEJson","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV"},{"text":"<","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":", "},{"text":"R","kind":"typeIdentifier"},{"text":">","kind":"text"}],"url":"\/documentation\/jose_swift\/jwe\/jsonserialization(payload:protectedheader:unprotectedheader:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:)","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWE/encryptedKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/encryptedKey","title":"encryptedKey","role":"symbol","abstract":[{"code":"encryptedKey","type":"codeVoice"},{"text":" is an optional field containing the encrypted key used to encrypt the payload.","type":"text"}],"fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"encryptedKey"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/jwe\/encryptedkey","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWE/decrypt(jweJson:senderKey:recipientKey:sharedKey:tryAllRecipients:)-3j446":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/decrypt(jweJson:senderKey:recipientKey:sharedKey:tryAllRecipients:)-3j446","title":"decrypt(jweJson:senderKey:recipientKey:sharedKey:tryAllRecipients:)","role":"symbol","abstract":[],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"decrypt"},{"kind":"text","text":"<"},{"text":"P","kind":"genericParameter"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"U"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"R"},{"kind":"text","text":">("},{"kind":"externalParam","text":"jweJson"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV","text":"JWEJson"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"P"},{"kind":"text","text":", "},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"R"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"senderKey"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"recipientKey"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"sharedKey"},{"text":": ","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"tryAllRecipients","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"url":"\/documentation\/jose_swift\/jwe\/decrypt(jwejson:senderkey:recipientkey:sharedkey:tryallrecipients:)-3j446","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWE/init(compactString:)":{"type":"topic","title":"init(compactString:)","role":"symbol","abstract":[{"text":"Initializes a ","type":"text"},{"type":"codeVoice","code":"JWE"},{"type":"text","text":" object from a compact serialization string."},{"text":" ","type":"text"},{"text":"This method decodes the serialized string into its respective components.","type":"text"}],"fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"compactString","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"url":"\/documentation\/jose_swift\/jwe\/init(compactstring:)","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/init(compactString:)"},"doc://jose-swift/documentation/jose_swift/JWE/jsonSerialization(payload:encryptionAlgorithm:unprotectedHeader:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/jsonSerialization(payload:encryptionAlgorithm:unprotectedHeader:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)","title":"jsonSerialization(payload:encryptionAlgorithm:unprotectedHeader:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)","role":"symbol","abstract":[{"text":"Creates a JSON serialization of a ","type":"text"},{"code":"JWE","type":"codeVoice"},{"type":"text","text":" object using a specified encryption algorithm and a set of recipients,"},{"text":" ","type":"text"},{"type":"text","text":"with a custom unprotected header."},{"text":" ","type":"text"},{"type":"text","text":"This method allows for specifying a custom shared unprotected header while using default headers for the protected"},{"text":" ","type":"text"},{"text":"and recipient-specific headers.","type":"text"}],"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"jsonSerialization","kind":"identifier"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"U"},{"text":">(","kind":"text"},{"text":"payload","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":", "},{"kind":"externalParam","text":"encryptionAlgorithm"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","text":"ContentEncryptionAlgorithm"},{"kind":"text","text":", "},{"kind":"externalParam","text":"unprotectedHeader"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"senderKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"?, "},{"text":"recipients","kind":"externalParam"},{"text":": [(alg","kind":"text"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","text":"KeyManagementAlgorithm"},{"kind":"text","text":", key"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":")], ","kind":"text"},{"text":"cek","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"initializationVector"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"additionalAuthenticationData","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV","text":"JWEJson"},{"kind":"text","text":"<"},{"text":"DefaultJWEHeaderImpl","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"U"},{"text":", ","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV","text":"DefaultJWEHeaderImpl","kind":"typeIdentifier"},{"text":">","kind":"text"}],"url":"\/documentation\/jose_swift\/jwe\/jsonserialization(payload:encryptionalgorithm:unprotectedheader:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:)","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWE/init(protectedHeader:encryptedKey:initializationVector:cipher:authenticationTag:)":{"type":"topic","title":"init(protectedHeader:encryptedKey:initializationVector:cipher:authenticationTag:)","role":"symbol","abstract":[{"type":"text","text":"Initializes a new "},{"code":"JWE","type":"codeVoice"},{"text":" object by decoding the protected header from the provided data and setting other parameters.","type":"text"},{"text":" ","type":"text"},{"text":"Throws an error if the protected header cannot be decoded.","type":"text"}],"fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"protectedHeader"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":", "},{"text":"encryptedKey","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"cipher"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"authenticationTag","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"url":"\/documentation\/jose_swift\/jwe\/init(protectedheader:encryptedkey:initializationvector:cipher:authenticationtag:)","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/init(protectedHeader:encryptedKey:initializationVector:cipher:authenticationTag:)"},"doc://jose-swift/documentation/jose_swift/JWE/decrypt(senderKey:recipientKey:sharedKey:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/decrypt(senderKey:recipientKey:sharedKey:)","title":"decrypt(senderKey:recipientKey:sharedKey:)","role":"symbol","abstract":[{"type":"text","text":"Decrypts the "},{"code":"JWE","type":"codeVoice"},{"text":" object and returns the decrypted data.","type":"text"}],"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"decrypt","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"senderKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"text":"recipientKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"sharedKey"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"?) "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"url":"\/documentation\/jose_swift\/jwe\/decrypt(senderkey:recipientkey:sharedkey:)","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWE/cipher":{"type":"topic","title":"cipher","role":"symbol","abstract":[{"type":"text","text":"The "},{"code":"cipher","type":"codeVoice"},{"type":"text","text":" contains the encrypted payload."}],"fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"text":"cipher","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"}],"url":"\/documentation\/jose_swift\/jwe\/cipher","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/cipher"},"doc://jose-swift/documentation/jose_swift/JWE/init(payload:keyManagementAlg:encryptionAlgorithm:unprotectedHeader:senderKey:recipientKey:cek:additionalAuthenticationData:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/init(payload:keyManagementAlg:encryptionAlgorithm:unprotectedHeader:senderKey:recipientKey:cek:additionalAuthenticationData:)","title":"init(payload:keyManagementAlg:encryptionAlgorithm:unprotectedHeader:senderKey:recipientKey:cek:additionalAuthenticationData:)","role":"symbol","abstract":[{"text":"Initializes a ","type":"text"},{"type":"codeVoice","code":"JWE"},{"text":" object with specified protected and shared headers.","type":"text"}],"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"<"},{"text":"U","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"keyManagementAlg"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","text":"KeyManagementAlgorithm"},{"kind":"text","text":", "},{"text":"encryptionAlgorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"ContentEncryptionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO"},{"text":", ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"U"},{"text":"?, ","kind":"text"},{"text":"senderKey","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"recipientKey","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"cek"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"text":"additionalAuthenticationData","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"}],"url":"\/documentation\/jose_swift\/jwe\/init(payload:keymanagementalg:encryptionalgorithm:unprotectedheader:senderkey:recipientkey:cek:additionalauthenticationdata:)","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWE/jsonSerialization(payload:protectedHeader:unprotectedHeader:senderKey:recipientKeys:cek:initializationVector:additionalAuthenticationData:)":{"type":"topic","title":"jsonSerialization(payload:protectedHeader:unprotectedHeader:senderKey:recipientKeys:cek:initializationVector:additionalAuthenticationData:)","role":"symbol","abstract":[{"text":"Creates a JSON serialization of a ","type":"text"},{"code":"JWE","type":"codeVoice"},{"type":"text","text":" object, primarily for cases with multiple recipient keys."}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"jsonSerialization"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"P"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"U"},{"text":">(","kind":"text"},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"P"},{"text":"?, ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"senderKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"text":"recipientKeys","kind":"externalParam"},{"text":": [","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"], "},{"kind":"externalParam","text":"cek"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"text":"initializationVector","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"additionalAuthenticationData"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":"?) "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"JWEJson","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV"},{"text":"<","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":", "},{"preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV","text":"DefaultJWEHeaderImpl","kind":"typeIdentifier"},{"text":">","kind":"text"}],"url":"\/documentation\/jose_swift\/jwe\/jsonserialization(payload:protectedheader:unprotectedheader:senderkey:recipientkeys:cek:initializationvector:additionalauthenticationdata:)","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/jsonSerialization(payload:protectedHeader:unprotectedHeader:senderKey:recipientKeys:cek:initializationVector:additionalAuthenticationData:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe/additionalauthenticateddata.json b/data/documentation/jose_swift/jwe/additionalauthenticateddata.json new file mode 100644 index 0000000..a16bd49 --- /dev/null +++ b/data/documentation/jose_swift/jwe/additionalauthenticateddata.json @@ -0,0 +1 @@ +{"abstract":[{"code":"additionalAuthenticatedData","type":"codeVoice"},{"text":" is optional extra data that can be authenticated along with the payload but is not encrypted.","type":"text"}],"variants":[{"paths":["\/documentation\/jose_swift\/jwe\/additionalauthenticateddata"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"title":"additionalAuthenticatedData","symbolKind":"property","modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","role":"symbol","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"additionalAuthenticatedData"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"externalID":"s:17JSONWebEncryption3JWEV27additionalAuthenticatedData10Foundation0F0VSgvp"},"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"]]},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"kind":"identifier","text":"additionalAuthenticatedData"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"languages":["swift"]}],"kind":"declarations"}],"sections":[],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/additionalAuthenticatedData"},"references":{"doc://jose-swift/documentation/jose_swift/JWE/additionalAuthenticatedData":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/additionalAuthenticatedData","title":"additionalAuthenticatedData","role":"symbol","abstract":[{"type":"codeVoice","code":"additionalAuthenticatedData"},{"type":"text","text":" is optional extra data that can be authenticated along with the payload but is not encrypted."}],"fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"additionalAuthenticatedData","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/jwe\/additionalauthenticateddata","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe/authenticationtag.json b/data/documentation/jose_swift/jwe/authenticationtag.json new file mode 100644 index 0000000..441e021 --- /dev/null +++ b/data/documentation/jose_swift/jwe/authenticationtag.json @@ -0,0 +1 @@ +{"abstract":[{"code":"authenticationTag","type":"codeVoice"},{"type":"text","text":" is an optional field used to store integrity information about the payload and headers."}],"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","metadata":{"externalID":"s:17JSONWebEncryption3JWEV17authenticationTag10Foundation4DataVSgvp","symbolKind":"property","title":"authenticationTag","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"authenticationTag","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"modules":[{"name":"jose-swift"}],"role":"symbol","roleHeading":"Instance Property"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/authenticationTag"},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwe\/authenticationtag"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"authenticationTag","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"]]},"references":{"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWE/authenticationTag":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/authenticationTag","title":"authenticationTag","role":"symbol","abstract":[{"code":"authenticationTag","type":"codeVoice"},{"type":"text","text":" is an optional field used to store integrity information about the payload and headers."}],"fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"authenticationTag","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jwe\/authenticationtag","kind":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe/cipher.json b/data/documentation/jose_swift/jwe/cipher.json new file mode 100644 index 0000000..640c4cb --- /dev/null +++ b/data/documentation/jose_swift/jwe/cipher.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"]]},"kind":"symbol","schemaVersion":{"patch":0,"major":0,"minor":3},"abstract":[{"type":"text","text":"The "},{"type":"codeVoice","code":"cipher"},{"text":" contains the encrypted payload.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"cipher"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"}]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/cipher","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/jose_swift\/jwe\/cipher"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"metadata":{"title":"cipher","symbolKind":"property","modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","externalID":"s:17JSONWebEncryption3JWEV6cipher10Foundation4DataVvp","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"cipher"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"}],"role":"symbol"},"references":{"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWE/cipher":{"type":"topic","title":"cipher","role":"symbol","abstract":[{"type":"text","text":"The "},{"code":"cipher","type":"codeVoice"},{"type":"text","text":" contains the encrypted payload."}],"fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"text":"cipher","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"}],"url":"\/documentation\/jose_swift\/jwe\/cipher","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/cipher"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe/compactserialization().json b/data/documentation/jose_swift/jwe/compactserialization().json new file mode 100644 index 0000000..b386abb --- /dev/null +++ b/data/documentation/jose_swift/jwe/compactserialization().json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/jwe\/compactserialization()"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"]]},"sections":[],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"compactSerialization","kind":"identifier"},{"text":"() -> ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"languages":["swift"]}],"kind":"declarations"},{"kind":"content","content":[{"anchor":"return-value","level":2,"text":"Return Value","type":"heading"},{"type":"paragraph","inlineContent":[{"type":"text","text":"A compact serialized string representation of the JWE object."}]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/compactSerialization()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Generates a compact serialization of the "},{"code":"JWE","type":"codeVoice"},{"type":"text","text":" object."},{"text":" ","type":"text"},{"type":"text","text":"This serialization is a string representation consisting of base64url-encoded values separated by periods."}],"metadata":{"roleHeading":"Instance Method","title":"compactSerialization()","modules":[{"name":"jose-swift"}],"symbolKind":"method","role":"symbol","externalID":"s:17JSONWebEncryption3JWEV20compactSerializationSSyF","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"compactSerialization","kind":"identifier"},{"text":"() -> ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"}]},"references":{"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWE","kind":"identifier"}],"abstract":[{"code":"JWE","type":"codeVoice"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"code":"cipher","type":"codeVoice"},{"type":"text","text":", along with various headers and authentication data."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE","role":"symbol","kind":"symbol","navigatorTitle":[{"text":"JWE","kind":"identifier"}],"type":"topic","title":"JWE"},"doc://jose-swift/documentation/jose_swift/JWE/compactSerialization()":{"url":"\/documentation\/jose_swift\/jwe\/compactserialization()","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"compactSerialization","kind":"identifier"},{"text":"() -> ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"}],"abstract":[{"text":"Generates a compact serialization of the ","type":"text"},{"code":"JWE","type":"codeVoice"},{"text":" object.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"This serialization is a string representation consisting of base64url-encoded values separated by periods."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/compactSerialization()","role":"symbol","kind":"symbol","type":"topic","title":"compactSerialization()"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe/decrypt(compactstring:senderkey:recipientkey:sharedkey:).json b/data/documentation/jose_swift/jwe/decrypt(compactstring:senderkey:recipientkey:sharedkey:).json new file mode 100644 index 0000000..dc50dcc --- /dev/null +++ b/data/documentation/jose_swift/jwe/decrypt(compactstring:senderkey:recipientkey:sharedkey:).json @@ -0,0 +1 @@ +{"abstract":[{"text":"Static method to decrypt a JWE from a compact serialization string.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwe\/decrypt(compactstring:senderkey:recipientkey:sharedkey:)"]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","metadata":{"roleHeading":"Type Method","externalID":"s:17JSONWebEncryption3JWEV7decrypt13compactString9senderKey09recipientH006sharedH010Foundation4DataVSS_0aH03JWKVSgA2OtKFZ","modules":[{"name":"jose-swift","relatedModules":["JSONWebEncryption"]}],"role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"decrypt"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"compactString"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"recipientKey"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"sharedKey"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?) ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"extendedModule":"JSONWebEncryption","title":"decrypt(compactString:senderKey:recipientKey:sharedKey:)","symbolKind":"method"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"]]},"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/decrypt(compactString:senderKey:recipientKey:sharedKey:)"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"decrypt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"compactString"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"senderKey"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"text":"? = nil, ","kind":"text"},{"text":"recipientKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK"},{"text":"? = nil, ","kind":"text"},{"text":"sharedKey","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"? = nil) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"platforms":["macOS"],"languages":["swift"]}]},{"parameters":[{"name":"compactString","content":[{"inlineContent":[{"type":"text","text":"The compact serialization string of the JWE."}],"type":"paragraph"}]},{"name":"senderKey","content":[{"inlineContent":[{"type":"text","text":"The sender’s key, if applicable."}],"type":"paragraph"}]},{"name":"recipientKey","content":[{"type":"paragraph","inlineContent":[{"text":"The recipient’s key, if applicable.","type":"text"}]}]},{"name":"sharedKey","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A shared key, if applicable."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"The encryption module to use, defaulting to the standard module.","type":"text"}]}],"name":"encryptionModule"}],"kind":"parameters"},{"kind":"content","content":[{"anchor":"return-value","type":"heading","text":"Return Value","level":2},{"type":"paragraph","inlineContent":[{"type":"text","text":"The decrypted data as "},{"type":"codeVoice","code":"Data"},{"type":"text","text":"."}]}]},{"kind":"content","content":[{"type":"heading","anchor":"discussion","level":2,"text":"Discussion"},{"name":"Throws","content":[{"inlineContent":[{"type":"text","text":"Relevant decryption errors."}],"type":"paragraph"}],"type":"aside","style":"note"}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWE/decrypt(compactString:senderKey:recipientKey:sharedKey:)":{"type":"topic","title":"decrypt(compactString:senderKey:recipientKey:sharedKey:)","role":"symbol","abstract":[{"text":"Static method to decrypt a JWE from a compact serialization string.","type":"text"}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"decrypt","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"compactString"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":", ","kind":"text"},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"text":"recipientKey","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"text":"sharedKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"}],"url":"\/documentation\/jose_swift\/jwe\/decrypt(compactstring:senderkey:recipientkey:sharedkey:)","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/decrypt(compactString:senderKey:recipientKey:sharedKey:)"},"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe/decrypt(jwejson:senderkey:recipientkey:sharedkey:tryallrecipients:)-3j231.json b/data/documentation/jose_swift/jwe/decrypt(jwejson:senderkey:recipientkey:sharedkey:tryallrecipients:)-3j231.json new file mode 100644 index 0000000..e2d9ffe --- /dev/null +++ b/data/documentation/jose_swift/jwe/decrypt(jwejson:senderkey:recipientkey:sharedkey:tryallrecipients:)-3j231.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"decrypt"},{"kind":"text","text":"("},{"text":"jweJson","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"recipientKey"},{"kind":"text","text":": "},{"text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"sharedKey"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK"},{"kind":"text","text":"? = nil, "},{"text":"tryAllRecipients","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"kind":"text","text":" = false) "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"}]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"text":"The JSON data representing the JWE.","type":"text"}]}],"name":"jweJson"},{"name":"senderKey","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The sender’s key, if applicable."}]}]},{"name":"recipientKey","content":[{"inlineContent":[{"text":"The recipient’s key, if applicable.","type":"text"}],"type":"paragraph"}]},{"name":"sharedKey","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A shared key, if applicable."}]}]},{"name":"encryptionModule","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The encryption module to use, defaulting to the standard module."}]}]}]},{"kind":"content","content":[{"type":"heading","anchor":"return-value","level":2,"text":"Return Value"},{"type":"paragraph","inlineContent":[{"text":"The decrypted data as ","type":"text"},{"code":"Data","type":"codeVoice"},{"text":".","type":"text"}]}]},{"kind":"content","content":[{"text":"Discussion","type":"heading","anchor":"discussion","level":2},{"type":"aside","content":[{"inlineContent":[{"text":"Relevant decryption errors.","type":"text"}],"type":"paragraph"}],"name":"Throws","style":"note"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwe\/decrypt(jwejson:senderkey:recipientkey:sharedkey:tryallrecipients:)-3j231"]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"sections":[],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/decrypt(jweJson:senderKey:recipientKey:sharedKey:tryAllRecipients:)-3j231"},"metadata":{"roleHeading":"Type Method","modules":[{"relatedModules":["JSONWebEncryption"],"name":"jose-swift"}],"symbolKind":"method","externalID":"s:17JSONWebEncryption3JWEV7decrypt7jweJson9senderKey09recipientH006sharedH016tryAllRecipients10Foundation4DataVAL_0aH03JWKVSgA2PSbtKFZ","extendedModule":"JSONWebEncryption","title":"decrypt(jweJson:senderKey:recipientKey:sharedKey:tryAllRecipients:)","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"decrypt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"jweJson"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"senderKey"},{"kind":"text","text":": "},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"recipientKey","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"text":"sharedKey","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"tryAllRecipients"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}]},"abstract":[{"type":"text","text":"Static method to decrypt a JWE from a JSON representation."}],"references":{"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWE/decrypt(jweJson:senderKey:recipientKey:sharedKey:tryAllRecipients:)-3j231":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/decrypt(jweJson:senderKey:recipientKey:sharedKey:tryAllRecipients:)-3j231","title":"decrypt(jweJson:senderKey:recipientKey:sharedKey:tryAllRecipients:)","role":"symbol","abstract":[{"text":"Static method to decrypt a JWE from a JSON representation.","type":"text"}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"decrypt"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"jweJson"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"senderKey"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"text":"recipientKey","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"kind":"text","text":"?, "},{"text":"sharedKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"tryAllRecipients"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"}],"url":"\/documentation\/jose_swift\/jwe\/decrypt(jwejson:senderkey:recipientkey:sharedkey:tryallrecipients:)-3j231","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe/decrypt(jwejson:senderkey:recipientkey:sharedkey:tryallrecipients:)-3j446.json b/data/documentation/jose_swift/jwe/decrypt(jwejson:senderkey:recipientkey:sharedkey:tryallrecipients:)-3j446.json new file mode 100644 index 0000000..5bd1171 --- /dev/null +++ b/data/documentation/jose_swift/jwe/decrypt(jwejson:senderkey:recipientkey:sharedkey:tryallrecipients:)-3j446.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/decrypt(jweJson:senderKey:recipientKey:sharedKey:tryAllRecipients:)-3j446","interfaceLanguage":"swift"},"metadata":{"role":"symbol","modules":[{"name":"jose-swift","relatedModules":["JSONWebEncryption"]}],"symbolKind":"method","extendedModule":"JSONWebEncryption","externalID":"s:17JSONWebEncryption3JWEV7decrypt7jweJson9senderKey09recipientH006sharedH016tryAllRecipients10Foundation4DataVAA7JWEJsonVyxq_q0_G_0aH03JWKVSgA2SSbtKAA25JWERegisteredFieldsHeaderRzAaTR_AaTR0_r1_lFZ","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"decrypt"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"text":", ","kind":"text"},{"text":"R","kind":"genericParameter"},{"text":">(","kind":"text"},{"kind":"externalParam","text":"jweJson"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWEJson","preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV"},{"text":"<","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"R","kind":"typeIdentifier"},{"text":">, ","kind":"text"},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"text":"recipientKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"text":"sharedKey","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"?, "},{"text":"tryAllRecipients","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"roleHeading":"Type Method","title":"decrypt(jweJson:senderKey:recipientKey:sharedKey:tryAllRecipients:)"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwe\/decrypt(jwejson:senderkey:recipientkey:sharedkey:tryallrecipients:)-3j446"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"]]},"sections":[],"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"decrypt"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"U"},{"text":", ","kind":"text"},{"text":"R","kind":"genericParameter"},{"text":">(","kind":"text"},{"kind":"externalParam","text":"jweJson"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWEJson","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV"},{"text":"<","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"R"},{"text":">, ","kind":"text"},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"recipientKey"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"sharedKey"},{"text":": ","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"kind":"text","text":"? = nil, "},{"text":"tryAllRecipients","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":" = false) ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":" ","kind":"text"},{"text":"where","kind":"keyword"},{"text":" ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":" : ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","text":"JWERegisteredFieldsHeader"},{"text":", ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":" : "},{"preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","kind":"typeIdentifier","text":"JWERegisteredFieldsHeader"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"R"},{"kind":"text","text":" : "},{"preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","text":"JWERegisteredFieldsHeader","kind":"typeIdentifier"}]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"code":"JWEJson","type":"codeVoice"},{"type":"text","text":" object representing the JWE."}]}],"name":"jweJson"},{"content":[{"inlineContent":[{"type":"text","text":"The sender’s key, if applicable."}],"type":"paragraph"}],"name":"senderKey"},{"content":[{"type":"paragraph","inlineContent":[{"text":"The recipient’s key, if applicable.","type":"text"}]}],"name":"recipientKey"},{"name":"sharedKey","content":[{"inlineContent":[{"type":"text","text":"A shared key, if applicable."}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The encryption module to use, defaulting to the standard module."}]}],"name":"encryptionModule"}]},{"kind":"content","content":[{"type":"heading","text":"Return Value","anchor":"return-value","level":2},{"type":"paragraph","inlineContent":[{"text":"The decrypted data as ","type":"text"},{"type":"codeVoice","code":"Data"},{"type":"text","text":"."}]}]},{"kind":"content","content":[{"type":"heading","text":"Discussion","level":2,"anchor":"discussion"},{"style":"note","content":[{"inlineContent":[{"type":"text","text":"Relevant decryption errors."}],"type":"paragraph"}],"name":"Throws","type":"aside"}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWE/decrypt(jweJson:senderKey:recipientKey:sharedKey:tryAllRecipients:)-3j446":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/decrypt(jweJson:senderKey:recipientKey:sharedKey:tryAllRecipients:)-3j446","title":"decrypt(jweJson:senderKey:recipientKey:sharedKey:tryAllRecipients:)","role":"symbol","abstract":[],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"decrypt"},{"kind":"text","text":"<"},{"text":"P","kind":"genericParameter"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"U"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"R"},{"kind":"text","text":">("},{"kind":"externalParam","text":"jweJson"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV","text":"JWEJson"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"P"},{"kind":"text","text":", "},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"R"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"senderKey"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"recipientKey"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"sharedKey"},{"text":": ","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"tryAllRecipients","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"url":"\/documentation\/jose_swift\/jwe\/decrypt(jwejson:senderkey:recipientkey:sharedkey:tryallrecipients:)-3j446","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"text":"RFC7517","type":"text"}],"title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe/decrypt(senderkey:recipientkey:sharedkey:).json b/data/documentation/jose_swift/jwe/decrypt(senderkey:recipientkey:sharedkey:).json new file mode 100644 index 0000000..726ba6b --- /dev/null +++ b/data/documentation/jose_swift/jwe/decrypt(senderkey:recipientkey:sharedkey:).json @@ -0,0 +1 @@ +{"metadata":{"extendedModule":"JSONWebEncryption","externalID":"s:17JSONWebEncryption3JWEV7decrypt9senderKey09recipientF006sharedF010Foundation4DataV0aF03JWKVSg_A2NtKF","role":"symbol","symbolKind":"method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"decrypt","kind":"identifier"},{"kind":"text","text":"("},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"recipientKey"},{"kind":"text","text":": "},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"sharedKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?) "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"roleHeading":"Instance Method","modules":[{"name":"jose-swift","relatedModules":["JSONWebEncryption"]}],"title":"decrypt(senderKey:recipientKey:sharedKey:)"},"schemaVersion":{"patch":0,"minor":3,"major":0},"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/decrypt(senderKey:recipientKey:sharedKey:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Decrypts the "},{"code":"JWE","type":"codeVoice"},{"text":" object and returns the decrypted data.","type":"text"}],"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jwe\/decrypt(senderkey:recipientkey:sharedkey:)"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"decrypt","kind":"identifier"},{"kind":"text","text":"("},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"text":"recipientKey","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"sharedKey"},{"text":": ","kind":"text"},{"text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"? = nil) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"platforms":["macOS"],"languages":["swift"]}]},{"kind":"parameters","parameters":[{"content":[{"inlineContent":[{"text":"The sender’s key, if applicable.","type":"text"}],"type":"paragraph"}],"name":"senderKey"},{"name":"recipientKey","content":[{"type":"paragraph","inlineContent":[{"text":"The recipient’s key, if applicable.","type":"text"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"A shared key, if applicable.","type":"text"}]}],"name":"sharedKey"},{"name":"encryptionModule","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The encryption module to use, defaulting to the standard module."}]}]}]},{"content":[{"level":2,"text":"Return Value","type":"heading","anchor":"return-value"},{"type":"paragraph","inlineContent":[{"text":"The decrypted data as ","type":"text"},{"code":"Data","type":"codeVoice"},{"text":".","type":"text"}]}],"kind":"content"},{"kind":"content","content":[{"type":"heading","level":2,"text":"Discussion","anchor":"discussion"},{"style":"note","name":"Throws","type":"aside","content":[{"inlineContent":[{"text":"Relevant decryption errors.","type":"text"}],"type":"paragraph"}]}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWE/decrypt(senderKey:recipientKey:sharedKey:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/decrypt(senderKey:recipientKey:sharedKey:)","title":"decrypt(senderKey:recipientKey:sharedKey:)","role":"symbol","abstract":[{"type":"text","text":"Decrypts the "},{"code":"JWE","type":"codeVoice"},{"text":" object and returns the decrypted data.","type":"text"}],"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"decrypt","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"senderKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"text":"recipientKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"sharedKey"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"?) "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"url":"\/documentation\/jose_swift\/jwe\/decrypt(senderkey:recipientkey:sharedkey:)","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe/encryptedkey.json b/data/documentation/jose_swift/jwe/encryptedkey.json new file mode 100644 index 0000000..2af8544 --- /dev/null +++ b/data/documentation/jose_swift/jwe/encryptedkey.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/encryptedKey","interfaceLanguage":"swift"},"abstract":[{"type":"codeVoice","code":"encryptedKey"},{"text":" is an optional field containing the encrypted key used to encrypt the payload.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"]]},"kind":"symbol","primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"encryptedKey"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"languages":["swift"]}],"kind":"declarations"}],"schemaVersion":{"major":0,"patch":0,"minor":3},"metadata":{"roleHeading":"Instance Property","modules":[{"name":"jose-swift"}],"symbolKind":"property","role":"symbol","externalID":"s:17JSONWebEncryption3JWEV12encryptedKey10Foundation4DataVSgvp","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"encryptedKey","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?","kind":"text"}],"title":"encryptedKey"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwe\/encryptedkey"]}],"sections":[],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWE/encryptedKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/encryptedKey","title":"encryptedKey","role":"symbol","abstract":[{"code":"encryptedKey","type":"codeVoice"},{"text":" is an optional field containing the encrypted key used to encrypt the payload.","type":"text"}],"fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"encryptedKey"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/jwe\/encryptedkey","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe/encryptionmodule.json b/data/documentation/jose_swift/jwe/encryptionmodule.json new file mode 100644 index 0000000..4df4420 --- /dev/null +++ b/data/documentation/jose_swift/jwe/encryptionmodule.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"]]},"metadata":{"modules":[{"name":"jose-swift","relatedModules":["JSONWebEncryption"]}],"externalID":"s:17JSONWebEncryption3JWEV16encryptionModuleAA013JWEEncryptionE0VvpZ","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encryptionModule","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption19JWEEncryptionModuleV","kind":"typeIdentifier","text":"JWEEncryptionModule"}],"roleHeading":"Type Property","title":"encryptionModule","extendedModule":"JSONWebEncryption","symbolKind":"property","role":"symbol"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/encryptionModule","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encryptionModule","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWEEncryptionModule","preciseIdentifier":"s:17JSONWebEncryption19JWEEncryptionModuleV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule","kind":"typeIdentifier"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwe\/encryptionmodule"]}],"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEEncryptionModule":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWEEncryptionModule","kind":"identifier"}],"type":"topic","title":"JWEEncryptionModule","url":"\/documentation\/jose_swift\/jweencryptionmodule","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule","role":"symbol","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWEEncryptionModule"}],"abstract":[{"code":"JWEEncryptionModule","type":"codeVoice"},{"type":"text","text":" manages a collection of "},{"type":"codeVoice","code":"JWEEncryptionProvider"},{"text":" instances and provides encryption and decryption functionalities.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWE/encryptionModule":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/encryptionModule","title":"encryptionModule","role":"symbol","abstract":[],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"encryptionModule"},{"kind":"text","text":": "},{"text":"JWEEncryptionModule","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption19JWEEncryptionModuleV"}],"url":"\/documentation\/jose_swift\/jwe\/encryptionmodule","kind":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe/init(compactstring:).json b/data/documentation/jose_swift/jwe/init(compactstring:).json new file mode 100644 index 0000000..ff41f3d --- /dev/null +++ b/data/documentation/jose_swift/jwe/init(compactstring:).json @@ -0,0 +1 @@ +{"metadata":{"title":"init(compactString:)","symbolKind":"init","roleHeading":"Initializer","externalID":"s:17JSONWebEncryption3JWEV13compactStringACSS_tKcfc","extendedModule":"JSONWebEncryption","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"text":"compactString","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"role":"symbol","modules":[{"name":"jose-swift","relatedModules":["JSONWebEncryption"]}]},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"text":"compactString","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}]}]},{"kind":"parameters","parameters":[{"name":"compactString","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The compact serialization string of the JWE."}]}]},{"name":"encryptionModule","content":[{"inlineContent":[{"type":"text","text":"The encryption module to use, defaulting to the standard module."}],"type":"paragraph"}]}]},{"content":[{"type":"heading","anchor":"discussion","level":2,"text":"Discussion"},{"type":"aside","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":""},{"code":"JWEError.invalidJWECompactString","type":"codeVoice"},{"type":"text","text":" if the compact string format is invalid."}]}],"style":"note","name":"Throws"}],"kind":"content"}],"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwe\/init(compactstring:)"]}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/init(compactString:)"},"abstract":[{"text":"Initializes a ","type":"text"},{"code":"JWE","type":"codeVoice"},{"type":"text","text":" object from a compact serialization string."},{"type":"text","text":" "},{"type":"text","text":"This method decodes the serialized string into its respective components."}],"references":{"doc://jose-swift/documentation/jose_swift/JWE/init(compactString:)":{"type":"topic","title":"init(compactString:)","role":"symbol","abstract":[{"text":"Initializes a ","type":"text"},{"type":"codeVoice","code":"JWE"},{"type":"text","text":" object from a compact serialization string."},{"text":" ","type":"text"},{"text":"This method decodes the serialized string into its respective components.","type":"text"}],"fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"compactString","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"url":"\/documentation\/jose_swift\/jwe\/init(compactstring:)","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/init(compactString:)"},"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe/init(payload:keymanagementalg:encryptionalgorithm:senderkey:recipientkey:cek:initializationvector:additionalauthenticationdata:).json b/data/documentation/jose_swift/jwe/init(payload:keymanagementalg:encryptionalgorithm:senderkey:recipientkey:cek:initializationvector:additionalauthenticationdata:).json new file mode 100644 index 0000000..7761132 --- /dev/null +++ b/data/documentation/jose_swift/jwe/init(payload:keymanagementalg:encryptionalgorithm:senderkey:recipientkey:cek:initializationvector:additionalauthenticationdata:).json @@ -0,0 +1 @@ +{"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"]]},"metadata":{"roleHeading":"Initializer","modules":[{"relatedModules":["JSONWebEncryption"],"name":"jose-swift"}],"externalID":"s:17JSONWebEncryption3JWEV7payload16keyManagementAlg19encryptionAlgorithm9senderKey09recipientK03cek20initializationVector28additionalAuthenticationDataAC10Foundation0R0V_0A10Algorithms0kfI0OAO07ContentbI0O0aK03JWKVSgAwNSgA2XtKcfc","role":"symbol","extendedModule":"JSONWebEncryption","title":"init(payload:keyManagementAlg:encryptionAlgorithm:senderKey:recipientKey:cek:initializationVector:additionalAuthenticationData:)","symbolKind":"init","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"payload","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"keyManagementAlg","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"KeyManagementAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO"},{"text":", ","kind":"text"},{"text":"encryptionAlgorithm","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","kind":"typeIdentifier","text":"ContentEncryptionAlgorithm"},{"text":", ","kind":"text"},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"recipientKey","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"kind":"text","text":"?, "},{"text":"cek","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"text":"additionalAuthenticationData","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?) "},{"text":"throws","kind":"keyword"}]},"abstract":[{"text":"Initializes a ","type":"text"},{"type":"codeVoice","code":"JWE"},{"type":"text","text":" object for encryption, given the payload and various encryption parameters."}],"variants":[{"paths":["\/documentation\/jose_swift\/jwe\/init(payload:keymanagementalg:encryptionalgorithm:senderkey:recipientkey:cek:initializationvector:additionalauthenticationdata:)"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"init","kind":"keyword"},{"kind":"text","text":"("},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"keyManagementAlg"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","text":"KeyManagementAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO"},{"kind":"text","text":", "},{"text":"encryptionAlgorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","text":"ContentEncryptionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO"},{"text":", ","kind":"text"},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"kind":"text","text":"? = nil, "},{"text":"recipientKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"? = nil, ","kind":"text"},{"text":"cek","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"? = nil, ","kind":"text"},{"text":"initializationVector","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"additionalAuthenticationData"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"? = nil) "},{"text":"throws","kind":"keyword"}],"languages":["swift"]}]},{"parameters":[{"name":"payload","content":[{"inlineContent":[{"type":"text","text":"The data to be encrypted."}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The key management algorithm to use."}]}],"name":"keyManagementAlg"},{"name":"encryptionAlgorithm","content":[{"inlineContent":[{"type":"text","text":"The content encryption algorithm."}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional sender’s key."}]}],"name":"senderKey"},{"content":[{"inlineContent":[{"text":"Optional recipient’s key.","type":"text"}],"type":"paragraph"}],"name":"recipientKey"},{"name":"cek","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional Content Encryption Key."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"Optional initialization vector.","type":"text"}]}],"name":"initializationVector"},{"content":[{"inlineContent":[{"text":"Optional additional authenticated data.","type":"text"}],"type":"paragraph"}],"name":"additionalAuthenticationData"},{"name":"encryptionModule","content":[{"inlineContent":[{"type":"text","text":"The encryption module to use, defaulting to the standard module."}],"type":"paragraph"}]}],"kind":"parameters"},{"content":[{"text":"Discussion","level":2,"type":"heading","anchor":"discussion"},{"name":"Throws","style":"note","type":"aside","content":[{"inlineContent":[{"type":"text","text":"Encryption related errors."}],"type":"paragraph"}]}],"kind":"content"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/init(payload:keyManagementAlg:encryptionAlgorithm:senderKey:recipientKey:cek:initializationVector:additionalAuthenticationData:)"},"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]},"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}]},"doc://jose-swift/documentation/jose_swift/JWE/init(payload:keyManagementAlg:encryptionAlgorithm:senderKey:recipientKey:cek:initializationVector:additionalAuthenticationData:)":{"type":"topic","title":"init(payload:keyManagementAlg:encryptionAlgorithm:senderKey:recipientKey:cek:initializationVector:additionalAuthenticationData:)","role":"symbol","abstract":[{"text":"Initializes a ","type":"text"},{"type":"codeVoice","code":"JWE"},{"text":" object for encryption, given the payload and various encryption parameters.","type":"text"}],"fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"keyManagementAlg"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","text":"KeyManagementAlgorithm","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"encryptionAlgorithm","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","text":"ContentEncryptionAlgorithm"},{"text":", ","kind":"text"},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"?, "},{"text":"recipientKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"text":"cek","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"initializationVector"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"additionalAuthenticationData"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"}],"url":"\/documentation\/jose_swift\/jwe\/init(payload:keymanagementalg:encryptionalgorithm:senderkey:recipientkey:cek:initializationvector:additionalauthenticationdata:)","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/init(payload:keyManagementAlg:encryptionAlgorithm:senderKey:recipientKey:cek:initializationVector:additionalAuthenticationData:)"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe/init(payload:keymanagementalg:encryptionalgorithm:unprotectedheader:senderkey:recipientkey:cek:additionalauthenticationdata:).json b/data/documentation/jose_swift/jwe/init(payload:keymanagementalg:encryptionalgorithm:unprotectedheader:senderkey:recipientkey:cek:additionalauthenticationdata:).json new file mode 100644 index 0000000..7808687 --- /dev/null +++ b/data/documentation/jose_swift/jwe/init(payload:keymanagementalg:encryptionalgorithm:unprotectedheader:senderkey:recipientkey:cek:additionalauthenticationdata:).json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/init(payload:keyManagementAlg:encryptionAlgorithm:unprotectedHeader:senderKey:recipientKey:cek:additionalAuthenticationData:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Initializes a "},{"type":"codeVoice","code":"JWE"},{"type":"text","text":" object with specified protected and shared headers."}],"variants":[{"paths":["\/documentation\/jose_swift\/jwe\/init(payload:keymanagementalg:encryptionalgorithm:unprotectedheader:senderkey:recipientkey:cek:additionalauthenticationdata:)"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"init","kind":"keyword"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"U"},{"text":">(","kind":"text"},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"text":"keyManagementAlg","kind":"externalParam"},{"kind":"text","text":": "},{"text":"KeyManagementAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"encryptionAlgorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","text":"ContentEncryptionAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"unprotectedHeader"},{"kind":"text","text":": "},{"text":"U","kind":"typeIdentifier"},{"text":"? = nil as DefaultJWEHeaderImpl?, ","kind":"text"},{"kind":"externalParam","text":"senderKey"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier","text":"JWK"},{"text":"? = nil, ","kind":"text"},{"text":"recipientKey","kind":"externalParam"},{"kind":"text","text":": "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"cek"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"additionalAuthenticationData"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"? = nil) "},{"text":"throws","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"text":"U","kind":"typeIdentifier"},{"text":" : ","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","kind":"typeIdentifier","text":"JWERegisteredFieldsHeader","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"}],"languages":["swift"],"platforms":["macOS"]}]},{"parameters":[{"name":"payload","content":[{"type":"paragraph","inlineContent":[{"text":"The data to be encrypted.","type":"text"}]}]},{"content":[{"inlineContent":[{"text":"The key encryption algorithm to be used.","type":"text"}],"type":"paragraph"}],"name":"keyManagementAlg"},{"name":"encryptionAlgorithm","content":[{"inlineContent":[{"type":"text","text":"The content encryption algorithm to be used."}],"type":"paragraph"}]},{"name":"unprotectedHeader","content":[{"inlineContent":[{"text":"Optional shared header.","type":"text"}],"type":"paragraph"}]},{"name":"senderKey","content":[{"inlineContent":[{"type":"text","text":"Optional sender’s key."}],"type":"paragraph"}]},{"name":"recipientKey","content":[{"inlineContent":[{"text":"Optional recipient’s key.","type":"text"}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"type":"text","text":"Optional Content Encryption Key."}],"type":"paragraph"}],"name":"cek"},{"content":[{"inlineContent":[{"type":"text","text":"Optional initialization vector."}],"type":"paragraph"}],"name":"initializationVector"},{"name":"additionalAuthenticationData","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional additional authenticated data."}]}]},{"name":"encryptionModule","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The encryption module to use, defaulting to the standard module."}]}]}],"kind":"parameters"},{"content":[{"anchor":"discussion","type":"heading","level":2,"text":"Discussion"},{"style":"note","name":"Throws","content":[{"type":"paragraph","inlineContent":[{"text":"Encryption related errors.","type":"text"}]}],"type":"aside"}],"kind":"content"}],"kind":"symbol","metadata":{"role":"symbol","roleHeading":"Initializer","modules":[{"name":"jose-swift","relatedModules":["JSONWebEncryption"]}],"symbolKind":"init","extendedModule":"JSONWebEncryption","externalID":"s:17JSONWebEncryption3JWEV7payload16keyManagementAlg19encryptionAlgorithm17unprotectedHeader9senderKey09recipientM03cek28additionalAuthenticationDataAC10Foundation0R0V_0A10Algorithms0mfI0OAO07ContentbI0OxSg0aM03JWKVSgAxNSgAYtKcAA019JWERegisteredFieldsK0Rzlufc","title":"init(payload:keyManagementAlg:encryptionAlgorithm:unprotectedHeader:senderKey:recipientKey:cek:additionalAuthenticationData:)","fragments":[{"kind":"identifier","text":"init"},{"text":"<","kind":"text"},{"text":"U","kind":"genericParameter"},{"text":">(","kind":"text"},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"keyManagementAlg"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","kind":"typeIdentifier","text":"KeyManagementAlgorithm"},{"kind":"text","text":", "},{"text":"encryptionAlgorithm","kind":"externalParam"},{"kind":"text","text":": "},{"text":"ContentEncryptionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO"},{"text":", ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"recipientKey","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"cek"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"additionalAuthenticationData","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"}]},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"]]},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWE/init(payload:keyManagementAlg:encryptionAlgorithm:unprotectedHeader:senderKey:recipientKey:cek:additionalAuthenticationData:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/init(payload:keyManagementAlg:encryptionAlgorithm:unprotectedHeader:senderKey:recipientKey:cek:additionalAuthenticationData:)","title":"init(payload:keyManagementAlg:encryptionAlgorithm:unprotectedHeader:senderKey:recipientKey:cek:additionalAuthenticationData:)","role":"symbol","abstract":[{"text":"Initializes a ","type":"text"},{"type":"codeVoice","code":"JWE"},{"text":" object with specified protected and shared headers.","type":"text"}],"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"<"},{"text":"U","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"keyManagementAlg"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","text":"KeyManagementAlgorithm"},{"kind":"text","text":", "},{"text":"encryptionAlgorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"ContentEncryptionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO"},{"text":", ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"U"},{"text":"?, ","kind":"text"},{"text":"senderKey","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"recipientKey","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"cek"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"text":"additionalAuthenticationData","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"}],"url":"\/documentation\/jose_swift\/jwe\/init(payload:keymanagementalg:encryptionalgorithm:unprotectedheader:senderkey:recipientkey:cek:additionalauthenticationdata:)","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe/init(payload:protectedheader:unprotectedheader:senderkey:recipientkey:cek:initializationvector:additionalauthenticationdata:).json b/data/documentation/jose_swift/jwe/init(payload:protectedheader:unprotectedheader:senderkey:recipientkey:cek:initializationvector:additionalauthenticationdata:).json new file mode 100644 index 0000000..739987c --- /dev/null +++ b/data/documentation/jose_swift/jwe/init(payload:protectedheader:unprotectedheader:senderkey:recipientkey:cek:initializationvector:additionalauthenticationdata:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"init","kind":"keyword"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"U"},{"text":">(","kind":"text"},{"text":"payload","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"protectedHeader"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"text":"? = nil as DefaultJWEHeaderImpl?, ","kind":"text"},{"kind":"externalParam","text":"unprotectedHeader"},{"kind":"text","text":": "},{"text":"U","kind":"typeIdentifier"},{"text":"? = nil as DefaultJWEHeaderImpl?, ","kind":"text"},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier"},{"text":"? = nil, ","kind":"text"},{"text":"recipientKey","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"text":"? = nil, ","kind":"text"},{"text":"cek","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"initializationVector"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"? = nil, ","kind":"text"},{"text":"additionalAuthenticationData","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"? = nil) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" ","kind":"text"},{"text":"where","kind":"keyword"},{"kind":"text","text":" "},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":" : "},{"text":"JWERegisteredFieldsHeader","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"},{"kind":"text","text":", "},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","text":"JWERegisteredFieldsHeader"}]}],"kind":"declarations"},{"parameters":[{"name":"payload","content":[{"inlineContent":[{"type":"text","text":"The data to be encrypted."}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional protected header."}]}],"name":"protectedHeader"},{"name":"unprotectedHeader","content":[{"type":"paragraph","inlineContent":[{"text":"Optional shared header.","type":"text"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional sender’s key."}]}],"name":"senderKey"},{"name":"recipientKey","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional recipient’s key."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional Content Encryption Key."}]}],"name":"cek"},{"name":"initializationVector","content":[{"inlineContent":[{"text":"Optional initialization vector.","type":"text"}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"type":"text","text":"Optional additional authenticated data."}],"type":"paragraph"}],"name":"additionalAuthenticationData"},{"name":"encryptionModule","content":[{"inlineContent":[{"type":"text","text":"The encryption module to use, defaulting to the standard module."}],"type":"paragraph"}]}],"kind":"parameters"},{"content":[{"anchor":"discussion","type":"heading","level":2,"text":"Discussion"},{"content":[{"type":"paragraph","inlineContent":[{"text":"Encryption related errors.","type":"text"}]}],"type":"aside","style":"note","name":"Throws"}],"kind":"content"}],"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/init(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:cek:initializationVector:additionalAuthenticationData:)","interfaceLanguage":"swift"},"kind":"symbol","variants":[{"paths":["\/documentation\/jose_swift\/jwe\/init(payload:protectedheader:unprotectedheader:senderkey:recipientkey:cek:initializationvector:additionalauthenticationdata:)"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"]]},"abstract":[{"type":"text","text":"Initializes a "},{"code":"JWE","type":"codeVoice"},{"text":" object with specified protected and shared headers.","type":"text"}],"metadata":{"fragments":[{"text":"init","kind":"identifier"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"text":", ","kind":"text"},{"text":"U","kind":"genericParameter"},{"text":">(","kind":"text"},{"text":"payload","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"protectedHeader"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"text":"?, ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"recipientKey"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"cek","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"initializationVector"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"additionalAuthenticationData","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?) "},{"text":"throws","kind":"keyword"}],"roleHeading":"Initializer","title":"init(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:cek:initializationVector:additionalAuthenticationData:)","modules":[{"relatedModules":["JSONWebEncryption"],"name":"jose-swift"}],"role":"symbol","extendedModule":"JSONWebEncryption","symbolKind":"init","externalID":"s:17JSONWebEncryption3JWEV7payload15protectedHeader011unprotectedF09senderKey09recipientI03cek20initializationVector28additionalAuthenticationDataAC10Foundation0P0V_xSgq_Sg0aI03JWKVSgAtNSgA2UtKcAA019JWERegisteredFieldsF0RzAaVR_r0_lufc"},"schemaVersion":{"major":0,"patch":0,"minor":3},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWE/init(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:cek:initializationVector:additionalAuthenticationData:)":{"type":"topic","title":"init(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:cek:initializationVector:additionalAuthenticationData:)","role":"symbol","abstract":[{"text":"Initializes a ","type":"text"},{"code":"JWE","type":"codeVoice"},{"text":" object with specified protected and shared headers.","type":"text"}],"fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"<"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"text":">(","kind":"text"},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":", "},{"text":"protectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"kind":"text","text":"?, "},{"text":"unprotectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"senderKey"},{"kind":"text","text":": "},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"recipientKey"},{"text":": ","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"cek","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"initializationVector","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"additionalAuthenticationData","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"}],"url":"\/documentation\/jose_swift\/jwe\/init(payload:protectedheader:unprotectedheader:senderkey:recipientkey:cek:initializationvector:additionalauthenticationdata:)","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/init(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:cek:initializationVector:additionalAuthenticationData:)"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe/init(protectedheader:encryptedkey:initializationvector:cipher:authenticationtag:).json b/data/documentation/jose_swift/jwe/init(protectedheader:encryptedkey:initializationvector:cipher:authenticationtag:).json new file mode 100644 index 0000000..aa813ed --- /dev/null +++ b/data/documentation/jose_swift/jwe/init(protectedheader:encryptedkey:initializationvector:cipher:authenticationtag:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"encryptedKey"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"initializationVector","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"cipher","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"authenticationTag","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"protectedHeader","content":[{"inlineContent":[{"type":"text","text":"The raw data of the protected header."}],"type":"paragraph"}]},{"name":"encryptedKey","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The encrypted key."}]}]},{"content":[{"inlineContent":[{"type":"text","text":"The initialization vector."}],"type":"paragraph"}],"name":"initializationVector"},{"name":"cipher","content":[{"inlineContent":[{"type":"text","text":"The encrypted content."}],"type":"paragraph"}]},{"name":"authenticationTag","content":[{"type":"paragraph","inlineContent":[{"text":"The authentication tag.","type":"text"}]}]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/init(protectedHeader:encryptedKey:initializationVector:cipher:authenticationTag:)"},"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"title":"init(protectedHeader:encryptedKey:initializationVector:cipher:authenticationTag:)","symbolKind":"init","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"protectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"encryptedKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"initializationVector"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"cipher"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"authenticationTag"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebEncryption3JWEV15protectedHeader12encryptedKey20initializationVector6cipher17authenticationTagAC10Foundation4DataV_A4KtKcfc","role":"symbol","roleHeading":"Initializer"},"abstract":[{"type":"text","text":"Initializes a new "},{"type":"codeVoice","code":"JWE"},{"text":" object by decoding the protected header from the provided data and setting other parameters.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Throws an error if the protected header cannot be decoded."}],"variants":[{"paths":["\/documentation\/jose_swift\/jwe\/init(protectedheader:encryptedkey:initializationvector:cipher:authenticationtag:)"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/JWE/init(protectedHeader:encryptedKey:initializationVector:cipher:authenticationTag:)":{"type":"topic","title":"init(protectedHeader:encryptedKey:initializationVector:cipher:authenticationTag:)","role":"symbol","abstract":[{"type":"text","text":"Initializes a new "},{"code":"JWE","type":"codeVoice"},{"text":" object by decoding the protected header from the provided data and setting other parameters.","type":"text"},{"text":" ","type":"text"},{"text":"Throws an error if the protected header cannot be decoded.","type":"text"}],"fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"protectedHeader"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":", "},{"text":"encryptedKey","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"cipher"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"authenticationTag","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"url":"\/documentation\/jose_swift\/jwe\/init(protectedheader:encryptedkey:initializationvector:cipher:authenticationtag:)","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/init(protectedHeader:encryptedKey:initializationVector:cipher:authenticationTag:)"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe/init(protectedheader:protectedheaderdata:cipher:unprotectedheader:unprotectedheaderdata:encryptedkey:initializationvector:authenticationtag:additionalauthenticateddata:).json b/data/documentation/jose_swift/jwe/init(protectedheader:protectedheaderdata:cipher:unprotectedheader:unprotectedheaderdata:encryptedkey:initializationvector:authenticationtag:additionalauthenticateddata:).json new file mode 100644 index 0000000..0baf9cd --- /dev/null +++ b/data/documentation/jose_swift/jwe/init(protectedheader:protectedheaderdata:cipher:unprotectedheader:unprotectedheaderdata:encryptedkey:initializationvector:authenticationtag:additionalauthenticateddata:).json @@ -0,0 +1 @@ +{"metadata":{"fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"protectedHeader"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","text":"JWERegisteredFieldsHeader"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"protectedHeaderData"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"cipher"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWERegisteredFieldsHeader","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"},{"text":"?, ","kind":"text"},{"text":"unprotectedHeaderData","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"text":"encryptedKey","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"initializationVector"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"authenticationTag"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"additionalAuthenticatedData"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?)","kind":"text"}],"roleHeading":"Initializer","title":"init(protectedHeader:protectedHeaderData:cipher:unprotectedHeader:unprotectedHeaderData:encryptedKey:initializationVector:authenticationTag:additionalAuthenticatedData:)","modules":[{"name":"jose-swift"}],"symbolKind":"init","role":"symbol","externalID":"s:17JSONWebEncryption3JWEV15protectedHeader0dE4Data6cipher011unprotectedE00heF012encryptedKey20initializationVector17authenticationTag023additionalAuthenticatedF0AcA019JWERegisteredFieldsE0_p_10Foundation0F0VApaM_pSgAPSgA4Rtcfc"},"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"abstract":[{"type":"text","text":"Initializes a new "},{"code":"JWE","type":"codeVoice"},{"text":" object with the specified parameters.","type":"text"}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"protectedHeader"},{"kind":"text","text":": "},{"text":"JWERegisteredFieldsHeader","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"},{"kind":"text","text":", "},{"text":"protectedHeaderData","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":", "},{"kind":"externalParam","text":"cipher"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":", "},{"text":"unprotectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","text":"JWERegisteredFieldsHeader","kind":"typeIdentifier"},{"text":"? = nil, ","kind":"text"},{"text":"unprotectedHeaderData","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"? = nil, ","kind":"text"},{"text":"encryptedKey","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"initializationVector"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"? = nil, ","kind":"text"},{"text":"authenticationTag","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"? = nil, ","kind":"text"},{"text":"additionalAuthenticatedData","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"? = nil)","kind":"text"}],"languages":["swift"]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"name":"protectedHeader","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The protected header with registered fields."}]}]},{"content":[{"inlineContent":[{"type":"text","text":"The raw data of the protected header."}],"type":"paragraph"}],"name":"protectedHeaderData"},{"name":"cipher","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The encrypted content."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"Optional shared unprotected header.","type":"text"}]}],"name":"unprotectedHeader"},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional raw data of the shared unprotected header."}]}],"name":"unprotectedHeaderData"},{"content":[{"type":"paragraph","inlineContent":[{"text":"Optional encrypted key.","type":"text"}]}],"name":"encryptedKey"},{"content":[{"inlineContent":[{"type":"text","text":"Optional initialization vector."}],"type":"paragraph"}],"name":"initializationVector"},{"name":"authenticationTag","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional authentication tag."}]}]},{"name":"additionalAuthenticatedData","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional additional authenticated data."}]}]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/jwe\/init(protectedheader:protectedheaderdata:cipher:unprotectedheader:unprotectedheaderdata:encryptedkey:initializationvector:authenticationtag:additionalauthenticateddata:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/init(protectedHeader:protectedHeaderData:cipher:unprotectedHeader:unprotectedHeaderData:encryptedKey:initializationVector:authenticationTag:additionalAuthenticatedData:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"]]},"references":{"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},"doc://jose-swift/documentation/jose_swift/JWE/init(protectedHeader:protectedHeaderData:cipher:unprotectedHeader:unprotectedHeaderData:encryptedKey:initializationVector:authenticationTag:additionalAuthenticatedData:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/init(protectedHeader:protectedHeaderData:cipher:unprotectedHeader:unprotectedHeaderData:encryptedKey:initializationVector:authenticationTag:additionalAuthenticatedData:)","title":"init(protectedHeader:protectedHeaderData:cipher:unprotectedHeader:unprotectedHeaderData:encryptedKey:initializationVector:authenticationTag:additionalAuthenticatedData:)","role":"symbol","abstract":[{"type":"text","text":"Initializes a new "},{"code":"JWE","type":"codeVoice"},{"type":"text","text":" object with the specified parameters."}],"fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"protectedHeader"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWERegisteredFieldsHeader","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"protectedHeaderData"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"cipher","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWERegisteredFieldsHeader","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"unprotectedHeaderData"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"encryptedKey"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"authenticationTag"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"additionalAuthenticatedData"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":"?)","kind":"text"}],"url":"\/documentation\/jose_swift\/jwe\/init(protectedheader:protectedheaderdata:cipher:unprotectedheader:unprotectedheaderdata:encryptedkey:initializationvector:authenticationtag:additionalauthenticateddata:)","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe/initializationvector.json b/data/documentation/jose_swift/jwe/initializationvector.json new file mode 100644 index 0000000..fd1abae --- /dev/null +++ b/data/documentation/jose_swift/jwe/initializationvector.json @@ -0,0 +1 @@ +{"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwe\/initializationvector"]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/initializationVector","interfaceLanguage":"swift"},"abstract":[{"type":"codeVoice","code":"initializationVector"},{"type":"text","text":" is an optional field used in certain encryption algorithms to provide additional randomness."}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"initializationVector","kind":"identifier"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"}],"schemaVersion":{"minor":3,"major":0,"patch":0},"metadata":{"role":"symbol","externalID":"s:17JSONWebEncryption3JWEV20initializationVector10Foundation4DataVSgvp","title":"initializationVector","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"kind":"identifier","text":"initializationVector"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"roleHeading":"Instance Property","symbolKind":"property","modules":[{"name":"jose-swift"}]},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"]]},"references":{"doc://jose-swift/documentation/jose_swift/JWE/initializationVector":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/initializationVector","title":"initializationVector","role":"symbol","abstract":[{"type":"codeVoice","code":"initializationVector"},{"type":"text","text":" is an optional field used in certain encryption algorithms to provide additional randomness."}],"fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"initializationVector"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jwe\/initializationvector","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe/jsonserialization(payload:encryptionalgorithm:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:).json b/data/documentation/jose_swift/jwe/jsonserialization(payload:encryptionalgorithm:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:).json new file mode 100644 index 0000000..b664269 --- /dev/null +++ b/data/documentation/jose_swift/jwe/jsonserialization(payload:encryptionalgorithm:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"]]},"schemaVersion":{"minor":3,"major":0,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/jsonSerialization(payload:encryptionAlgorithm:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"jsonSerialization","kind":"identifier"},{"text":"(","kind":"text"},{"text":"payload","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"encryptionAlgorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"typeIdentifier","text":"ContentEncryptionAlgorithm"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"senderKey"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"recipients"},{"kind":"text","text":": [(alg"},{"kind":"text","text":": "},{"preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","kind":"typeIdentifier","text":"KeyManagementAlgorithm"},{"text":", key","kind":"text"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":")], "},{"text":"cek","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"initializationVector"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"? = nil, ","kind":"text"},{"text":"additionalAuthenticationData","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"? = nil) ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","text":"JWEJson","preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","text":"DefaultJWEHeaderImpl","preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","text":"DefaultJWEHeaderImpl"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV","text":"DefaultJWEHeaderImpl"},{"text":">","kind":"text"}],"languages":["swift"]}]},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"text":"The data to be encrypted.","type":"text"}]}],"name":"payload"},{"name":"encryptionAlgorithm","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The content encryption algorithm to be used."}]}]},{"name":"senderKey","content":[{"type":"paragraph","inlineContent":[{"text":"Optional sender’s key. Used in scenarios where the sender needs to be authenticated.","type":"text"}]}]},{"name":"recipients","content":[{"inlineContent":[{"text":"An array of tuples, each containing a key management algorithm and a recipient’s key.","type":"text"}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"Optional Content Encryption Key. If not provided, it will be generated.","type":"text"}]}],"name":"cek"},{"content":[{"type":"paragraph","inlineContent":[{"text":"Optional initialization vector. Used for certain encryption algorithms to provide additional randomness.","type":"text"}]}],"name":"initializationVector"},{"content":[{"type":"paragraph","inlineContent":[{"text":"Optional additional authenticated data. This data is authenticated but not encrypted.","type":"text"}]}],"name":"additionalAuthenticationData"},{"name":"encryptionModule","content":[{"inlineContent":[{"type":"text","text":"The encryption module to use, defaulting to the standard module. Allows for custom encryption processes."}],"type":"paragraph"}]}]},{"kind":"content","content":[{"level":2,"type":"heading","anchor":"return-value","text":"Return Value"},{"inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" object representing the serialized JWE."}],"type":"paragraph"}]},{"kind":"content","content":[{"level":2,"anchor":"discussion","text":"Discussion","type":"heading"},{"type":"aside","name":"Throws","content":[{"inlineContent":[{"text":"Serialization related errors, typically arising from encryption or encoding failures.","type":"text"}],"type":"paragraph"}],"style":"note"}]}],"sections":[],"metadata":{"externalID":"s:17JSONWebEncryption3JWEV17jsonSerialization7payload19encryptionAlgorithm9senderKey10recipients3cek20initializationVector28additionalAuthenticationDataAA7JWEJsonVyAA20DefaultJWEHeaderImplVA2OG10Foundation0Q0V_0A10Algorithms07ContentbH0O0aJ03JWKVSgSayAT0j10ManagementH0O3alg_AY3keytGASSgA4_A4_tKFZ","symbolKind":"method","roleHeading":"Type Method","role":"symbol","title":"jsonSerialization(payload:encryptionAlgorithm:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)","modules":[{"name":"jose-swift","relatedModules":["JSONWebEncryption"]}],"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"jsonSerialization","kind":"identifier"},{"text":"(","kind":"text"},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"encryptionAlgorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"ContentEncryptionAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO"},{"text":", ","kind":"text"},{"text":"senderKey","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"recipients"},{"text":": [(alg","kind":"text"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","kind":"typeIdentifier","text":"KeyManagementAlgorithm"},{"kind":"text","text":", key"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"text":")], ","kind":"text"},{"text":"cek","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"additionalAuthenticationData"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV","text":"JWEJson","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"text":"DefaultJWEHeaderImpl","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV"},{"text":", ","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV","text":"DefaultJWEHeaderImpl","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"DefaultJWEHeaderImpl","preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV","kind":"typeIdentifier"},{"kind":"text","text":">"}],"extendedModule":"JSONWebEncryption"},"kind":"symbol","variants":[{"paths":["\/documentation\/jose_swift\/jwe\/jsonserialization(payload:encryptionalgorithm:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:)"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"type":"text","text":"Creates a JSON serialization of a "},{"code":"JWE","type":"codeVoice"},{"type":"text","text":" object using a specified encryption algorithm and a set of recipients."},{"type":"text","text":" "},{"type":"text","text":"This method is particularly used when you have multiple recipients and a single encryption algorithm."}],"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"text":"RFC7517","type":"text"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},"doc://jose-swift/documentation/jose_swift/JWE/jsonSerialization(payload:encryptionAlgorithm:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/jsonSerialization(payload:encryptionAlgorithm:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)","title":"jsonSerialization(payload:encryptionAlgorithm:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)","role":"symbol","abstract":[{"text":"Creates a JSON serialization of a ","type":"text"},{"code":"JWE","type":"codeVoice"},{"text":" object using a specified encryption algorithm and a set of recipients.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"This method is particularly used when you have multiple recipients and a single encryption algorithm."}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jsonSerialization"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"payload"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"encryptionAlgorithm"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","text":"ContentEncryptionAlgorithm","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"recipients","kind":"externalParam"},{"text":": [(alg","kind":"text"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","text":"KeyManagementAlgorithm"},{"kind":"text","text":", key"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":")], "},{"kind":"externalParam","text":"cek"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"text":"initializationVector","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"additionalAuthenticationData"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV","text":"JWEJson","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"text":"DefaultJWEHeaderImpl","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV"},{"text":", ","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV","kind":"typeIdentifier","text":"DefaultJWEHeaderImpl"},{"text":", ","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV","text":"DefaultJWEHeaderImpl","kind":"typeIdentifier"},{"kind":"text","text":">"}],"url":"\/documentation\/jose_swift\/jwe\/jsonserialization(payload:encryptionalgorithm:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:)","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe/jsonserialization(payload:encryptionalgorithm:unprotectedheader:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:).json b/data/documentation/jose_swift/jwe/jsonserialization(payload:encryptionalgorithm:unprotectedheader:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:).json new file mode 100644 index 0000000..6ed189f --- /dev/null +++ b/data/documentation/jose_swift/jwe/jsonserialization(payload:encryptionalgorithm:unprotectedheader:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:).json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"]]},"metadata":{"externalID":"s:17JSONWebEncryption3JWEV17jsonSerialization7payload19encryptionAlgorithm17unprotectedHeader9senderKey10recipients3cek20initializationVector28additionalAuthenticationDataAA7JWEJsonVyAA20DefaultJWEHeaderImplVxAPG10Foundation0S0V_0A10Algorithms07ContentbH0OxSg0aL03JWKVSgSayAU0l10ManagementH0O3alg_A_3keytGATSgA6_A6_tKAA019JWERegisteredFieldsJ0RzlFZ","title":"jsonSerialization(payload:encryptionAlgorithm:unprotectedHeader:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)","extendedModule":"JSONWebEncryption","role":"symbol","roleHeading":"Type Method","symbolKind":"method","modules":[{"relatedModules":["JSONWebEncryption"],"name":"jose-swift"}],"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jsonSerialization"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"U"},{"text":">(","kind":"text"},{"kind":"externalParam","text":"payload"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"encryptionAlgorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"ContentEncryptionAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"text":"recipients","kind":"externalParam"},{"text":": [(alg","kind":"text"},{"kind":"text","text":": "},{"text":"KeyManagementAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO"},{"kind":"text","text":", key"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":")], ","kind":"text"},{"kind":"externalParam","text":"cek"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"initializationVector","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"additionalAuthenticationData"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV","kind":"typeIdentifier","text":"JWEJson"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV","text":"DefaultJWEHeaderImpl"},{"text":", ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":", "},{"preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV","text":"DefaultJWEHeaderImpl","kind":"typeIdentifier"},{"kind":"text","text":">"}]},"abstract":[{"text":"Creates a JSON serialization of a ","type":"text"},{"code":"JWE","type":"codeVoice"},{"type":"text","text":" object using a specified encryption algorithm and a set of recipients,"},{"text":" ","type":"text"},{"type":"text","text":"with a custom unprotected header."},{"type":"text","text":" "},{"type":"text","text":"This method allows for specifying a custom shared unprotected header while using default headers for the protected"},{"type":"text","text":" "},{"type":"text","text":"and recipient-specific headers."}],"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwe\/jsonserialization(payload:encryptionalgorithm:unprotectedheader:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:)"]}],"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/jsonSerialization(payload:encryptionAlgorithm:unprotectedHeader:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"jsonSerialization","kind":"identifier"},{"text":"<","kind":"text"},{"text":"U","kind":"genericParameter"},{"kind":"text","text":">("},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"encryptionAlgorithm"},{"kind":"text","text":": "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","text":"ContentEncryptionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO"},{"text":", ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"text":"? = nil as DefaultJWEHeaderImpl?, ","kind":"text"},{"kind":"externalParam","text":"senderKey"},{"kind":"text","text":": "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"recipients"},{"text":": [(alg","kind":"text"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"KeyManagementAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"},{"text":", key","kind":"text"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"text":")], ","kind":"text"},{"kind":"externalParam","text":"cek"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"? = nil, "},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"text":"additionalAuthenticationData","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"? = nil) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV","kind":"typeIdentifier","text":"JWEJson","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson"},{"kind":"text","text":"<"},{"text":"DefaultJWEHeaderImpl","preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"U"},{"text":", ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","kind":"typeIdentifier","text":"DefaultJWEHeaderImpl","preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV"},{"kind":"text","text":"> "},{"text":"where","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","text":"U"},{"text":" : ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","text":"JWERegisteredFieldsHeader","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"}],"languages":["swift"]}]},{"parameters":[{"content":[{"inlineContent":[{"text":"The data to be encrypted.","type":"text"}],"type":"paragraph"}],"name":"payload"},{"name":"encryptionAlgorithm","content":[{"type":"paragraph","inlineContent":[{"text":"The content encryption algorithm to be used.","type":"text"}]}]},{"name":"unprotectedHeader","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional custom shared unprotected header, conforming to "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":"."}]}]},{"name":"senderKey","content":[{"type":"paragraph","inlineContent":[{"text":"Optional sender’s key. Used in scenarios where the sender needs to be authenticated.","type":"text"}]}]},{"name":"recipients","content":[{"inlineContent":[{"text":"An array of tuples, each containing a key management algorithm and a recipient’s key.","type":"text"}],"type":"paragraph"}]},{"name":"cek","content":[{"type":"paragraph","inlineContent":[{"text":"Optional Content Encryption Key. If not provided, it will be generated.","type":"text"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"Optional initialization vector. Used for certain encryption algorithms to provide additional randomness.","type":"text"}]}],"name":"initializationVector"},{"name":"additionalAuthenticationData","content":[{"type":"paragraph","inlineContent":[{"text":"Optional additional authenticated data. This data is authenticated but not encrypted.","type":"text"}]}]},{"content":[{"inlineContent":[{"type":"text","text":"The encryption module to use, defaulting to the standard module. Allows for custom encryption processes."}],"type":"paragraph"}],"name":"encryptionModule"}],"kind":"parameters"},{"kind":"content","content":[{"text":"Return Value","level":2,"type":"heading","anchor":"return-value"},{"type":"paragraph","inlineContent":[{"text":"A ","type":"text"},{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" object representing the serialized JWE."},{"text":" ","type":"text"},{"type":"text","text":"The type parameter "},{"code":"U","type":"codeVoice"},{"type":"text","text":" represents the type of the custom unprotected header."}]}]},{"content":[{"type":"heading","text":"Discussion","level":2,"anchor":"discussion"},{"style":"note","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Serialization related errors, typically arising from encryption or encoding failures."}]}],"name":"Throws","type":"aside"}],"kind":"content"}],"references":{"doc://jose-swift/documentation/jose_swift/JWE/jsonSerialization(payload:encryptionAlgorithm:unprotectedHeader:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/jsonSerialization(payload:encryptionAlgorithm:unprotectedHeader:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)","title":"jsonSerialization(payload:encryptionAlgorithm:unprotectedHeader:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)","role":"symbol","abstract":[{"text":"Creates a JSON serialization of a ","type":"text"},{"code":"JWE","type":"codeVoice"},{"type":"text","text":" object using a specified encryption algorithm and a set of recipients,"},{"text":" ","type":"text"},{"type":"text","text":"with a custom unprotected header."},{"text":" ","type":"text"},{"type":"text","text":"This method allows for specifying a custom shared unprotected header while using default headers for the protected"},{"text":" ","type":"text"},{"text":"and recipient-specific headers.","type":"text"}],"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"jsonSerialization","kind":"identifier"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"U"},{"text":">(","kind":"text"},{"text":"payload","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":", "},{"kind":"externalParam","text":"encryptionAlgorithm"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","text":"ContentEncryptionAlgorithm"},{"kind":"text","text":", "},{"kind":"externalParam","text":"unprotectedHeader"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"senderKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"?, "},{"text":"recipients","kind":"externalParam"},{"text":": [(alg","kind":"text"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","text":"KeyManagementAlgorithm"},{"kind":"text","text":", key"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":")], ","kind":"text"},{"text":"cek","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"initializationVector"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"additionalAuthenticationData","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV","text":"JWEJson"},{"kind":"text","text":"<"},{"text":"DefaultJWEHeaderImpl","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"U"},{"text":", ","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV","text":"DefaultJWEHeaderImpl","kind":"typeIdentifier"},{"text":">","kind":"text"}],"url":"\/documentation\/jose_swift\/jwe\/jsonserialization(payload:encryptionalgorithm:unprotectedheader:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:)","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe/jsonserialization(payload:protectedheader:unprotectedheader:senderkey:recipientkeys:cek:initializationvector:additionalauthenticationdata:).json b/data/documentation/jose_swift/jwe/jsonserialization(payload:protectedheader:unprotectedheader:senderkey:recipientkeys:cek:initializationvector:additionalauthenticationdata:).json new file mode 100644 index 0000000..0496054 --- /dev/null +++ b/data/documentation/jose_swift/jwe/jsonserialization(payload:protectedheader:unprotectedheader:senderkey:recipientkeys:cek:initializationvector:additionalauthenticationdata:).json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"minor":3,"major":0},"kind":"symbol","metadata":{"externalID":"s:17JSONWebEncryption3JWEV17jsonSerialization7payload15protectedHeader011unprotectedH09senderKey13recipientKeys3cek20initializationVector28additionalAuthenticationDataAA7JWEJsonVyxq_AA20DefaultJWEHeaderImplVG10Foundation0S0V_xSgq_Sg0aK03JWKVSgSayAYGATSgA0_A0_tKAA019JWERegisteredFieldsH0RzAAA1_R_r0_lFZ","role":"symbol","title":"jsonSerialization(payload:protectedHeader:unprotectedHeader:senderKey:recipientKeys:cek:initializationVector:additionalAuthenticationData:)","extendedModule":"JSONWebEncryption","roleHeading":"Type Method","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"jsonSerialization","kind":"identifier"},{"kind":"text","text":"<"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":", "},{"text":"U","kind":"genericParameter"},{"text":">(","kind":"text"},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"text":"P","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":"?, "},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"text":"recipientKeys","kind":"externalParam"},{"text":": [","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"text":"], ","kind":"text"},{"text":"cek","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"additionalAuthenticationData"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?) ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV","text":"JWEJson"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"P"},{"text":", ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"DefaultJWEHeaderImpl","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV"},{"text":">","kind":"text"}],"modules":[{"name":"jose-swift","relatedModules":["JSONWebEncryption"]}],"symbolKind":"method"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/jsonSerialization(payload:protectedHeader:unprotectedHeader:senderKey:recipientKeys:cek:initializationVector:additionalAuthenticationData:)","interfaceLanguage":"swift"},"sections":[],"abstract":[{"type":"text","text":"Creates a JSON serialization of a "},{"type":"codeVoice","code":"JWE"},{"text":" object, primarily for cases with multiple recipient keys.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jsonSerialization"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"P"},{"kind":"text","text":", "},{"text":"U","kind":"genericParameter"},{"text":">(","kind":"text"},{"text":"payload","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"text":"P","kind":"typeIdentifier"},{"text":"? = nil as DefaultJWEHeaderImpl?, ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"U"},{"text":"? = nil as DefaultJWEHeaderImpl?, ","kind":"text"},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"recipientKeys"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"text":"], ","kind":"text"},{"kind":"externalParam","text":"cek"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":"? = nil, ","kind":"text"},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"? = nil, ","kind":"text"},{"text":"additionalAuthenticationData","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"? = nil) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"JWEJson","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson"},{"kind":"text","text":"<"},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":", "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV","kind":"typeIdentifier","text":"DefaultJWEHeaderImpl"},{"text":"> ","kind":"text"},{"kind":"keyword","text":"where"},{"text":" ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":" : ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","kind":"typeIdentifier","text":"JWERegisteredFieldsHeader"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"U"},{"text":" : ","kind":"text"},{"text":"JWERegisteredFieldsHeader","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"}]}]},{"kind":"parameters","parameters":[{"content":[{"inlineContent":[{"text":"The data to be encrypted.","type":"text"}],"type":"paragraph"}],"name":"payload"},{"name":"protectedHeader","content":[{"type":"paragraph","inlineContent":[{"text":"Optional protected header.","type":"text"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional shared header."}]}],"name":"unprotectedHeader"},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional sender’s key."}]}],"name":"senderKey"},{"name":"recipientKeys","content":[{"inlineContent":[{"text":"Array of recipient keys.","type":"text"}],"type":"paragraph"}]},{"name":"cek","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional Content Encryption Key."}]}]},{"name":"initializationVector","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional initialization vector."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"Optional additional authenticated data.","type":"text"}]}],"name":"additionalAuthenticationData"},{"name":"encryptionModule","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The encryption module to use, defaulting to the standard module."}]}]}]},{"content":[{"level":2,"text":"Return Value","anchor":"return-value","type":"heading"},{"inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"JWEJson"},{"text":" object representing the JWE.","type":"text"}],"type":"paragraph"}],"kind":"content"},{"content":[{"type":"heading","text":"Discussion","anchor":"discussion","level":2},{"content":[{"inlineContent":[{"text":"Serialization related errors.","type":"text"}],"type":"paragraph"}],"type":"aside","name":"Throws","style":"note"}],"kind":"content"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwe\/jsonserialization(payload:protectedheader:unprotectedheader:senderkey:recipientkeys:cek:initializationvector:additionalauthenticationdata:)"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"]]},"references":{"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},"doc://jose-swift/documentation/jose_swift/JWE/jsonSerialization(payload:protectedHeader:unprotectedHeader:senderKey:recipientKeys:cek:initializationVector:additionalAuthenticationData:)":{"type":"topic","title":"jsonSerialization(payload:protectedHeader:unprotectedHeader:senderKey:recipientKeys:cek:initializationVector:additionalAuthenticationData:)","role":"symbol","abstract":[{"text":"Creates a JSON serialization of a ","type":"text"},{"code":"JWE","type":"codeVoice"},{"type":"text","text":" object, primarily for cases with multiple recipient keys."}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"jsonSerialization"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"P"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"U"},{"text":">(","kind":"text"},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"P"},{"text":"?, ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"senderKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"text":"recipientKeys","kind":"externalParam"},{"text":": [","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"], "},{"kind":"externalParam","text":"cek"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"text":"initializationVector","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"additionalAuthenticationData"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":"?) "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"JWEJson","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV"},{"text":"<","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":", "},{"preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV","text":"DefaultJWEHeaderImpl","kind":"typeIdentifier"},{"text":">","kind":"text"}],"url":"\/documentation\/jose_swift\/jwe\/jsonserialization(payload:protectedheader:unprotectedheader:senderkey:recipientkeys:cek:initializationvector:additionalauthenticationdata:)","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/jsonSerialization(payload:protectedHeader:unprotectedHeader:senderKey:recipientKeys:cek:initializationVector:additionalAuthenticationData:)"},"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"},"https://www.rfc-editor.org/rfc/rfc7517":{"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe/jsonserialization(payload:protectedheader:unprotectedheader:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:).json b/data/documentation/jose_swift/jwe/jsonserialization(payload:protectedheader:unprotectedheader:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:).json new file mode 100644 index 0000000..aa92ba1 --- /dev/null +++ b/data/documentation/jose_swift/jwe/jsonserialization(payload:protectedheader:unprotectedheader:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:).json @@ -0,0 +1 @@ +{"metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"jsonSerialization","kind":"identifier"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"text":", ","kind":"text"},{"text":"U","kind":"genericParameter"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"R"},{"text":">(","kind":"text"},{"text":"payload","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"protectedHeader"},{"kind":"text","text":": "},{"text":"P","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"senderKey"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"recipients"},{"text":": [(header","kind":"text"},{"kind":"text","text":": "},{"text":"R","kind":"typeIdentifier"},{"text":", key","kind":"text"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":")], "},{"text":"cek","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"additionalAuthenticationData","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"text":"JWEJson","preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"R","kind":"typeIdentifier"},{"kind":"text","text":">"}],"externalID":"s:17JSONWebEncryption3JWEV17jsonSerialization7payload15protectedHeader011unprotectedH09senderKey10recipients3cek20initializationVector28additionalAuthenticationDataAA7JWEJsonVyxq_q0_G10Foundation0R0V_xSgq_Sg0aK03JWKVSgSayq0_6header_AW3keytGARSgA0_A0_tKAA019JWERegisteredFieldsH0RzAAA1_R_AAA1_R0_r1_lFZ","modules":[{"name":"jose-swift","relatedModules":["JSONWebEncryption"]}],"role":"symbol","symbolKind":"method","title":"jsonSerialization(payload:protectedHeader:unprotectedHeader:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)","roleHeading":"Type Method","extendedModule":"JSONWebEncryption"},"kind":"symbol","sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/jsonSerialization(payload:protectedHeader:unprotectedHeader:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)"},"abstract":[{"text":"Creates a JSON serialization of a ","type":"text"},{"code":"JWE","type":"codeVoice"},{"type":"text","text":" object with custom headers and multiple recipients."},{"text":" ","type":"text"},{"type":"text","text":"This method allows for a high degree of flexibility by accepting generic header types and a list of recipients."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"jsonSerialization","kind":"identifier"},{"kind":"text","text":"<"},{"text":"P","kind":"genericParameter"},{"text":", ","kind":"text"},{"text":"U","kind":"genericParameter"},{"text":", ","kind":"text"},{"text":"R","kind":"genericParameter"},{"text":">(","kind":"text"},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"protectedHeader"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"text":"? = nil as DefaultJWEHeaderImpl?, ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":"? = nil as DefaultJWEHeaderImpl?, "},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"kind":"text","text":"? = nil, "},{"text":"recipients","kind":"externalParam"},{"kind":"text","text":": [(header"},{"text":": ","kind":"text"},{"text":"R","kind":"typeIdentifier"},{"text":", key","kind":"text"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"text":")], ","kind":"text"},{"kind":"externalParam","text":"cek"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"? = nil, "},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"text":"additionalAuthenticationData","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"? = nil) "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV","kind":"typeIdentifier","text":"JWEJson"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"kind":"text","text":", "},{"text":"U","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"R","kind":"typeIdentifier"},{"text":"> ","kind":"text"},{"kind":"keyword","text":"where"},{"text":" ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","text":"JWERegisteredFieldsHeader","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"},{"text":", ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"text":" : ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","text":"JWERegisteredFieldsHeader","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"},{"text":", ","kind":"text"},{"text":"R","kind":"typeIdentifier"},{"text":" : ","kind":"text"},{"text":"JWERegisteredFieldsHeader","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"}],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The data to be encrypted."}]}],"name":"payload"},{"name":"protectedHeader","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional custom protected header. It should conform to "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":"."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"Optional custom shared unprotected header. It also should conform to ","type":"text"},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":"."}]}],"name":"unprotectedHeader"},{"name":"senderKey","content":[{"inlineContent":[{"type":"text","text":"Optional sender’s key. Used in scenarios where the sender needs to be authenticated."}],"type":"paragraph"}]},{"name":"recipients","content":[{"inlineContent":[{"text":"An array of tuples, each containing a recipient-specific header and a recipient’s key.","type":"text"}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"type":"text","text":"Optional Content Encryption Key. If not provided, it will be generated."}],"type":"paragraph"}],"name":"cek"},{"name":"initializationVector","content":[{"type":"paragraph","inlineContent":[{"text":"Optional initialization vector. Used for certain encryption algorithms to provide additional randomness.","type":"text"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"Optional additional authenticated data. This data is authenticated but not encrypted.","type":"text"}]}],"name":"additionalAuthenticationData"},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The encryption module to use, defaulting to the standard module. Allows for custom encryption processes."}]}],"name":"encryptionModule"}]},{"content":[{"type":"heading","level":2,"anchor":"return-value","text":"Return Value"},{"inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" object representing the serialized JWE. The type parameters "},{"code":"P","type":"codeVoice"},{"type":"text","text":", "},{"code":"U","type":"codeVoice"},{"text":", and ","type":"text"},{"type":"codeVoice","code":"R"},{"type":"text","text":" represent the types of the protected, unprotected, and recipient-specific headers, respectively."}],"type":"paragraph"}],"kind":"content"},{"kind":"content","content":[{"level":2,"type":"heading","anchor":"discussion","text":"Discussion"},{"type":"aside","name":"Throws","style":"note","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Serialization related errors, typically arising from encryption or encoding failures. Throws "},{"code":"JWE.JWEError.noRecipients","type":"codeVoice"},{"type":"text","text":" if there are no recipients provided."}]}]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/jwe\/jsonserialization(payload:protectedheader:unprotectedheader:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWE/jsonSerialization(payload:protectedHeader:unprotectedHeader:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/jsonSerialization(payload:protectedHeader:unprotectedHeader:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)","title":"jsonSerialization(payload:protectedHeader:unprotectedHeader:senderKey:recipients:cek:initializationVector:additionalAuthenticationData:)","role":"symbol","abstract":[{"text":"Creates a JSON serialization of a ","type":"text"},{"type":"codeVoice","code":"JWE"},{"type":"text","text":" object with custom headers and multiple recipients."},{"text":" ","type":"text"},{"type":"text","text":"This method allows for a high degree of flexibility by accepting generic header types and a list of recipients."}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"jsonSerialization"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"P"},{"kind":"text","text":", "},{"text":"U","kind":"genericParameter"},{"text":", ","kind":"text"},{"text":"R","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"payload"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"text":"P","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"unprotectedHeader"},{"text":": ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"text":"recipients","kind":"externalParam"},{"text":": [(header","kind":"text"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"R"},{"text":", key","kind":"text"},{"kind":"text","text":": "},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"kind":"text","text":")], "},{"text":"cek","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"initializationVector"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"additionalAuthenticationData"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"text":"JWEJson","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV"},{"text":"<","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":", "},{"text":"R","kind":"typeIdentifier"},{"text":">","kind":"text"}],"url":"\/documentation\/jose_swift\/jwe\/jsonserialization(payload:protectedheader:unprotectedheader:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:)","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe/protectedheader.json b/data/documentation/jose_swift/jwe/protectedheader.json new file mode 100644 index 0000000..2a63bd2 --- /dev/null +++ b/data/documentation/jose_swift/jwe/protectedheader.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwe\/protectedheader"]}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/protectedHeader"},"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"]]},"abstract":[{"type":"text","text":"The "},{"type":"codeVoice","code":"protectedHeader"},{"type":"text","text":" is a JWE header with registered fields that are integrity protected."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"text":"protectedHeader","kind":"identifier"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","text":"JWERegisteredFieldsHeader","kind":"typeIdentifier"}],"languages":["swift"],"platforms":["macOS"]}]}],"metadata":{"title":"protectedHeader","symbolKind":"property","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"protectedHeader"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","kind":"typeIdentifier","text":"JWERegisteredFieldsHeader"}],"modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebEncryption3JWEV15protectedHeaderAA019JWERegisteredFieldsE0_pvp","role":"symbol","roleHeading":"Instance Property"},"references":{"doc://jose-swift/documentation/jose_swift/JWE/protectedHeader":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/protectedHeader","title":"protectedHeader","role":"symbol","abstract":[{"type":"text","text":"The "},{"type":"codeVoice","code":"protectedHeader"},{"type":"text","text":" is a JWE header with registered fields that are integrity protected."}],"fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"protectedHeader","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWERegisteredFieldsHeader","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"}],"url":"\/documentation\/jose_swift\/jwe\/protectedheader","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe/protectedheaderdata.json b/data/documentation/jose_swift/jwe/protectedheaderdata.json new file mode 100644 index 0000000..e595ed1 --- /dev/null +++ b/data/documentation/jose_swift/jwe/protectedheaderdata.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"kind":"identifier","text":"protectedHeaderData"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"abstract":[{"code":"protectedHeaderData","type":"codeVoice"},{"type":"text","text":" represents the raw binary data of the protected header."}],"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/protectedHeaderData","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwe\/protectedheaderdata"]}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"]]},"metadata":{"symbolKind":"property","roleHeading":"Instance Property","modules":[{"name":"jose-swift"}],"fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"protectedHeaderData"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"title":"protectedHeaderData","externalID":"s:17JSONWebEncryption3JWEV19protectedHeaderData10Foundation0F0Vvp","role":"symbol"},"references":{"doc://jose-swift/documentation/jose_swift/JWE/protectedHeaderData":{"url":"\/documentation\/jose_swift\/jwe\/protectedheaderdata","kind":"symbol","title":"protectedHeaderData","role":"symbol","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"protectedHeaderData","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"}],"type":"topic","abstract":[{"type":"codeVoice","code":"protectedHeaderData"},{"type":"text","text":" represents the raw binary data of the protected header."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/protectedHeaderData"},"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe/unprotectedheader.json b/data/documentation/jose_swift/jwe/unprotectedheader.json new file mode 100644 index 0000000..a9f1db5 --- /dev/null +++ b/data/documentation/jose_swift/jwe/unprotectedheader.json @@ -0,0 +1 @@ +{"sections":[],"kind":"symbol","primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"unprotectedHeader","kind":"identifier"},{"kind":"text","text":": "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","kind":"typeIdentifier","text":"JWERegisteredFieldsHeader"},{"kind":"text","text":"?"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/unprotectedHeader","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"]]},"metadata":{"title":"unprotectedHeader","symbolKind":"property","roleHeading":"Instance Property","modules":[{"name":"jose-swift"}],"fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"unprotectedHeader"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","text":"JWERegisteredFieldsHeader"},{"kind":"text","text":"?"}],"externalID":"s:17JSONWebEncryption3JWEV17unprotectedHeaderAA019JWERegisteredFieldsE0_pSgvp","role":"symbol"},"abstract":[{"type":"codeVoice","code":"unprotectedHeader"},{"type":"text","text":" is an optional JWE header with registered fields that are not integrity protected."}],"variants":[{"paths":["\/documentation\/jose_swift\/jwe\/unprotectedheader"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},"doc://jose-swift/documentation/jose_swift/JWE/unprotectedHeader":{"type":"topic","title":"unprotectedHeader","role":"symbol","abstract":[{"code":"unprotectedHeader","type":"codeVoice"},{"text":" is an optional JWE header with registered fields that are not integrity protected.","type":"text"}],"fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"unprotectedHeader","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","text":"JWERegisteredFieldsHeader","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jwe\/unprotectedheader","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/unprotectedHeader"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwe/unprotectedheaderdata.json b/data/documentation/jose_swift/jwe/unprotectedheaderdata.json new file mode 100644 index 0000000..ed23c89 --- /dev/null +++ b/data/documentation/jose_swift/jwe/unprotectedheaderdata.json @@ -0,0 +1 @@ +{"abstract":[{"code":"unprotectedHeaderData","type":"codeVoice"},{"type":"text","text":" represents the raw binary data of the shared unprotected header, if available."}],"sections":[],"metadata":{"symbolKind":"property","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"unprotectedHeaderData","kind":"identifier"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"title":"unprotectedHeaderData","modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","role":"symbol","externalID":"s:17JSONWebEncryption3JWEV21unprotectedHeaderData10Foundation0F0VSgvp"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/unprotectedHeaderData","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"kind":"identifier","text":"unprotectedHeaderData"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwe\/unprotectedheaderdata"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/JWE/unprotectedHeaderData":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE\/unprotectedHeaderData","title":"unprotectedHeaderData","role":"symbol","abstract":[{"type":"codeVoice","code":"unprotectedHeaderData"},{"type":"text","text":" represents the raw binary data of the shared unprotected header, if available."}],"fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"kind":"identifier","text":"unprotectedHeaderData"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/jwe\/unprotectedheaderdata","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwedecryptor.json b/data/documentation/jose_swift/jwedecryptor.json new file mode 100644 index 0000000..b76ff50 --- /dev/null +++ b/data/documentation/jose_swift/jwedecryptor.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwedecryptor"]}],"metadata":{"role":"symbol","roleHeading":"Protocol","modules":[{"name":"jose-swift"}],"title":"JWEDecryptor","symbolKind":"protocol","externalID":"s:17JSONWebEncryption12JWEDecryptorP","navigatorTitle":[{"text":"JWEDecryptor","kind":"identifier"}],"fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWEDecryptor"}]},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWEDecryptor"}]}],"kind":"declarations"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEDecryptor"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWEDecryptor\/supportedContentEncryptionAlgorithms","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEDecryptor\/supportedKeyManagmentAlgorithms"],"title":"Instance Properties"},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWEDecryptor\/decrypt(protectedHeader:unprotectedHeader:cipher:recipientHeader:encryptedKey:initializationVector:authenticationTag:additionalAuthenticationData:senderKey:recipientKey:sharedKey:)"],"title":"Instance Methods"}],"references":{"doc://jose-swift/documentation/jose_swift/JWEDecryptor/supportedKeyManagmentAlgorithms":{"title":"supportedKeyManagmentAlgorithms","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/jwedecryptor\/supportedkeymanagmentalgorithms","required":true,"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEDecryptor\/supportedKeyManagmentAlgorithms","type":"topic","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"supportedKeyManagmentAlgorithms","kind":"identifier"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","text":"KeyManagementAlgorithm"},{"kind":"text","text":"]"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEDecryptor/decrypt(protectedHeader:unprotectedHeader:cipher:recipientHeader:encryptedKey:initializationVector:authenticationTag:additionalAuthenticationData:senderKey:recipientKey:sharedKey:)":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEDecryptor\/decrypt(protectedHeader:unprotectedHeader:cipher:recipientHeader:encryptedKey:initializationVector:authenticationTag:additionalAuthenticationData:senderKey:recipientKey:sharedKey:)","url":"\/documentation\/jose_swift\/jwedecryptor\/decrypt(protectedheader:unprotectedheader:cipher:recipientheader:encryptedkey:initializationvector:authenticationtag:additionalauthenticationdata:senderkey:recipientkey:sharedkey:)","required":true,"type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"decrypt","kind":"identifier"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"P"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"R"},{"kind":"text","text":">("},{"text":"protectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"cipher","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"recipientHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"R","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"encryptedKey"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"initializationVector"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"authenticationTag"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"additionalAuthenticationData"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"senderKey"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"recipientKey","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"sharedKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"kind":"symbol","abstract":[],"title":"decrypt(protectedHeader:unprotectedHeader:cipher:recipientHeader:encryptedKey:initializationVector:authenticationTag:additionalAuthenticationData:senderKey:recipientKey:sharedKey:)"},"doc://jose-swift/documentation/jose_swift/JWEDecryptor":{"title":"JWEDecryptor","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/jwedecryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEDecryptor","navigatorTitle":[{"text":"JWEDecryptor","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWEDecryptor"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWEDecryptor/supportedContentEncryptionAlgorithms":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEDecryptor\/supportedContentEncryptionAlgorithms","kind":"symbol","type":"topic","title":"supportedContentEncryptionAlgorithms","required":true,"url":"\/documentation\/jose_swift\/jwedecryptor\/supportedcontentencryptionalgorithms","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"supportedContentEncryptionAlgorithms","kind":"identifier"},{"text":": [","kind":"text"},{"text":"ContentEncryptionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO"},{"kind":"text","text":"]"}],"abstract":[]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwedecryptor/decrypt(protectedheader:unprotectedheader:cipher:recipientheader:encryptedkey:initializationvector:authenticationtag:additionalauthenticationdata:senderkey:recipientkey:sharedkey:).json b/data/documentation/jose_swift/jwedecryptor/decrypt(protectedheader:unprotectedheader:cipher:recipientheader:encryptedkey:initializationvector:authenticationtag:additionalauthenticationdata:senderkey:recipientkey:sharedkey:).json new file mode 100644 index 0000000..a912f43 --- /dev/null +++ b/data/documentation/jose_swift/jwedecryptor/decrypt(protectedheader:unprotectedheader:cipher:recipientheader:encryptedkey:initializationvector:authenticationtag:additionalauthenticationdata:senderkey:recipientkey:sharedkey:).json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwedecryptor\/decrypt(protectedheader:unprotectedheader:cipher:recipientheader:encryptedkey:initializationvector:authenticationtag:additionalauthenticationdata:senderkey:recipientkey:sharedkey:)"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEDecryptor"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEDecryptor\/decrypt(protectedHeader:unprotectedHeader:cipher:recipientHeader:encryptedKey:initializationVector:authenticationTag:additionalAuthenticationData:senderKey:recipientKey:sharedKey:)"},"kind":"symbol","metadata":{"roleHeading":"Instance Method","modules":[{"name":"jose-swift"}],"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"decrypt"},{"kind":"text","text":"<"},{"text":"P","kind":"genericParameter"},{"text":", ","kind":"text"},{"text":"U","kind":"genericParameter"},{"kind":"text","text":", "},{"text":"R","kind":"genericParameter"},{"kind":"text","text":">("},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"text":"P","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"unprotectedHeader"},{"text":": ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"cipher"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":", "},{"kind":"externalParam","text":"recipientHeader"},{"text":": ","kind":"text"},{"text":"R","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"encryptedKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"text":"initializationVector","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"text":"authenticationTag","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"text":"additionalAuthenticationData","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"senderKey","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"recipientKey","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"sharedKey"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"kind":"text","text":"?) "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"required":true,"title":"decrypt(protectedHeader:unprotectedHeader:cipher:recipientHeader:encryptedKey:initializationVector:authenticationTag:additionalAuthenticationData:senderKey:recipientKey:sharedKey:)","externalID":"s:17JSONWebEncryption12JWEDecryptorP7decrypt15protectedHeader011unprotectedF06cipher09recipientF012encryptedKey20initializationVector17authenticationTag28additionalAuthenticationData06senderK00iK006sharedK010Foundation0R0Vqd__Sg_qd_0_SgARqd_1_SgARSgA3V0aK03JWKVSgA2ZtKAA019JWERegisteredFieldsF0Rd__AAA_Rd_0_AAA_Rd_1_r1_lF","role":"symbol","symbolKind":"method"},"schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"decrypt"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":", "},{"text":"U","kind":"genericParameter"},{"text":", ","kind":"text"},{"text":"R","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"protectedHeader"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"P"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"unprotectedHeader"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"U"},{"text":"?, ","kind":"text"},{"text":"cipher","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"recipientHeader"},{"text":": ","kind":"text"},{"text":"R","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"encryptedKey","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"initializationVector"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"authenticationTag"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"additionalAuthenticationData"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"?, "},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"recipientKey","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"text":"?, ","kind":"text"},{"text":"sharedKey","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":" ","kind":"text"},{"text":"where","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"kind":"text","text":" : "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","text":"JWERegisteredFieldsHeader","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":" : "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","text":"JWERegisteredFieldsHeader","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"R"},{"text":" : ","kind":"text"},{"text":"JWERegisteredFieldsHeader","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWEDecryptor":{"title":"JWEDecryptor","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/jwedecryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEDecryptor","navigatorTitle":[{"text":"JWEDecryptor","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWEDecryptor"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"text":"RFC7517","type":"text"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWEDecryptor/decrypt(protectedHeader:unprotectedHeader:cipher:recipientHeader:encryptedKey:initializationVector:authenticationTag:additionalAuthenticationData:senderKey:recipientKey:sharedKey:)":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEDecryptor\/decrypt(protectedHeader:unprotectedHeader:cipher:recipientHeader:encryptedKey:initializationVector:authenticationTag:additionalAuthenticationData:senderKey:recipientKey:sharedKey:)","url":"\/documentation\/jose_swift\/jwedecryptor\/decrypt(protectedheader:unprotectedheader:cipher:recipientheader:encryptedkey:initializationvector:authenticationtag:additionalauthenticationdata:senderkey:recipientkey:sharedkey:)","required":true,"type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"decrypt","kind":"identifier"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"P"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"R"},{"kind":"text","text":">("},{"text":"protectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"cipher","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"recipientHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"R","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"encryptedKey"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"initializationVector"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"authenticationTag"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"additionalAuthenticationData"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"senderKey"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"recipientKey","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"sharedKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"kind":"symbol","abstract":[],"title":"decrypt(protectedHeader:unprotectedHeader:cipher:recipientHeader:encryptedKey:initializationVector:authenticationTag:additionalAuthenticationData:senderKey:recipientKey:sharedKey:)"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwedecryptor/supportedcontentencryptionalgorithms.json b/data/documentation/jose_swift/jwedecryptor/supportedcontentencryptionalgorithms.json new file mode 100644 index 0000000..4414bbe --- /dev/null +++ b/data/documentation/jose_swift/jwedecryptor/supportedcontentencryptionalgorithms.json @@ -0,0 +1 @@ +{"metadata":{"role":"symbol","roleHeading":"Instance Property","required":true,"modules":[{"name":"jose-swift"}],"title":"supportedContentEncryptionAlgorithms","symbolKind":"property","externalID":"s:17JSONWebEncryption12JWEDecryptorP016supportedContentB10AlgorithmsSay0aF00eB9AlgorithmOGvp","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"supportedContentEncryptionAlgorithms"},{"kind":"text","text":": ["},{"text":"ContentEncryptionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO"},{"text":"]","kind":"text"}]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEDecryptor\/supportedContentEncryptionAlgorithms","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"supportedContentEncryptionAlgorithms"},{"text":": [","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","text":"ContentEncryptionAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","kind":"typeIdentifier"},{"text":"] { ","kind":"text"},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/jose_swift\/jwedecryptor\/supportedcontentencryptionalgorithms"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"schemaVersion":{"patch":0,"minor":3,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEDecryptor"]]},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/JWEDecryptor/supportedContentEncryptionAlgorithms":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEDecryptor\/supportedContentEncryptionAlgorithms","kind":"symbol","type":"topic","title":"supportedContentEncryptionAlgorithms","required":true,"url":"\/documentation\/jose_swift\/jwedecryptor\/supportedcontentencryptionalgorithms","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"supportedContentEncryptionAlgorithms","kind":"identifier"},{"text":": [","kind":"text"},{"text":"ContentEncryptionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO"},{"kind":"text","text":"]"}],"abstract":[]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEDecryptor":{"title":"JWEDecryptor","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/jwedecryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEDecryptor","navigatorTitle":[{"text":"JWEDecryptor","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWEDecryptor"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwedecryptor/supportedkeymanagmentalgorithms.json b/data/documentation/jose_swift/jwedecryptor/supportedkeymanagmentalgorithms.json new file mode 100644 index 0000000..7bdf730 --- /dev/null +++ b/data/documentation/jose_swift/jwedecryptor/supportedkeymanagmentalgorithms.json @@ -0,0 +1 @@ +{"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"supportedKeyManagmentAlgorithms"},{"kind":"text","text":": ["},{"preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","text":"KeyManagementAlgorithm","kind":"typeIdentifier"},{"text":"] { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}]}]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEDecryptor\/supportedKeyManagmentAlgorithms"},"variants":[{"paths":["\/documentation\/jose_swift\/jwedecryptor\/supportedkeymanagmentalgorithms"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEDecryptor"]]},"metadata":{"symbolKind":"property","role":"symbol","roleHeading":"Instance Property","externalID":"s:17JSONWebEncryption12JWEDecryptorP31supportedKeyManagmentAlgorithmsSay0aG00E19ManagementAlgorithmOGvp","required":true,"modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"supportedKeyManagmentAlgorithms","kind":"identifier"},{"text":": [","kind":"text"},{"text":"KeyManagementAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO"},{"kind":"text","text":"]"}],"title":"supportedKeyManagmentAlgorithms"},"references":{"doc://jose-swift/documentation/jose_swift/JWEDecryptor/supportedKeyManagmentAlgorithms":{"title":"supportedKeyManagmentAlgorithms","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/jwedecryptor\/supportedkeymanagmentalgorithms","required":true,"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEDecryptor\/supportedKeyManagmentAlgorithms","type":"topic","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"supportedKeyManagmentAlgorithms","kind":"identifier"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","text":"KeyManagementAlgorithm"},{"kind":"text","text":"]"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWEDecryptor":{"title":"JWEDecryptor","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/jwedecryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEDecryptor","navigatorTitle":[{"text":"JWEDecryptor","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWEDecryptor"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweencryptionmodule.json b/data/documentation/jose_swift/jweencryptionmodule.json new file mode 100644 index 0000000..e5e7312 --- /dev/null +++ b/data/documentation/jose_swift/jweencryptionmodule.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEEncryptionModule","kind":"identifier"}],"languages":["swift"],"platforms":["macOS"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jweencryptionmodule"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","metadata":{"modules":[{"name":"jose-swift"}],"roleHeading":"Structure","externalID":"s:17JSONWebEncryption19JWEEncryptionModuleV","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWEEncryptionModule"}],"role":"symbol","symbolKind":"struct","title":"JWEEncryptionModule","navigatorTitle":[{"kind":"identifier","text":"JWEEncryptionModule"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule"},"abstract":[{"type":"codeVoice","code":"JWEEncryptionModule"},{"type":"text","text":" manages a collection of "},{"code":"JWEEncryptionProvider","type":"codeVoice"},{"text":" instances and provides encryption and decryption functionalities.","type":"text"}],"topicSections":[{"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule\/multiDecryptor","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule\/multiEncryptor","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule\/registeredEncryptions"]},{"title":"Type Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule\/default"]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEEncryptionModule/registeredEncryptions":{"title":"registeredEncryptions","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"registeredEncryptions","kind":"identifier"},{"kind":"text","text":": "},{"text":"Set","kind":"typeIdentifier","preciseIdentifier":"s:Sh"},{"kind":"text","text":"<"},{"text":"JWEEncryptionProvider","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption21JWEEncryptionProviderV"},{"text":">","kind":"text"}],"url":"\/documentation\/jose_swift\/jweencryptionmodule\/registeredencryptions","abstract":[{"text":"A set of registered encryption providers.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule\/registeredEncryptions","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWEEncryptionModule/multiDecryptor":{"url":"\/documentation\/jose_swift\/jweencryptionmodule\/multidecryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule\/multiDecryptor","kind":"symbol","type":"topic","title":"multiDecryptor","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"multiDecryptor"},{"kind":"text","text":": "},{"text":"JWEMultiDecryptor","preciseIdentifier":"s:17JSONWebEncryption17JWEMultiDecryptorP","kind":"typeIdentifier"}],"role":"symbol","abstract":[{"text":"Multi-decryptor for handling multiple decryption operations.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWEEncryptionModule":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWEEncryptionModule","kind":"identifier"}],"type":"topic","title":"JWEEncryptionModule","url":"\/documentation\/jose_swift\/jweencryptionmodule","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule","role":"symbol","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWEEncryptionModule"}],"abstract":[{"code":"JWEEncryptionModule","type":"codeVoice"},{"type":"text","text":" manages a collection of "},{"type":"codeVoice","code":"JWEEncryptionProvider"},{"text":" instances and provides encryption and decryption functionalities.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWEEncryptionModule/multiEncryptor":{"fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"multiEncryptor"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption17JWEMultiEncryptorP","kind":"typeIdentifier","text":"JWEMultiEncryptor"}],"type":"topic","title":"multiEncryptor","url":"\/documentation\/jose_swift\/jweencryptionmodule\/multiencryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule\/multiEncryptor","role":"symbol","kind":"symbol","abstract":[{"text":"Multi-encryptor for handling multiple encryption operations.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWEEncryptionModule/default":{"url":"\/documentation\/jose_swift\/jweencryptionmodule\/default","type":"topic","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"`default`"},{"kind":"text","text":": "},{"text":"JWEEncryptionModule","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption19JWEEncryptionModuleV"}],"title":"default","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule\/default","abstract":[{"text":"The default ","type":"text"},{"code":"JWEEncryptionModule","type":"codeVoice"},{"text":" instance with a predefined set of encryption providers.","type":"text"}],"role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweencryptionmodule/default.json b/data/documentation/jose_swift/jweencryptionmodule/default.json new file mode 100644 index 0000000..d16760b --- /dev/null +++ b/data/documentation/jose_swift/jweencryptionmodule/default.json @@ -0,0 +1 @@ +{"kind":"symbol","metadata":{"role":"symbol","symbolKind":"property","modules":[{"name":"jose-swift","relatedModules":["JSONWebEncryption"]}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"`default`","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:17JSONWebEncryption19JWEEncryptionModuleV","text":"JWEEncryptionModule","kind":"typeIdentifier"}],"title":"default","externalID":"s:17JSONWebEncryption19JWEEncryptionModuleV7defaultACvpZ","extendedModule":"JSONWebEncryption","roleHeading":"Type Property"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"`default`"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption19JWEEncryptionModuleV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule","text":"JWEEncryptionModule"}]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule\/default"},"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"type":"text","text":"The default "},{"type":"codeVoice","code":"JWEEncryptionModule"},{"text":" instance with a predefined set of encryption providers.","type":"text"}],"variants":[{"paths":["\/documentation\/jose_swift\/jweencryptionmodule\/default"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWEEncryptionModule":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWEEncryptionModule","kind":"identifier"}],"type":"topic","title":"JWEEncryptionModule","url":"\/documentation\/jose_swift\/jweencryptionmodule","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule","role":"symbol","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWEEncryptionModule"}],"abstract":[{"code":"JWEEncryptionModule","type":"codeVoice"},{"type":"text","text":" manages a collection of "},{"type":"codeVoice","code":"JWEEncryptionProvider"},{"text":" instances and provides encryption and decryption functionalities.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWEEncryptionModule/default":{"url":"\/documentation\/jose_swift\/jweencryptionmodule\/default","type":"topic","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"`default`"},{"kind":"text","text":": "},{"text":"JWEEncryptionModule","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption19JWEEncryptionModuleV"}],"title":"default","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule\/default","abstract":[{"text":"The default ","type":"text"},{"code":"JWEEncryptionModule","type":"codeVoice"},{"text":" instance with a predefined set of encryption providers.","type":"text"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweencryptionmodule/multidecryptor.json b/data/documentation/jose_swift/jweencryptionmodule/multidecryptor.json new file mode 100644 index 0000000..bb4b373 --- /dev/null +++ b/data/documentation/jose_swift/jweencryptionmodule/multidecryptor.json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"Multi-decryptor for handling multiple decryption operations."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jweencryptionmodule\/multidecryptor"]}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule\/multiDecryptor"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"multiDecryptor","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption17JWEMultiDecryptorP","text":"JWEMultiDecryptor","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiDecryptor"}]}],"kind":"declarations"}],"kind":"symbol","metadata":{"externalID":"s:17JSONWebEncryption19JWEEncryptionModuleV14multiDecryptorAA08JWEMultiF0_pvp","modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","title":"multiDecryptor","symbolKind":"property","role":"symbol","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"text":"multiDecryptor","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWEMultiDecryptor","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption17JWEMultiDecryptorP"}]},"references":{"doc://jose-swift/documentation/jose_swift/JWEEncryptionModule/multiDecryptor":{"url":"\/documentation\/jose_swift\/jweencryptionmodule\/multidecryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule\/multiDecryptor","kind":"symbol","type":"topic","title":"multiDecryptor","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"multiDecryptor"},{"kind":"text","text":": "},{"text":"JWEMultiDecryptor","preciseIdentifier":"s:17JSONWebEncryption17JWEMultiDecryptorP","kind":"typeIdentifier"}],"role":"symbol","abstract":[{"text":"Multi-decryptor for handling multiple decryption operations.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWEMultiDecryptor":{"url":"\/documentation\/jose_swift\/jwemultidecryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiDecryptor","navigatorTitle":[{"kind":"identifier","text":"JWEMultiDecryptor"}],"kind":"symbol","type":"topic","title":"JWEMultiDecryptor","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWEMultiDecryptor"}],"role":"symbol","abstract":[]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEEncryptionModule":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWEEncryptionModule","kind":"identifier"}],"type":"topic","title":"JWEEncryptionModule","url":"\/documentation\/jose_swift\/jweencryptionmodule","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule","role":"symbol","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWEEncryptionModule"}],"abstract":[{"code":"JWEEncryptionModule","type":"codeVoice"},{"type":"text","text":" manages a collection of "},{"type":"codeVoice","code":"JWEEncryptionProvider"},{"text":" instances and provides encryption and decryption functionalities.","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweencryptionmodule/multiencryptor.json b/data/documentation/jose_swift/jweencryptionmodule/multiencryptor.json new file mode 100644 index 0000000..f8f08a2 --- /dev/null +++ b/data/documentation/jose_swift/jweencryptionmodule/multiencryptor.json @@ -0,0 +1 @@ +{"abstract":[{"text":"Multi-encryptor for handling multiple encryption operations.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule"]]},"kind":"symbol","metadata":{"fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"multiEncryptor","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:17JSONWebEncryption17JWEMultiEncryptorP","kind":"typeIdentifier","text":"JWEMultiEncryptor"}],"title":"multiEncryptor","roleHeading":"Instance Property","symbolKind":"property","role":"symbol","externalID":"s:17JSONWebEncryption19JWEEncryptionModuleV14multiEncryptorAA08JWEMultiF0_pvp","modules":[{"name":"jose-swift"}]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jweencryptionmodule\/multiencryptor"]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule\/multiEncryptor","interfaceLanguage":"swift"},"sections":[],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"multiEncryptor","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:17JSONWebEncryption17JWEMultiEncryptorP","text":"JWEMultiEncryptor","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiEncryptor"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://jose-swift/documentation/jose_swift/JWEEncryptionModule/multiEncryptor":{"fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"multiEncryptor"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption17JWEMultiEncryptorP","kind":"typeIdentifier","text":"JWEMultiEncryptor"}],"type":"topic","title":"multiEncryptor","url":"\/documentation\/jose_swift\/jweencryptionmodule\/multiencryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule\/multiEncryptor","role":"symbol","kind":"symbol","abstract":[{"text":"Multi-encryptor for handling multiple encryption operations.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWEEncryptionModule":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWEEncryptionModule","kind":"identifier"}],"type":"topic","title":"JWEEncryptionModule","url":"\/documentation\/jose_swift\/jweencryptionmodule","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule","role":"symbol","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWEEncryptionModule"}],"abstract":[{"code":"JWEEncryptionModule","type":"codeVoice"},{"type":"text","text":" manages a collection of "},{"type":"codeVoice","code":"JWEEncryptionProvider"},{"text":" instances and provides encryption and decryption functionalities.","type":"text"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEMultiEncryptor":{"fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWEMultiEncryptor"}],"type":"topic","title":"JWEMultiEncryptor","url":"\/documentation\/jose_swift\/jwemultiencryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiEncryptor","role":"symbol","kind":"symbol","navigatorTitle":[{"text":"JWEMultiEncryptor","kind":"identifier"}],"abstract":[]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweencryptionmodule/registeredencryptions.json b/data/documentation/jose_swift/jweencryptionmodule/registeredencryptions.json new file mode 100644 index 0000000..39c6390 --- /dev/null +++ b/data/documentation/jose_swift/jweencryptionmodule/registeredencryptions.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule"]]},"abstract":[{"text":"A set of registered encryption providers.","type":"text"}],"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"registeredEncryptions","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sh","kind":"typeIdentifier","text":"Set"},{"text":"<","kind":"text"},{"text":"JWEEncryptionProvider","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider","preciseIdentifier":"s:17JSONWebEncryption21JWEEncryptionProviderV","kind":"typeIdentifier"},{"kind":"text","text":">"}]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jweencryptionmodule\/registeredencryptions"]}],"sections":[],"metadata":{"modules":[{"name":"jose-swift"}],"role":"symbol","externalID":"s:17JSONWebEncryption19JWEEncryptionModuleV21registeredEncryptionsShyAA0C8ProviderVGvp","title":"registeredEncryptions","symbolKind":"property","roleHeading":"Instance Property","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"registeredEncryptions","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Set","kind":"typeIdentifier","preciseIdentifier":"s:Sh"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:17JSONWebEncryption21JWEEncryptionProviderV","kind":"typeIdentifier","text":"JWEEncryptionProvider"},{"text":">","kind":"text"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule\/registeredEncryptions"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEEncryptionProvider":{"kind":"symbol","url":"\/documentation\/jose_swift\/jweencryptionprovider","title":"JWEEncryptionProvider","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider","role":"symbol","navigatorTitle":[{"text":"JWEEncryptionProvider","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWEEncryptionProvider"}],"abstract":[{"code":"JWEEncryptionProvider","type":"codeVoice"},{"type":"text","text":" represents an encryption provider for JSON Web Encryption (JWE) with a specific algorithm family."}]},"doc://jose-swift/documentation/jose_swift/JWEEncryptionModule/registeredEncryptions":{"title":"registeredEncryptions","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"registeredEncryptions","kind":"identifier"},{"kind":"text","text":": "},{"text":"Set","kind":"typeIdentifier","preciseIdentifier":"s:Sh"},{"kind":"text","text":"<"},{"text":"JWEEncryptionProvider","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption21JWEEncryptionProviderV"},{"text":">","kind":"text"}],"url":"\/documentation\/jose_swift\/jweencryptionmodule\/registeredencryptions","abstract":[{"text":"A set of registered encryption providers.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule\/registeredEncryptions","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWEEncryptionModule":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWEEncryptionModule","kind":"identifier"}],"type":"topic","title":"JWEEncryptionModule","url":"\/documentation\/jose_swift\/jweencryptionmodule","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule","role":"symbol","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWEEncryptionModule"}],"abstract":[{"code":"JWEEncryptionModule","type":"codeVoice"},{"type":"text","text":" manages a collection of "},{"type":"codeVoice","code":"JWEEncryptionProvider"},{"text":" instances and provides encryption and decryption functionalities.","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweencryptionprovider.json b/data/documentation/jose_swift/jweencryptionprovider.json new file mode 100644 index 0000000..6ccfca0 --- /dev/null +++ b/data/documentation/jose_swift/jweencryptionprovider.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jweencryptionprovider"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider"},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWEEncryptionProvider","kind":"identifier"}]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"symbolKind":"struct","roleHeading":"Structure","modules":[{"name":"jose-swift"}],"title":"JWEEncryptionProvider","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWEEncryptionProvider"}],"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"JWEEncryptionProvider","kind":"identifier"}],"externalID":"s:17JSONWebEncryption21JWEEncryptionProviderV"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"abstract":[{"code":"JWEEncryptionProvider","type":"codeVoice"},{"text":" represents an encryption provider for JSON Web Encryption (JWE) with a specific algorithm family.","type":"text"}],"relationshipsSections":[{"kind":"relationships","title":"Conforms To","type":"conformsTo","identifiers":["doc:\/\/jose-swift\/SQ","doc:\/\/jose-swift\/SH"]}],"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/==(_:_:)"],"title":"Operators"},{"title":"Initializers","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/init(family:encryptor:decryptor:)"]},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/family"],"title":"Instance Properties"},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/hash(into:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/supportsKeyAlgorithm(_:)"],"title":"Instance Methods"},{"title":"Default Implementations","generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/Equatable-Implementations"]}],"sections":[],"references":{"doc://jose-swift/documentation/jose_swift":{"kind":"symbol","url":"\/documentation\/jose_swift","role":"collection","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift","type":"topic","abstract":[],"title":"jose-swift"},"doc://jose-swift/documentation/jose_swift/JWEEncryptionProvider/supportsKeyAlgorithm(_:)":{"url":"\/documentation\/jose_swift\/jweencryptionprovider\/supportskeyalgorithm(_:)","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/supportsKeyAlgorithm(_:)","type":"topic","abstract":[{"type":"text","text":"Determines if the provider supports a given key management algorithm."}],"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"supportsKeyAlgorithm"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"KeyManagementAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"title":"supportsKeyAlgorithm(_:)"},"doc://jose-swift/documentation/jose_swift/JWEEncryptionProvider/family":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/family","type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"family","kind":"identifier"},{"kind":"text","text":": "},{"text":"KeyManagementAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO"},{"text":".","kind":"text"},{"text":"Family","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO0A10EncryptionE6FamilyO"}],"url":"\/documentation\/jose_swift\/jweencryptionprovider\/family","abstract":[{"type":"text","text":"The family of key management algorithm."}],"role":"symbol","title":"family"},"doc://jose-swift/documentation/jose_swift/JWEEncryptionProvider/==(_:_:)":{"url":"\/documentation\/jose_swift\/jweencryptionprovider\/==(_:_:)","kind":"symbol","title":"==(_:_:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/==(_:_:)","role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"=="},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption21JWEEncryptionProviderV","kind":"typeIdentifier","text":"JWEEncryptionProvider"},{"text":", ","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption21JWEEncryptionProviderV","text":"JWEEncryptionProvider","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"abstract":[]},"doc://jose-swift/documentation/jose_swift/JWEEncryptionProvider/Equatable-Implementations":{"kind":"article","url":"\/documentation\/jose_swift\/jweencryptionprovider\/equatable-implementations","title":"Equatable Implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/Equatable-Implementations","role":"collectionGroup","type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift/JWEEncryptionProvider/hash(into:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/hash(into:)","role":"symbol","url":"\/documentation\/jose_swift\/jweencryptionprovider\/hash(into:)","type":"topic","abstract":[],"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"hash","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"into"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"kind":"text","text":" "},{"text":"Hasher","kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV"},{"text":")","kind":"text"}],"kind":"symbol","title":"hash(into:)"},"doc://jose-swift/documentation/jose_swift/JWEEncryptionProvider":{"kind":"symbol","url":"\/documentation\/jose_swift\/jweencryptionprovider","title":"JWEEncryptionProvider","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider","role":"symbol","navigatorTitle":[{"text":"JWEEncryptionProvider","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWEEncryptionProvider"}],"abstract":[{"code":"JWEEncryptionProvider","type":"codeVoice"},{"type":"text","text":" represents an encryption provider for JSON Web Encryption (JWE) with a specific algorithm family."}]},"doc://jose-swift/SH":{"title":"Swift.Hashable","identifier":"doc:\/\/jose-swift\/SH","type":"unresolvable"},"doc://jose-swift/SQ":{"title":"Swift.Equatable","identifier":"doc:\/\/jose-swift\/SQ","type":"unresolvable"},"doc://jose-swift/documentation/jose_swift/JWEEncryptionProvider/init(family:encryptor:decryptor:)":{"type":"topic","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"family"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"KeyManagementAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO"},{"kind":"text","text":"."},{"preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO0A10EncryptionE6FamilyO","text":"Family","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"encryptor","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWEEncryptor","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption12JWEEncryptorP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"decryptor"},{"text":": ","kind":"text"},{"text":"JWEDecryptor","preciseIdentifier":"s:17JSONWebEncryption12JWEDecryptorP","kind":"typeIdentifier"},{"kind":"text","text":")"}],"role":"symbol","abstract":[{"text":"Initializes a new encryption provider with specified algorithm family, encryptor, and decryptor.","type":"text"}],"title":"init(family:encryptor:decryptor:)","kind":"symbol","url":"\/documentation\/jose_swift\/jweencryptionprovider\/init(family:encryptor:decryptor:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/init(family:encryptor:decryptor:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweencryptionprovider/!=(_:_:).json b/data/documentation/jose_swift/jweencryptionprovider/!=(_:_:).json new file mode 100644 index 0000000..a09ebc3 --- /dev/null +++ b/data/documentation/jose_swift/jweencryptionprovider/!=(_:_:).json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/!=(_:_:)"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"internalParam","text":"lhs"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"text":", ","kind":"text"},{"kind":"internalParam","text":"rhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/jweencryptionprovider\/!=(_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"patch":0,"minor":3,"major":0},"kind":"symbol","sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/Equatable-Implementations"]]},"metadata":{"extendedModule":"Swift","title":"!=(_:_:)","symbolKind":"op","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"!=","kind":"identifier"},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"text":", ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}],"modules":[{"relatedModules":["Swift"],"name":"jose-swift"}],"externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17JSONWebEncryption21JWEEncryptionProviderV","role":"symbol","roleHeading":"Operator"},"abstract":[{"type":"text","text":"Inherited from "},{"code":"Equatable.!=(_:_:)","type":"codeVoice"},{"type":"text","text":"."}],"references":{"doc://jose-swift/documentation/jose_swift/JWEEncryptionProvider/Equatable-Implementations":{"kind":"article","url":"\/documentation\/jose_swift\/jweencryptionprovider\/equatable-implementations","title":"Equatable Implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/Equatable-Implementations","role":"collectionGroup","type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEEncryptionProvider":{"kind":"symbol","url":"\/documentation\/jose_swift\/jweencryptionprovider","title":"JWEEncryptionProvider","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider","role":"symbol","navigatorTitle":[{"text":"JWEEncryptionProvider","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWEEncryptionProvider"}],"abstract":[{"code":"JWEEncryptionProvider","type":"codeVoice"},{"type":"text","text":" represents an encryption provider for JSON Web Encryption (JWE) with a specific algorithm family."}]},"doc://jose-swift/documentation/jose_swift/JWEEncryptionProvider/!=(_:_:)":{"abstract":[],"type":"topic","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"url":"\/documentation\/jose_swift\/jweencryptionprovider\/!=(_:_:)","kind":"symbol","title":"!=(_:_:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/!=(_:_:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweencryptionprovider/==(_:_:).json b/data/documentation/jose_swift/jweencryptionprovider/==(_:_:).json new file mode 100644 index 0000000..d92c53f --- /dev/null +++ b/data/documentation/jose_swift/jweencryptionprovider/==(_:_:).json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"Inherited from "},{"code":"Equatable.==(_:_:)","type":"codeVoice"},{"text":".","type":"text"}],"schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"kind":"symbol","metadata":{"roleHeading":"Operator","symbolKind":"op","externalID":"s:17JSONWebEncryption21JWEEncryptionProviderV2eeoiySbAC_ACtFZ","modules":[{"name":"jose-swift"}],"role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"=="},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption21JWEEncryptionProviderV","text":"JWEEncryptionProvider"},{"text":", ","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption21JWEEncryptionProviderV","text":"JWEEncryptionProvider","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"title":"==(_:_:)"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"=="},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"text":"lhs","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWEEncryptionProvider","preciseIdentifier":"s:17JSONWebEncryption21JWEEncryptionProviderV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider"},{"text":", ","kind":"text"},{"text":"rhs","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption21JWEEncryptionProviderV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider","text":"JWEEncryptionProvider"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/jose_swift\/jweencryptionprovider\/==(_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/==(_:_:)"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider"]]},"references":{"doc://jose-swift/documentation/jose_swift/JWEEncryptionProvider":{"kind":"symbol","url":"\/documentation\/jose_swift\/jweencryptionprovider","title":"JWEEncryptionProvider","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider","role":"symbol","navigatorTitle":[{"text":"JWEEncryptionProvider","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWEEncryptionProvider"}],"abstract":[{"code":"JWEEncryptionProvider","type":"codeVoice"},{"type":"text","text":" represents an encryption provider for JSON Web Encryption (JWE) with a specific algorithm family."}]},"doc://jose-swift/documentation/jose_swift/JWEEncryptionProvider/==(_:_:)":{"url":"\/documentation\/jose_swift\/jweencryptionprovider\/==(_:_:)","kind":"symbol","title":"==(_:_:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/==(_:_:)","role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"=="},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption21JWEEncryptionProviderV","kind":"typeIdentifier","text":"JWEEncryptionProvider"},{"text":", ","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption21JWEEncryptionProviderV","text":"JWEEncryptionProvider","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"abstract":[]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweencryptionprovider/equatable-implementations.json b/data/documentation/jose_swift/jweencryptionprovider/equatable-implementations.json new file mode 100644 index 0000000..55e0471 --- /dev/null +++ b/data/documentation/jose_swift/jweencryptionprovider/equatable-implementations.json @@ -0,0 +1 @@ +{"kind":"article","schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider"]]},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/!=(_:_:)"],"generated":true,"title":"Operators"}],"metadata":{"title":"Equatable Implementations","modules":[{"name":"jose-swift"}],"role":"collectionGroup"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/Equatable-Implementations","interfaceLanguage":"swift"},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jweencryptionprovider\/equatable-implementations"]}],"references":{"doc://jose-swift/documentation/jose_swift/JWEEncryptionProvider/!=(_:_:)":{"abstract":[],"type":"topic","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"url":"\/documentation\/jose_swift\/jweencryptionprovider\/!=(_:_:)","kind":"symbol","title":"!=(_:_:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/!=(_:_:)"},"doc://jose-swift/documentation/jose_swift/JWEEncryptionProvider":{"kind":"symbol","url":"\/documentation\/jose_swift\/jweencryptionprovider","title":"JWEEncryptionProvider","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider","role":"symbol","navigatorTitle":[{"text":"JWEEncryptionProvider","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWEEncryptionProvider"}],"abstract":[{"code":"JWEEncryptionProvider","type":"codeVoice"},{"type":"text","text":" represents an encryption provider for JSON Web Encryption (JWE) with a specific algorithm family."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweencryptionprovider/family.json b/data/documentation/jose_swift/jweencryptionprovider/family.json new file mode 100644 index 0000000..effe2c1 --- /dev/null +++ b/data/documentation/jose_swift/jweencryptionprovider/family.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/family","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"kind":"identifier","text":"family"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","text":"KeyManagementAlgorithm"},{"kind":"text","text":"."},{"text":"Family","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO0A10EncryptionE6FamilyO"}],"platforms":["macOS"]}]}],"abstract":[{"text":"The family of key management algorithm.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jweencryptionprovider\/family"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"symbolKind":"property","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"family","kind":"identifier"},{"text":": ","kind":"text"},{"text":"KeyManagementAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO0A10EncryptionE6FamilyO","text":"Family"}],"externalID":"s:17JSONWebEncryption21JWEEncryptionProviderV6family0A10Algorithms22KeyManagementAlgorithmOAAE6FamilyOvp","roleHeading":"Instance Property","modules":[{"name":"jose-swift"}],"title":"family","role":"symbol"},"references":{"doc://jose-swift/documentation/jose_swift/JWEEncryptionProvider/family":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/family","type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"family","kind":"identifier"},{"kind":"text","text":": "},{"text":"KeyManagementAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO"},{"text":".","kind":"text"},{"text":"Family","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO0A10EncryptionE6FamilyO"}],"url":"\/documentation\/jose_swift\/jweencryptionprovider\/family","abstract":[{"type":"text","text":"The family of key management algorithm."}],"role":"symbol","title":"family"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Family","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Family"}],"title":"KeyManagementAlgorithm.Family","abstract":[{"type":"codeVoice","code":"Family"},{"type":"text","text":" is an enumeration representing different families of cryptographic algorithms."}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWEEncryptionProvider":{"kind":"symbol","url":"\/documentation\/jose_swift\/jweencryptionprovider","title":"JWEEncryptionProvider","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider","role":"symbol","navigatorTitle":[{"text":"JWEEncryptionProvider","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWEEncryptionProvider"}],"abstract":[{"code":"JWEEncryptionProvider","type":"codeVoice"},{"type":"text","text":" represents an encryption provider for JSON Web Encryption (JWE) with a specific algorithm family."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweencryptionprovider/hash(into:).json b/data/documentation/jose_swift/jweencryptionprovider/hash(into:).json new file mode 100644 index 0000000..c91dd56 --- /dev/null +++ b/data/documentation/jose_swift/jweencryptionprovider/hash(into:).json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jweencryptionprovider\/hash(into:)"]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/hash(into:)","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"hash"},{"text":"(","kind":"text"},{"text":"into","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"hasher","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"keyword","text":"inout"},{"kind":"text","text":" "},{"kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV","text":"Hasher"},{"text":")","kind":"text"}],"languages":["swift"]}]}],"sections":[],"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider"]]},"metadata":{"title":"hash(into:)","symbolKind":"method","modules":[{"name":"jose-swift"}],"roleHeading":"Instance Method","externalID":"s:17JSONWebEncryption21JWEEncryptionProviderV4hash4intoys6HasherVz_tF","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"hash","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"into"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"kind":"text","text":" "},{"preciseIdentifier":"s:s6HasherV","kind":"typeIdentifier","text":"Hasher"},{"kind":"text","text":")"}],"role":"symbol"},"abstract":[{"type":"text","text":"Inherited from "},{"code":"Hashable.hash(into:)","type":"codeVoice"},{"text":".","type":"text"}],"references":{"doc://jose-swift/documentation/jose_swift/JWEEncryptionProvider":{"kind":"symbol","url":"\/documentation\/jose_swift\/jweencryptionprovider","title":"JWEEncryptionProvider","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider","role":"symbol","navigatorTitle":[{"text":"JWEEncryptionProvider","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWEEncryptionProvider"}],"abstract":[{"code":"JWEEncryptionProvider","type":"codeVoice"},{"type":"text","text":" represents an encryption provider for JSON Web Encryption (JWE) with a specific algorithm family."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEEncryptionProvider/hash(into:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/hash(into:)","role":"symbol","url":"\/documentation\/jose_swift\/jweencryptionprovider\/hash(into:)","type":"topic","abstract":[],"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"hash","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"into"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"kind":"text","text":" "},{"text":"Hasher","kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV"},{"text":")","kind":"text"}],"kind":"symbol","title":"hash(into:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweencryptionprovider/init(family:encryptor:decryptor:).json b/data/documentation/jose_swift/jweencryptionprovider/init(family:encryptor:decryptor:).json new file mode 100644 index 0000000..ee010b4 --- /dev/null +++ b/data/documentation/jose_swift/jweencryptionprovider/init(family:encryptor:decryptor:).json @@ -0,0 +1 @@ +{"metadata":{"fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"family"},{"text":": ","kind":"text"},{"text":"KeyManagementAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO0A10EncryptionE6FamilyO","text":"Family"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"encryptor"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption12JWEEncryptorP","text":"JWEEncryptor","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"decryptor"},{"kind":"text","text":": "},{"preciseIdentifier":"s:17JSONWebEncryption12JWEDecryptorP","text":"JWEDecryptor","kind":"typeIdentifier"},{"text":")","kind":"text"}],"roleHeading":"Initializer","modules":[{"name":"jose-swift"}],"title":"init(family:encryptor:decryptor:)","symbolKind":"init","role":"symbol","externalID":"s:17JSONWebEncryption21JWEEncryptionProviderV6family9encryptor9decryptorAC0A10Algorithms22KeyManagementAlgorithmOAAE6FamilyO_AA12JWEEncryptor_pAA12JWEDecryptor_ptcfc"},"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jweencryptionprovider\/init(family:encryptor:decryptor:)"]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/init(family:encryptor:decryptor:)","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"family"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","kind":"typeIdentifier","text":"KeyManagementAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"},{"kind":"text","text":"."},{"text":"Family","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO0A10EncryptionE6FamilyO","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum"},{"text":", ","kind":"text"},{"text":"encryptor","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWEEncryptor","preciseIdentifier":"s:17JSONWebEncryption12JWEEncryptorP","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptor","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"decryptor"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEDecryptor","kind":"typeIdentifier","text":"JWEDecryptor","preciseIdentifier":"s:17JSONWebEncryption12JWEDecryptorP"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"family","content":[{"inlineContent":[{"text":"The family of key management algorithms.","type":"text"}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"type":"text","text":"The encryptor instance."}],"type":"paragraph"}],"name":"encryptor"},{"name":"decryptor","content":[{"inlineContent":[{"text":"The decryptor instance.","type":"text"}],"type":"paragraph"}]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider"]]},"kind":"symbol","abstract":[{"type":"text","text":"Initializes a new encryption provider with specified algorithm family, encryptor, and decryptor."}],"references":{"doc://jose-swift/documentation/jose_swift/JWEDecryptor":{"title":"JWEDecryptor","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/jwedecryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEDecryptor","navigatorTitle":[{"text":"JWEDecryptor","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWEDecryptor"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Family","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Family"}],"title":"KeyManagementAlgorithm.Family","abstract":[{"type":"codeVoice","code":"Family"},{"type":"text","text":" is an enumeration representing different families of cryptographic algorithms."}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWEEncryptor":{"type":"topic","navigatorTitle":[{"text":"JWEEncryptor","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jweencryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptor","title":"JWEEncryptor","abstract":[],"kind":"symbol","role":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWEEncryptor","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWEEncryptionProvider/init(family:encryptor:decryptor:)":{"type":"topic","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"family"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"KeyManagementAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO"},{"kind":"text","text":"."},{"preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO0A10EncryptionE6FamilyO","text":"Family","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"encryptor","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWEEncryptor","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption12JWEEncryptorP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"decryptor"},{"text":": ","kind":"text"},{"text":"JWEDecryptor","preciseIdentifier":"s:17JSONWebEncryption12JWEDecryptorP","kind":"typeIdentifier"},{"kind":"text","text":")"}],"role":"symbol","abstract":[{"text":"Initializes a new encryption provider with specified algorithm family, encryptor, and decryptor.","type":"text"}],"title":"init(family:encryptor:decryptor:)","kind":"symbol","url":"\/documentation\/jose_swift\/jweencryptionprovider\/init(family:encryptor:decryptor:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/init(family:encryptor:decryptor:)"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWEEncryptionProvider":{"kind":"symbol","url":"\/documentation\/jose_swift\/jweencryptionprovider","title":"JWEEncryptionProvider","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider","role":"symbol","navigatorTitle":[{"text":"JWEEncryptionProvider","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWEEncryptionProvider"}],"abstract":[{"code":"JWEEncryptionProvider","type":"codeVoice"},{"type":"text","text":" represents an encryption provider for JSON Web Encryption (JWE) with a specific algorithm family."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweencryptionprovider/supportskeyalgorithm(_:).json b/data/documentation/jose_swift/jweencryptionprovider/supportskeyalgorithm(_:).json new file mode 100644 index 0000000..ff8f5bd --- /dev/null +++ b/data/documentation/jose_swift/jweencryptionprovider/supportskeyalgorithm(_:).json @@ -0,0 +1 @@ +{"sections":[],"kind":"symbol","abstract":[{"type":"text","text":"Determines if the provider supports a given key management algorithm."}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider"]]},"schemaVersion":{"major":0,"patch":0,"minor":3},"metadata":{"roleHeading":"Instance Method","externalID":"s:17JSONWebEncryption21JWEEncryptionProviderV20supportsKeyAlgorithmySb0A10Algorithms0f10ManagementG0OF","title":"supportsKeyAlgorithm(_:)","modules":[{"name":"jose-swift"}],"role":"symbol","symbolKind":"method","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"supportsKeyAlgorithm","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"KeyManagementAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO"},{"kind":"text","text":") -> "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"supportsKeyAlgorithm"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"alg"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"KeyManagementAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"languages":["swift"]}]},{"parameters":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The key management algorithm to check."}]}],"name":"alg"}],"kind":"parameters"},{"kind":"content","content":[{"text":"Return Value","level":2,"type":"heading","anchor":"return-value"},{"type":"paragraph","inlineContent":[{"type":"text","text":""},{"code":"true","type":"codeVoice"},{"text":" if the provider supports the algorithm, otherwise ","type":"text"},{"type":"codeVoice","code":"false"},{"text":".","type":"text"}]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jweencryptionprovider\/supportskeyalgorithm(_:)"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/supportsKeyAlgorithm(_:)"},"references":{"doc://jose-swift/documentation/jose_swift/JWEEncryptionProvider":{"kind":"symbol","url":"\/documentation\/jose_swift\/jweencryptionprovider","title":"JWEEncryptionProvider","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider","role":"symbol","navigatorTitle":[{"text":"JWEEncryptionProvider","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWEEncryptionProvider"}],"abstract":[{"code":"JWEEncryptionProvider","type":"codeVoice"},{"type":"text","text":" represents an encryption provider for JSON Web Encryption (JWE) with a specific algorithm family."}]},"doc://jose-swift/documentation/jose_swift/JWEEncryptionProvider/supportsKeyAlgorithm(_:)":{"url":"\/documentation\/jose_swift\/jweencryptionprovider\/supportskeyalgorithm(_:)","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionProvider\/supportsKeyAlgorithm(_:)","type":"topic","abstract":[{"type":"text","text":"Determines if the provider supports a given key management algorithm."}],"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"supportsKeyAlgorithm"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"KeyManagementAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"title":"supportsKeyAlgorithm(_:)"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweencryptor.json b/data/documentation/jose_swift/jweencryptor.json new file mode 100644 index 0000000..e71dfe9 --- /dev/null +++ b/data/documentation/jose_swift/jweencryptor.json @@ -0,0 +1 @@ +{"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptor","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jweencryptor"]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"sections":[],"metadata":{"navigatorTitle":[{"kind":"identifier","text":"JWEEncryptor"}],"roleHeading":"Protocol","symbolKind":"protocol","externalID":"s:17JSONWebEncryption12JWEEncryptorP","modules":[{"name":"jose-swift"}],"title":"JWEEncryptor","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWEEncryptor"}],"role":"symbol"},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptor\/supportedContentEncryptionAlgorithms","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptor\/supportedKeyManagmentAlgorithms"],"title":"Instance Properties"},{"title":"Instance Methods","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptor\/encrypt(payload:senderKey:recipientKey:protectedHeader:unprotectedHeader:recipientHeader:cek:initializationVector:additionalAuthenticationData:hasMultiRecipients:)"]}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWEEncryptor","kind":"identifier"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift/JWEEncryptor/supportedContentEncryptionAlgorithms":{"type":"topic","url":"\/documentation\/jose_swift\/jweencryptor\/supportedcontentencryptionalgorithms","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptor\/supportedContentEncryptionAlgorithms","required":true,"title":"supportedContentEncryptionAlgorithms","abstract":[],"kind":"symbol","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"supportedContentEncryptionAlgorithms","kind":"identifier"},{"text":": [","kind":"text"},{"text":"ContentEncryptionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO"},{"kind":"text","text":"]"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEEncryptor/supportedKeyManagmentAlgorithms":{"type":"topic","url":"\/documentation\/jose_swift\/jweencryptor\/supportedkeymanagmentalgorithms","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptor\/supportedKeyManagmentAlgorithms","required":true,"title":"supportedKeyManagmentAlgorithms","abstract":[],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"supportedKeyManagmentAlgorithms","kind":"identifier"},{"text":": [","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","kind":"typeIdentifier","text":"KeyManagementAlgorithm"},{"text":"]","kind":"text"}]},"doc://jose-swift/documentation/jose_swift/JWEEncryptor":{"type":"topic","navigatorTitle":[{"text":"JWEEncryptor","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jweencryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptor","title":"JWEEncryptor","abstract":[],"kind":"symbol","role":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWEEncryptor","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWEEncryptor/encrypt(payload:senderKey:recipientKey:protectedHeader:unprotectedHeader:recipientHeader:cek:initializationVector:additionalAuthenticationData:hasMultiRecipients:)":{"type":"topic","url":"\/documentation\/jose_swift\/jweencryptor\/encrypt(payload:senderkey:recipientkey:protectedheader:unprotectedheader:recipientheader:cek:initializationvector:additionalauthenticationdata:hasmultirecipients:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptor\/encrypt(payload:senderKey:recipientKey:protectedHeader:unprotectedHeader:recipientHeader:cek:initializationVector:additionalAuthenticationData:hasMultiRecipients:)","required":true,"title":"encrypt(payload:senderKey:recipientKey:protectedHeader:unprotectedHeader:recipientHeader:cek:initializationVector:additionalAuthenticationData:hasMultiRecipients:)","abstract":[],"kind":"symbol","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"encrypt","kind":"identifier"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":", "},{"text":"R","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"senderKey","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"recipientKey"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"protectedHeader"},{"kind":"text","text":": "},{"text":"P","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":"?, "},{"text":"recipientHeader","kind":"externalParam"},{"kind":"text","text":": "},{"text":"R","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"cek","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"additionalAuthenticationData"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"hasMultiRecipients"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption8JWEPartsV","text":"JWEParts"},{"text":"<","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"R","kind":"typeIdentifier"},{"text":">","kind":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweencryptor/encrypt(payload:senderkey:recipientkey:protectedheader:unprotectedheader:recipientheader:cek:initializationvector:additionalauthenticationdata:hasmultirecipients:).json b/data/documentation/jose_swift/jweencryptor/encrypt(payload:senderkey:recipientkey:protectedheader:unprotectedheader:recipientheader:cek:initializationvector:additionalauthenticationdata:hasmultirecipients:).json new file mode 100644 index 0000000..7a4c1a4 --- /dev/null +++ b/data/documentation/jose_swift/jweencryptor/encrypt(payload:senderkey:recipientkey:protectedheader:unprotectedheader:recipientheader:cek:initializationvector:additionalauthenticationdata:hasmultirecipients:).json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptor\/encrypt(payload:senderKey:recipientKey:protectedHeader:unprotectedHeader:recipientHeader:cek:initializationVector:additionalAuthenticationData:hasMultiRecipients:)"},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"encrypt"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"P"},{"text":", ","kind":"text"},{"text":"U","kind":"genericParameter"},{"text":", ","kind":"text"},{"text":"R","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"senderKey"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"recipientKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"protectedHeader"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"text":"?, ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"U"},{"text":"?, ","kind":"text"},{"text":"recipientHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"R","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"cek","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"text":"additionalAuthenticationData","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"hasMultiRecipients","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption8JWEPartsV","text":"JWEParts","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEParts"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"kind":"text","text":", "},{"text":"R","kind":"typeIdentifier"},{"kind":"text","text":"> "},{"text":"where","kind":"keyword"},{"kind":"text","text":" "},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","text":"JWERegisteredFieldsHeader","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"},{"kind":"text","text":", "},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","text":"JWERegisteredFieldsHeader","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"},{"text":", ","kind":"text"},{"text":"R","kind":"typeIdentifier"},{"text":" : ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","text":"JWERegisteredFieldsHeader"}],"platforms":["macOS"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jweencryptor\/encrypt(payload:senderkey:recipientkey:protectedheader:unprotectedheader:recipientheader:cek:initializationvector:additionalauthenticationdata:hasmultirecipients:)"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptor"]]},"metadata":{"title":"encrypt(payload:senderKey:recipientKey:protectedHeader:unprotectedHeader:recipientHeader:cek:initializationVector:additionalAuthenticationData:hasMultiRecipients:)","symbolKind":"method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encrypt"},{"kind":"text","text":"<"},{"text":"P","kind":"genericParameter"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"U"},{"text":", ","kind":"text"},{"text":"R","kind":"genericParameter"},{"text":">(","kind":"text"},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"senderKey"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"text":"recipientKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"protectedHeader"},{"kind":"text","text":": "},{"text":"P","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"U"},{"text":"?, ","kind":"text"},{"text":"recipientHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"R","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"cek","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"initializationVector"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"text":"additionalAuthenticationData","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"hasMultiRecipients"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption8JWEPartsV","text":"JWEParts"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"P"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"R"},{"kind":"text","text":">"}],"modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebEncryption12JWEEncryptorP7encrypt7payload9senderKey09recipientG015protectedHeader011unprotectedJ00hJ03cek20initializationVector28additionalAuthenticationData18hasMultiRecipientsAA8JWEPartsVyqd__qd_1_G10Foundation0Q0V_0aG03JWKVSgAXqd__Sgqd_0_Sgqd_1_SgATSgA0_A0_SbtKAA019JWERegisteredFieldsJ0Rd__AAA1_Rd_0_AAA1_Rd_1_r1_lF","required":true,"role":"symbol","roleHeading":"Instance Method"},"references":{"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWEEncryptor/encrypt(payload:senderKey:recipientKey:protectedHeader:unprotectedHeader:recipientHeader:cek:initializationVector:additionalAuthenticationData:hasMultiRecipients:)":{"type":"topic","url":"\/documentation\/jose_swift\/jweencryptor\/encrypt(payload:senderkey:recipientkey:protectedheader:unprotectedheader:recipientheader:cek:initializationvector:additionalauthenticationdata:hasmultirecipients:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptor\/encrypt(payload:senderKey:recipientKey:protectedHeader:unprotectedHeader:recipientHeader:cek:initializationVector:additionalAuthenticationData:hasMultiRecipients:)","required":true,"title":"encrypt(payload:senderKey:recipientKey:protectedHeader:unprotectedHeader:recipientHeader:cek:initializationVector:additionalAuthenticationData:hasMultiRecipients:)","abstract":[],"kind":"symbol","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"encrypt","kind":"identifier"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":", "},{"text":"R","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"senderKey","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"recipientKey"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"protectedHeader"},{"kind":"text","text":": "},{"text":"P","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":"?, "},{"text":"recipientHeader","kind":"externalParam"},{"kind":"text","text":": "},{"text":"R","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"cek","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"additionalAuthenticationData"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"hasMultiRecipients"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption8JWEPartsV","text":"JWEParts"},{"text":"<","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"R","kind":"typeIdentifier"},{"text":">","kind":"text"}]},"doc://jose-swift/documentation/jose_swift/JWEParts":{"url":"\/documentation\/jose_swift\/jweparts","title":"JWEParts","abstract":[{"text":"It’s a generic struct that can accommodate different types of headers for both protected and recipient-specific data.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEParts","navigatorTitle":[{"text":"JWEParts","kind":"identifier"}],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWEParts","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift/JWEEncryptor":{"type":"topic","navigatorTitle":[{"text":"JWEEncryptor","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jweencryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptor","title":"JWEEncryptor","abstract":[],"kind":"symbol","role":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWEEncryptor","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweencryptor/supportedcontentencryptionalgorithms.json b/data/documentation/jose_swift/jweencryptor/supportedcontentencryptionalgorithms.json new file mode 100644 index 0000000..3d1cf8e --- /dev/null +++ b/data/documentation/jose_swift/jweencryptor/supportedcontentencryptionalgorithms.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptor"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptor\/supportedContentEncryptionAlgorithms","interfaceLanguage":"swift"},"kind":"symbol","metadata":{"externalID":"s:17JSONWebEncryption12JWEEncryptorP016supportedContentB10AlgorithmsSay0aF00eB9AlgorithmOGvp","symbolKind":"property","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"supportedContentEncryptionAlgorithms"},{"text":": [","kind":"text"},{"text":"ContentEncryptionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO"},{"kind":"text","text":"]"}],"role":"symbol","roleHeading":"Instance Property","required":true,"title":"supportedContentEncryptionAlgorithms","modules":[{"name":"jose-swift"}]},"schemaVersion":{"major":0,"patch":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"supportedContentEncryptionAlgorithms","kind":"identifier"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","text":"ContentEncryptionAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO"},{"kind":"text","text":"] { "},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}]}],"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jweencryptor\/supportedcontentencryptionalgorithms"]}],"references":{"doc://jose-swift/documentation/jose_swift/JWEEncryptor":{"type":"topic","navigatorTitle":[{"text":"JWEEncryptor","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jweencryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptor","title":"JWEEncryptor","abstract":[],"kind":"symbol","role":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWEEncryptor","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWEEncryptor/supportedContentEncryptionAlgorithms":{"type":"topic","url":"\/documentation\/jose_swift\/jweencryptor\/supportedcontentencryptionalgorithms","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptor\/supportedContentEncryptionAlgorithms","required":true,"title":"supportedContentEncryptionAlgorithms","abstract":[],"kind":"symbol","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"supportedContentEncryptionAlgorithms","kind":"identifier"},{"text":": [","kind":"text"},{"text":"ContentEncryptionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO"},{"kind":"text","text":"]"}]},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweencryptor/supportedkeymanagmentalgorithms.json b/data/documentation/jose_swift/jweencryptor/supportedkeymanagmentalgorithms.json new file mode 100644 index 0000000..20e601a --- /dev/null +++ b/data/documentation/jose_swift/jweencryptor/supportedkeymanagmentalgorithms.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptor"]]},"kind":"symbol","variants":[{"paths":["\/documentation\/jose_swift\/jweencryptor\/supportedkeymanagmentalgorithms"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"supportedKeyManagmentAlgorithms","kind":"identifier"},{"text":": [","kind":"text"},{"text":"KeyManagementAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","kind":"typeIdentifier"},{"kind":"text","text":"] { "},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}]}],"kind":"declarations"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptor\/supportedKeyManagmentAlgorithms"},"sections":[],"schemaVersion":{"patch":0,"minor":3,"major":0},"metadata":{"role":"symbol","symbolKind":"property","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"supportedKeyManagmentAlgorithms"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","text":"KeyManagementAlgorithm"},{"text":"]","kind":"text"}],"required":true,"title":"supportedKeyManagmentAlgorithms","externalID":"s:17JSONWebEncryption12JWEEncryptorP31supportedKeyManagmentAlgorithmsSay0aG00E19ManagementAlgorithmOGvp","roleHeading":"Instance Property"},"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWEEncryptor/supportedKeyManagmentAlgorithms":{"type":"topic","url":"\/documentation\/jose_swift\/jweencryptor\/supportedkeymanagmentalgorithms","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptor\/supportedKeyManagmentAlgorithms","required":true,"title":"supportedKeyManagmentAlgorithms","abstract":[],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"supportedKeyManagmentAlgorithms","kind":"identifier"},{"text":": [","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","kind":"typeIdentifier","text":"KeyManagementAlgorithm"},{"text":"]","kind":"text"}]},"doc://jose-swift/documentation/jose_swift/JWEEncryptor":{"type":"topic","navigatorTitle":[{"text":"JWEEncryptor","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jweencryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptor","title":"JWEEncryptor","abstract":[],"kind":"symbol","role":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWEEncryptor","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwejson.json b/data/documentation/jose_swift/jwejson.json new file mode 100644 index 0000000..58cfecb --- /dev/null +++ b/data/documentation/jose_swift/jwejson.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/jwejson"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","interfaceLanguage":"swift"},"abstract":[{"code":"JWEJson","type":"codeVoice"},{"text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types.","type":"text"}],"topicSections":[{"title":"Structures","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient"]},{"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/addtionalAuthenticatedData","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/authenticationTag","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/cipherText","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/initializationVector","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/protected","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/protectedData","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/recipients","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/sharedProtected","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/sharedProtectedData"]},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/getKids()"],"title":"Instance Methods"},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Decodable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Encodable-Implementations"],"title":"Default Implementations","generated":true}],"relationshipsSections":[{"type":"conformsTo","title":"Conforms To","kind":"relationships","identifiers":["doc:\/\/jose-swift\/Se","doc:\/\/jose-swift\/SE"]}],"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"JWEJson","kind":"identifier"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"text":", ","kind":"text"},{"text":"U","kind":"genericParameter"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"R"},{"text":"> ","kind":"text"},{"kind":"keyword","text":"where"},{"text":" ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":" : "},{"preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","kind":"typeIdentifier","text":"JWERegisteredFieldsHeader","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"},{"text":", ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"text":" : ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","kind":"typeIdentifier","text":"JWERegisteredFieldsHeader","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"R"},{"kind":"text","text":" : "},{"text":"JWERegisteredFieldsHeader","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"overview","type":"heading","level":2,"text":"Overview"},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"text":"Type parameters:","type":"text"}]},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"P: A type conforming to "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" used for the protected header."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"U: A type conforming to ","type":"text"},{"code":"JWERegisteredFieldsHeader","type":"codeVoice"},{"text":" used for the shared protected header.","type":"text"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"R: A type conforming to "},{"code":"JWERegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":" used for the recipient-specific header."}]}]}]}]}]}]}],"metadata":{"modules":[{"name":"jose-swift"}],"roleHeading":"Structure","navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"symbolKind":"struct","externalID":"s:17JSONWebEncryption7JWEJsonV","title":"JWEJson","role":"symbol"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/JWEJson/sharedProtected":{"abstract":[{"type":"text","text":"The shared protected header."}],"type":"topic","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"sharedProtected"},{"kind":"text","text":": "},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jwejson\/sharedprotected","kind":"symbol","title":"sharedProtected","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/sharedProtected"},"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWEJson/protected":{"abstract":[{"type":"text","text":"The protected header."}],"type":"topic","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"protected"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/jwejson\/protected","kind":"symbol","title":"protected","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/protected"},"doc://jose-swift/documentation/jose_swift/JWEJson/sharedProtectedData":{"role":"symbol","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"sharedProtectedData","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?"}],"title":"sharedProtectedData","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/sharedProtectedData","type":"topic","url":"\/documentation\/jose_swift\/jwejson\/sharedprotecteddata","abstract":[{"type":"text","text":"The raw data of the shared protected header."}],"kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWEJson/recipients":{"abstract":[{"text":"The list of recipients of the JWE.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"kind":"identifier","text":"recipients"},{"text":": [","kind":"text"},{"text":"JWEJson","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV"},{"text":"<","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"U"},{"text":", ","kind":"text"},{"text":"R","kind":"typeIdentifier"},{"text":">.","kind":"text"},{"text":"Recipient","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV9RecipientV"},{"kind":"text","text":"]"}],"url":"\/documentation\/jose_swift\/jwejson\/recipients","kind":"symbol","title":"recipients","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/recipients"},"doc://jose-swift/documentation/jose_swift/JWEJson/protectedData":{"abstract":[{"text":"The raw data of the protected header.","type":"text"}],"type":"topic","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"protectedData","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jwejson\/protecteddata","kind":"symbol","title":"protectedData","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/protectedData"},"doc://jose-swift/documentation/jose_swift/JWEJson/initializationVector":{"abstract":[{"text":"The initialization vector used in the encryption algorithm.","type":"text"}],"type":"topic","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"initializationVector","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jwejson\/initializationvector","kind":"symbol","title":"initializationVector","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/initializationVector"},"doc://jose-swift/documentation/jose_swift/JWEJson/getKids()":{"type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getKids"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"]","kind":"text"}],"kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/jwejson\/getkids()","title":"getKids()","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/getKids()"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEJson/authenticationTag":{"abstract":[{"text":"The authentication tag verifying the integrity of the encrypted content.","type":"text"}],"type":"topic","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"authenticationTag","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jwejson\/authenticationtag","kind":"symbol","title":"authenticationTag","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/authenticationTag"},"doc://jose-swift/documentation/jose_swift/JWEJson/Encodable-Implementations":{"abstract":[],"type":"topic","url":"\/documentation\/jose_swift\/jwejson\/encodable-implementations","kind":"article","title":"Encodable Implementations","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Encodable-Implementations"},"doc://jose-swift/documentation/jose_swift/JWEJson/cipherText":{"type":"topic","title":"cipherText","kind":"symbol","url":"\/documentation\/jose_swift\/jwejson\/ciphertext","role":"symbol","abstract":[{"type":"text","text":"The encrypted content (cipher text)."}],"fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"cipherText"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/cipherText"},"doc://jose-swift/documentation/jose_swift/JWEJson/Decodable-Implementations":{"abstract":[],"type":"topic","url":"\/documentation\/jose_swift\/jwejson\/decodable-implementations","kind":"article","title":"Decodable Implementations","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Decodable-Implementations"},"doc://jose-swift/documentation/jose_swift/JWEJson/addtionalAuthenticatedData":{"abstract":[{"text":"Additional authenticated data.","type":"text"}],"type":"topic","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"addtionalAuthenticatedData","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jwejson\/addtionalauthenticateddata","kind":"symbol","title":"addtionalAuthenticatedData","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/addtionalAuthenticatedData"},"doc://jose-swift/Se":{"type":"unresolvable","identifier":"doc:\/\/jose-swift\/Se","title":"Swift.Decodable"},"doc://jose-swift/SE":{"type":"unresolvable","identifier":"doc:\/\/jose-swift\/SE","title":"Swift.Encodable"},"doc://jose-swift/documentation/jose_swift/JWEJson/Recipient":{"url":"\/documentation\/jose_swift\/jwejson\/recipient","title":"JWEJson.Recipient","abstract":[{"type":"codeVoice","code":"Recipient"},{"type":"text","text":" represents a recipient in a JWE JSON object, containing header and key information."}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient","navigatorTitle":[{"text":"Recipient","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Recipient"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwejson/addtionalauthenticateddata.json b/data/documentation/jose_swift/jwejson/addtionalauthenticateddata.json new file mode 100644 index 0000000..8cadae0 --- /dev/null +++ b/data/documentation/jose_swift/jwejson/addtionalauthenticateddata.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson"]]},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"addtionalAuthenticatedData","kind":"identifier"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/addtionalAuthenticatedData"},"variants":[{"paths":["\/documentation\/jose_swift\/jwejson\/addtionalauthenticateddata"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"abstract":[{"text":"Additional authenticated data.","type":"text"}],"metadata":{"fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"addtionalAuthenticatedData","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?"}],"modules":[{"name":"jose-swift"}],"symbolKind":"property","role":"symbol","roleHeading":"Instance Property","title":"addtionalAuthenticatedData","externalID":"s:17JSONWebEncryption7JWEJsonV26addtionalAuthenticatedData10Foundation0F0VSgvp"},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEJson/addtionalAuthenticatedData":{"abstract":[{"text":"Additional authenticated data.","type":"text"}],"type":"topic","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"addtionalAuthenticatedData","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jwejson\/addtionalauthenticateddata","kind":"symbol","title":"addtionalAuthenticatedData","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/addtionalAuthenticatedData"},"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwejson/authenticationtag.json b/data/documentation/jose_swift/jwejson/authenticationtag.json new file mode 100644 index 0000000..0c972a8 --- /dev/null +++ b/data/documentation/jose_swift/jwejson/authenticationtag.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/authenticationTag","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","metadata":{"modules":[{"name":"jose-swift"}],"fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"authenticationTag"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"title":"authenticationTag","roleHeading":"Instance Property","externalID":"s:17JSONWebEncryption7JWEJsonV17authenticationTag10Foundation4DataVSgvp","role":"symbol","symbolKind":"property"},"sections":[],"abstract":[{"text":"The authentication tag verifying the integrity of the encrypted content.","type":"text"}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"authenticationTag"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/jose_swift\/jwejson\/authenticationtag"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWEJson/authenticationTag":{"abstract":[{"text":"The authentication tag verifying the integrity of the encrypted content.","type":"text"}],"type":"topic","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"authenticationTag","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jwejson\/authenticationtag","kind":"symbol","title":"authenticationTag","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/authenticationTag"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwejson/ciphertext.json b/data/documentation/jose_swift/jwejson/ciphertext.json new file mode 100644 index 0000000..c4ae4f6 --- /dev/null +++ b/data/documentation/jose_swift/jwejson/ciphertext.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson"]]},"abstract":[{"type":"text","text":"The encrypted content (cipher text)."}],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"externalID":"s:17JSONWebEncryption7JWEJsonV10cipherText10Foundation4DataVvp","title":"cipherText","modules":[{"name":"jose-swift"}],"symbolKind":"property","role":"symbol","roleHeading":"Instance Property","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"cipherText","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}]},"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/cipherText"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"cipherText","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"languages":["swift"],"platforms":["macOS"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwejson\/ciphertext"]}],"sections":[],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWEJson/cipherText":{"type":"topic","title":"cipherText","kind":"symbol","url":"\/documentation\/jose_swift\/jwejson\/ciphertext","role":"symbol","abstract":[{"type":"text","text":"The encrypted content (cipher text)."}],"fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"cipherText"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/cipherText"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwejson/decodable-implementations.json b/data/documentation/jose_swift/jwejson/decodable-implementations.json new file mode 100644 index 0000000..7199b54 --- /dev/null +++ b/data/documentation/jose_swift/jwejson/decodable-implementations.json @@ -0,0 +1 @@ +{"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson"]]},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/init(from:)"],"generated":true,"title":"Initializers"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Decodable-Implementations","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwejson\/decodable-implementations"]}],"kind":"article","schemaVersion":{"minor":3,"major":0,"patch":0},"metadata":{"modules":[{"name":"jose-swift"}],"role":"collectionGroup","title":"Decodable Implementations"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWEJson/init(from:)":{"conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"type":"codeVoice","code":"P"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":", ","type":"text"},{"code":"U","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":", and "},{"code":"R","type":"codeVoice"},{"type":"text","text":" conforms to "},{"code":"JWERegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":"."}]},"title":"init(from:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/init(from:)","url":"\/documentation\/jose_swift\/jwejson\/init(from:)","abstract":[],"kind":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP","text":"Decoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwejson/encodable-implementations.json b/data/documentation/jose_swift/jwejson/encodable-implementations.json new file mode 100644 index 0000000..75d85cf --- /dev/null +++ b/data/documentation/jose_swift/jwejson/encodable-implementations.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwejson\/encodable-implementations"]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"metadata":{"role":"collectionGroup","title":"Encodable Implementations","modules":[{"name":"jose-swift"}]},"sections":[],"kind":"article","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Encodable-Implementations","interfaceLanguage":"swift"},"topicSections":[{"generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/encode(to:)"],"title":"Instance Methods"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson"]]},"references":{"doc://jose-swift/documentation/jose_swift/JWEJson/encode(to:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/encode(to:)","title":"encode(to:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"kind":"symbol","abstract":[],"role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/jwejson\/encode(to:)","conformance":{"constraints":[{"code":"P","type":"codeVoice"},{"type":"text","text":" conforms to "},{"code":"JWERegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":", "},{"type":"codeVoice","code":"U"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":", and "},{"type":"codeVoice","code":"R"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":".","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"availabilityPrefix":[{"type":"text","text":"Available when"}]}},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwejson/encode(to:).json b/data/documentation/jose_swift/jwejson/encode(to:).json new file mode 100644 index 0000000..7fa1f30 --- /dev/null +++ b/data/documentation/jose_swift/jwejson/encode(to:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Encodable-Implementations"]]},"abstract":[{"type":"text","text":"Inherited from "},{"code":"Encodable.encode(to:)","type":"codeVoice"},{"text":".","type":"text"}],"metadata":{"role":"symbol","externalID":"s:17JSONWebEncryption7JWEJsonV6encode2toys7Encoder_p_tKF","title":"encode(to:)","extendedModule":"JSONWebEncryption","modules":[{"relatedModules":["JSONWebEncryption"],"name":"jose-swift"}],"roleHeading":"Instance Method","symbolKind":"method","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"P"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":", "},{"code":"U","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":", and "},{"type":"codeVoice","code":"R"},{"text":" conforms to ","type":"text"},{"code":"JWERegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":"."}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s7EncoderP","text":"Encoder","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/encode(to:)"},"variants":[{"paths":["\/documentation\/jose_swift\/jwejson\/encode(to:)"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"to"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"encoder"},{"text":": ","kind":"text"},{"text":"Encoder","preciseIdentifier":"s:s7EncoderP","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}]}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWEJson/encode(to:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/encode(to:)","title":"encode(to:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"kind":"symbol","abstract":[],"role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/jwejson\/encode(to:)","conformance":{"constraints":[{"code":"P","type":"codeVoice"},{"type":"text","text":" conforms to "},{"code":"JWERegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":", "},{"type":"codeVoice","code":"U"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":", and "},{"type":"codeVoice","code":"R"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":".","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"availabilityPrefix":[{"type":"text","text":"Available when"}]}},"doc://jose-swift/documentation/jose_swift/JWEJson/Encodable-Implementations":{"abstract":[],"type":"topic","url":"\/documentation\/jose_swift\/jwejson\/encodable-implementations","kind":"article","title":"Encodable Implementations","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Encodable-Implementations"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwejson/getkids().json b/data/documentation/jose_swift/jwejson/getkids().json new file mode 100644 index 0000000..0fcad56 --- /dev/null +++ b/data/documentation/jose_swift/jwejson/getkids().json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/getKids()","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwejson\/getkids()"]}],"metadata":{"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getKids"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"]","kind":"text"}],"roleHeading":"Instance Method","externalID":"s:17JSONWebEncryption7JWEJsonV7getKidsSaySSGyF","modules":[{"name":"jose-swift"}],"role":"symbol","title":"getKids()","symbolKind":"method"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"sections":[],"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getKids"},{"text":"() -> [","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"]"}]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift/JWEJson":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","title":"JWEJson","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"JWEJson","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWEJson"},{"text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types.","type":"text"}],"type":"topic","navigatorTitle":[{"kind":"identifier","text":"JWEJson"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEJson/getKids()":{"type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getKids"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"]","kind":"text"}],"kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/jwejson\/getkids()","title":"getKids()","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/getKids()"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwejson/init(from:).json b/data/documentation/jose_swift/jwejson/init(from:).json new file mode 100644 index 0000000..1c8d447 --- /dev/null +++ b/data/documentation/jose_swift/jwejson/init(from:).json @@ -0,0 +1 @@ +{"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Decodable-Implementations"]]},"schemaVersion":{"major":0,"patch":0,"minor":3},"metadata":{"fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"text":": ","kind":"text"},{"text":"Decoder","preciseIdentifier":"s:s7DecoderP","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"roleHeading":"Initializer","title":"init(from:)","conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"P","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":", "},{"type":"codeVoice","code":"U"},{"type":"text","text":" conforms to "},{"code":"JWERegisteredFieldsHeader","type":"codeVoice"},{"text":", and ","type":"text"},{"code":"R","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":"."}]},"modules":[{"relatedModules":["JSONWebEncryption"],"name":"jose-swift"}],"role":"symbol","extendedModule":"JSONWebEncryption","symbolKind":"init","externalID":"s:17JSONWebEncryption7JWEJsonV4fromACyxq_q0_Gs7Decoder_p_tKcfc"},"abstract":[{"text":"Inherited from ","type":"text"},{"code":"Decodable.init(from:)","type":"codeVoice"},{"text":".","type":"text"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/init(from:)"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"decoder"},{"kind":"text","text":": "},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"languages":["swift"],"platforms":["macOS"]}]}],"sections":[],"variants":[{"paths":["\/documentation\/jose_swift\/jwejson\/init(from:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWEJson/init(from:)":{"conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"type":"codeVoice","code":"P"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":", ","type":"text"},{"code":"U","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":", and "},{"code":"R","type":"codeVoice"},{"type":"text","text":" conforms to "},{"code":"JWERegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":"."}]},"title":"init(from:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/init(from:)","url":"\/documentation\/jose_swift\/jwejson\/init(from:)","abstract":[],"kind":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP","text":"Decoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWEJson/Decodable-Implementations":{"abstract":[],"type":"topic","url":"\/documentation\/jose_swift\/jwejson\/decodable-implementations","kind":"article","title":"Decodable Implementations","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Decodable-Implementations"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwejson/initializationvector.json b/data/documentation/jose_swift/jwejson/initializationvector.json new file mode 100644 index 0000000..201b079 --- /dev/null +++ b/data/documentation/jose_swift/jwejson/initializationvector.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"kind":"identifier","text":"initializationVector"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"?"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jwejson\/initializationvector"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"initializationVector","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"roleHeading":"Instance Property","title":"initializationVector","modules":[{"name":"jose-swift"}],"role":"symbol","symbolKind":"property","externalID":"s:17JSONWebEncryption7JWEJsonV20initializationVector10Foundation4DataVSgvp"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/initializationVector","interfaceLanguage":"swift"},"sections":[],"kind":"symbol","abstract":[{"type":"text","text":"The initialization vector used in the encryption algorithm."}],"references":{"doc://jose-swift/documentation/jose_swift/JWEJson/initializationVector":{"abstract":[{"text":"The initialization vector used in the encryption algorithm.","type":"text"}],"type":"topic","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"initializationVector","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jwejson\/initializationvector","kind":"symbol","title":"initializationVector","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/initializationVector"},"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwejson/protected.json b/data/documentation/jose_swift/jwejson/protected.json new file mode 100644 index 0000000..ab3821e --- /dev/null +++ b/data/documentation/jose_swift/jwejson/protected.json @@ -0,0 +1 @@ +{"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"roleHeading":"Instance Property","symbolKind":"property","role":"symbol","externalID":"s:17JSONWebEncryption7JWEJsonV9protectedxSgvp","modules":[{"name":"jose-swift"}],"title":"protected","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"protected","kind":"identifier"},{"text":": ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":"?"}]},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson"]]},"abstract":[{"text":"The protected header.","type":"text"}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"kind":"identifier","text":"protected"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"P"},{"kind":"text","text":"?"}],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwejson\/protected"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/protected"},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEJson/protected":{"abstract":[{"type":"text","text":"The protected header."}],"type":"topic","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"protected"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/jwejson\/protected","kind":"symbol","title":"protected","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/protected"},"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwejson/protecteddata.json b/data/documentation/jose_swift/jwejson/protecteddata.json new file mode 100644 index 0000000..6b2f91c --- /dev/null +++ b/data/documentation/jose_swift/jwejson/protecteddata.json @@ -0,0 +1 @@ +{"metadata":{"roleHeading":"Instance Property","symbolKind":"property","modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebEncryption7JWEJsonV13protectedData10Foundation0E0VSgvp","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"text":"protectedData","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?","kind":"text"}],"title":"protectedData","role":"symbol"},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/protectedData","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwejson\/protecteddata"]}],"kind":"symbol","schemaVersion":{"patch":0,"minor":3,"major":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"protectedData","kind":"identifier"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"platforms":["macOS"],"languages":["swift"]}]}],"abstract":[{"type":"text","text":"The raw data of the protected header."}],"references":{"doc://jose-swift/documentation/jose_swift/JWEJson/protectedData":{"abstract":[{"text":"The raw data of the protected header.","type":"text"}],"type":"topic","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"protectedData","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jwejson\/protecteddata","kind":"symbol","title":"protectedData","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/protectedData"},"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwejson/recipient.json b/data/documentation/jose_swift/jwejson/recipient.json new file mode 100644 index 0000000..3200a82 --- /dev/null +++ b/data/documentation/jose_swift/jwejson/recipient.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient","interfaceLanguage":"swift"},"sections":[],"kind":"symbol","relationshipsSections":[{"type":"conformsTo","title":"Conforms To","kind":"relationships","identifiers":["doc:\/\/jose-swift\/Se","doc:\/\/jose-swift\/SE"]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwejson\/recipient"]}],"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient\/getKid()"],"title":"Instance Methods"},{"title":"Default Implementations","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient\/Decodable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient\/Encodable-Implementations"],"generated":true}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Recipient"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"metadata":{"modules":[{"name":"jose-swift"}],"roleHeading":"Structure","navigatorTitle":[{"kind":"identifier","text":"Recipient"}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"Recipient","kind":"identifier"}],"symbolKind":"struct","externalID":"s:17JSONWebEncryption7JWEJsonV9RecipientV","title":"JWEJson.Recipient","role":"symbol"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson"]]},"abstract":[{"type":"codeVoice","code":"Recipient"},{"text":" represents a recipient in a JWE JSON object, containing header and key information.","type":"text"}],"references":{"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWEJson/Recipient/getKid()":{"url":"\/documentation\/jose_swift\/jwejson\/recipient\/getkid()","title":"getKid()","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient\/getKid()","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getKid"},{"text":"() ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEJson/Recipient/Encodable-Implementations":{"url":"\/documentation\/jose_swift\/jwejson\/recipient\/encodable-implementations","abstract":[],"title":"Encodable Implementations","role":"collectionGroup","type":"topic","kind":"article","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient\/Encodable-Implementations"},"doc://jose-swift/documentation/jose_swift/JWEJson/Recipient":{"url":"\/documentation\/jose_swift\/jwejson\/recipient","title":"JWEJson.Recipient","abstract":[{"type":"codeVoice","code":"Recipient"},{"type":"text","text":" represents a recipient in a JWE JSON object, containing header and key information."}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient","navigatorTitle":[{"text":"Recipient","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Recipient"}]},"doc://jose-swift/Se":{"identifier":"doc:\/\/jose-swift\/Se","title":"Swift.Decodable","type":"unresolvable"},"doc://jose-swift/SE":{"identifier":"doc:\/\/jose-swift\/SE","title":"Swift.Encodable","type":"unresolvable"},"doc://jose-swift/documentation/jose_swift/JWEJson/Recipient/Decodable-Implementations":{"title":"Decodable Implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient\/Decodable-Implementations","role":"collectionGroup","url":"\/documentation\/jose_swift\/jwejson\/recipient\/decodable-implementations","abstract":[],"kind":"article","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwejson/recipient/decodable-implementations.json b/data/documentation/jose_swift/jwejson/recipient/decodable-implementations.json new file mode 100644 index 0000000..5cee83b --- /dev/null +++ b/data/documentation/jose_swift/jwejson/recipient/decodable-implementations.json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient\/Decodable-Implementations"},"topicSections":[{"title":"Initializers","generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient\/init(from:)"]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jwejson\/recipient\/decodable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"role":"collectionGroup","title":"Decodable Implementations","modules":[{"name":"jose-swift"}]},"kind":"article","references":{"doc://jose-swift/documentation/jose_swift/JWEJson/Recipient/init(from:)":{"fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"title":"init(from:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient\/init(from:)","conformance":{"constraints":[{"type":"codeVoice","code":"P"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":", "},{"type":"codeVoice","code":"U"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":", and ","type":"text"},{"type":"codeVoice","code":"R"},{"type":"text","text":" conforms to "},{"code":"JWERegisteredFieldsHeader","type":"codeVoice"},{"text":".","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","url":"\/documentation\/jose_swift\/jwejson\/recipient\/init(from:)","abstract":[],"kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEJson/Recipient":{"url":"\/documentation\/jose_swift\/jwejson\/recipient","title":"JWEJson.Recipient","abstract":[{"type":"codeVoice","code":"Recipient"},{"type":"text","text":" represents a recipient in a JWE JSON object, containing header and key information."}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient","navigatorTitle":[{"text":"Recipient","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Recipient"}]},"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwejson/recipient/encodable-implementations.json b/data/documentation/jose_swift/jwejson/recipient/encodable-implementations.json new file mode 100644 index 0000000..a45f7d2 --- /dev/null +++ b/data/documentation/jose_swift/jwejson/recipient/encodable-implementations.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient\/Encodable-Implementations","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient"]]},"metadata":{"title":"Encodable Implementations","role":"collectionGroup","modules":[{"name":"jose-swift"}]},"schemaVersion":{"patch":0,"minor":3,"major":0},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient\/encode(to:)"],"title":"Instance Methods","generated":true}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwejson\/recipient\/encodable-implementations"]}],"sections":[],"kind":"article","references":{"doc://jose-swift/documentation/jose_swift/JWEJson/Recipient/encode(to:)":{"url":"\/documentation\/jose_swift\/jwejson\/recipient\/encode(to:)","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"constraints":[{"type":"codeVoice","code":"P"},{"text":" conforms to ","type":"text"},{"code":"JWERegisteredFieldsHeader","type":"codeVoice"},{"text":", ","type":"text"},{"code":"U","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":", and ","type":"text"},{"code":"R","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"code":"JWERegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":"."}]},"abstract":[],"title":"encode(to:)","role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient\/encode(to:)"},"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWEJson/Recipient":{"url":"\/documentation\/jose_swift\/jwejson\/recipient","title":"JWEJson.Recipient","abstract":[{"type":"codeVoice","code":"Recipient"},{"type":"text","text":" represents a recipient in a JWE JSON object, containing header and key information."}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient","navigatorTitle":[{"text":"Recipient","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Recipient"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwejson/recipient/encode(to:).json b/data/documentation/jose_swift/jwejson/recipient/encode(to:).json new file mode 100644 index 0000000..9bd8b32 --- /dev/null +++ b/data/documentation/jose_swift/jwejson/recipient/encode(to:).json @@ -0,0 +1 @@ +{"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"encoder","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7EncoderP","text":"Encoder","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"languages":["swift"]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient\/encode(to:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient\/Encodable-Implementations"]]},"metadata":{"role":"symbol","title":"encode(to:)","modules":[{"relatedModules":["JSONWebEncryption"],"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"text":": ","kind":"text"},{"text":"Encoder","preciseIdentifier":"s:s7EncoderP","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"symbolKind":"method","extendedModule":"JSONWebEncryption","roleHeading":"Instance Method","externalID":"s:17JSONWebEncryption7JWEJsonV9RecipientV6encode2toys7Encoder_p_tKF","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"code":"P","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"code":"JWERegisteredFieldsHeader","type":"codeVoice"},{"text":", ","type":"text"},{"type":"codeVoice","code":"U"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":", and "},{"type":"codeVoice","code":"R"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":"."}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]}},"schemaVersion":{"major":0,"patch":0,"minor":3},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"Encodable.encode(to:)"},{"type":"text","text":"."}],"variants":[{"paths":["\/documentation\/jose_swift\/jwejson\/recipient\/encode(to:)"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/JWEJson/Recipient/Encodable-Implementations":{"url":"\/documentation\/jose_swift\/jwejson\/recipient\/encodable-implementations","abstract":[],"title":"Encodable Implementations","role":"collectionGroup","type":"topic","kind":"article","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient\/Encodable-Implementations"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWEJson/Recipient":{"url":"\/documentation\/jose_swift\/jwejson\/recipient","title":"JWEJson.Recipient","abstract":[{"type":"codeVoice","code":"Recipient"},{"type":"text","text":" represents a recipient in a JWE JSON object, containing header and key information."}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient","navigatorTitle":[{"text":"Recipient","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Recipient"}]},"doc://jose-swift/documentation/jose_swift/JWEJson/Recipient/encode(to:)":{"url":"\/documentation\/jose_swift\/jwejson\/recipient\/encode(to:)","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"constraints":[{"type":"codeVoice","code":"P"},{"text":" conforms to ","type":"text"},{"code":"JWERegisteredFieldsHeader","type":"codeVoice"},{"text":", ","type":"text"},{"code":"U","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":", and ","type":"text"},{"code":"R","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"code":"JWERegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":"."}]},"abstract":[],"title":"encode(to:)","role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient\/encode(to:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwejson/recipient/getkid().json b/data/documentation/jose_swift/jwejson/recipient/getkid().json new file mode 100644 index 0000000..2527b91 --- /dev/null +++ b/data/documentation/jose_swift/jwejson/recipient/getkid().json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwejson\/recipient\/getkid()"]}],"metadata":{"externalID":"s:17JSONWebEncryption7JWEJsonV9RecipientV6getKidSSyKF","symbolKind":"method","role":"symbol","title":"getKid()","modules":[{"name":"jose-swift"}],"roleHeading":"Instance Method","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getKid"},{"kind":"text","text":"() "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"}]},"schemaVersion":{"patch":0,"minor":3,"major":0},"sections":[],"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient\/getKid()","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getKid","kind":"identifier"},{"text":"() ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"}],"platforms":["macOS"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient"]]},"references":{"doc://jose-swift/documentation/jose_swift/JWEJson/Recipient":{"url":"\/documentation\/jose_swift\/jwejson\/recipient","title":"JWEJson.Recipient","abstract":[{"type":"codeVoice","code":"Recipient"},{"type":"text","text":" represents a recipient in a JWE JSON object, containing header and key information."}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient","navigatorTitle":[{"text":"Recipient","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Recipient"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWEJson/Recipient/getKid()":{"url":"\/documentation\/jose_swift\/jwejson\/recipient\/getkid()","title":"getKid()","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient\/getKid()","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getKid"},{"text":"() ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwejson/recipient/init(from:).json b/data/documentation/jose_swift/jwejson/recipient/init(from:).json new file mode 100644 index 0000000..1551383 --- /dev/null +++ b/data/documentation/jose_swift/jwejson/recipient/init(from:).json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient\/init(from:)","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/jose_swift\/jwejson\/recipient\/init(from:)"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"decoder","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP","text":"Decoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"sections":[],"schemaVersion":{"minor":3,"major":0,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient\/Decodable-Implementations"]]},"abstract":[{"text":"Inherited from ","type":"text"},{"code":"Decodable.init(from:)","type":"codeVoice"},{"text":".","type":"text"}],"kind":"symbol","metadata":{"externalID":"s:17JSONWebEncryption7JWEJsonV9RecipientV4fromAEyxq_q0__Gs7Decoder_p_tKcfc","extendedModule":"JSONWebEncryption","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP","text":"Decoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"role":"symbol","title":"init(from:)","conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"P"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":", ","type":"text"},{"type":"codeVoice","code":"U"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":", and "},{"type":"codeVoice","code":"R"},{"type":"text","text":" conforms to "},{"code":"JWERegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":"."}]},"symbolKind":"init","roleHeading":"Initializer","modules":[{"name":"jose-swift","relatedModules":["JSONWebEncryption"]}]},"references":{"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWEJson/Recipient/Decodable-Implementations":{"title":"Decodable Implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient\/Decodable-Implementations","role":"collectionGroup","url":"\/documentation\/jose_swift\/jwejson\/recipient\/decodable-implementations","abstract":[],"kind":"article","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWEJson/Recipient/init(from:)":{"fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"title":"init(from:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient\/init(from:)","conformance":{"constraints":[{"type":"codeVoice","code":"P"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":", "},{"type":"codeVoice","code":"U"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":", and ","type":"text"},{"type":"codeVoice","code":"R"},{"type":"text","text":" conforms to "},{"code":"JWERegisteredFieldsHeader","type":"codeVoice"},{"text":".","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","url":"\/documentation\/jose_swift\/jwejson\/recipient\/init(from:)","abstract":[],"kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWEJson/Recipient":{"url":"\/documentation\/jose_swift\/jwejson\/recipient","title":"JWEJson.Recipient","abstract":[{"type":"codeVoice","code":"Recipient"},{"type":"text","text":" represents a recipient in a JWE JSON object, containing header and key information."}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient","navigatorTitle":[{"text":"Recipient","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Recipient"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwejson/recipients.json b/data/documentation/jose_swift/jwejson/recipients.json new file mode 100644 index 0000000..15b5af0 --- /dev/null +++ b/data/documentation/jose_swift/jwejson/recipients.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/recipients"},"sections":[],"kind":"symbol","schemaVersion":{"patch":0,"minor":3,"major":0},"variants":[{"paths":["\/documentation\/jose_swift\/jwejson\/recipients"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"recipients","kind":"identifier"},{"text":": [","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","text":"JWEJson","preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"U","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"R"},{"kind":"text","text":">."},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient","text":"Recipient","preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV9RecipientV","kind":"typeIdentifier"},{"kind":"text","text":"]"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"metadata":{"modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"recipients"},{"kind":"text","text":": ["},{"preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV","text":"JWEJson","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"U","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"R","kind":"typeIdentifier"},{"kind":"text","text":">."},{"kind":"typeIdentifier","text":"Recipient","preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV9RecipientV"},{"text":"]","kind":"text"}],"symbolKind":"property","externalID":"s:17JSONWebEncryption7JWEJsonV10recipientsSayAC9RecipientVyxq_q0__GGvp","title":"recipients","role":"symbol"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson"]]},"abstract":[{"text":"The list of recipients of the JWE.","type":"text"}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEJson/Recipient":{"url":"\/documentation\/jose_swift\/jwejson\/recipient","title":"JWEJson.Recipient","abstract":[{"type":"codeVoice","code":"Recipient"},{"type":"text","text":" represents a recipient in a JWE JSON object, containing header and key information."}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/Recipient","navigatorTitle":[{"text":"Recipient","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Recipient"}]},"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWEJson/recipients":{"abstract":[{"text":"The list of recipients of the JWE.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"kind":"identifier","text":"recipients"},{"text":": [","kind":"text"},{"text":"JWEJson","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV"},{"text":"<","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"U"},{"text":", ","kind":"text"},{"text":"R","kind":"typeIdentifier"},{"text":">.","kind":"text"},{"text":"Recipient","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption7JWEJsonV9RecipientV"},{"kind":"text","text":"]"}],"url":"\/documentation\/jose_swift\/jwejson\/recipients","kind":"symbol","title":"recipients","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/recipients"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwejson/sharedprotected.json b/data/documentation/jose_swift/jwejson/sharedprotected.json new file mode 100644 index 0000000..cb91e6c --- /dev/null +++ b/data/documentation/jose_swift/jwejson/sharedprotected.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/jwejson\/sharedprotected"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson"]]},"sections":[],"abstract":[{"type":"text","text":"The shared protected header."}],"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/sharedProtected","interfaceLanguage":"swift"},"metadata":{"externalID":"s:17JSONWebEncryption7JWEJsonV15sharedProtectedq_Sgvp","modules":[{"name":"jose-swift"}],"fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"sharedProtected","kind":"identifier"},{"text":": ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"roleHeading":"Instance Property","title":"sharedProtected","symbolKind":"property","role":"symbol"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"sharedProtected","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":"?"}],"platforms":["macOS"]}],"kind":"declarations"}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/JWEJson/sharedProtected":{"abstract":[{"type":"text","text":"The shared protected header."}],"type":"topic","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"sharedProtected"},{"kind":"text","text":": "},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jwejson\/sharedprotected","kind":"symbol","title":"sharedProtected","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/sharedProtected"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwejson/sharedprotecteddata.json b/data/documentation/jose_swift/jwejson/sharedprotecteddata.json new file mode 100644 index 0000000..fbf2e97 --- /dev/null +++ b/data/documentation/jose_swift/jwejson/sharedprotecteddata.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwejson\/sharedprotecteddata"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/sharedProtectedData"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"sharedProtectedData"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}]}]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"abstract":[{"type":"text","text":"The raw data of the shared protected header."}],"metadata":{"externalID":"s:17JSONWebEncryption7JWEJsonV19sharedProtectedData10Foundation0F0VSgvp","roleHeading":"Instance Property","role":"symbol","modules":[{"name":"jose-swift"}],"fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"sharedProtectedData","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?","kind":"text"}],"symbolKind":"property","title":"sharedProtectedData"},"sections":[],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEJson":{"navigatorTitle":[{"kind":"identifier","text":"JWEJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWEJson","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwejson","kind":"symbol","type":"topic","abstract":[{"type":"codeVoice","code":"JWEJson"},{"type":"text","text":" represents a JSON Web Encryption (JWE) object in JSON format, with customizable header types."}],"title":"JWEJson","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWEJson/sharedProtectedData":{"role":"symbol","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"sharedProtectedData","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?"}],"title":"sharedProtectedData","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEJson\/sharedProtectedData","type":"topic","url":"\/documentation\/jose_swift\/jwejson\/sharedprotecteddata","abstract":[{"type":"text","text":"The raw data of the shared protected header."}],"kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwemultidecryptor.json b/data/documentation/jose_swift/jwemultidecryptor.json new file mode 100644 index 0000000..d8981ee --- /dev/null +++ b/data/documentation/jose_swift/jwemultidecryptor.json @@ -0,0 +1 @@ +{"sections":[],"metadata":{"modules":[{"name":"jose-swift"}],"role":"symbol","roleHeading":"Protocol","symbolKind":"protocol","title":"JWEMultiDecryptor","navigatorTitle":[{"text":"JWEMultiDecryptor","kind":"identifier"}],"externalID":"s:17JSONWebEncryption17JWEMultiDecryptorP","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWEMultiDecryptor","kind":"identifier"}]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiDecryptor","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWEMultiDecryptor"}],"languages":["swift"]}]}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiDecryptor\/decrypt(protectedHeader:unprotectedHeader:cipher:recipients:initializationVector:authenticationTag:senderKey:recipientKey:sharedKey:additionalAuthenticationData:tryAllRecipients:encryptionModule:)"],"title":"Instance Methods"}],"variants":[{"paths":["\/documentation\/jose_swift\/jwemultidecryptor"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWEMultiDecryptor/decrypt(protectedHeader:unprotectedHeader:cipher:recipients:initializationVector:authenticationTag:senderKey:recipientKey:sharedKey:additionalAuthenticationData:tryAllRecipients:encryptionModule:)":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiDecryptor\/decrypt(protectedHeader:unprotectedHeader:cipher:recipients:initializationVector:authenticationTag:senderKey:recipientKey:sharedKey:additionalAuthenticationData:tryAllRecipients:encryptionModule:)","required":true,"role":"symbol","abstract":[],"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"decrypt","kind":"identifier"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"P"},{"text":", ","kind":"text"},{"text":"U","kind":"genericParameter"},{"text":", ","kind":"text"},{"text":"R","kind":"genericParameter"},{"kind":"text","text":">("},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"P"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"unprotectedHeader"},{"kind":"text","text":": "},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"cipher"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"recipients","kind":"externalParam"},{"text":": [(header","kind":"text"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"R"},{"kind":"text","text":"?, encryptedKey"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?)], ","kind":"text"},{"text":"initializationVector","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"authenticationTag","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"senderKey"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"recipientKey"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"sharedKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"additionalAuthenticationData"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"text":"tryAllRecipients","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":", ","kind":"text"},{"text":"encryptionModule","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:17JSONWebEncryption19JWEEncryptionModuleV","text":"JWEEncryptionModule","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"url":"\/documentation\/jose_swift\/jwemultidecryptor\/decrypt(protectedheader:unprotectedheader:cipher:recipients:initializationvector:authenticationtag:senderkey:recipientkey:sharedkey:additionalauthenticationdata:tryallrecipients:encryptionmodule:)","type":"topic","title":"decrypt(protectedHeader:unprotectedHeader:cipher:recipients:initializationVector:authenticationTag:senderKey:recipientKey:sharedKey:additionalAuthenticationData:tryAllRecipients:encryptionModule:)"},"doc://jose-swift/documentation/jose_swift/JWEMultiDecryptor":{"url":"\/documentation\/jose_swift\/jwemultidecryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiDecryptor","navigatorTitle":[{"kind":"identifier","text":"JWEMultiDecryptor"}],"kind":"symbol","type":"topic","title":"JWEMultiDecryptor","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWEMultiDecryptor"}],"role":"symbol","abstract":[]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwemultidecryptor/decrypt(protectedheader:unprotectedheader:cipher:recipients:initializationvector:authenticationtag:senderkey:recipientkey:sharedkey:additionalauthenticationdata:tryallrecipients:encryptionmodule:).json b/data/documentation/jose_swift/jwemultidecryptor/decrypt(protectedheader:unprotectedheader:cipher:recipients:initializationvector:authenticationtag:senderkey:recipientkey:sharedkey:additionalauthenticationdata:tryallrecipients:encryptionmodule:).json new file mode 100644 index 0000000..f458123 --- /dev/null +++ b/data/documentation/jose_swift/jwemultidecryptor/decrypt(protectedheader:unprotectedheader:cipher:recipients:initializationvector:authenticationtag:senderkey:recipientkey:sharedkey:additionalauthenticationdata:tryallrecipients:encryptionmodule:).json @@ -0,0 +1 @@ +{"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiDecryptor"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwemultidecryptor\/decrypt(protectedheader:unprotectedheader:cipher:recipients:initializationvector:authenticationtag:senderkey:recipientkey:sharedkey:additionalauthenticationdata:tryallrecipients:encryptionmodule:)"]}],"metadata":{"title":"decrypt(protectedHeader:unprotectedHeader:cipher:recipients:initializationVector:authenticationTag:senderKey:recipientKey:sharedKey:additionalAuthenticationData:tryAllRecipients:encryptionModule:)","symbolKind":"method","modules":[{"name":"jose-swift"}],"required":true,"roleHeading":"Instance Method","externalID":"s:17JSONWebEncryption17JWEMultiDecryptorP7decrypt15protectedHeader011unprotectedG06cipher10recipients20initializationVector17authenticationTag9senderKey09recipientP006sharedP028additionalAuthenticationData16tryAllRecipients16encryptionModule10Foundation0U0Vqd__Sg_qd_0_SgASSayqd_1_Sg6header_ASSg09encryptedP0tGA2X0aP03JWKVSgA2_A2_AXSbAA013JWEEncryptionZ0VtKAA019JWERegisteredFieldsG0Rd__AAA5_Rd_0_AAA5_Rd_1_r1_lF","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"decrypt"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"P"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"U"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"R"},{"text":">(","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"text":"?, ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"cipher"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"recipients","kind":"externalParam"},{"text":": [(header","kind":"text"},{"text":": ","kind":"text"},{"text":"R","kind":"typeIdentifier"},{"text":"?, encryptedKey","kind":"text"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?)], "},{"text":"initializationVector","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"authenticationTag","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"senderKey","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"recipientKey"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"sharedKey"},{"text":": ","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"additionalAuthenticationData"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"tryAllRecipients"},{"text":": ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"encryptionModule"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWEEncryptionModule","preciseIdentifier":"s:17JSONWebEncryption19JWEEncryptionModuleV"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"role":"symbol"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiDecryptor\/decrypt(protectedHeader:unprotectedHeader:cipher:recipients:initializationVector:authenticationTag:senderKey:recipientKey:sharedKey:additionalAuthenticationData:tryAllRecipients:encryptionModule:)","interfaceLanguage":"swift"},"sections":[],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"decrypt","kind":"identifier"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"P"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"U"},{"text":", ","kind":"text"},{"text":"R","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"protectedHeader"},{"text":": ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"unprotectedHeader"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"U"},{"text":"?, ","kind":"text"},{"text":"cipher","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"recipients","kind":"externalParam"},{"text":": [(header","kind":"text"},{"text":": ","kind":"text"},{"text":"R","kind":"typeIdentifier"},{"text":"?, encryptedKey","kind":"text"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":"?)], ","kind":"text"},{"kind":"externalParam","text":"initializationVector"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"authenticationTag"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"recipientKey","kind":"externalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"sharedKey"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"additionalAuthenticationData"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"text":"tryAllRecipients","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":", "},{"kind":"externalParam","text":"encryptionModule"},{"text":": ","kind":"text"},{"text":"JWEEncryptionModule","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule","preciseIdentifier":"s:17JSONWebEncryption19JWEEncryptionModuleV"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":" "},{"text":"where","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"text":" : ","kind":"text"},{"text":"JWERegisteredFieldsHeader","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"},{"kind":"text","text":", "},{"text":"U","kind":"typeIdentifier"},{"text":" : ","kind":"text"},{"text":"JWERegisteredFieldsHeader","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"},{"text":", ","kind":"text"},{"text":"R","kind":"typeIdentifier"},{"kind":"text","text":" : "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","text":"JWERegisteredFieldsHeader","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEMultiDecryptor":{"url":"\/documentation\/jose_swift\/jwemultidecryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiDecryptor","navigatorTitle":[{"kind":"identifier","text":"JWEMultiDecryptor"}],"kind":"symbol","type":"topic","title":"JWEMultiDecryptor","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWEMultiDecryptor"}],"role":"symbol","abstract":[]},"doc://jose-swift/documentation/jose_swift/JWEMultiDecryptor/decrypt(protectedHeader:unprotectedHeader:cipher:recipients:initializationVector:authenticationTag:senderKey:recipientKey:sharedKey:additionalAuthenticationData:tryAllRecipients:encryptionModule:)":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiDecryptor\/decrypt(protectedHeader:unprotectedHeader:cipher:recipients:initializationVector:authenticationTag:senderKey:recipientKey:sharedKey:additionalAuthenticationData:tryAllRecipients:encryptionModule:)","required":true,"role":"symbol","abstract":[],"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"decrypt","kind":"identifier"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"P"},{"text":", ","kind":"text"},{"text":"U","kind":"genericParameter"},{"text":", ","kind":"text"},{"text":"R","kind":"genericParameter"},{"kind":"text","text":">("},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"P"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"unprotectedHeader"},{"kind":"text","text":": "},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"cipher"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"recipients","kind":"externalParam"},{"text":": [(header","kind":"text"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"R"},{"kind":"text","text":"?, encryptedKey"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?)], ","kind":"text"},{"text":"initializationVector","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"authenticationTag","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"senderKey"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"recipientKey"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"sharedKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"additionalAuthenticationData"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"text":"tryAllRecipients","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":", ","kind":"text"},{"text":"encryptionModule","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:17JSONWebEncryption19JWEEncryptionModuleV","text":"JWEEncryptionModule","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"url":"\/documentation\/jose_swift\/jwemultidecryptor\/decrypt(protectedheader:unprotectedheader:cipher:recipients:initializationvector:authenticationtag:senderkey:recipientkey:sharedkey:additionalauthenticationdata:tryallrecipients:encryptionmodule:)","type":"topic","title":"decrypt(protectedHeader:unprotectedHeader:cipher:recipients:initializationVector:authenticationTag:senderKey:recipientKey:sharedKey:additionalAuthenticationData:tryAllRecipients:encryptionModule:)"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"text":"RFC7517","type":"text"}],"title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWEEncryptionModule":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWEEncryptionModule","kind":"identifier"}],"type":"topic","title":"JWEEncryptionModule","url":"\/documentation\/jose_swift\/jweencryptionmodule","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule","role":"symbol","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWEEncryptionModule"}],"abstract":[{"code":"JWEEncryptionModule","type":"codeVoice"},{"type":"text","text":" manages a collection of "},{"type":"codeVoice","code":"JWEEncryptionProvider"},{"text":" instances and provides encryption and decryption functionalities.","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwemultiencryptor.json b/data/documentation/jose_swift/jwemultiencryptor.json new file mode 100644 index 0000000..924c940 --- /dev/null +++ b/data/documentation/jose_swift/jwemultiencryptor.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/jwemultiencryptor"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"text":"JWEMultiEncryptor","kind":"identifier"}],"languages":["swift"],"platforms":["macOS"]}]}],"topicSections":[{"title":"Instance Methods","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiEncryptor\/encrypt(payload:senderKey:recipients:protectedHeader:unprotectedHeader:cek:initializationVector:additionalAuthenticationData:encryptionModule:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiEncryptor\/encrypt(payload:senderKey:recipientsKeys:protectedHeader:unprotectedHeader:cek:initializationVector:additionalAuthenticationData:encryptionModule:)"]}],"metadata":{"navigatorTitle":[{"kind":"identifier","text":"JWEMultiEncryptor"}],"role":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWEMultiEncryptor","kind":"identifier"}],"title":"JWEMultiEncryptor","modules":[{"name":"jose-swift"}],"symbolKind":"protocol","roleHeading":"Protocol","externalID":"s:17JSONWebEncryption17JWEMultiEncryptorP"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiEncryptor"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"schemaVersion":{"patch":0,"minor":3,"major":0},"references":{"doc://jose-swift/documentation/jose_swift/JWEMultiEncryptor":{"fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWEMultiEncryptor"}],"type":"topic","title":"JWEMultiEncryptor","url":"\/documentation\/jose_swift\/jwemultiencryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiEncryptor","role":"symbol","kind":"symbol","navigatorTitle":[{"text":"JWEMultiEncryptor","kind":"identifier"}],"abstract":[]},"doc://jose-swift/documentation/jose_swift/JWEMultiEncryptor/encrypt(payload:senderKey:recipientsKeys:protectedHeader:unprotectedHeader:cek:initializationVector:additionalAuthenticationData:encryptionModule:)":{"kind":"symbol","role":"symbol","abstract":[],"title":"encrypt(payload:senderKey:recipientsKeys:protectedHeader:unprotectedHeader:cek:initializationVector:additionalAuthenticationData:encryptionModule:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"encrypt","kind":"identifier"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"recipientsKeys","kind":"externalParam"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"], ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"kind":"text","text":"?, "},{"text":"unprotectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"cek"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"text":"additionalAuthenticationData","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"encryptionModule"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWEEncryptionModule","preciseIdentifier":"s:17JSONWebEncryption19JWEEncryptionModuleV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":" -> [","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption8JWEPartsV","text":"JWEParts","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"P"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"DefaultJWEHeaderImpl","preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV"},{"kind":"text","text":">]"}],"url":"\/documentation\/jose_swift\/jwemultiencryptor\/encrypt(payload:senderkey:recipientskeys:protectedheader:unprotectedheader:cek:initializationvector:additionalauthenticationdata:encryptionmodule:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiEncryptor\/encrypt(payload:senderKey:recipientsKeys:protectedHeader:unprotectedHeader:cek:initializationVector:additionalAuthenticationData:encryptionModule:)"},"doc://jose-swift/documentation/jose_swift/JWEMultiEncryptor/encrypt(payload:senderKey:recipients:protectedHeader:unprotectedHeader:cek:initializationVector:additionalAuthenticationData:encryptionModule:)":{"kind":"symbol","role":"symbol","abstract":[],"title":"encrypt(payload:senderKey:recipients:protectedHeader:unprotectedHeader:cek:initializationVector:additionalAuthenticationData:encryptionModule:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"encrypt","kind":"identifier"},{"kind":"text","text":"<"},{"text":"P","kind":"genericParameter"},{"text":", ","kind":"text"},{"text":"U","kind":"genericParameter"},{"kind":"text","text":", "},{"text":"R","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"senderKey"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"recipients","kind":"externalParam"},{"text":": [(header","kind":"text"},{"kind":"text","text":": "},{"text":"R","kind":"typeIdentifier"},{"text":"?, key","kind":"text"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":")], "},{"kind":"externalParam","text":"protectedHeader"},{"text":": ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"U"},{"text":"?, ","kind":"text"},{"text":"cek","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"text":"initializationVector","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"additionalAuthenticationData","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"encryptionModule","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWEEncryptionModule","preciseIdentifier":"s:17JSONWebEncryption19JWEEncryptionModuleV"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":" -> [","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption8JWEPartsV","text":"JWEParts","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"P"},{"kind":"text","text":", "},{"text":"R","kind":"typeIdentifier"},{"text":">]","kind":"text"}],"url":"\/documentation\/jose_swift\/jwemultiencryptor\/encrypt(payload:senderkey:recipients:protectedheader:unprotectedheader:cek:initializationvector:additionalauthenticationdata:encryptionmodule:)","type":"topic","required":true,"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiEncryptor\/encrypt(payload:senderKey:recipients:protectedHeader:unprotectedHeader:cek:initializationVector:additionalAuthenticationData:encryptionModule:)"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwemultiencryptor/encrypt(payload:senderkey:recipients:protectedheader:unprotectedheader:cek:initializationvector:additionalauthenticationdata:encryptionmodule:).json b/data/documentation/jose_swift/jwemultiencryptor/encrypt(payload:senderkey:recipients:protectedheader:unprotectedheader:cek:initializationvector:additionalauthenticationdata:encryptionmodule:).json new file mode 100644 index 0000000..201c0b4 --- /dev/null +++ b/data/documentation/jose_swift/jwemultiencryptor/encrypt(payload:senderkey:recipients:protectedheader:unprotectedheader:cek:initializationvector:additionalauthenticationdata:encryptionmodule:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"encrypt","kind":"identifier"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"P"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"U"},{"text":", ","kind":"text"},{"text":"R","kind":"genericParameter"},{"kind":"text","text":">("},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"senderKey"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"recipients"},{"text":": [(header","kind":"text"},{"text":": ","kind":"text"},{"text":"R","kind":"typeIdentifier"},{"text":"?, key","kind":"text"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier"},{"text":")], ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"text":"P","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"unprotectedHeader"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"U"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"cek"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"initializationVector"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"additionalAuthenticationData","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"encryptionModule","kind":"externalParam"},{"kind":"text","text":": "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule","kind":"typeIdentifier","text":"JWEEncryptionModule","preciseIdentifier":"s:17JSONWebEncryption19JWEEncryptionModuleV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":" -> [","kind":"text"},{"text":"JWEParts","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEParts","preciseIdentifier":"s:17JSONWebEncryption8JWEPartsV","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"R"},{"kind":"text","text":">] "},{"kind":"keyword","text":"where"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"text":" : ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","text":"JWERegisteredFieldsHeader","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"},{"kind":"text","text":", "},{"text":"U","kind":"typeIdentifier"},{"text":" : ","kind":"text"},{"text":"JWERegisteredFieldsHeader","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"R"},{"text":" : ","kind":"text"},{"text":"JWERegisteredFieldsHeader","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"}],"languages":["swift"],"platforms":["macOS"]}]}],"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiEncryptor"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiEncryptor\/encrypt(payload:senderKey:recipients:protectedHeader:unprotectedHeader:cek:initializationVector:additionalAuthenticationData:encryptionModule:)","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwemultiencryptor\/encrypt(payload:senderkey:recipients:protectedheader:unprotectedheader:cek:initializationvector:additionalauthenticationdata:encryptionmodule:)"]}],"metadata":{"externalID":"s:17JSONWebEncryption17JWEMultiEncryptorP7encrypt7payload9senderKey10recipients15protectedHeader011unprotectedK03cek20initializationVector28additionalAuthenticationData16encryptionModuleSayAA8JWEPartsVyqd__qd_1_GG10Foundation0R0V_0aH03JWKVSgSayqd_1_Sg6header_AW3keytGqd__Sgqd_0_SgATSgA3_A3_AA013JWEEncryptionT0VtKAA019JWERegisteredFieldsK0Rd__AAA6_Rd_0_AAA6_Rd_1_r1_lF","symbolKind":"method","role":"symbol","title":"encrypt(payload:senderKey:recipients:protectedHeader:unprotectedHeader:cek:initializationVector:additionalAuthenticationData:encryptionModule:)","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"encrypt"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"text":", ","kind":"text"},{"text":"R","kind":"genericParameter"},{"text":">(","kind":"text"},{"text":"payload","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"senderKey","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"recipients"},{"text":": [(header","kind":"text"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"R"},{"kind":"text","text":"?, key"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":")], "},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"P"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"unprotectedHeader"},{"text":": ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"cek","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"initializationVector"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"additionalAuthenticationData"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"text":"encryptionModule","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWEEncryptionModule","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption19JWEEncryptionModuleV"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> [","kind":"text"},{"text":"JWEParts","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption8JWEPartsV"},{"kind":"text","text":"<"},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"R"},{"text":">]","kind":"text"}],"required":true,"roleHeading":"Instance Method"},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/JWEMultiEncryptor":{"fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWEMultiEncryptor"}],"type":"topic","title":"JWEMultiEncryptor","url":"\/documentation\/jose_swift\/jwemultiencryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiEncryptor","role":"symbol","kind":"symbol","navigatorTitle":[{"text":"JWEMultiEncryptor","kind":"identifier"}],"abstract":[]},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWEEncryptionModule":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWEEncryptionModule","kind":"identifier"}],"type":"topic","title":"JWEEncryptionModule","url":"\/documentation\/jose_swift\/jweencryptionmodule","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule","role":"symbol","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWEEncryptionModule"}],"abstract":[{"code":"JWEEncryptionModule","type":"codeVoice"},{"type":"text","text":" manages a collection of "},{"type":"codeVoice","code":"JWEEncryptionProvider"},{"text":" instances and provides encryption and decryption functionalities.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWEParts":{"url":"\/documentation\/jose_swift\/jweparts","title":"JWEParts","abstract":[{"text":"It’s a generic struct that can accommodate different types of headers for both protected and recipient-specific data.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEParts","navigatorTitle":[{"text":"JWEParts","kind":"identifier"}],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWEParts","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWEMultiEncryptor/encrypt(payload:senderKey:recipients:protectedHeader:unprotectedHeader:cek:initializationVector:additionalAuthenticationData:encryptionModule:)":{"kind":"symbol","role":"symbol","abstract":[],"title":"encrypt(payload:senderKey:recipients:protectedHeader:unprotectedHeader:cek:initializationVector:additionalAuthenticationData:encryptionModule:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"encrypt","kind":"identifier"},{"kind":"text","text":"<"},{"text":"P","kind":"genericParameter"},{"text":", ","kind":"text"},{"text":"U","kind":"genericParameter"},{"kind":"text","text":", "},{"text":"R","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"senderKey"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"recipients","kind":"externalParam"},{"text":": [(header","kind":"text"},{"kind":"text","text":": "},{"text":"R","kind":"typeIdentifier"},{"text":"?, key","kind":"text"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":")], "},{"kind":"externalParam","text":"protectedHeader"},{"text":": ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"U"},{"text":"?, ","kind":"text"},{"text":"cek","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"text":"initializationVector","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"additionalAuthenticationData","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"encryptionModule","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWEEncryptionModule","preciseIdentifier":"s:17JSONWebEncryption19JWEEncryptionModuleV"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":" -> [","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption8JWEPartsV","text":"JWEParts","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"P"},{"kind":"text","text":", "},{"text":"R","kind":"typeIdentifier"},{"text":">]","kind":"text"}],"url":"\/documentation\/jose_swift\/jwemultiencryptor\/encrypt(payload:senderkey:recipients:protectedheader:unprotectedheader:cek:initializationvector:additionalauthenticationdata:encryptionmodule:)","type":"topic","required":true,"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiEncryptor\/encrypt(payload:senderKey:recipients:protectedHeader:unprotectedHeader:cek:initializationVector:additionalAuthenticationData:encryptionModule:)"},"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwemultiencryptor/encrypt(payload:senderkey:recipientskeys:protectedheader:unprotectedheader:cek:initializationvector:additionalauthenticationdata:encryptionmodule:).json b/data/documentation/jose_swift/jwemultiencryptor/encrypt(payload:senderkey:recipientskeys:protectedheader:unprotectedheader:cek:initializationvector:additionalauthenticationdata:encryptionmodule:).json new file mode 100644 index 0000000..4dc4d75 --- /dev/null +++ b/data/documentation/jose_swift/jwemultiencryptor/encrypt(payload:senderkey:recipientskeys:protectedheader:unprotectedheader:cek:initializationvector:additionalauthenticationdata:encryptionmodule:).json @@ -0,0 +1 @@ +{"metadata":{"title":"encrypt(payload:senderKey:recipientsKeys:protectedHeader:unprotectedHeader:cek:initializationVector:additionalAuthenticationData:encryptionModule:)","roleHeading":"Instance Method","symbolKind":"method","modules":[{"name":"jose-swift","relatedModules":["JSONWebEncryption"]}],"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encrypt","kind":"identifier"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"P"},{"kind":"text","text":", "},{"text":"U","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":", "},{"text":"senderKey","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"recipientsKeys"},{"text":": [","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":"], ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"P"},{"text":"?, ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"cek"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"additionalAuthenticationData"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"text":"encryptionModule","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWEEncryptionModule","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption19JWEEncryptionModuleV"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":" -> [","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption8JWEPartsV","text":"JWEParts"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"text":", ","kind":"text"},{"text":"DefaultJWEHeaderImpl","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV"},{"text":">]","kind":"text"}],"extendedModule":"JSONWebEncryption","externalID":"s:17JSONWebEncryption17JWEMultiEncryptorPAAE7encrypt7payload9senderKey14recipientsKeys15protectedHeader011unprotectedL03cek20initializationVector28additionalAuthenticationData16encryptionModuleSayAA8JWEPartsVyqd__AA20DefaultJWEHeaderImplVGG10Foundation0S0V_0aH03JWKVSgSayAYGqd__Sgqd_0_SgAVSgA2_A2_AA013JWEEncryptionU0VtKAA019JWERegisteredFieldsL0Rd__AAA5_Rd_0_r0_lF","role":"symbol"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"encrypt","kind":"identifier"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"P"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"text":"payload","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"senderKey"},{"text":": ","kind":"text"},{"text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"recipientsKeys"},{"text":": [","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"], "},{"text":"protectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":"? = nil as DefaultJWEHeaderImpl?, "},{"text":"unprotectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"text":"U","kind":"typeIdentifier"},{"text":"? = nil as DefaultJWEHeaderImpl?, ","kind":"text"},{"kind":"externalParam","text":"cek"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"? = nil, ","kind":"text"},{"text":"initializationVector","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":"? = nil, ","kind":"text"},{"text":"additionalAuthenticationData","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"encryptionModule"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWEEncryptionModule","preciseIdentifier":"s:17JSONWebEncryption19JWEEncryptionModuleV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule"},{"kind":"text","text":" = .default) "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> ["},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEParts","text":"JWEParts","preciseIdentifier":"s:17JSONWebEncryption8JWEPartsV","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"DefaultJWEHeaderImpl","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"},{"text":">] ","kind":"text"},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"text":"P","kind":"typeIdentifier"},{"text":" : ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","text":"JWERegisteredFieldsHeader"},{"text":", ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"text":" : ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","text":"JWERegisteredFieldsHeader"}]}]}],"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwemultiencryptor\/encrypt(payload:senderkey:recipientskeys:protectedheader:unprotectedheader:cek:initializationvector:additionalauthenticationdata:encryptionmodule:)"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiEncryptor"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiEncryptor\/encrypt(payload:senderKey:recipientsKeys:protectedHeader:unprotectedHeader:cek:initializationVector:additionalAuthenticationData:encryptionModule:)"},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/JWEParts":{"url":"\/documentation\/jose_swift\/jweparts","title":"JWEParts","abstract":[{"text":"It’s a generic struct that can accommodate different types of headers for both protected and recipient-specific data.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEParts","navigatorTitle":[{"text":"JWEParts","kind":"identifier"}],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWEParts","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWEMultiEncryptor":{"fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWEMultiEncryptor"}],"type":"topic","title":"JWEMultiEncryptor","url":"\/documentation\/jose_swift\/jwemultiencryptor","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiEncryptor","role":"symbol","kind":"symbol","navigatorTitle":[{"text":"JWEMultiEncryptor","kind":"identifier"}],"abstract":[]},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWEMultiEncryptor/encrypt(payload:senderKey:recipientsKeys:protectedHeader:unprotectedHeader:cek:initializationVector:additionalAuthenticationData:encryptionModule:)":{"kind":"symbol","role":"symbol","abstract":[],"title":"encrypt(payload:senderKey:recipientsKeys:protectedHeader:unprotectedHeader:cek:initializationVector:additionalAuthenticationData:encryptionModule:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"encrypt","kind":"identifier"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"recipientsKeys","kind":"externalParam"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"], ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"kind":"text","text":"?, "},{"text":"unprotectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"cek"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"text":"additionalAuthenticationData","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"encryptionModule"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWEEncryptionModule","preciseIdentifier":"s:17JSONWebEncryption19JWEEncryptionModuleV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":" -> [","kind":"text"},{"preciseIdentifier":"s:17JSONWebEncryption8JWEPartsV","text":"JWEParts","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"P"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"DefaultJWEHeaderImpl","preciseIdentifier":"s:17JSONWebEncryption20DefaultJWEHeaderImplV"},{"kind":"text","text":">]"}],"url":"\/documentation\/jose_swift\/jwemultiencryptor\/encrypt(payload:senderkey:recipientskeys:protectedheader:unprotectedheader:cek:initializationvector:additionalauthenticationdata:encryptionmodule:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEMultiEncryptor\/encrypt(payload:senderKey:recipientsKeys:protectedHeader:unprotectedHeader:cek:initializationVector:additionalAuthenticationData:encryptionModule:)"},"doc://jose-swift/documentation/jose_swift/JWEEncryptionModule":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWEEncryptionModule","kind":"identifier"}],"type":"topic","title":"JWEEncryptionModule","url":"\/documentation\/jose_swift\/jweencryptionmodule","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEEncryptionModule","role":"symbol","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWEEncryptionModule"}],"abstract":[{"code":"JWEEncryptionModule","type":"codeVoice"},{"type":"text","text":" manages a collection of "},{"type":"codeVoice","code":"JWEEncryptionProvider"},{"text":" instances and provides encryption and decryption functionalities.","type":"text"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweparts.json b/data/documentation/jose_swift/jweparts.json new file mode 100644 index 0000000..119dce0 --- /dev/null +++ b/data/documentation/jose_swift/jweparts.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/jweparts"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","abstract":[{"text":"It’s a generic struct that can accommodate different types of headers for both protected and recipient-specific data.","type":"text"}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWEParts"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"text":", ","kind":"text"},{"text":"R","kind":"genericParameter"},{"text":"> ","kind":"text"},{"kind":"keyword","text":"where"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"kind":"text","text":" : "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","kind":"typeIdentifier","text":"JWERegisteredFieldsHeader","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"},{"kind":"text","text":", "},{"text":"R","kind":"typeIdentifier"},{"text":" : ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","text":"JWERegisteredFieldsHeader","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"}],"platforms":["macOS"]}],"kind":"declarations"},{"kind":"content","content":[{"text":"Overview","type":"heading","anchor":"overview","level":2},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"text":"Type parameters:","type":"text"}]},{"type":"unorderedList","items":[{"content":[{"inlineContent":[{"type":"text","text":"P: A type conforming to "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" used for the protected header."}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"type":"text","text":"R: A type conforming to "},{"code":"JWERegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":" used for the recipient-specific header."}],"type":"paragraph"}]}]}]}]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEParts"},"metadata":{"externalID":"s:17JSONWebEncryption8JWEPartsV","symbolKind":"struct","title":"JWEParts","role":"symbol","modules":[{"name":"jose-swift"}],"roleHeading":"Structure","navigatorTitle":[{"kind":"identifier","text":"JWEParts"}],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWEParts","kind":"identifier"}]},"references":{"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift/JWEParts":{"url":"\/documentation\/jose_swift\/jweparts","title":"JWEParts","abstract":[{"text":"It’s a generic struct that can accommodate different types of headers for both protected and recipient-specific data.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWEParts","navigatorTitle":[{"text":"JWEParts","kind":"identifier"}],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWEParts","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweregisteredfieldsheader.json b/data/documentation/jose_swift/jweregisteredfieldsheader.json new file mode 100644 index 0000000..335f1ce --- /dev/null +++ b/data/documentation/jose_swift/jweregisteredfieldsheader.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/jweregisteredfieldsheader"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","schemaVersion":{"minor":3,"major":0,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","interfaceLanguage":"swift"},"abstract":[{"code":"JWERegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object."},{"text":" ","type":"text"},{"text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"},{"text":" : ","kind":"text"},{"text":"JWARegisteredFieldsHeader","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms25JWARegisteredFieldsHeaderP"}],"platforms":["macOS"],"languages":["swift"]}]}],"metadata":{"fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWERegisteredFieldsHeader"}],"roleHeading":"Protocol","title":"JWERegisteredFieldsHeader","modules":[{"name":"jose-swift"}],"role":"symbol","symbolKind":"protocol","navigatorTitle":[{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"externalID":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-6ew8b"]},{"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/compressionAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/contentType","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/critical","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/encodingAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/jwk","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/jwkSetURL","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/keyID","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/keyManagementAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/senderKeyID","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/type","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/x509CertificateChain","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/x509CertificateSHA1Thumbprint","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/x509CertificateSHA256Thumbprint","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/x509URL"]},{"generated":true,"title":"Default Implementations","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/Decodable-Implementations"]}],"relationshipsSections":[{"kind":"relationships","title":"Inherits From","type":"inheritsFrom","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader","doc:\/\/jose-swift\/Se","doc:\/\/jose-swift\/SE"]},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl"],"kind":"relationships","title":"Conforming Types","type":"conformingTypes"}],"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/JWARegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWARegisteredFieldsHeader","kind":"identifier"}],"title":"JWARegisteredFieldsHeader","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/jwaregisteredfieldsheader","type":"topic","navigatorTitle":[{"kind":"identifier","text":"JWARegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWARegisteredFieldsHeader","abstract":[{"code":"JWARegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":" is a protocol that defines a set of fields commonly used in JSON Web Algorithms (JWA)."},{"type":"text","text":" "},{"text":"These fields are typically used in cryptographic operations such as key agreement or key derivation.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/DefaultJWEHeaderImpl":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWEHeaderImpl","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWEHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjweheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWEHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"type":"text","text":" protocol."},{"type":"text","text":" "},{"type":"text","text":"It provides properties to specify various parameters and algorithms used in the JSON Web Encryption (JWE) process."}],"navigatorTitle":[{"text":"DefaultJWEHeaderImpl","kind":"identifier"}],"title":"DefaultJWEHeaderImpl","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/critical":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/critical","required":true,"role":"symbol","abstract":[{"type":"text","text":"List of critical headers that must be understood and processed."}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"critical","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/critical","type":"topic","title":"critical"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/encodingAlgorithm":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/encodingAlgorithm","required":true,"role":"symbol","abstract":[{"type":"text","text":"The algorithm used for encoding the content in the JWE process."}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"encodingAlgorithm","kind":"identifier"},{"text":": ","kind":"text"},{"text":"ContentEncryptionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/encodingalgorithm","title":"encodingAlgorithm","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/SE":{"identifier":"doc:\/\/jose-swift\/SE","type":"unresolvable","title":"Swift.Encodable"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/x509CertificateSHA256Thumbprint":{"kind":"symbol","role":"symbol","required":true,"abstract":[{"text":"Base64URL-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate.","type":"text"}],"title":"x509CertificateSHA256Thumbprint","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/x509certificatesha256thumbprint","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/x509CertificateSHA256Thumbprint","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"x509CertificateSHA256Thumbprint","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":"?"}]},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/x509URL":{"kind":"symbol","abstract":[{"type":"text","text":"URL pointing to an X.509 public key certificate or certificate chain."}],"title":"x509URL","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/x509url","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/x509URL","required":true,"role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"x509URL"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?"}],"type":"topic"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-6ew8b":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-6ew8b","required":true,"title":"init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)","kind":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"keyManagementAlgorithm"},{"kind":"text","text":": "},{"text":"KeyManagementAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO"},{"text":"?, ","kind":"text"},{"text":"encodingAlgorithm","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","text":"ContentEncryptionAlgorithm"},{"text":"?, ","kind":"text"},{"text":"compressionAlgorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"ContentCompressionAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"keyID","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"jwkSetURL"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?, ","kind":"text"},{"text":"jwk","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"x509URL","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"x509CertificateChain"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"x509CertificateSHA1Thumbprint"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"x509CertificateSHA256Thumbprint"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"type","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"contentType"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":"?, "},{"text":"critical","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"ephemeralPublicKey","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"agreementPartyUInfo"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"agreementPartyVInfo"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"initializationVector"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"text":"authenticationTag","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"pbes2SaltInput"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"pbes2SaltCount"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"senderKeyId"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":"?)"}],"defaultImplementations":1,"url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-1fdve","abstract":[{"type":"text","text":"Initializes a new header with the specified parameters."}],"type":"topic"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/jwk":{"title":"jwk","kind":"symbol","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/jwk","abstract":[{"text":"JSON Web Key representing the key used to encrypt or validate the JWE payload.","type":"text"}],"required":true,"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/jwk","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwk","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"kind":"text","text":"?"}]},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/x509CertificateChain":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/x509CertificateChain","required":true,"role":"symbol","abstract":[{"type":"text","text":"X.509 public key certificate or certificate chain in string format."}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"x509CertificateChain","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/x509certificatechain","title":"x509CertificateChain","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/compressionAlgorithm":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/compressionAlgorithm","required":true,"role":"symbol","abstract":[{"type":"text","text":"The compression algorithm used, if any, for compressing the payload before encryption."}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"compressionAlgorithm","kind":"identifier"},{"text":": ","kind":"text"},{"text":"ContentCompressionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/compressionalgorithm","type":"topic","title":"compressionAlgorithm"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/type":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/type","required":true,"role":"symbol","abstract":[{"type":"text","text":"Type of the token, typically used to declare a MIME type."}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"type","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/type","title":"type","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/x509CertificateSHA1Thumbprint":{"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/x509certificatesha1thumbprint","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/x509CertificateSHA1Thumbprint","required":true,"title":"x509CertificateSHA1Thumbprint","abstract":[{"type":"text","text":"Base64URL-encoded SHA-1 thumbprint of the DER encoding of an X.509 certificate, used for key identification."}],"kind":"symbol","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"x509CertificateSHA1Thumbprint","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?"}]},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/senderKeyID":{"title":"senderKeyID","kind":"symbol","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/senderkeyid","type":"topic","abstract":[{"type":"text","text":"Key ID of the sender’s key, used in the "},{"type":"codeVoice","code":"ECDH-1PU"},{"type":"text","text":" key agreement algorithm."}],"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"senderKeyID"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/senderKeyID","required":true,"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/Decodable-Implementations":{"url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/decodable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/Decodable-Implementations","title":"Decodable Implementations","abstract":[],"kind":"article","type":"topic","role":"collectionGroup"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/contentType":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/contentType","required":true,"role":"symbol","abstract":[{"type":"text","text":"Media type of the complete JWE, describing the payload content type."}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"contentType","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/contenttype","type":"topic","title":"contentType"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/jwkSetURL":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/jwkSetURL","required":true,"role":"symbol","abstract":[{"type":"text","text":"URL pointing to a set of JSON-encoded public keys for key discovery."}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwkSetURL","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/jwkseturl","title":"jwkSetURL","type":"topic"},"doc://jose-swift/Se":{"identifier":"doc:\/\/jose-swift\/Se","type":"unresolvable","title":"Swift.Decodable"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/keyID":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/keyID","required":true,"role":"symbol","abstract":[{"type":"text","text":"Identifier for the key used in the JWE process, facilitating key selection."}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"keyID","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/keyid","title":"keyID","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/keyManagementAlgorithm":{"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"keyManagementAlgorithm","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","text":"KeyManagementAlgorithm"},{"kind":"text","text":"?"}],"title":"keyManagementAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/keyManagementAlgorithm","required":true,"role":"symbol","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/keymanagementalgorithm","abstract":[{"text":"The algorithm used for key management in the JWE process.","type":"text"}],"kind":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweregisteredfieldsheader/compressionalgorithm.json b/data/documentation/jose_swift/jweregisteredfieldsheader/compressionalgorithm.json new file mode 100644 index 0000000..5b31bf1 --- /dev/null +++ b/data/documentation/jose_swift/jweregisteredfieldsheader/compressionalgorithm.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"compressionAlgorithm"},{"text":": ","kind":"text"},{"text":"ContentCompressionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm"},{"text":"? { ","kind":"text"},{"kind":"keyword","text":"get"},{"kind":"text","text":" "},{"text":"set","kind":"keyword"},{"text":" }","kind":"text"}],"platforms":["macOS"]}]}],"metadata":{"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"compressionAlgorithm"},{"kind":"text","text":": "},{"text":"ContentCompressionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO"},{"text":"?","kind":"text"}],"roleHeading":"Instance Property","title":"compressionAlgorithm","required":true,"modules":[{"name":"jose-swift"}],"role":"symbol","symbolKind":"property","externalID":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP20compressionAlgorithm0A10Algorithms018ContentCompressionG0OSgvp"},"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/compressionAlgorithm"},"abstract":[{"type":"text","text":"The compression algorithm used, if any, for compressing the payload before encryption."}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"]]},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jweregisteredfieldsheader\/compressionalgorithm"]}],"references":{"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/compressionAlgorithm":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/compressionAlgorithm","required":true,"role":"symbol","abstract":[{"type":"text","text":"The compression algorithm used, if any, for compressing the payload before encryption."}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"compressionAlgorithm","kind":"identifier"},{"text":": ","kind":"text"},{"text":"ContentCompressionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/compressionalgorithm","type":"topic","title":"compressionAlgorithm"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm":{"url":"\/documentation\/jose_swift\/contentcompressionalgorithm","title":"ContentCompressionAlgorithm","abstract":[{"code":"ContentCompressionAlgorithm","type":"codeVoice"},{"text":" is an enumeration representing the supported content compression algorithms.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","navigatorTitle":[{"text":"ContentCompressionAlgorithm","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ContentCompressionAlgorithm","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweregisteredfieldsheader/contenttype.json b/data/documentation/jose_swift/jweregisteredfieldsheader/contenttype.json new file mode 100644 index 0000000..3546f79 --- /dev/null +++ b/data/documentation/jose_swift/jweregisteredfieldsheader/contenttype.json @@ -0,0 +1 @@ +{"abstract":[{"text":"Media type of the complete JWE, describing the payload content type.","type":"text"}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"contentType"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"? { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" ","kind":"text"},{"text":"set","kind":"keyword"},{"kind":"text","text":" }"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/contentType","interfaceLanguage":"swift"},"metadata":{"role":"symbol","roleHeading":"Instance Property","modules":[{"name":"jose-swift"}],"title":"contentType","symbolKind":"property","required":true,"externalID":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP11contentTypeSSSgvp","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"contentType","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?"}]},"variants":[{"paths":["\/documentation\/jose_swift\/jweregisteredfieldsheader\/contenttype"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/contentType":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/contentType","required":true,"role":"symbol","abstract":[{"type":"text","text":"Media type of the complete JWE, describing the payload content type."}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"contentType","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/contenttype","type":"topic","title":"contentType"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweregisteredfieldsheader/critical.json b/data/documentation/jose_swift/jweregisteredfieldsheader/critical.json new file mode 100644 index 0000000..9ee6509 --- /dev/null +++ b/data/documentation/jose_swift/jweregisteredfieldsheader/critical.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/critical","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jweregisteredfieldsheader\/critical"]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"]]},"metadata":{"modules":[{"name":"jose-swift"}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"critical","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?"}],"role":"symbol","externalID":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP8criticalSSSgvp","title":"critical","symbolKind":"property","required":true,"roleHeading":"Instance Property"},"schemaVersion":{"patch":0,"major":0,"minor":3},"abstract":[{"text":"List of critical headers that must be understood and processed.","type":"text"}],"kind":"symbol","primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"critical","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"? { "},{"text":"get","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"set"},{"kind":"text","text":" }"}]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/critical":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/critical","required":true,"role":"symbol","abstract":[{"type":"text","text":"List of critical headers that must be understood and processed."}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"critical","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/critical","type":"topic","title":"critical"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweregisteredfieldsheader/decodable-implementations.json b/data/documentation/jose_swift/jweregisteredfieldsheader/decodable-implementations.json new file mode 100644 index 0000000..fc1f003 --- /dev/null +++ b/data/documentation/jose_swift/jweregisteredfieldsheader/decodable-implementations.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/Decodable-Implementations","interfaceLanguage":"swift"},"sections":[],"kind":"article","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"]]},"metadata":{"modules":[{"name":"jose-swift"}],"role":"collectionGroup","title":"Decodable Implementations"},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/init(from:)"],"title":"Initializers","generated":true}],"variants":[{"paths":["\/documentation\/jose_swift\/jweregisteredfieldsheader\/decodable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/init(from:)":{"url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/init(from:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/init(from:)","title":"init(from:)","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":")"}],"abstract":[],"kind":"symbol","type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweregisteredfieldsheader/encodingalgorithm.json b/data/documentation/jose_swift/jweregisteredfieldsheader/encodingalgorithm.json new file mode 100644 index 0000000..e7c8a93 --- /dev/null +++ b/data/documentation/jose_swift/jweregisteredfieldsheader/encodingalgorithm.json @@ -0,0 +1 @@ +{"metadata":{"roleHeading":"Instance Property","title":"encodingAlgorithm","modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP17encodingAlgorithm0A10Algorithms07ContentbG0OSgvp","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encodingAlgorithm","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","kind":"typeIdentifier","text":"ContentEncryptionAlgorithm"},{"kind":"text","text":"?"}],"symbolKind":"property","required":true,"role":"symbol"},"sections":[],"abstract":[{"type":"text","text":"The algorithm used for encoding the content in the JWE process."}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encodingAlgorithm","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","text":"ContentEncryptionAlgorithm"},{"text":"? { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" ","kind":"text"},{"kind":"keyword","text":"set"},{"text":" }","kind":"text"}],"languages":["swift"]}]}],"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/encodingAlgorithm"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jweregisteredfieldsheader\/encodingalgorithm"]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/encodingAlgorithm":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/encodingAlgorithm","required":true,"role":"symbol","abstract":[{"type":"text","text":"The algorithm used for encoding the content in the JWE process."}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"encodingAlgorithm","kind":"identifier"},{"text":": ","kind":"text"},{"text":"ContentEncryptionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/encodingalgorithm","title":"encodingAlgorithm","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweregisteredfieldsheader/init(from:).json b/data/documentation/jose_swift/jweregisteredfieldsheader/init(from:).json new file mode 100644 index 0000000..908fde8 --- /dev/null +++ b/data/documentation/jose_swift/jweregisteredfieldsheader/init(from:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/Decodable-Implementations"]]},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"Decodable.init(from:)"},{"type":"text","text":"."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jweregisteredfieldsheader\/init(from:)"]}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/init(from:)"},"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":")","kind":"text"}]}]}],"metadata":{"symbolKind":"init","title":"init(from:)","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":")"}],"externalID":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderPAAE4fromx0A3Key3JWKV_tcfc","roleHeading":"Initializer","extendedModule":"JSONWebEncryption","modules":[{"relatedModules":["JSONWebEncryption"],"name":"jose-swift"}],"role":"symbol"},"references":{"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/Decodable-Implementations":{"url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/decodable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/Decodable-Implementations","title":"Decodable Implementations","abstract":[],"kind":"article","type":"topic","role":"collectionGroup"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/init(from:)":{"url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/init(from:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/init(from:)","title":"init(from:)","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":")"}],"abstract":[],"kind":"symbol","type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweregisteredfieldsheader/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-1fdve.json b/data/documentation/jose_swift/jweregisteredfieldsheader/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-1fdve.json new file mode 100644 index 0000000..26f925f --- /dev/null +++ b/data/documentation/jose_swift/jweregisteredfieldsheader/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-1fdve.json @@ -0,0 +1 @@ +{"sections":[],"defaultImplementationsSections":[{"title":"JWERegisteredFieldsHeader Implementations","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-86a0f"]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jweregisteredfieldsheader\/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-1fdve"]}],"metadata":{"role":"symbol","required":true,"externalID":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP22keyManagementAlgorithm08encodingH0011compressionH00F2ID9jwkSetURL0L004x509N00O16CertificateChain0oP14SHA1Thumbprint0op6SHA256S04type11contentType8critical18ephemeralPublicKey19agreementPartyUInfo19agreementPartyVInfo20initializationVector17authenticationTag14pbes2SaltInput14pbes2SaltCount11senderKeyIdx0A10Algorithms03KeygH0OSg_AY07ContentbH0OSgAY018ContentCompressionH0OSgSSSgA7_0A3Key3JWKVSgA7_A7_A7_A7_A7_A7_A7_A11_10Foundation4DataVSgA15_A15_A15_A15_A15_A7_tcfc","title":"init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)","symbolKind":"init","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"keyManagementAlgorithm","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","kind":"typeIdentifier","text":"KeyManagementAlgorithm"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"encodingAlgorithm"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","text":"ContentEncryptionAlgorithm"},{"kind":"text","text":"?, "},{"text":"compressionAlgorithm","kind":"externalParam"},{"kind":"text","text":": "},{"text":"ContentCompressionAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO"},{"text":"?, ","kind":"text"},{"text":"keyID","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"jwkSetURL"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"jwk"},{"text":": ","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"x509URL"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"x509CertificateChain","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"x509CertificateSHA1Thumbprint","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"x509CertificateSHA256Thumbprint","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"type"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"contentType"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"text":"critical","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"ephemeralPublicKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"agreementPartyUInfo","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"agreementPartyVInfo"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"text":"initializationVector","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"authenticationTag"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"pbes2SaltInput"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"pbes2SaltCount","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"senderKeyId"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?)","kind":"text"}],"roleHeading":"Initializer","modules":[{"name":"jose-swift"}]},"abstract":[{"text":"Initializes a new header with the specified parameters.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"init","kind":"keyword"},{"kind":"text","text":"("},{"text":"keyManagementAlgorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","text":"KeyManagementAlgorithm"},{"text":"?, ","kind":"text"},{"text":"encodingAlgorithm","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","text":"ContentEncryptionAlgorithm"},{"kind":"text","text":"?, "},{"text":"compressionAlgorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"ContentCompressionAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm"},{"kind":"text","text":"?, "},{"text":"keyID","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?, ","kind":"text"},{"text":"jwkSetURL","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"text":"jwk","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"text":"x509URL","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"x509CertificateChain","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"x509CertificateSHA1Thumbprint","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"x509CertificateSHA256Thumbprint"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"type","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?, ","kind":"text"},{"text":"contentType","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"critical","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"ephemeralPublicKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"agreementPartyUInfo"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"agreementPartyVInfo"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"authenticationTag","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"pbes2SaltInput","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"text":"pbes2SaltCount","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"senderKeyId"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?)","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]},{"parameters":[{"name":"keyManagementAlgorithm","content":[{"type":"paragraph","inlineContent":[{"text":"Algorithm used for key management.","type":"text"}]}]},{"content":[{"inlineContent":[{"text":"Algorithm used for content encryption.","type":"text"}],"type":"paragraph"}],"name":"encodingAlgorithm"},{"name":"compressionAlgorithm","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional compression algorithm."}]}]},{"name":"keyID","content":[{"inlineContent":[{"type":"text","text":"Optional identifier for the key."}],"type":"paragraph"}]},{"name":"jwkSetURL","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional URL for the JSON Web Key Set."}]}]},{"name":"jwk","content":[{"inlineContent":[{"type":"text","text":"Optional JSON Web Key."}],"type":"paragraph"}]},{"name":"x509URL","content":[{"type":"paragraph","inlineContent":[{"text":"Optional URL for X.509 public key certificate.","type":"text"}]}]},{"name":"x509CertificateChain","content":[{"type":"paragraph","inlineContent":[{"text":"Optional X.509 certificate chain.","type":"text"}]}]},{"content":[{"inlineContent":[{"type":"text","text":"Optional SHA-1 thumbprint of X.509 certificate."}],"type":"paragraph"}],"name":"x509CertificateSHA1Thumbprint"},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional SHA-256 thumbprint of X.509 certificate."}]}],"name":"x509CertificateSHA256Thumbprint"},{"name":"type","content":[{"type":"paragraph","inlineContent":[{"text":"Optional type of the token.","type":"text"}]}]},{"name":"contentType","content":[{"inlineContent":[{"type":"text","text":"Optional content type of the JWE."}],"type":"paragraph"}]},{"name":"critical","content":[{"type":"paragraph","inlineContent":[{"text":"Optional list of critical headers.","type":"text"}]}]},{"name":"senderKeyId","content":[{"type":"paragraph","inlineContent":[{"text":"Optional Key ID of the sender’s key.","type":"text"}]}]}],"kind":"parameters"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-6ew8b","interfaceLanguage":"swift"},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm":{"url":"\/documentation\/jose_swift\/contentcompressionalgorithm","title":"ContentCompressionAlgorithm","abstract":[{"code":"ContentCompressionAlgorithm","type":"codeVoice"},{"text":" is an enumeration representing the supported content compression algorithms.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","navigatorTitle":[{"text":"ContentCompressionAlgorithm","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ContentCompressionAlgorithm","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-86a0f":{"url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-90jlq","kind":"symbol","type":"topic","role":"symbol","abstract":[{"type":"text","text":"Initializes a new header with the specified parameters."}],"fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"keyManagementAlgorithm"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","kind":"typeIdentifier","text":"KeyManagementAlgorithm"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"encodingAlgorithm"},{"kind":"text","text":": "},{"preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","kind":"typeIdentifier","text":"ContentEncryptionAlgorithm"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"compressionAlgorithm"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"ContentCompressionAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO"},{"text":"?, ","kind":"text"},{"text":"keyID","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"jwkSetURL"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"jwk"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"x509URL"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"x509CertificateChain","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"x509CertificateSHA1Thumbprint","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"x509CertificateSHA256Thumbprint","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?, ","kind":"text"},{"text":"type","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?, ","kind":"text"},{"text":"contentType","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"critical"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"ephemeralPublicKey"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"agreementPartyUInfo","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"agreementPartyVInfo"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"initializationVector"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"text":"authenticationTag","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"pbes2SaltInput","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"pbes2SaltCount"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"text":"senderKeyId","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?)","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-86a0f","title":"init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-6ew8b":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-6ew8b","required":true,"title":"init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)","kind":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"keyManagementAlgorithm"},{"kind":"text","text":": "},{"text":"KeyManagementAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO"},{"text":"?, ","kind":"text"},{"text":"encodingAlgorithm","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","text":"ContentEncryptionAlgorithm"},{"text":"?, ","kind":"text"},{"text":"compressionAlgorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"ContentCompressionAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"keyID","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"jwkSetURL"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?, ","kind":"text"},{"text":"jwk","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"x509URL","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"x509CertificateChain"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"x509CertificateSHA1Thumbprint"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"x509CertificateSHA256Thumbprint"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"type","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"contentType"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":"?, "},{"text":"critical","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"ephemeralPublicKey","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"agreementPartyUInfo"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"agreementPartyVInfo"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"initializationVector"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"text":"authenticationTag","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"pbes2SaltInput"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"pbes2SaltCount"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"senderKeyId"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":"?)"}],"defaultImplementations":1,"url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-1fdve","abstract":[{"type":"text","text":"Initializes a new header with the specified parameters."}],"type":"topic"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweregisteredfieldsheader/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-90jlq.json b/data/documentation/jose_swift/jweregisteredfieldsheader/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-90jlq.json new file mode 100644 index 0000000..2011c42 --- /dev/null +++ b/data/documentation/jose_swift/jweregisteredfieldsheader/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-90jlq.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"text":"keyManagementAlgorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","text":"KeyManagementAlgorithm"},{"kind":"text","text":"? = nil, "},{"text":"encodingAlgorithm","kind":"externalParam"},{"kind":"text","text":": "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"typeIdentifier","text":"ContentEncryptionAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO"},{"kind":"text","text":"? = nil, "},{"text":"compressionAlgorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO","text":"ContentCompressionAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"keyID"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"? = nil, ","kind":"text"},{"text":"jwkSetURL","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"? = nil, ","kind":"text"},{"text":"jwk","kind":"externalParam"},{"kind":"text","text":": "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"x509URL"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"x509CertificateChain"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"x509CertificateSHA1Thumbprint"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"x509CertificateSHA256Thumbprint"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"? = nil, "},{"text":"type","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"? = nil, "},{"text":"contentType","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"critical"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"? = nil, ","kind":"text"},{"text":"ephemeralPublicKey","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"kind":"text","text":"? = nil, "},{"text":"agreementPartyUInfo","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"agreementPartyVInfo"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"? = nil, ","kind":"text"},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"? = nil, "},{"text":"authenticationTag","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"? = nil, "},{"text":"pbes2SaltInput","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"pbes2SaltCount"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"senderKeyId"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"? = nil)"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"keyManagementAlgorithm","content":[{"inlineContent":[{"type":"text","text":"Algorithm used for key management."}],"type":"paragraph"}]},{"name":"encodingAlgorithm","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Algorithm used for content encryption."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"Optional compression algorithm.","type":"text"}]}],"name":"compressionAlgorithm"},{"name":"keyID","content":[{"type":"paragraph","inlineContent":[{"text":"Optional identifier for the key.","type":"text"}]}]},{"name":"jwkSetURL","content":[{"inlineContent":[{"type":"text","text":"Optional URL for the JSON Web Key Set."}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"type":"text","text":"Optional JSON Web Key."}],"type":"paragraph"}],"name":"jwk"},{"name":"x509URL","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional URL for X.509 public key certificate."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional X.509 certificate chain."}]}],"name":"x509CertificateChain"},{"name":"x509CertificateSHA1Thumbprint","content":[{"type":"paragraph","inlineContent":[{"text":"Optional SHA-1 thumbprint of X.509 certificate.","type":"text"}]}]},{"name":"x509CertificateSHA256Thumbprint","content":[{"type":"paragraph","inlineContent":[{"text":"Optional SHA-256 thumbprint of X.509 certificate.","type":"text"}]}]},{"name":"type","content":[{"inlineContent":[{"text":"Optional type of the token.","type":"text"}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"Optional content type of the JWE.","type":"text"}]}],"name":"contentType"},{"content":[{"inlineContent":[{"type":"text","text":"Optional list of critical headers."}],"type":"paragraph"}],"name":"critical"},{"content":[{"inlineContent":[{"type":"text","text":"Optional Key ID of the sender’s key."}],"type":"paragraph"}],"name":"senderKeyId"}]}],"variants":[{"paths":["\/documentation\/jose_swift\/jweregisteredfieldsheader\/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-90jlq"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-86a0f","interfaceLanguage":"swift"},"kind":"symbol","metadata":{"symbolKind":"init","externalID":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderPAAE22keyManagementAlgorithm08encodingH0011compressionH00F2ID9jwkSetURL0L004x509N00O16CertificateChain0oP14SHA1Thumbprint0op6SHA256S04type11contentType8critical18ephemeralPublicKey19agreementPartyUInfo19agreementPartyVInfo20initializationVector17authenticationTag14pbes2SaltInput14pbes2SaltCount11senderKeyIdx0A10Algorithms03KeygH0OSg_AY07ContentbH0OSgAY018ContentCompressionH0OSgSSSgA7_0A3Key3JWKVSgA7_A7_A7_A7_A7_A7_A7_A11_10Foundation4DataVSgA15_A15_A15_A15_A15_A7_tcfc","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"keyManagementAlgorithm","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"KeyManagementAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"encodingAlgorithm"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","kind":"typeIdentifier","text":"ContentEncryptionAlgorithm"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"compressionAlgorithm"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"ContentCompressionAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO"},{"kind":"text","text":"?, "},{"text":"keyID","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"jwkSetURL","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"jwk"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"x509URL","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"x509CertificateChain"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"x509CertificateSHA1Thumbprint"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"x509CertificateSHA256Thumbprint"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"type","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"contentType"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"critical"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"ephemeralPublicKey"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"agreementPartyUInfo","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"agreementPartyVInfo","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"initializationVector"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"authenticationTag"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"pbes2SaltInput"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"pbes2SaltCount"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"senderKeyId","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?)","kind":"text"}],"title":"init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)","modules":[{"relatedModules":["JSONWebEncryption"],"name":"jose-swift"}],"roleHeading":"Initializer","role":"symbol","extendedModule":"JSONWebEncryption"},"abstract":[{"text":"Initializes a new header with the specified parameters.","type":"text"}],"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-6ew8b"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift/ContentEncryptionAlgorithm":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentEncryptionAlgorithm","kind":"symbol","title":"ContentEncryptionAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ContentEncryptionAlgorithm"}],"navigatorTitle":[{"text":"ContentEncryptionAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/contentencryptionalgorithm","type":"topic","abstract":[{"code":"ContentEncryptionAlgorithm","type":"codeVoice"},{"type":"text","text":" is an enumeration representing the supported content encryption algorithms."}]},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-6ew8b":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-6ew8b","required":true,"title":"init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)","kind":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"keyManagementAlgorithm"},{"kind":"text","text":": "},{"text":"KeyManagementAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO"},{"text":"?, ","kind":"text"},{"text":"encodingAlgorithm","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","text":"ContentEncryptionAlgorithm"},{"text":"?, ","kind":"text"},{"text":"compressionAlgorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"ContentCompressionAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"keyID","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"jwkSetURL"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?, ","kind":"text"},{"text":"jwk","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"x509URL","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"x509CertificateChain"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"x509CertificateSHA1Thumbprint"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"x509CertificateSHA256Thumbprint"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"type","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"contentType"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":"?, "},{"text":"critical","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"ephemeralPublicKey","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"agreementPartyUInfo"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"agreementPartyVInfo"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"initializationVector"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"text":"authenticationTag","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"pbes2SaltInput"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"pbes2SaltCount"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"senderKeyId"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":"?)"}],"defaultImplementations":1,"url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-1fdve","abstract":[{"type":"text","text":"Initializes a new header with the specified parameters."}],"type":"topic"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-86a0f":{"url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-90jlq","kind":"symbol","type":"topic","role":"symbol","abstract":[{"type":"text","text":"Initializes a new header with the specified parameters."}],"fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"keyManagementAlgorithm"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","kind":"typeIdentifier","text":"KeyManagementAlgorithm"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"encodingAlgorithm"},{"kind":"text","text":": "},{"preciseIdentifier":"s:17JSONWebAlgorithms26ContentEncryptionAlgorithmO","kind":"typeIdentifier","text":"ContentEncryptionAlgorithm"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"compressionAlgorithm"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"ContentCompressionAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms27ContentCompressionAlgorithmO"},{"text":"?, ","kind":"text"},{"text":"keyID","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"jwkSetURL"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"jwk"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"x509URL"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"x509CertificateChain","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"x509CertificateSHA1Thumbprint","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"x509CertificateSHA256Thumbprint","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?, ","kind":"text"},{"text":"type","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?, ","kind":"text"},{"text":"contentType","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"critical"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"ephemeralPublicKey"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"agreementPartyUInfo","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"agreementPartyVInfo"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"initializationVector"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"text":"authenticationTag","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"pbes2SaltInput","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"pbes2SaltCount"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"text":"senderKeyId","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?)","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)-86a0f","title":"init(keyManagementAlgorithm:encodingAlgorithm:compressionAlgorithm:keyID:jwkSetURL:jwk:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:type:contentType:critical:ephemeralPublicKey:agreementPartyUInfo:agreementPartyVInfo:initializationVector:authenticationTag:pbes2SaltInput:pbes2SaltCount:senderKeyId:)"},"doc://jose-swift/documentation/jose_swift/ContentCompressionAlgorithm":{"url":"\/documentation\/jose_swift\/contentcompressionalgorithm","title":"ContentCompressionAlgorithm","abstract":[{"code":"ContentCompressionAlgorithm","type":"codeVoice"},{"text":" is an enumeration representing the supported content compression algorithms.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/ContentCompressionAlgorithm","navigatorTitle":[{"text":"ContentCompressionAlgorithm","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ContentCompressionAlgorithm","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweregisteredfieldsheader/jwk.json b/data/documentation/jose_swift/jweregisteredfieldsheader/jwk.json new file mode 100644 index 0000000..928b7ac --- /dev/null +++ b/data/documentation/jose_swift/jweregisteredfieldsheader/jwk.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/jwk","interfaceLanguage":"swift"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jweregisteredfieldsheader\/jwk"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"required":true,"title":"jwk","externalID":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP3jwk0A3Key3JWKVSgvp","role":"symbol","modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","symbolKind":"property","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwk","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"?"}]},"sections":[],"abstract":[{"type":"text","text":"JSON Web Key representing the key used to encrypt or validate the JWE payload."}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"jwk","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"? { "},{"text":"get","kind":"keyword"},{"text":" ","kind":"text"},{"text":"set","kind":"keyword"},{"text":" }","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/jwk":{"title":"jwk","kind":"symbol","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/jwk","abstract":[{"text":"JSON Web Key representing the key used to encrypt or validate the JWE payload.","type":"text"}],"required":true,"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/jwk","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwk","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"kind":"text","text":"?"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"text":"RFC7517","type":"text"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","title":"RFC7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweregisteredfieldsheader/jwkseturl.json b/data/documentation/jose_swift/jweregisteredfieldsheader/jwkseturl.json new file mode 100644 index 0000000..8c09abc --- /dev/null +++ b/data/documentation/jose_swift/jweregisteredfieldsheader/jwkseturl.json @@ -0,0 +1 @@ +{"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/jwkSetURL","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"]]},"abstract":[{"type":"text","text":"URL pointing to a set of JSON-encoded public keys for key discovery."}],"kind":"symbol","variants":[{"paths":["\/documentation\/jose_swift\/jweregisteredfieldsheader\/jwkseturl"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"externalID":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP9jwkSetURLSSSgvp","title":"jwkSetURL","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"jwkSetURL","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?","kind":"text"}],"roleHeading":"Instance Property","modules":[{"name":"jose-swift"}],"role":"symbol","symbolKind":"property","required":true},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwkSetURL"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"? { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" ","kind":"text"},{"kind":"keyword","text":"set"},{"text":" }","kind":"text"}]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/jwkSetURL":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/jwkSetURL","required":true,"role":"symbol","abstract":[{"type":"text","text":"URL pointing to a set of JSON-encoded public keys for key discovery."}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwkSetURL","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/jwkseturl","title":"jwkSetURL","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweregisteredfieldsheader/keyid.json b/data/documentation/jose_swift/jweregisteredfieldsheader/keyid.json new file mode 100644 index 0000000..db2d548 --- /dev/null +++ b/data/documentation/jose_swift/jweregisteredfieldsheader/keyid.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"]]},"metadata":{"role":"symbol","externalID":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP5keyIDSSSgvp","symbolKind":"property","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"keyID"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"roleHeading":"Instance Property","modules":[{"name":"jose-swift"}],"title":"keyID","required":true},"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/keyID"},"sections":[],"abstract":[{"type":"text","text":"Identifier for the key used in the JWE process, facilitating key selection."}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"keyID","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"? { ","kind":"text"},{"kind":"keyword","text":"get"},{"kind":"text","text":" "},{"text":"set","kind":"keyword"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/jose_swift\/jweregisteredfieldsheader\/keyid"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/keyID":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/keyID","required":true,"role":"symbol","abstract":[{"type":"text","text":"Identifier for the key used in the JWE process, facilitating key selection."}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"keyID","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/keyid","title":"keyID","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweregisteredfieldsheader/keymanagementalgorithm.json b/data/documentation/jose_swift/jweregisteredfieldsheader/keymanagementalgorithm.json new file mode 100644 index 0000000..807a4ea --- /dev/null +++ b/data/documentation/jose_swift/jweregisteredfieldsheader/keymanagementalgorithm.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/keyManagementAlgorithm"},"sections":[],"metadata":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"keyManagementAlgorithm","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","text":"KeyManagementAlgorithm","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"title":"keyManagementAlgorithm","symbolKind":"property","roleHeading":"Instance Property","modules":[{"name":"jose-swift"}],"required":true,"role":"symbol","externalID":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP22keyManagementAlgorithm0A10Algorithms03KeygH0OSgvp"},"schemaVersion":{"major":0,"patch":0,"minor":3},"variants":[{"paths":["\/documentation\/jose_swift\/jweregisteredfieldsheader\/keymanagementalgorithm"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"text":"The algorithm used for key management in the JWE process.","type":"text"}],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"keyManagementAlgorithm","kind":"identifier"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","text":"KeyManagementAlgorithm"},{"kind":"text","text":"? { "},{"kind":"keyword","text":"get"},{"text":" ","kind":"text"},{"text":"set","kind":"keyword"},{"text":" }","kind":"text"}],"languages":["swift"]}]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/keyManagementAlgorithm":{"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"keyManagementAlgorithm","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","text":"KeyManagementAlgorithm"},{"kind":"text","text":"?"}],"title":"keyManagementAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/keyManagementAlgorithm","required":true,"role":"symbol","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/keymanagementalgorithm","abstract":[{"text":"The algorithm used for key management in the JWE process.","type":"text"}],"kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweregisteredfieldsheader/senderkeyid.json b/data/documentation/jose_swift/jweregisteredfieldsheader/senderkeyid.json new file mode 100644 index 0000000..511abce --- /dev/null +++ b/data/documentation/jose_swift/jweregisteredfieldsheader/senderkeyid.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"senderKeyID"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"? { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" "},{"kind":"keyword","text":"set"},{"text":" }","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/jweregisteredfieldsheader\/senderkeyid"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"type":"text","text":"Key ID of the sender’s key, used in the "},{"type":"codeVoice","code":"ECDH-1PU"},{"text":" key agreement algorithm.","type":"text"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/senderKeyID","interfaceLanguage":"swift"},"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"]]},"schemaVersion":{"major":0,"patch":0,"minor":3},"metadata":{"title":"senderKeyID","symbolKind":"property","modules":[{"name":"jose-swift"}],"required":true,"roleHeading":"Instance Property","externalID":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP11senderKeyIDSSSgvp","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"senderKeyID"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"role":"symbol"},"references":{"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/senderKeyID":{"title":"senderKeyID","kind":"symbol","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/senderkeyid","type":"topic","abstract":[{"type":"text","text":"Key ID of the sender’s key, used in the "},{"type":"codeVoice","code":"ECDH-1PU"},{"type":"text","text":" key agreement algorithm."}],"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"senderKeyID"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/senderKeyID","required":true,"role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweregisteredfieldsheader/type.json b/data/documentation/jose_swift/jweregisteredfieldsheader/type.json new file mode 100644 index 0000000..d14101a --- /dev/null +++ b/data/documentation/jose_swift/jweregisteredfieldsheader/type.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/type","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Type of the token, typically used to declare a MIME type."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"type","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"? { "},{"text":"get","kind":"keyword"},{"text":" ","kind":"text"},{"text":"set","kind":"keyword"},{"text":" }","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jweregisteredfieldsheader\/type"]}],"kind":"symbol","metadata":{"roleHeading":"Instance Property","modules":[{"name":"jose-swift"}],"required":true,"externalID":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP4typeSSSgvp","symbolKind":"property","title":"type","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"type","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?"}]},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/type":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/type","required":true,"role":"symbol","abstract":[{"type":"text","text":"Type of the token, typically used to declare a MIME type."}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"type","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/type","title":"type","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweregisteredfieldsheader/x509certificatechain.json b/data/documentation/jose_swift/jweregisteredfieldsheader/x509certificatechain.json new file mode 100644 index 0000000..c52f9f3 --- /dev/null +++ b/data/documentation/jose_swift/jweregisteredfieldsheader/x509certificatechain.json @@ -0,0 +1 @@ +{"abstract":[{"text":"X.509 public key certificate or certificate chain in string format.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/x509CertificateChain"},"metadata":{"modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP20x509CertificateChainSSSgvp","required":true,"title":"x509CertificateChain","roleHeading":"Instance Property","symbolKind":"property","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"x509CertificateChain"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?"}]},"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"x509CertificateChain","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"? { "},{"text":"get","kind":"keyword"},{"text":" ","kind":"text"},{"text":"set","kind":"keyword"},{"text":" }","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jweregisteredfieldsheader\/x509certificatechain"]}],"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/x509CertificateChain":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/x509CertificateChain","required":true,"role":"symbol","abstract":[{"type":"text","text":"X.509 public key certificate or certificate chain in string format."}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"x509CertificateChain","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/x509certificatechain","title":"x509CertificateChain","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweregisteredfieldsheader/x509certificatesha1thumbprint.json b/data/documentation/jose_swift/jweregisteredfieldsheader/x509certificatesha1thumbprint.json new file mode 100644 index 0000000..aeee9ed --- /dev/null +++ b/data/documentation/jose_swift/jweregisteredfieldsheader/x509certificatesha1thumbprint.json @@ -0,0 +1 @@ +{"metadata":{"title":"x509CertificateSHA1Thumbprint","modules":[{"name":"jose-swift"}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"x509CertificateSHA1Thumbprint"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"symbolKind":"property","role":"symbol","roleHeading":"Instance Property","required":true,"externalID":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP29x509CertificateSHA1ThumbprintSSSgvp"},"variants":[{"paths":["\/documentation\/jose_swift\/jweregisteredfieldsheader\/x509certificatesha1thumbprint"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"type":"text","text":"Base64URL-encoded SHA-1 thumbprint of the DER encoding of an X.509 certificate, used for key identification."}],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"x509CertificateSHA1Thumbprint","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"? { "},{"kind":"keyword","text":"get"},{"text":" ","kind":"text"},{"text":"set","kind":"keyword"},{"kind":"text","text":" }"}],"platforms":["macOS"],"languages":["swift"]}]}],"sections":[],"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/x509CertificateSHA1Thumbprint"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"]]},"references":{"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/x509CertificateSHA1Thumbprint":{"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/x509certificatesha1thumbprint","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/x509CertificateSHA1Thumbprint","required":true,"title":"x509CertificateSHA1Thumbprint","abstract":[{"type":"text","text":"Base64URL-encoded SHA-1 thumbprint of the DER encoding of an X.509 certificate, used for key identification."}],"kind":"symbol","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"x509CertificateSHA1Thumbprint","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?"}]},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweregisteredfieldsheader/x509certificatesha256thumbprint.json b/data/documentation/jose_swift/jweregisteredfieldsheader/x509certificatesha256thumbprint.json new file mode 100644 index 0000000..a148ed2 --- /dev/null +++ b/data/documentation/jose_swift/jweregisteredfieldsheader/x509certificatesha256thumbprint.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/x509CertificateSHA256Thumbprint"},"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"x509CertificateSHA256Thumbprint"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"? { "},{"kind":"keyword","text":"get"},{"text":" ","kind":"text"},{"text":"set","kind":"keyword"},{"text":" }","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}]}],"metadata":{"symbolKind":"property","modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","required":true,"title":"x509CertificateSHA256Thumbprint","role":"symbol","externalID":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP31x509CertificateSHA256ThumbprintSSSgvp","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"x509CertificateSHA256Thumbprint"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?","kind":"text"}]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jweregisteredfieldsheader\/x509certificatesha256thumbprint"]}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"]]},"abstract":[{"text":"Base64URL-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate.","type":"text"}],"references":{"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/x509CertificateSHA256Thumbprint":{"kind":"symbol","role":"symbol","required":true,"abstract":[{"text":"Base64URL-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate.","type":"text"}],"title":"x509CertificateSHA256Thumbprint","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/x509certificatesha256thumbprint","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/x509CertificateSHA256Thumbprint","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"x509CertificateSHA256Thumbprint","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":"?"}]},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jweregisteredfieldsheader/x509url.json b/data/documentation/jose_swift/jweregisteredfieldsheader/x509url.json new file mode 100644 index 0000000..f333998 --- /dev/null +++ b/data/documentation/jose_swift/jweregisteredfieldsheader/x509url.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/x509URL","interfaceLanguage":"swift"},"kind":"symbol","sections":[],"abstract":[{"text":"URL pointing to an X.509 public key certificate or certificate chain.","type":"text"}],"metadata":{"roleHeading":"Instance Property","symbolKind":"property","title":"x509URL","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"x509URL","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"required":true,"externalID":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP7x509URLSSSgvp","role":"symbol","modules":[{"name":"jose-swift"}]},"variants":[{"paths":["\/documentation\/jose_swift\/jweregisteredfieldsheader\/x509url"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"x509URL","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"? { ","kind":"text"},{"kind":"keyword","text":"get"},{"kind":"text","text":" "},{"kind":"keyword","text":"set"},{"kind":"text","text":" }"}],"platforms":["macOS"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader"]]},"references":{"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader/x509URL":{"kind":"symbol","abstract":[{"type":"text","text":"URL pointing to an X.509 public key certificate or certificate chain."}],"title":"x509URL","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/x509url","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader\/x509URL","required":true,"role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"x509URL"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?"}],"type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk.json b/data/documentation/jose_swift/jwk.json new file mode 100644 index 0000000..67884d4 --- /dev/null +++ b/data/documentation/jose_swift/jwk.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","isActive":true}],"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/init(keyType:publicKeyUse:keyOperations:algorithm:key:keyID:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:curve:e:p:q:n:dp:dq:qi:x:y:d:)"]},{"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/algorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/curve","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/d","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/dp","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/dq","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/e","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/key","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/keyGeneration","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/keyID","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/keyOperations-swift.property","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/keyType-swift.property","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/n","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/p","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/publicKeyUse-swift.property","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/q","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/qi","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/x","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/x509CertificateChain","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/x509CertificateSHA1Thumbprint","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/x509CertificateSHA256Thumbprint","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/x509URL","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/y"]},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/cryptoKitRepresentation(type:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/thumbprint(with:)"],"title":"Instance Methods"},{"title":"Enumerations","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum"]},{"generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Decodable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Encodable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Equatable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/JWKRepresentable-Implementations"],"title":"Default Implementations"}],"variants":[{"paths":["\/documentation\/jose_swift\/jwk"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"type":"conformsTo","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","doc:\/\/jose-swift\/Se","doc:\/\/jose-swift\/SE","doc:\/\/jose-swift\/SQ","doc:\/\/jose-swift\/SH"],"kind":"relationships","title":"Conforms To"}],"sections":[],"kind":"symbol","metadata":{"externalID":"s:10JSONWebKey3JWKV","roleHeading":"Structure","role":"symbol","title":"JWK","navigatorTitle":[{"text":"JWK","kind":"identifier"}],"modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"symbolKind":"struct"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"platforms":["macOS"]}],"kind":"declarations"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},"schemaVersion":{"major":0,"patch":0,"minor":3},"references":{"doc://jose-swift/SH":{"type":"unresolvable","title":"Swift.Hashable","identifier":"doc:\/\/jose-swift\/SH"},"doc://jose-swift/SE":{"type":"unresolvable","title":"Swift.Encodable","identifier":"doc:\/\/jose-swift\/SE"},"doc://jose-swift/documentation/jose_swift/JWK/publicKeyUse-swift.property":{"abstract":[{"type":"text","text":"The intended use of the public key."}],"type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"publicKeyUse","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV06PublicB3UseO","text":"PublicKeyUse"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.property","kind":"symbol","title":"publicKeyUse","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/publicKeyUse-swift.property"},"doc://jose-swift/documentation/jose_swift/JWK/p":{"title":"p","kind":"symbol","abstract":[{"text":"The value of the “e” parameter for an RSA key.","type":"text"}],"url":"\/documentation\/jose_swift\/jwk\/p","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/p","type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"p"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"role":"symbol"},"doc://jose-swift/SQ":{"type":"unresolvable","title":"Swift.Equatable","identifier":"doc:\/\/jose-swift\/SQ"},"doc://jose-swift/documentation/jose_swift/JWK/d":{"role":"symbol","type":"topic","title":"d","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"d","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/d","kind":"symbol","url":"\/documentation\/jose_swift\/jwk\/d","abstract":[{"type":"text","text":"The value of the “d” parameter for an EC or RSA key."}]},"doc://jose-swift/documentation/jose_swift/JWK/Equatable-Implementations":{"abstract":[],"type":"topic","kind":"article","url":"\/documentation\/jose_swift\/jwk\/equatable-implementations","title":"Equatable Implementations","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Equatable-Implementations"},"doc://jose-swift/documentation/jose_swift/JWK/init(keyType:publicKeyUse:keyOperations:algorithm:key:keyID:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:curve:e:p:q:n:dp:dq:qi:x:y:d:)":{"abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/init(keyType:publicKeyUse:keyOperations:algorithm:key:keyID:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:curve:e:p:q:n:dp:dq:qi:x:y:d:)","type":"topic","title":"init(keyType:publicKeyUse:keyOperations:algorithm:key:keyID:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:curve:e:p:q:n:dp:dq:qi:x:y:d:)","url":"\/documentation\/jose_swift\/jwk\/init(keytype:publickeyuse:keyoperations:algorithm:key:keyid:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:curve:e:p:q:n:dp:dq:qi:x:y:d:)","role":"symbol","kind":"symbol","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"keyType","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"."},{"preciseIdentifier":"s:10JSONWebKey3JWKV0B4TypeO","kind":"typeIdentifier","text":"KeyType"},{"kind":"text","text":", "},{"text":"publicKeyUse","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"."},{"text":"PublicKeyUse","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV06PublicB3UseO"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"keyOperations"},{"kind":"text","text":": ["},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"kind":"text","text":"."},{"text":"KeyOperations","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV0B10OperationsO"},{"text":"]?, ","kind":"text"},{"text":"algorithm","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"key"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"keyID","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"x509URL","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?, ","kind":"text"},{"text":"x509CertificateChain","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"x509CertificateSHA1Thumbprint","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"x509CertificateSHA256Thumbprint"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?, ","kind":"text"},{"text":"curve","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV18CryptographicCurveO","text":"CryptographicCurve"},{"kind":"text","text":"?, "},{"text":"e","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"text":"p","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"q","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"text":"n","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"dp","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"dq"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"text":"qi","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"text":"x","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"y"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"d","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?)"}]},"doc://jose-swift/documentation/jose_swift/JWK/dq":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/dq","type":"topic","title":"dq","role":"symbol","url":"\/documentation\/jose_swift\/jwk\/dq","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"dq","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"The value of the “dq” parameter for an RSA key."}]},"doc://jose-swift/documentation/jose_swift/JWK/keyGeneration":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/keyGeneration","role":"symbol","kind":"symbol","url":"\/documentation\/jose_swift\/jwk\/keygeneration","abstract":[{"text":"Provides a ","type":"text"},{"type":"codeVoice","code":"KeyGeneration"},{"text":" instance suitable for the specific key type and curve of the JWK.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"This property allows for generating cryptographic keys based on the characteristics of the JWK."}],"title":"keyGeneration","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"keyGeneration","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms13KeyGenerationP","text":"KeyGeneration"},{"kind":"text","text":"?"}],"type":"topic"},"doc://jose-swift/Se":{"type":"unresolvable","title":"Swift.Decodable","identifier":"doc:\/\/jose-swift\/Se"},"doc://jose-swift/documentation/jose_swift/JWK/thumbprint(with:)":{"title":"thumbprint(with:)","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"thumbprint"},{"kind":"text","text":"<"},{"text":"H","kind":"genericParameter"},{"text":">(","kind":"text"},{"text":"with","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"H","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/jwk\/thumbprint(with:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/thumbprint(with:)","abstract":[{"type":"text","text":"Calculates the JWK thumbprint as per "},{"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7638","isActive":true}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum":{"kind":"symbol","title":"JWK.KeyOperations","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"KeyOperations","kind":"identifier"}],"navigatorTitle":[{"text":"KeyOperations","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","type":"topic","abstract":[{"text":"The key operations that the key is intended to be used for.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWK/algorithm":{"type":"topic","abstract":[{"type":"text","text":"The algorithm intended for use with the key."}],"role":"symbol","title":"algorithm","kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"algorithm"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/algorithm","url":"\/documentation\/jose_swift\/jwk\/algorithm"},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum":{"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum","kind":"symbol","title":"JWK.KeyType","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyType"}],"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyType"}],"abstract":[{"type":"text","text":"The key type."}]},"doc://jose-swift/documentation/jose_swift/JWK/x509URL":{"role":"symbol","title":"x509URL","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"x509URL"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/jwk\/x509url","abstract":[{"type":"text","text":"The X.509 URL."}],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/x509URL"},"doc://jose-swift/documentation/jose_swift/JWK/x509CertificateSHA1Thumbprint":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/x509CertificateSHA1Thumbprint","url":"\/documentation\/jose_swift\/jwk\/x509certificatesha1thumbprint","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"x509CertificateSHA1Thumbprint","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"title":"x509CertificateSHA1Thumbprint","kind":"symbol","abstract":[{"type":"text","text":"The X.509 certificate SHA-1 thumbprint."}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK/keyID":{"type":"topic","abstract":[{"type":"text","text":"The key ID."}],"role":"symbol","title":"keyID","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"keyID","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/keyID","url":"\/documentation\/jose_swift\/jwk\/keyid"},"doc://jose-swift/documentation/jose_swift/JWK/key":{"url":"\/documentation\/jose_swift\/jwk\/key","kind":"symbol","title":"key","abstract":[{"type":"text","text":"The key value in case of a symmetric key (oct)."}],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/key","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"key","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?","kind":"text"}]},"doc://jose-swift/documentation/jose_swift/JWK/keyType-swift.property":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/keyType-swift.property","kind":"symbol","abstract":[{"text":"The key type.","type":"text"}],"role":"symbol","url":"\/documentation\/jose_swift\/jwk\/keytype-swift.property","title":"keyType","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"keyType","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"."},{"text":"KeyType","preciseIdentifier":"s:10JSONWebKey3JWKV0B4TypeO","kind":"typeIdentifier"}],"type":"topic"},"doc://jose-swift/documentation/jose_swift/JWK/e":{"abstract":[{"text":"The value of the “e” parameter for an RSA key.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/e","url":"\/documentation\/jose_swift\/jwk\/e","kind":"symbol","title":"e","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"e"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/x509CertificateChain":{"title":"x509CertificateChain","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/x509CertificateChain","abstract":[{"type":"text","text":"The X.509 Certificate Chain."}],"url":"\/documentation\/jose_swift\/jwk\/x509certificatechain","type":"topic","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"x509CertificateChain"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?","kind":"text"}]},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve":{"navigatorTitle":[{"text":"CryptographicCurve","kind":"identifier"}],"title":"JWK.CryptographicCurve","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve","abstract":[{"text":"The cryptographic curves.","type":"text"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"CryptographicCurve","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWK/curve":{"url":"\/documentation\/jose_swift\/jwk\/curve","type":"topic","abstract":[{"type":"text","text":"The cryptographic curve used with an EC key."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/curve","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"curve","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"."},{"preciseIdentifier":"s:10JSONWebKey3JWKV18CryptographicCurveO","text":"CryptographicCurve","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"title":"curve","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK/cryptoKitRepresentation(type:)":{"role":"symbol","type":"topic","title":"cryptoKitRepresentation(type:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"cryptoKitRepresentation","kind":"identifier"},{"text":"<","kind":"text"},{"text":"T","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"type"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":".Type) "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"T","kind":"typeIdentifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/cryptoKitRepresentation(type:)","kind":"symbol","url":"\/documentation\/jose_swift\/jwk\/cryptokitrepresentation(type:)","abstract":[{"type":"text","text":"Returns a "},{"type":"codeVoice","code":"CryptoKit"},{"text":" representation of the JWK.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWK/Error":{"url":"\/documentation\/jose_swift\/jwk\/error","role":"symbol","abstract":[{"type":"text","text":"An error that can be thrown when working with JWKs."}],"title":"JWK.Error","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"type":"topic","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Error"}]},"doc://jose-swift/documentation/jose_swift/JWK/dp":{"kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"dp","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/dp","role":"symbol","title":"dp","url":"\/documentation\/jose_swift\/jwk\/dp","abstract":[{"text":"The value of the “dp” parameter for an RSA key.","type":"text"}],"type":"topic"},"doc://jose-swift/documentation/jose_swift/JWK/Encodable-Implementations":{"abstract":[],"kind":"article","role":"collectionGroup","url":"\/documentation\/jose_swift\/jwk\/encodable-implementations","title":"Encodable Implementations","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Encodable-Implementations"},"doc://jose-swift/documentation/jose_swift/JWK/n":{"abstract":[{"type":"text","text":"The value of the “n” parameter for an RSA key."}],"type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"n"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/jwk\/n","kind":"symbol","title":"n","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/n"},"https://www.rfc-editor.org/rfc/rfc7638":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7638","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7638","titleInlineContent":[{"type":"text","text":"RFC 7638"}],"title":"RFC 7638"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/q":{"title":"q","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"q"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/q","url":"\/documentation\/jose_swift\/jwk\/q","abstract":[{"text":"The value of the “q” parameter for an RSA key.","type":"text"}],"type":"topic","role":"symbol"},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}]},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWK/qi":{"type":"topic","title":"qi","role":"symbol","abstract":[{"text":"The value of the “qi” parameter for an RSA key.","type":"text"}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"qi","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jwk\/qi","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/qi"},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum","title":"JWK.PublicKeyUse","role":"symbol","abstract":[{"text":"The intended use of the public key.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"PublicKeyUse"}],"url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum","kind":"symbol","navigatorTitle":[{"text":"PublicKeyUse","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWK/x":{"abstract":[{"text":"The value of the “x” parameter for an EC or OKP key.","type":"text"}],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/x","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"x","kind":"identifier"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/jwk\/x","title":"x","role":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWK/Decodable-Implementations":{"abstract":[],"kind":"article","type":"topic","title":"Decodable Implementations","role":"collectionGroup","url":"\/documentation\/jose_swift\/jwk\/decodable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Decodable-Implementations"},"doc://jose-swift/documentation/jose_swift/JWK/x509CertificateSHA256Thumbprint":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"x509CertificateSHA256Thumbprint","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"title":"x509CertificateSHA256Thumbprint","abstract":[{"text":"The X.509 certificate SHA-256 thumbprint.","type":"text"}],"kind":"symbol","url":"\/documentation\/jose_swift\/jwk\/x509certificatesha256thumbprint","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/x509CertificateSHA256Thumbprint","type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK/JWKRepresentable-Implementations":{"kind":"article","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/JWKRepresentable-Implementations","abstract":[],"url":"\/documentation\/jose_swift\/jwk\/jwkrepresentable-implementations","role":"collectionGroup","title":"JWKRepresentable Implementations","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWK/keyOperations-swift.property":{"type":"topic","abstract":[{"text":"The key operations that the key is intended to be used for.","type":"text"}],"role":"symbol","title":"keyOperations","kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"keyOperations"},{"text":": [","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV0B10OperationsO","text":"KeyOperations"},{"kind":"text","text":"]?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/keyOperations-swift.property","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.property"},"doc://jose-swift/documentation/jose_swift/JWK/y":{"kind":"symbol","title":"y","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"y"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/y","url":"\/documentation\/jose_swift\/jwk\/y","abstract":[{"type":"text","text":"The value of the “y” parameter for an EC key."}],"type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/!=(_:_:).json b/data/documentation/jose_swift/jwk/!=(_:_:).json new file mode 100644 index 0000000..d30ebc9 --- /dev/null +++ b/data/documentation/jose_swift/jwk/!=(_:_:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Equatable-Implementations"]]},"abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"Equatable.!=(_:_:)"},{"text":".","type":"text"}],"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/!=(_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"metadata":{"externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:10JSONWebKey3JWKV","symbolKind":"op","role":"symbol","extendedModule":"Swift","title":"!=(_:_:)","modules":[{"name":"jose-swift","relatedModules":["Swift"]}],"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"text":", ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"roleHeading":"Operator"},"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"text":"lhs","kind":"internalParam"},{"kind":"text","text":": "},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"rhs","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}]}],"kind":"declarations"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/!=(_:_:)"},"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/Equatable-Implementations":{"abstract":[],"type":"topic","kind":"article","url":"\/documentation\/jose_swift\/jwk\/equatable-implementations","title":"Equatable Implementations","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Equatable-Implementations"},"doc://jose-swift/documentation/jose_swift/JWK/!=(_:_:)":{"role":"symbol","type":"topic","title":"!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/!=(_:_:)","kind":"symbol","url":"\/documentation\/jose_swift\/jwk\/!=(_:_:)","abstract":[]},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/algorithm.json b/data/documentation/jose_swift/jwk/algorithm.json new file mode 100644 index 0000000..effaa7d --- /dev/null +++ b/data/documentation/jose_swift/jwk/algorithm.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/algorithm"},"abstract":[{"text":"The algorithm intended for use with the key.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"algorithm"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"symbolKind":"property","externalID":"s:10JSONWebKey3JWKV9algorithmSSSgvp","role":"symbol","title":"algorithm","modules":[{"name":"jose-swift"}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"algorithm","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"roleHeading":"Instance Property"},"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/algorithm"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","sections":[],"references":{"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/algorithm":{"type":"topic","abstract":[{"type":"text","text":"The algorithm intended for use with the key."}],"role":"symbol","title":"algorithm","kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"algorithm"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/algorithm","url":"\/documentation\/jose_swift\/jwk\/algorithm"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/cryptographiccurve.json b/data/documentation/jose_swift/jwk/cryptographiccurve.json new file mode 100644 index 0000000..b0ac93a --- /dev/null +++ b/data/documentation/jose_swift/jwk/cryptographiccurve.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/cryptographiccurve"]}],"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/ed25519","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/ed448","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/p256","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/p384","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/p521","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/x25519","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/x448"],"title":"Enumeration Cases"},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/init(rawValue:)"],"title":"Initializers"},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/Equatable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/RawRepresentable-Implementations"],"generated":true,"title":"Default Implementations"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"sections":[],"abstract":[{"text":"The cryptographic curves.","type":"text"}],"metadata":{"title":"JWK.CryptographicCurve","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"CryptographicCurve"}],"navigatorTitle":[{"kind":"identifier","text":"CryptographicCurve"}],"roleHeading":"Enumeration","extendedModule":"JSONWebKey","externalID":"s:10JSONWebKey3JWKV18CryptographicCurveO","symbolKind":"enum","modules":[{"relatedModules":["JSONWebKey"],"name":"jose-swift"}],"role":"symbol"},"schemaVersion":{"major":0,"minor":3,"patch":0},"relationshipsSections":[{"identifiers":["doc:\/\/jose-swift\/s12CaseIterableP","doc:\/\/jose-swift\/Se","doc:\/\/jose-swift\/SE","doc:\/\/jose-swift\/SQ","doc:\/\/jose-swift\/SH","doc:\/\/jose-swift\/SY"],"type":"conformsTo","title":"Conforms To","kind":"relationships"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"CryptographicCurve"}]}]},{"kind":"content","content":[{"text":"Overview","anchor":"overview","level":2,"type":"heading"},{"inlineContent":[{"type":"text","text":"For more information, see https:\/\/www.rfc-editor.org\/rfc\/rfc7518#section-6.1"}],"type":"paragraph"}]}],"references":{"doc://jose-swift/Se":{"title":"Swift.Decodable","type":"unresolvable","identifier":"doc:\/\/jose-swift\/Se"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/p256":{"title":"JWK.CryptographicCurve.p256","kind":"symbol","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/p256","type":"topic","abstract":[],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"p256"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/p256","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/x448":{"title":"JWK.CryptographicCurve.x448","role":"symbol","kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/x448","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/x448","abstract":[],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"x448","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/p384":{"title":"JWK.CryptographicCurve.p384","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/p384","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"p384","kind":"identifier"}],"type":"topic","kind":"symbol","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/p384"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/RawRepresentable-Implementations":{"title":"RawRepresentable Implementations","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/rawrepresentable-implementations","role":"collectionGroup","type":"topic","kind":"article","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/RawRepresentable-Implementations"},"doc://jose-swift/SQ":{"title":"Swift.Equatable","type":"unresolvable","identifier":"doc:\/\/jose-swift\/SQ"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/ed448":{"fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"ed448"}],"url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/ed448","title":"JWK.CryptographicCurve.ed448","type":"topic","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/ed448"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/ed25519":{"abstract":[],"type":"topic","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ed25519"}],"url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/ed25519","kind":"symbol","title":"JWK.CryptographicCurve.ed25519","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/ed25519"},"doc://jose-swift/SE":{"title":"Swift.Encodable","type":"unresolvable","identifier":"doc:\/\/jose-swift\/SE"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/init(rawValue:)":{"abstract":[],"kind":"symbol","role":"symbol","fragments":[{"kind":"identifier","text":"init"},{"text":"?(","kind":"text"},{"text":"rawValue","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/init(rawvalue:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/init(rawValue:)","title":"init(rawValue:)","type":"topic"},"doc://jose-swift/SY":{"title":"Swift.RawRepresentable","type":"unresolvable","identifier":"doc:\/\/jose-swift\/SY"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/x25519":{"abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/x25519","type":"topic","title":"JWK.CryptographicCurve.x25519","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/x25519","role":"symbol","kind":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"x25519"}]},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/p521":{"title":"JWK.CryptographicCurve.p521","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/p521","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"p521"}],"type":"topic","kind":"symbol","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/p521"},"doc://jose-swift/s12CaseIterableP":{"title":"Swift.CaseIterable","type":"unresolvable","identifier":"doc:\/\/jose-swift\/s12CaseIterableP"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/Equatable-Implementations":{"title":"Equatable Implementations","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/equatable-implementations","role":"collectionGroup","type":"topic","kind":"article","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/Equatable-Implementations"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/secp256k1":{"title":"JWK.CryptographicCurve.secp256k1","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/secp256k1","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"secp256k1","kind":"identifier"}],"type":"topic","kind":"symbol","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/secp256k1"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"text":"RFC7517","type":"text"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/SH":{"title":"Swift.Hashable","type":"unresolvable","identifier":"doc:\/\/jose-swift\/SH"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve":{"navigatorTitle":[{"text":"CryptographicCurve","kind":"identifier"}],"title":"JWK.CryptographicCurve","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve","abstract":[{"text":"The cryptographic curves.","type":"text"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"CryptographicCurve","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/cryptographiccurve/!=(_:_:).json b/data/documentation/jose_swift/jwk/cryptographiccurve/!=(_:_:).json new file mode 100644 index 0000000..7d91b34 --- /dev/null +++ b/data/documentation/jose_swift/jwk/cryptographiccurve/!=(_:_:).json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"Inherited from "},{"code":"Equatable.!=(_:_:)","type":"codeVoice"},{"text":".","type":"text"}],"kind":"symbol","sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/!=(_:_:)","interfaceLanguage":"swift"},"metadata":{"role":"symbol","title":"!=(_:_:)","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"modules":[{"relatedModules":["Swift"],"name":"jose-swift"}],"extendedModule":"Swift","symbolKind":"op","roleHeading":"Operator","externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:10JSONWebKey3JWKV18CryptographicCurveO"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/Equatable-Implementations"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/cryptographiccurve\/!=(_:_:)"]}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"!="},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"kind":"internalParam","text":"lhs"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"rhs","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/Equatable-Implementations":{"title":"Equatable Implementations","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/equatable-implementations","role":"collectionGroup","type":"topic","kind":"article","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/Equatable-Implementations"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve":{"navigatorTitle":[{"text":"CryptographicCurve","kind":"identifier"}],"title":"JWK.CryptographicCurve","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve","abstract":[{"text":"The cryptographic curves.","type":"text"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"CryptographicCurve","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/!=(_:_:)":{"role":"symbol","type":"topic","title":"!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/!=(_:_:)","kind":"symbol","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/!=(_:_:)","abstract":[]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/cryptographiccurve/ed25519.json b/data/documentation/jose_swift/jwk/cryptographiccurve/ed25519.json new file mode 100644 index 0000000..5bddf09 --- /dev/null +++ b/data/documentation/jose_swift/jwk/cryptographiccurve/ed25519.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/cryptographiccurve\/ed25519"]}],"sections":[],"kind":"symbol","metadata":{"roleHeading":"Case","symbolKind":"case","externalID":"s:10JSONWebKey3JWKV18CryptographicCurveO7ed25519yA2EmF","modules":[{"name":"jose-swift"}],"title":"JWK.CryptographicCurve.ed25519","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"ed25519","kind":"identifier"}],"role":"symbol"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ed25519"}],"platforms":["macOS"],"languages":["swift"]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/ed25519","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"patch":0,"minor":3},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve":{"navigatorTitle":[{"text":"CryptographicCurve","kind":"identifier"}],"title":"JWK.CryptographicCurve","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve","abstract":[{"text":"The cryptographic curves.","type":"text"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"CryptographicCurve","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"text":"RFC7517","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/ed25519":{"abstract":[],"type":"topic","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ed25519"}],"url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/ed25519","kind":"symbol","title":"JWK.CryptographicCurve.ed25519","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/ed25519"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/cryptographiccurve/ed448.json b/data/documentation/jose_swift/jwk/cryptographiccurve/ed448.json new file mode 100644 index 0000000..aaa3ef0 --- /dev/null +++ b/data/documentation/jose_swift/jwk/cryptographiccurve/ed448.json @@ -0,0 +1 @@ +{"sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ed448"}],"platforms":["macOS"]}]}],"metadata":{"externalID":"s:10JSONWebKey3JWKV18CryptographicCurveO5ed448yA2EmF","title":"JWK.CryptographicCurve.ed448","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ed448"}],"modules":[{"name":"jose-swift"}],"symbolKind":"case","roleHeading":"Case"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve"]]},"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/ed448"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/cryptographiccurve\/ed448"]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"text":"RFC7517","type":"text"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/ed448":{"fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"ed448"}],"url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/ed448","title":"JWK.CryptographicCurve.ed448","type":"topic","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/ed448"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve":{"navigatorTitle":[{"text":"CryptographicCurve","kind":"identifier"}],"title":"JWK.CryptographicCurve","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve","abstract":[{"text":"The cryptographic curves.","type":"text"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"CryptographicCurve","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/cryptographiccurve/encode(to:).json b/data/documentation/jose_swift/jwk/cryptographiccurve/encode(to:).json new file mode 100644 index 0000000..0fb279b --- /dev/null +++ b/data/documentation/jose_swift/jwk/cryptographiccurve/encode(to:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/RawRepresentable-Implementations"]]},"abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"RawRepresentable.encode(to:)"},{"type":"text","text":"."}],"metadata":{"role":"symbol","symbolKind":"method","roleHeading":"Instance Method","title":"encode(to:)","externalID":"s:SYsSERzSS8RawValueSYRtzrlE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:10JSONWebKey3JWKV18CryptographicCurveO","extendedModule":"Swift","modules":[{"relatedModules":["Swift"],"name":"jose-swift"}],"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"to"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"code":"Encodable","type":"codeVoice"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"text":" is ","type":"text"},{"type":"codeVoice","code":"String"},{"text":".","type":"text"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}]}},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/encode(to:)"},"schemaVersion":{"patch":0,"major":0,"minor":3},"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/cryptographiccurve\/encode(to:)"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"encode","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"text":" ","kind":"text"},{"text":"encoder","kind":"internalParam"},{"kind":"text","text":": "},{"text":"Encoder","kind":"typeIdentifier","preciseIdentifier":"s:s7EncoderP"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"platforms":["macOS"],"languages":["swift"]}]}],"references":{"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"text":"RFC7517","type":"text"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/RawRepresentable-Implementations":{"title":"RawRepresentable Implementations","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/rawrepresentable-implementations","role":"collectionGroup","type":"topic","kind":"article","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/RawRepresentable-Implementations"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/encode(to:)":{"type":"topic","abstract":[],"role":"symbol","title":"encode(to:)","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Encodable"},{"text":" and ","type":"text"},{"code":"RawValue","type":"codeVoice"},{"text":" is ","type":"text"},{"type":"codeVoice","code":"String"},{"type":"text","text":"."}],"conformancePrefix":[{"text":"Conforms when","type":"text"}]},"kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"encode"},{"kind":"text","text":"("},{"text":"to","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7EncoderP","text":"Encoder","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/encode(to:)","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/encode(to:)"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve":{"navigatorTitle":[{"text":"CryptographicCurve","kind":"identifier"}],"title":"JWK.CryptographicCurve","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve","abstract":[{"text":"The cryptographic curves.","type":"text"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"CryptographicCurve","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/cryptographiccurve/equatable-implementations.json b/data/documentation/jose_swift/jwk/cryptographiccurve/equatable-implementations.json new file mode 100644 index 0000000..adc0b87 --- /dev/null +++ b/data/documentation/jose_swift/jwk/cryptographiccurve/equatable-implementations.json @@ -0,0 +1 @@ +{"kind":"article","schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve"]]},"topicSections":[{"title":"Operators","generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/!=(_:_:)"]}],"metadata":{"role":"collectionGroup","modules":[{"name":"jose-swift"}],"title":"Equatable Implementations"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/Equatable-Implementations","interfaceLanguage":"swift"},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/cryptographiccurve\/equatable-implementations"]}],"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/!=(_:_:)":{"role":"symbol","type":"topic","title":"!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/!=(_:_:)","kind":"symbol","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/!=(_:_:)","abstract":[]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve":{"navigatorTitle":[{"text":"CryptographicCurve","kind":"identifier"}],"title":"JWK.CryptographicCurve","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve","abstract":[{"text":"The cryptographic curves.","type":"text"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"CryptographicCurve","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/cryptographiccurve/hash(into:).json b/data/documentation/jose_swift/jwk/cryptographiccurve/hash(into:).json new file mode 100644 index 0000000..166cc67 --- /dev/null +++ b/data/documentation/jose_swift/jwk/cryptographiccurve/hash(into:).json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/cryptographiccurve\/hash(into:)"]}],"abstract":[{"text":"Inherited from ","type":"text"},{"code":"RawRepresentable.hash(into:)","type":"codeVoice"},{"type":"text","text":"."}],"metadata":{"extendedModule":"Swift","externalID":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:10JSONWebKey3JWKV18CryptographicCurveO","role":"symbol","symbolKind":"method","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"hash","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"into"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Hasher","kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV"},{"text":")","kind":"text"}],"modules":[{"name":"jose-swift","relatedModules":["Swift"]}],"roleHeading":"Instance Method","title":"hash(into:)","conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}]}},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/hash(into:)","interfaceLanguage":"swift"},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"hash","kind":"identifier"},{"text":"(","kind":"text"},{"text":"into","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"hasher"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"kind":"text","text":" "},{"kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV","text":"Hasher"},{"kind":"text","text":")"}]}]}],"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/RawRepresentable-Implementations"]]},"references":{"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/hash(into:)":{"type":"topic","abstract":[],"role":"symbol","title":"hash(into:)","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}]},"kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"hash","kind":"identifier"},{"kind":"text","text":"("},{"text":"into","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"keyword","text":"inout"},{"text":" ","kind":"text"},{"text":"Hasher","kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV"},{"text":")","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/hash(into:)","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/hash(into:)"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve":{"navigatorTitle":[{"text":"CryptographicCurve","kind":"identifier"}],"title":"JWK.CryptographicCurve","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve","abstract":[{"text":"The cryptographic curves.","type":"text"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"CryptographicCurve","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/RawRepresentable-Implementations":{"title":"RawRepresentable Implementations","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/rawrepresentable-implementations","role":"collectionGroup","type":"topic","kind":"article","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/RawRepresentable-Implementations"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/cryptographiccurve/hashvalue.json b/data/documentation/jose_swift/jwk/cryptographiccurve/hashvalue.json new file mode 100644 index 0000000..e2f94bd --- /dev/null +++ b/data/documentation/jose_swift/jwk/cryptographiccurve/hashvalue.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"hashValue","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"languages":["swift"]}]}],"kind":"symbol","abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"RawRepresentable.hashValue"},{"text":".","type":"text"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/RawRepresentable-Implementations"]]},"metadata":{"externalID":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:10JSONWebKey3JWKV18CryptographicCurveO","extendedModule":"Swift","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"hashValue","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"}],"symbolKind":"property","role":"symbol","roleHeading":"Instance Property","modules":[{"name":"jose-swift","relatedModules":["Swift"]}],"title":"hashValue","conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":"."}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"availabilityPrefix":[{"text":"Available when","type":"text"}]}},"sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/cryptographiccurve\/hashvalue"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/hashValue","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve":{"navigatorTitle":[{"text":"CryptographicCurve","kind":"identifier"}],"title":"JWK.CryptographicCurve","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve","abstract":[{"text":"The cryptographic curves.","type":"text"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"CryptographicCurve","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/RawRepresentable-Implementations":{"title":"RawRepresentable Implementations","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/rawrepresentable-implementations","role":"collectionGroup","type":"topic","kind":"article","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/RawRepresentable-Implementations"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/hashValue":{"type":"topic","abstract":[],"role":"symbol","title":"hashValue","conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"hashValue","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/hashValue","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/hashvalue"},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/cryptographiccurve/init(from:).json b/data/documentation/jose_swift/jwk/cryptographiccurve/init(from:).json new file mode 100644 index 0000000..de91969 --- /dev/null +++ b/data/documentation/jose_swift/jwk/cryptographiccurve/init(from:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/RawRepresentable-Implementations"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/init(from:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"RawRepresentable.init(from:)"},{"type":"text","text":"."}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"kind":"text","text":" "},{"text":"decoder","kind":"internalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s7DecoderP","text":"Decoder","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/cryptographiccurve\/init(from:)"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","metadata":{"role":"symbol","externalID":"s:SYsSeRzSS8RawValueSYRtzrlE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:10JSONWebKey3JWKV18CryptographicCurveO","extendedModule":"Swift","symbolKind":"init","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"roleHeading":"Initializer","modules":[{"name":"jose-swift","relatedModules":["Swift"]}],"title":"init(from:)","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Decodable"},{"text":" and ","type":"text"},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" is "},{"type":"codeVoice","code":"String"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}]}},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/init(from:)":{"type":"topic","abstract":[],"role":"symbol","title":"init(from:)","conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Decodable"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" is "},{"code":"String","type":"codeVoice"},{"type":"text","text":"."}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"kind":"symbol","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7DecoderP","kind":"typeIdentifier","text":"Decoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/init(from:)","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/init(from:)"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve":{"navigatorTitle":[{"text":"CryptographicCurve","kind":"identifier"}],"title":"JWK.CryptographicCurve","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve","abstract":[{"text":"The cryptographic curves.","type":"text"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"CryptographicCurve","kind":"identifier"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/RawRepresentable-Implementations":{"title":"RawRepresentable Implementations","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/rawrepresentable-implementations","role":"collectionGroup","type":"topic","kind":"article","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/RawRepresentable-Implementations"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/cryptographiccurve/init(rawvalue:).json b/data/documentation/jose_swift/jwk/cryptographiccurve/init(rawvalue:).json new file mode 100644 index 0000000..c1384ac --- /dev/null +++ b/data/documentation/jose_swift/jwk/cryptographiccurve/init(rawvalue:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"tokens":[{"text":"init","kind":"keyword"},{"text":"?(","kind":"text"},{"text":"rawValue","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/init(rawValue:)","interfaceLanguage":"swift"},"kind":"symbol","metadata":{"fragments":[{"text":"init","kind":"identifier"},{"text":"?(","kind":"text"},{"kind":"externalParam","text":"rawValue"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":")","kind":"text"}],"role":"symbol","modules":[{"name":"jose-swift"}],"title":"init(rawValue:)","symbolKind":"init","externalID":"s:10JSONWebKey3JWKV18CryptographicCurveO8rawValueAESgSS_tcfc","roleHeading":"Initializer"},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/cryptographiccurve\/init(rawvalue:)"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"RawRepresentable.init(rawValue:)"},{"text":".","type":"text"}],"schemaVersion":{"patch":0,"minor":3,"major":0},"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve":{"navigatorTitle":[{"text":"CryptographicCurve","kind":"identifier"}],"title":"JWK.CryptographicCurve","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve","abstract":[{"text":"The cryptographic curves.","type":"text"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"CryptographicCurve","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/init(rawValue:)":{"abstract":[],"kind":"symbol","role":"symbol","fragments":[{"kind":"identifier","text":"init"},{"text":"?(","kind":"text"},{"text":"rawValue","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/init(rawvalue:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/init(rawValue:)","title":"init(rawValue:)","type":"topic"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/cryptographiccurve/p256.json b/data/documentation/jose_swift/jwk/cryptographiccurve/p256.json new file mode 100644 index 0000000..aa9fe9f --- /dev/null +++ b/data/documentation/jose_swift/jwk/cryptographiccurve/p256.json @@ -0,0 +1 @@ +{"metadata":{"title":"JWK.CryptographicCurve.p256","symbolKind":"case","roleHeading":"Case","modules":[{"name":"jose-swift"}],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"p256","kind":"identifier"}],"externalID":"s:10JSONWebKey3JWKV18CryptographicCurveO4p256yA2EmF","role":"symbol"},"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve"]]},"sections":[],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"p256"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/cryptographiccurve\/p256"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/p256"},"kind":"symbol","references":{"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve":{"navigatorTitle":[{"text":"CryptographicCurve","kind":"identifier"}],"title":"JWK.CryptographicCurve","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve","abstract":[{"text":"The cryptographic curves.","type":"text"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"CryptographicCurve","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/p256":{"title":"JWK.CryptographicCurve.p256","kind":"symbol","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/p256","type":"topic","abstract":[],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"p256"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/p256","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/cryptographiccurve/p384.json b/data/documentation/jose_swift/jwk/cryptographiccurve/p384.json new file mode 100644 index 0000000..ecfafbb --- /dev/null +++ b/data/documentation/jose_swift/jwk/cryptographiccurve/p384.json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"p384","kind":"identifier"}]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/cryptographiccurve\/p384"]}],"metadata":{"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"p384","kind":"identifier"}],"title":"JWK.CryptographicCurve.p384","externalID":"s:10JSONWebKey3JWKV18CryptographicCurveO4p384yA2EmF","role":"symbol","roleHeading":"Case","symbolKind":"case","modules":[{"name":"jose-swift"}]},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/p384"},"sections":[],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/p384":{"title":"JWK.CryptographicCurve.p384","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/p384","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"p384","kind":"identifier"}],"type":"topic","kind":"symbol","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/p384"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve":{"navigatorTitle":[{"text":"CryptographicCurve","kind":"identifier"}],"title":"JWK.CryptographicCurve","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve","abstract":[{"text":"The cryptographic curves.","type":"text"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"CryptographicCurve","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"text":"RFC7517","type":"text"}],"type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/cryptographiccurve/p521.json b/data/documentation/jose_swift/jwk/cryptographiccurve/p521.json new file mode 100644 index 0000000..8e68766 --- /dev/null +++ b/data/documentation/jose_swift/jwk/cryptographiccurve/p521.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/p521"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/cryptographiccurve\/p521"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"p521"}]}]}],"kind":"symbol","metadata":{"roleHeading":"Case","modules":[{"name":"jose-swift"}],"symbolKind":"case","externalID":"s:10JSONWebKey3JWKV18CryptographicCurveO4p521yA2EmF","title":"JWK.CryptographicCurve.p521","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"p521","kind":"identifier"}]},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/p521":{"title":"JWK.CryptographicCurve.p521","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/p521","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"p521"}],"type":"topic","kind":"symbol","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/p521"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"text":"RFC7517","type":"text"}],"title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve":{"navigatorTitle":[{"text":"CryptographicCurve","kind":"identifier"}],"title":"JWK.CryptographicCurve","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve","abstract":[{"text":"The cryptographic curves.","type":"text"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"CryptographicCurve","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/cryptographiccurve/rawrepresentable-implementations.json b/data/documentation/jose_swift/jwk/cryptographiccurve/rawrepresentable-implementations.json new file mode 100644 index 0000000..1178905 --- /dev/null +++ b/data/documentation/jose_swift/jwk/cryptographiccurve/rawrepresentable-implementations.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/cryptographiccurve\/rawrepresentable-implementations"]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"title":"RawRepresentable Implementations","role":"collectionGroup","modules":[{"name":"jose-swift"}]},"sections":[],"kind":"article","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/RawRepresentable-Implementations"},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/init(from:)"],"generated":true},{"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/hashValue"],"generated":true},{"generated":true,"title":"Instance Methods","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/encode(to:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/hash(into:)"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve"]]},"references":{"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/init(from:)":{"type":"topic","abstract":[],"role":"symbol","title":"init(from:)","conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Decodable"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" is "},{"code":"String","type":"codeVoice"},{"type":"text","text":"."}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"kind":"symbol","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7DecoderP","kind":"typeIdentifier","text":"Decoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/init(from:)","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/init(from:)"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/encode(to:)":{"type":"topic","abstract":[],"role":"symbol","title":"encode(to:)","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Encodable"},{"text":" and ","type":"text"},{"code":"RawValue","type":"codeVoice"},{"text":" is ","type":"text"},{"type":"codeVoice","code":"String"},{"type":"text","text":"."}],"conformancePrefix":[{"text":"Conforms when","type":"text"}]},"kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"encode"},{"kind":"text","text":"("},{"text":"to","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7EncoderP","text":"Encoder","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/encode(to:)","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/encode(to:)"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/hash(into:)":{"type":"topic","abstract":[],"role":"symbol","title":"hash(into:)","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}]},"kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"hash","kind":"identifier"},{"kind":"text","text":"("},{"text":"into","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"keyword","text":"inout"},{"text":" ","kind":"text"},{"text":"Hasher","kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV"},{"text":")","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/hash(into:)","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/hash(into:)"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve":{"navigatorTitle":[{"text":"CryptographicCurve","kind":"identifier"}],"title":"JWK.CryptographicCurve","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve","abstract":[{"text":"The cryptographic curves.","type":"text"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"CryptographicCurve","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/hashValue":{"type":"topic","abstract":[],"role":"symbol","title":"hashValue","conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"hashValue","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/hashValue","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/hashvalue"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/cryptographiccurve/secp256k1.json b/data/documentation/jose_swift/jwk/cryptographiccurve/secp256k1.json new file mode 100644 index 0000000..43253bb --- /dev/null +++ b/data/documentation/jose_swift/jwk/cryptographiccurve/secp256k1.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/secp256k1","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"secp256k1"}]}],"kind":"declarations"}],"metadata":{"role":"symbol","roleHeading":"Case","modules":[{"name":"jose-swift"}],"title":"JWK.CryptographicCurve.secp256k1","symbolKind":"case","externalID":"s:10JSONWebKey3JWKV18CryptographicCurveO9secp256k1yA2EmF","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"secp256k1","kind":"identifier"}]},"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/cryptographiccurve\/secp256k1"]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/secp256k1":{"title":"JWK.CryptographicCurve.secp256k1","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/secp256k1","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"secp256k1","kind":"identifier"}],"type":"topic","kind":"symbol","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/secp256k1"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve":{"navigatorTitle":[{"text":"CryptographicCurve","kind":"identifier"}],"title":"JWK.CryptographicCurve","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve","abstract":[{"text":"The cryptographic curves.","type":"text"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"CryptographicCurve","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/cryptographiccurve/x25519.json b/data/documentation/jose_swift/jwk/cryptographiccurve/x25519.json new file mode 100644 index 0000000..85f0f5e --- /dev/null +++ b/data/documentation/jose_swift/jwk/cryptographiccurve/x25519.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"x25519","kind":"identifier"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/cryptographiccurve\/x25519"]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/x25519","interfaceLanguage":"swift"},"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"x25519"}],"title":"JWK.CryptographicCurve.x25519","symbolKind":"case","roleHeading":"Case","modules":[{"name":"jose-swift"}],"role":"symbol","externalID":"s:10JSONWebKey3JWKV18CryptographicCurveO6x25519yA2EmF"},"references":{"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve":{"navigatorTitle":[{"text":"CryptographicCurve","kind":"identifier"}],"title":"JWK.CryptographicCurve","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve","abstract":[{"text":"The cryptographic curves.","type":"text"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"CryptographicCurve","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"text":"RFC7517","type":"text"}],"title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/x25519":{"abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/x25519","type":"topic","title":"JWK.CryptographicCurve.x25519","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/x25519","role":"symbol","kind":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"x25519"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/cryptographiccurve/x448.json b/data/documentation/jose_swift/jwk/cryptographiccurve/x448.json new file mode 100644 index 0000000..4a6aa4d --- /dev/null +++ b/data/documentation/jose_swift/jwk/cryptographiccurve/x448.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"x448","kind":"identifier"}]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/cryptographiccurve\/x448"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve"]]},"kind":"symbol","metadata":{"role":"symbol","roleHeading":"Case","externalID":"s:10JSONWebKey3JWKV18CryptographicCurveO4x448yA2EmF","title":"JWK.CryptographicCurve.x448","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"x448"}],"symbolKind":"case","modules":[{"name":"jose-swift"}]},"sections":[],"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/x448","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve":{"navigatorTitle":[{"text":"CryptographicCurve","kind":"identifier"}],"title":"JWK.CryptographicCurve","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve","abstract":[{"text":"The cryptographic curves.","type":"text"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"CryptographicCurve","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve/x448":{"title":"JWK.CryptographicCurve.x448","role":"symbol","kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/x448","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve\/x448","abstract":[],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"x448","kind":"identifier"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","type":"link"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/cryptokitrepresentation(type:).json b/data/documentation/jose_swift/jwk/cryptokitrepresentation(type:).json new file mode 100644 index 0000000..25dfd94 --- /dev/null +++ b/data/documentation/jose_swift/jwk/cryptokitrepresentation(type:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"metadata":{"roleHeading":"Instance Method","externalID":"s:10JSONWebKey3JWKV0A10AlgorithmsE23cryptoKitRepresentation4typexxm_tKlF","modules":[{"relatedModules":["JSONWebKey"],"name":"jose-swift"}],"role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"cryptoKitRepresentation","kind":"identifier"},{"text":"<","kind":"text"},{"text":"T","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"type"},{"text":": ","kind":"text"},{"text":"T","kind":"typeIdentifier"},{"text":".Type) ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"T","kind":"typeIdentifier"}],"extendedModule":"JSONWebKey","title":"cryptoKitRepresentation(type:)","symbolKind":"method"},"schemaVersion":{"patch":0,"minor":3,"major":0},"kind":"symbol","sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/cryptoKitRepresentation(type:)"},"abstract":[{"text":"Returns a ","type":"text"},{"type":"codeVoice","code":"CryptoKit"},{"type":"text","text":" representation of the JWK."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"cryptoKitRepresentation"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":">("},{"text":"type","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"T","kind":"typeIdentifier"},{"text":".Type) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"T","kind":"typeIdentifier"}]}]},{"kind":"parameters","parameters":[{"content":[{"inlineContent":[{"text":"The type of ","type":"text"},{"type":"codeVoice","code":"CryptoKit"},{"type":"text","text":" object to return."}],"type":"paragraph"}],"name":"type"}]},{"kind":"content","content":[{"text":"Return Value","level":2,"type":"heading","anchor":"return-value"},{"type":"paragraph","inlineContent":[{"text":"The ","type":"text"},{"type":"codeVoice","code":"CryptoKit"},{"type":"text","text":" object."}]}]},{"kind":"content","content":[{"type":"heading","anchor":"discussion","level":2,"text":"Discussion"},{"type":"aside","style":"note","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":""},{"code":"JWK.Error","type":"codeVoice"},{"text":" if the JWK is not compatible with the specified ","type":"text"},{"type":"codeVoice","code":"CryptoKit"},{"text":" type, or if a required component is missing.","type":"text"}]}],"name":"Throws"}]}],"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/cryptokitrepresentation(type:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK/cryptoKitRepresentation(type:)":{"role":"symbol","type":"topic","title":"cryptoKitRepresentation(type:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"cryptoKitRepresentation","kind":"identifier"},{"text":"<","kind":"text"},{"text":"T","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"type"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":".Type) "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"T","kind":"typeIdentifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/cryptoKitRepresentation(type:)","kind":"symbol","url":"\/documentation\/jose_swift\/jwk\/cryptokitrepresentation(type:)","abstract":[{"type":"text","text":"Returns a "},{"type":"codeVoice","code":"CryptoKit"},{"text":" representation of the JWK.","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/curve.json b/data/documentation/jose_swift/jwk/curve.json new file mode 100644 index 0000000..e6e6298 --- /dev/null +++ b/data/documentation/jose_swift/jwk/curve.json @@ -0,0 +1 @@ +{"metadata":{"modules":[{"name":"jose-swift"}],"externalID":"s:10JSONWebKey3JWKV5curveAC18CryptographicCurveOSgvp","symbolKind":"property","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"curve","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"text":".","kind":"text"},{"text":"CryptographicCurve","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV18CryptographicCurveO"},{"kind":"text","text":"?"}],"title":"curve","role":"symbol","roleHeading":"Instance Property"},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"curve"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":".","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","text":"CryptographicCurve","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV18CryptographicCurveO"},{"text":"?","kind":"text"}],"platforms":["macOS"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/curve"]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","abstract":[{"text":"The cryptographic curve used with an EC key.","type":"text"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/curve"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve":{"navigatorTitle":[{"text":"CryptographicCurve","kind":"identifier"}],"title":"JWK.CryptographicCurve","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve","abstract":[{"text":"The cryptographic curves.","type":"text"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"CryptographicCurve","kind":"identifier"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/curve":{"url":"\/documentation\/jose_swift\/jwk\/curve","type":"topic","abstract":[{"type":"text","text":"The cryptographic curve used with an EC key."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/curve","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"curve","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"."},{"preciseIdentifier":"s:10JSONWebKey3JWKV18CryptographicCurveO","text":"CryptographicCurve","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"title":"curve","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/d.json b/data/documentation/jose_swift/jwk/d.json new file mode 100644 index 0000000..0f9bf6a --- /dev/null +++ b/data/documentation/jose_swift/jwk/d.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"metadata":{"title":"d","roleHeading":"Instance Property","role":"symbol","modules":[{"name":"jose-swift"}],"externalID":"s:10JSONWebKey3JWKV1d10Foundation4DataVSgvp","symbolKind":"property","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"d","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?","kind":"text"}]},"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/d","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"The value of the “d” parameter for an EC or RSA key."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"d","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/d"]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/d":{"role":"symbol","type":"topic","title":"d","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"d","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/d","kind":"symbol","url":"\/documentation\/jose_swift\/jwk\/d","abstract":[{"type":"text","text":"The value of the “d” parameter for an EC or RSA key."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/decodable-implementations.json b/data/documentation/jose_swift/jwk/decodable-implementations.json new file mode 100644 index 0000000..5df2a73 --- /dev/null +++ b/data/documentation/jose_swift/jwk/decodable-implementations.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"sections":[],"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"article","metadata":{"title":"Decodable Implementations","modules":[{"name":"jose-swift"}],"role":"collectionGroup"},"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/decodable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Decodable-Implementations","interfaceLanguage":"swift"},"topicSections":[{"title":"Initializers","generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/init(from:)"]}],"references":{"doc://jose-swift/documentation/jose_swift/JWK/init(from:)":{"url":"\/documentation\/jose_swift\/jwk\/init(from:)","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/init(from:)","type":"topic","role":"symbol","abstract":[],"title":"init(from:)"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/dp.json b/data/documentation/jose_swift/jwk/dp.json new file mode 100644 index 0000000..eefc7b0 --- /dev/null +++ b/data/documentation/jose_swift/jwk/dp.json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"The value of the “dp” parameter for an RSA key."}],"metadata":{"roleHeading":"Instance Property","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"dp","kind":"identifier"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"externalID":"s:10JSONWebKey3JWKV2dp10Foundation4DataVSgvp","modules":[{"name":"jose-swift"}],"symbolKind":"property","title":"dp","role":"symbol"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"dp","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]}],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/dp"},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/dp"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","type":"link","titleInlineContent":[{"text":"RFC7517","type":"text"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/dp":{"kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"dp","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/dp","role":"symbol","title":"dp","url":"\/documentation\/jose_swift\/jwk\/dp","abstract":[{"text":"The value of the “dp” parameter for an RSA key.","type":"text"}],"type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/dq.json b/data/documentation/jose_swift/jwk/dq.json new file mode 100644 index 0000000..a06adcb --- /dev/null +++ b/data/documentation/jose_swift/jwk/dq.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"dq","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}]}]}],"metadata":{"role":"symbol","title":"dq","modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","symbolKind":"property","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"dq","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"externalID":"s:10JSONWebKey3JWKV2dq10Foundation4DataVSgvp"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"abstract":[{"type":"text","text":"The value of the “dq” parameter for an RSA key."}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/dq"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/dq"]}],"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/dq":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/dq","type":"topic","title":"dq","role":"symbol","url":"\/documentation\/jose_swift\/jwk\/dq","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"dq","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"The value of the “dq” parameter for an RSA key."}]},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"text":"RFC7517","type":"text"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/e.json b/data/documentation/jose_swift/jwk/e.json new file mode 100644 index 0000000..b36f6af --- /dev/null +++ b/data/documentation/jose_swift/jwk/e.json @@ -0,0 +1 @@ +{"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/e"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"abstract":[{"text":"The value of the “e” parameter for an RSA key.","type":"text"}],"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/e"]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"metadata":{"externalID":"s:10JSONWebKey3JWKV1e10Foundation4DataVSgvp","title":"e","roleHeading":"Instance Property","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"e","kind":"identifier"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"symbolKind":"property","modules":[{"name":"jose-swift"}],"role":"symbol"},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"e"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/e":{"abstract":[{"text":"The value of the “e” parameter for an RSA key.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/e","url":"\/documentation\/jose_swift\/jwk\/e","kind":"symbol","title":"e","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"e"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/encodable-implementations.json b/data/documentation/jose_swift/jwk/encodable-implementations.json new file mode 100644 index 0000000..5f7b110 --- /dev/null +++ b/data/documentation/jose_swift/jwk/encodable-implementations.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"topicSections":[{"title":"Instance Methods","generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/encode(to:)"]}],"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/encodable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"article","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Encodable-Implementations","interfaceLanguage":"swift"},"metadata":{"modules":[{"name":"jose-swift"}],"title":"Encodable Implementations","role":"collectionGroup"},"sections":[],"schemaVersion":{"minor":3,"major":0,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift/JWK/encode(to:)":{"kind":"symbol","abstract":[],"role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Encoder","kind":"typeIdentifier","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"url":"\/documentation\/jose_swift\/jwk\/encode(to:)","title":"encode(to:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/encode(to:)"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/encode(to:).json b/data/documentation/jose_swift/jwk/encode(to:).json new file mode 100644 index 0000000..24f90f1 --- /dev/null +++ b/data/documentation/jose_swift/jwk/encode(to:).json @@ -0,0 +1 @@ +{"metadata":{"symbolKind":"method","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"kind":"text","text":"("},{"text":"to","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Encoder","preciseIdentifier":"s:s7EncoderP","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"extendedModule":"JSONWebKey","title":"encode(to:)","externalID":"s:10JSONWebKey3JWKV6encode2toys7Encoder_p_tKF","role":"symbol","modules":[{"name":"jose-swift","relatedModules":["JSONWebKey"]}],"roleHeading":"Instance Method"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"to"},{"kind":"text","text":" "},{"text":"encoder","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s7EncoderP","text":"Encoder"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}]}],"kind":"declarations"}],"kind":"symbol","sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"text":"Inherited from ","type":"text"},{"code":"Encodable.encode(to:)","type":"codeVoice"},{"type":"text","text":"."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/encode(to:)"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Encodable-Implementations"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/encode(to:)"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/encode(to:)":{"kind":"symbol","abstract":[],"role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Encoder","kind":"typeIdentifier","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"url":"\/documentation\/jose_swift\/jwk\/encode(to:)","title":"encode(to:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/encode(to:)"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/Encodable-Implementations":{"abstract":[],"kind":"article","role":"collectionGroup","url":"\/documentation\/jose_swift\/jwk\/encodable-implementations","title":"Encodable Implementations","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Encodable-Implementations"},"https://www.rfc-editor.org/rfc/rfc7517":{"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/equatable-implementations.json b/data/documentation/jose_swift/jwk/equatable-implementations.json new file mode 100644 index 0000000..41e9c96 --- /dev/null +++ b/data/documentation/jose_swift/jwk/equatable-implementations.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/!=(_:_:)"],"generated":true,"title":"Operators"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Equatable-Implementations"},"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"title":"Equatable Implementations","modules":[{"name":"jose-swift"}],"role":"collectionGroup"},"sections":[],"kind":"article","variants":[{"paths":["\/documentation\/jose_swift\/jwk\/equatable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/!=(_:_:)":{"role":"symbol","type":"topic","title":"!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/!=(_:_:)","kind":"symbol","url":"\/documentation\/jose_swift\/jwk\/!=(_:_:)","abstract":[]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"text":"RFC7517","type":"text"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/error.json b/data/documentation/jose_swift/jwk/error.json new file mode 100644 index 0000000..7d32022 --- /dev/null +++ b/data/documentation/jose_swift/jwk/error.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/error"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"schemaVersion":{"patch":0,"minor":3,"major":0},"abstract":[{"type":"text","text":"An error that can be thrown when working with JWKs."}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Error"}],"languages":["swift"]}],"kind":"declarations"},{"kind":"content","content":[{"type":"heading","text":"Overview","anchor":"overview","level":2},{"inlineContent":[{"type":"text","text":"This enumeration defines the errors that can be thrown when working with JWKs."}],"type":"paragraph"}]}],"metadata":{"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"title":"JWK.Error","symbolKind":"enum","roleHeading":"Enumeration","modules":[{"relatedModules":["JSONWebKey"],"name":"jose-swift"}],"role":"symbol","externalID":"s:10JSONWebKey3JWKV5ErrorO","extendedModule":"JSONWebKey","navigatorTitle":[{"text":"Error","kind":"identifier"}]},"topicSections":[{"title":"Enumeration Cases","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/jweIncompatibleKeys","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/keyNotFound","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/keyWithIDNotFound(_:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/missingDComponent","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/missingEComponent","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/missingNComponent","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/missingPrimesComponent","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/missingXComponent","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/missingYComponent","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/notSupported"]},{"title":"Default Implementations","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/Equatable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/Error-Implementations"],"generated":true}],"relationshipsSections":[{"kind":"relationships","title":"Conforms To","type":"conformsTo","identifiers":["doc:\/\/jose-swift\/SQ","doc:\/\/jose-swift\/s5ErrorP","doc:\/\/jose-swift\/s8SendableP"]}],"sections":[],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/Error/missingXComponent":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/missingXComponent","role":"symbol","abstract":[{"text":"The “x” component of an EC or OKP key is missing.","type":"text"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"missingXComponent","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwk\/error\/missingxcomponent","type":"topic","title":"JWK.Error.missingXComponent"},"doc://jose-swift/documentation/jose_swift/JWK/Error/Equatable-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/Equatable-Implementations","abstract":[],"title":"Equatable Implementations","kind":"article","role":"collectionGroup","url":"\/documentation\/jose_swift\/jwk\/error\/equatable-implementations","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWK/Error/notSupported":{"url":"\/documentation\/jose_swift\/jwk\/error\/notsupported","abstract":[{"text":"The key type is not supported.","type":"text"}],"title":"JWK.Error.notSupported","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"notSupported"}],"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/notSupported","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK/Error/keyWithIDNotFound(_:)":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/keyWithIDNotFound(_:)","role":"symbol","abstract":[{"text":"The specified key ID was not found in the JWK set.","type":"text"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"keyWithIDNotFound"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":")"}],"url":"\/documentation\/jose_swift\/jwk\/error\/keywithidnotfound(_:)","title":"JWK.Error.keyWithIDNotFound(_:)","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWK/Error/Error-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/Error-Implementations","url":"\/documentation\/jose_swift\/jwk\/error\/error-implementations","role":"collectionGroup","title":"Error Implementations","abstract":[],"kind":"article","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWK/Error/missingEComponent":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/missingEComponent","role":"symbol","abstract":[{"type":"text","text":"The “e” component of an RSA key is missing."}],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"missingEComponent"}],"url":"\/documentation\/jose_swift\/jwk\/error\/missingecomponent","type":"topic","title":"JWK.Error.missingEComponent"},"doc://jose-swift/documentation/jose_swift/JWK/Error/missingYComponent":{"url":"\/documentation\/jose_swift\/jwk\/error\/missingycomponent","role":"symbol","abstract":[{"text":"The “y” component of an EC key is missing.","type":"text"}],"title":"JWK.Error.missingYComponent","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/missingYComponent","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"missingYComponent","kind":"identifier"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK/Error/missingPrimesComponent":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/missingPrimesComponent","role":"symbol","abstract":[{"text":"The “p” and “q” components of a RSA key is missing.","type":"text"}],"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"missingPrimesComponent"}],"url":"\/documentation\/jose_swift\/jwk\/error\/missingprimescomponent","title":"JWK.Error.missingPrimesComponent","type":"topic"},"doc://jose-swift/s8SendableP":{"type":"unresolvable","identifier":"doc:\/\/jose-swift\/s8SendableP","title":"Swift.Sendable"},"doc://jose-swift/documentation/jose_swift/JWK/Error/keyNotFound":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/keyNotFound","role":"symbol","abstract":[{"type":"text","text":"The key was not found in the JWK set."}],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyNotFound"}],"url":"\/documentation\/jose_swift\/jwk\/error\/keynotfound","title":"JWK.Error.keyNotFound","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWK/Error":{"url":"\/documentation\/jose_swift\/jwk\/error","role":"symbol","abstract":[{"type":"text","text":"An error that can be thrown when working with JWKs."}],"title":"JWK.Error","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"type":"topic","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Error"}]},"doc://jose-swift/documentation/jose_swift/JWK/Error/missingDComponent":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/missingDComponent","role":"symbol","abstract":[{"text":"The “d” component of an EC or RSA key is missing.","type":"text"}],"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"missingDComponent"}],"url":"\/documentation\/jose_swift\/jwk\/error\/missingdcomponent","type":"topic","title":"JWK.Error.missingDComponent"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/Error/missingNComponent":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/missingNComponent","role":"symbol","abstract":[{"type":"text","text":"The “n” component of an RSA key is missing."}],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"missingNComponent"}],"url":"\/documentation\/jose_swift\/jwk\/error\/missingncomponent","title":"JWK.Error.missingNComponent","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWK/Error/jweIncompatibleKeys":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/jweIncompatibleKeys","role":"symbol","abstract":[{"text":"The keys used in the JWE are incompatible.","type":"text"}],"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jweIncompatibleKeys"}],"url":"\/documentation\/jose_swift\/jwk\/error\/jweincompatiblekeys","type":"topic","title":"JWK.Error.jweIncompatibleKeys"},"doc://jose-swift/SQ":{"type":"unresolvable","identifier":"doc:\/\/jose-swift\/SQ","title":"Swift.Equatable"},"doc://jose-swift/s5ErrorP":{"type":"unresolvable","identifier":"doc:\/\/jose-swift\/s5ErrorP","title":"Swift.Error"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"text":"RFC7517","type":"text"}],"title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/error/!=(_:_:).json b/data/documentation/jose_swift/jwk/error/!=(_:_:).json new file mode 100644 index 0000000..d842099 --- /dev/null +++ b/data/documentation/jose_swift/jwk/error/!=(_:_:).json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"Inherited from "},{"code":"Equatable.!=(_:_:)","type":"codeVoice"},{"text":".","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/error\/!=(_:_:)"]}],"metadata":{"title":"!=(_:_:)","symbolKind":"op","modules":[{"relatedModules":["Swift"],"name":"jose-swift"}],"extendedModule":"Swift","roleHeading":"Operator","externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:10JSONWebKey3JWKV5ErrorO","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"!="},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"role":"symbol"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"text":"lhs","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"text":", ","kind":"text"},{"kind":"internalParam","text":"rhs"},{"kind":"text","text":": "},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"platforms":["macOS"],"languages":["swift"]}]}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/Equatable-Implementations"]]},"sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/!=(_:_:)","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/Error/Equatable-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/Equatable-Implementations","abstract":[],"title":"Equatable Implementations","kind":"article","role":"collectionGroup","url":"\/documentation\/jose_swift\/jwk\/error\/equatable-implementations","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/Error":{"url":"\/documentation\/jose_swift\/jwk\/error","role":"symbol","abstract":[{"type":"text","text":"An error that can be thrown when working with JWKs."}],"title":"JWK.Error","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"type":"topic","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Error"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"text":"RFC7517","type":"text"}],"title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK/Error/!=(_:_:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/!=(_:_:)","abstract":[],"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"kind":"text","text":" "},{"kind":"text","text":"("},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"title":"!=(_:_:)","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/jwk\/error\/!=(_:_:)","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/error/equatable-implementations.json b/data/documentation/jose_swift/jwk/error/equatable-implementations.json new file mode 100644 index 0000000..2c68ec2 --- /dev/null +++ b/data/documentation/jose_swift/jwk/error/equatable-implementations.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/Equatable-Implementations","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"minor":3,"major":0},"metadata":{"title":"Equatable Implementations","modules":[{"name":"jose-swift"}],"role":"collectionGroup"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/error\/equatable-implementations"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error"]]},"kind":"article","sections":[],"topicSections":[{"title":"Operators","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/!=(_:_:)"],"generated":true}],"references":{"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK/Error":{"url":"\/documentation\/jose_swift\/jwk\/error","role":"symbol","abstract":[{"type":"text","text":"An error that can be thrown when working with JWKs."}],"title":"JWK.Error","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"type":"topic","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Error"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/Error/!=(_:_:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/!=(_:_:)","abstract":[],"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"kind":"text","text":" "},{"kind":"text","text":"("},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"title":"!=(_:_:)","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/jwk\/error\/!=(_:_:)","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/error/error-implementations.json b/data/documentation/jose_swift/jwk/error/error-implementations.json new file mode 100644 index 0000000..9dffdcc --- /dev/null +++ b/data/documentation/jose_swift/jwk/error/error-implementations.json @@ -0,0 +1 @@ +{"metadata":{"modules":[{"name":"jose-swift"}],"role":"collectionGroup","title":"Error Implementations"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error"]]},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/Error-Implementations","interfaceLanguage":"swift"},"kind":"article","schemaVersion":{"patch":0,"major":0,"minor":3},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/localizedDescription"],"title":"Instance Properties","generated":true}],"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/error\/error-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK/Error":{"url":"\/documentation\/jose_swift\/jwk\/error","role":"symbol","abstract":[{"type":"text","text":"An error that can be thrown when working with JWKs."}],"title":"JWK.Error","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"type":"topic","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Error"}]},"doc://jose-swift/documentation/jose_swift/JWK/Error/localizedDescription":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/localizedDescription","url":"\/documentation\/jose_swift\/jwk\/error\/localizeddescription","role":"symbol","title":"localizedDescription","abstract":[],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"localizedDescription","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"kind":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/error/jweincompatiblekeys.json b/data/documentation/jose_swift/jwk/error/jweincompatiblekeys.json new file mode 100644 index 0000000..3bf52a9 --- /dev/null +++ b/data/documentation/jose_swift/jwk/error/jweincompatiblekeys.json @@ -0,0 +1 @@ +{"metadata":{"role":"symbol","externalID":"s:10JSONWebKey3JWKV5ErrorO19jweIncompatibleKeysyA2EmF","symbolKind":"case","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"jweIncompatibleKeys","kind":"identifier"}],"modules":[{"name":"jose-swift"}],"roleHeading":"Case","title":"JWK.Error.jweIncompatibleKeys"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/error\/jweincompatiblekeys"]}],"abstract":[{"type":"text","text":"The keys used in the JWE are incompatible."}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/jweIncompatibleKeys","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error"]]},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"jweIncompatibleKeys"}],"languages":["swift"],"platforms":["macOS"]}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWK/Error/jweIncompatibleKeys":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/jweIncompatibleKeys","role":"symbol","abstract":[{"text":"The keys used in the JWE are incompatible.","type":"text"}],"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jweIncompatibleKeys"}],"url":"\/documentation\/jose_swift\/jwk\/error\/jweincompatiblekeys","type":"topic","title":"JWK.Error.jweIncompatibleKeys"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"text":"RFC7517","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWK/Error":{"url":"\/documentation\/jose_swift\/jwk\/error","role":"symbol","abstract":[{"type":"text","text":"An error that can be thrown when working with JWKs."}],"title":"JWK.Error","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"type":"topic","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Error"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/error/keynotfound.json b/data/documentation/jose_swift/jwk/error/keynotfound.json new file mode 100644 index 0000000..8bce3d1 --- /dev/null +++ b/data/documentation/jose_swift/jwk/error/keynotfound.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/keyNotFound"},"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"text":"The key was not found in the JWK set.","type":"text"}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"keyNotFound","kind":"identifier"}],"languages":["swift"]}],"kind":"declarations"}],"metadata":{"role":"symbol","roleHeading":"Case","modules":[{"name":"jose-swift"}],"title":"JWK.Error.keyNotFound","symbolKind":"case","externalID":"s:10JSONWebKey3JWKV5ErrorO11keyNotFoundyA2EmF","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"keyNotFound"}]},"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/error\/keynotfound"]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK/Error":{"url":"\/documentation\/jose_swift\/jwk\/error","role":"symbol","abstract":[{"type":"text","text":"An error that can be thrown when working with JWKs."}],"title":"JWK.Error","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"type":"topic","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Error"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/Error/keyNotFound":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/keyNotFound","role":"symbol","abstract":[{"type":"text","text":"The key was not found in the JWK set."}],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyNotFound"}],"url":"\/documentation\/jose_swift\/jwk\/error\/keynotfound","title":"JWK.Error.keyNotFound","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/error/keywithidnotfound(_:).json b/data/documentation/jose_swift/jwk/error/keywithidnotfound(_:).json new file mode 100644 index 0000000..8aef0c0 --- /dev/null +++ b/data/documentation/jose_swift/jwk/error/keywithidnotfound(_:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error"]]},"kind":"symbol","schemaVersion":{"minor":3,"major":0,"patch":0},"abstract":[{"type":"text","text":"The specified key ID was not found in the JWK set."}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"keyWithIDNotFound"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}]}],"kind":"declarations"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/keyWithIDNotFound(_:)"},"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/error\/keywithidnotfound(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"keyWithIDNotFound","kind":"identifier"},{"text":"(","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}],"modules":[{"name":"jose-swift"}],"title":"JWK.Error.keyWithIDNotFound(_:)","externalID":"s:10JSONWebKey3JWKV5ErrorO17keyWithIDNotFoundyAESScAEmF","symbolKind":"case","roleHeading":"Case","role":"symbol"},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/Error/keyWithIDNotFound(_:)":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/keyWithIDNotFound(_:)","role":"symbol","abstract":[{"text":"The specified key ID was not found in the JWK set.","type":"text"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"keyWithIDNotFound"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":")"}],"url":"\/documentation\/jose_swift\/jwk\/error\/keywithidnotfound(_:)","title":"JWK.Error.keyWithIDNotFound(_:)","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWK/Error":{"url":"\/documentation\/jose_swift\/jwk\/error","role":"symbol","abstract":[{"type":"text","text":"An error that can be thrown when working with JWKs."}],"title":"JWK.Error","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"type":"topic","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Error"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/error/localizeddescription.json b/data/documentation/jose_swift/jwk/error/localizeddescription.json new file mode 100644 index 0000000..6a89e05 --- /dev/null +++ b/data/documentation/jose_swift/jwk/error/localizeddescription.json @@ -0,0 +1 @@ +{"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/error\/localizeddescription"]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"localizedDescription"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"abstract":[{"type":"text","text":"Inherited from "},{"code":"Error.localizedDescription","type":"codeVoice"},{"text":".","type":"text"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/Error-Implementations"]]},"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/localizedDescription","interfaceLanguage":"swift"},"metadata":{"roleHeading":"Instance Property","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"localizedDescription","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}],"platforms":[{"unavailable":false,"introducedAt":"8.0","beta":false,"name":"iOS","deprecated":false},{"beta":false,"name":"macOS","deprecated":false,"introducedAt":"10.10","unavailable":false},{"introducedAt":"9.0","unavailable":false,"beta":false,"name":"tvOS","deprecated":false},{"introducedAt":"2.0","name":"watchOS","beta":false,"unavailable":false,"deprecated":false}],"symbolKind":"property","title":"localizedDescription","externalID":"s:s5ErrorP10FoundationE20localizedDescriptionSSvp::SYNTHESIZED::s:10JSONWebKey3JWKV5ErrorO","modules":[{"name":"jose-swift","relatedModules":["Swift"]}],"extendedModule":"Swift"},"references":{"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK/Error/localizedDescription":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/localizedDescription","url":"\/documentation\/jose_swift\/jwk\/error\/localizeddescription","role":"symbol","title":"localizedDescription","abstract":[],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"localizedDescription","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/Error/Error-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/Error-Implementations","url":"\/documentation\/jose_swift\/jwk\/error\/error-implementations","role":"collectionGroup","title":"Error Implementations","abstract":[],"kind":"article","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWK/Error":{"url":"\/documentation\/jose_swift\/jwk\/error","role":"symbol","abstract":[{"type":"text","text":"An error that can be thrown when working with JWKs."}],"title":"JWK.Error","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"type":"topic","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Error"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/error/missingdcomponent.json b/data/documentation/jose_swift/jwk/error/missingdcomponent.json new file mode 100644 index 0000000..c4652da --- /dev/null +++ b/data/documentation/jose_swift/jwk/error/missingdcomponent.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"abstract":[{"type":"text","text":"The “d” component of an EC or RSA key is missing."}],"kind":"symbol","primaryContentSections":[{"declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"missingDComponent"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"metadata":{"title":"JWK.Error.missingDComponent","externalID":"s:10JSONWebKey3JWKV5ErrorO17missingDComponentyA2EmF","role":"symbol","roleHeading":"Case","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"missingDComponent","kind":"identifier"}],"symbolKind":"case"},"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/error\/missingdcomponent"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/missingDComponent"},"references":{"doc://jose-swift/documentation/jose_swift/JWK/Error/missingDComponent":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/missingDComponent","role":"symbol","abstract":[{"text":"The “d” component of an EC or RSA key is missing.","type":"text"}],"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"missingDComponent"}],"url":"\/documentation\/jose_swift\/jwk\/error\/missingdcomponent","type":"topic","title":"JWK.Error.missingDComponent"},"doc://jose-swift/documentation/jose_swift/JWK/Error":{"url":"\/documentation\/jose_swift\/jwk\/error","role":"symbol","abstract":[{"type":"text","text":"An error that can be thrown when working with JWKs."}],"title":"JWK.Error","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"type":"topic","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Error"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","type":"link","titleInlineContent":[{"text":"RFC7517","type":"text"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/error/missingecomponent.json b/data/documentation/jose_swift/jwk/error/missingecomponent.json new file mode 100644 index 0000000..da65b1d --- /dev/null +++ b/data/documentation/jose_swift/jwk/error/missingecomponent.json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"metadata":{"role":"symbol","roleHeading":"Case","modules":[{"name":"jose-swift"}],"title":"JWK.Error.missingEComponent","symbolKind":"case","externalID":"s:10JSONWebKey3JWKV5ErrorO17missingEComponentyA2EmF","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"missingEComponent","kind":"identifier"}]},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error"]]},"abstract":[{"type":"text","text":"The “e” component of an RSA key is missing."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/error\/missingecomponent"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/missingEComponent"},"kind":"symbol","primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"missingEComponent"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/Error":{"url":"\/documentation\/jose_swift\/jwk\/error","role":"symbol","abstract":[{"type":"text","text":"An error that can be thrown when working with JWKs."}],"title":"JWK.Error","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"type":"topic","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Error"}]},"doc://jose-swift/documentation/jose_swift/JWK/Error/missingEComponent":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/missingEComponent","role":"symbol","abstract":[{"type":"text","text":"The “e” component of an RSA key is missing."}],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"missingEComponent"}],"url":"\/documentation\/jose_swift\/jwk\/error\/missingecomponent","type":"topic","title":"JWK.Error.missingEComponent"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"text":"RFC7517","type":"text"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/error/missingncomponent.json b/data/documentation/jose_swift/jwk/error/missingncomponent.json new file mode 100644 index 0000000..32b3180 --- /dev/null +++ b/data/documentation/jose_swift/jwk/error/missingncomponent.json @@ -0,0 +1 @@ +{"metadata":{"modules":[{"name":"jose-swift"}],"title":"JWK.Error.missingNComponent","externalID":"s:10JSONWebKey3JWKV5ErrorO17missingNComponentyA2EmF","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"missingNComponent","kind":"identifier"}],"symbolKind":"case","roleHeading":"Case"},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"missingNComponent","kind":"identifier"}]}]}],"abstract":[{"type":"text","text":"The “n” component of an RSA key is missing."}],"kind":"symbol","schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/missingNComponent"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/error\/missingncomponent"]}],"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/Error":{"url":"\/documentation\/jose_swift\/jwk\/error","role":"symbol","abstract":[{"type":"text","text":"An error that can be thrown when working with JWKs."}],"title":"JWK.Error","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"type":"topic","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Error"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"text":"RFC7517","type":"text"}],"title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/Error/missingNComponent":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/missingNComponent","role":"symbol","abstract":[{"type":"text","text":"The “n” component of an RSA key is missing."}],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"missingNComponent"}],"url":"\/documentation\/jose_swift\/jwk\/error\/missingncomponent","title":"JWK.Error.missingNComponent","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/error/missingprimescomponent.json b/data/documentation/jose_swift/jwk/error/missingprimescomponent.json new file mode 100644 index 0000000..42fc977 --- /dev/null +++ b/data/documentation/jose_swift/jwk/error/missingprimescomponent.json @@ -0,0 +1 @@ +{"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"missingPrimesComponent","kind":"identifier"}]}],"kind":"declarations"}],"abstract":[{"text":"The “p” and “q” components of a RSA key is missing.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/error\/missingprimescomponent"]}],"metadata":{"role":"symbol","externalID":"s:10JSONWebKey3JWKV5ErrorO22missingPrimesComponentyA2EmF","symbolKind":"case","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"missingPrimesComponent","kind":"identifier"}],"modules":[{"name":"jose-swift"}],"roleHeading":"Case","title":"JWK.Error.missingPrimesComponent"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/missingPrimesComponent"},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/Error":{"url":"\/documentation\/jose_swift\/jwk\/error","role":"symbol","abstract":[{"type":"text","text":"An error that can be thrown when working with JWKs."}],"title":"JWK.Error","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"type":"topic","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Error"}]},"doc://jose-swift/documentation/jose_swift/JWK/Error/missingPrimesComponent":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/missingPrimesComponent","role":"symbol","abstract":[{"text":"The “p” and “q” components of a RSA key is missing.","type":"text"}],"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"missingPrimesComponent"}],"url":"\/documentation\/jose_swift\/jwk\/error\/missingprimescomponent","title":"JWK.Error.missingPrimesComponent","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/error/missingxcomponent.json b/data/documentation/jose_swift/jwk/error/missingxcomponent.json new file mode 100644 index 0000000..92bcb14 --- /dev/null +++ b/data/documentation/jose_swift/jwk/error/missingxcomponent.json @@ -0,0 +1 @@ +{"abstract":[{"text":"The “x” component of an EC or OKP key is missing.","type":"text"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/missingXComponent","interfaceLanguage":"swift"},"kind":"symbol","metadata":{"symbolKind":"case","title":"JWK.Error.missingXComponent","modules":[{"name":"jose-swift"}],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"missingXComponent"}],"roleHeading":"Case","role":"symbol","externalID":"s:10JSONWebKey3JWKV5ErrorO17missingXComponentyA2EmF"},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"missingXComponent","kind":"identifier"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/error\/missingxcomponent"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://jose-swift/documentation/jose_swift/JWK/Error/missingXComponent":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/missingXComponent","role":"symbol","abstract":[{"text":"The “x” component of an EC or OKP key is missing.","type":"text"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"missingXComponent","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwk\/error\/missingxcomponent","type":"topic","title":"JWK.Error.missingXComponent"},"doc://jose-swift/documentation/jose_swift/JWK/Error":{"url":"\/documentation\/jose_swift\/jwk\/error","role":"symbol","abstract":[{"type":"text","text":"An error that can be thrown when working with JWKs."}],"title":"JWK.Error","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"type":"topic","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Error"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"type":"link"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/error/missingycomponent.json b/data/documentation/jose_swift/jwk/error/missingycomponent.json new file mode 100644 index 0000000..3efaf65 --- /dev/null +++ b/data/documentation/jose_swift/jwk/error/missingycomponent.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error"]]},"metadata":{"role":"symbol","roleHeading":"Case","title":"JWK.Error.missingYComponent","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"missingYComponent","kind":"identifier"}],"modules":[{"name":"jose-swift"}],"symbolKind":"case","externalID":"s:10JSONWebKey3JWKV5ErrorO17missingYComponentyA2EmF"},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/missingYComponent","interfaceLanguage":"swift"},"abstract":[{"text":"The “y” component of an EC key is missing.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"missingYComponent"}],"languages":["swift"],"platforms":["macOS"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/error\/missingycomponent"]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/JWK/Error":{"url":"\/documentation\/jose_swift\/jwk\/error","role":"symbol","abstract":[{"type":"text","text":"An error that can be thrown when working with JWKs."}],"title":"JWK.Error","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"type":"topic","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Error"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","titleInlineContent":[{"text":"RFC7517","type":"text"}],"title":"RFC7517"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/Error/missingYComponent":{"url":"\/documentation\/jose_swift\/jwk\/error\/missingycomponent","role":"symbol","abstract":[{"text":"The “y” component of an EC key is missing.","type":"text"}],"title":"JWK.Error.missingYComponent","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/missingYComponent","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"missingYComponent","kind":"identifier"}],"type":"topic","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/error/notsupported.json b/data/documentation/jose_swift/jwk/error/notsupported.json new file mode 100644 index 0000000..e5cfac9 --- /dev/null +++ b/data/documentation/jose_swift/jwk/error/notsupported.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"notSupported"}]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/error\/notsupported"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"type":"text","text":"The key type is not supported."}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/notSupported"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error"]]},"schemaVersion":{"major":0,"patch":0,"minor":3},"sections":[],"metadata":{"roleHeading":"Case","modules":[{"name":"jose-swift"}],"externalID":"s:10JSONWebKey3JWKV5ErrorO12notSupportedyA2EmF","title":"JWK.Error.notSupported","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"notSupported"}],"symbolKind":"case","role":"symbol"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"text":"RFC7517","type":"text"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK/Error/notSupported":{"url":"\/documentation\/jose_swift\/jwk\/error\/notsupported","abstract":[{"text":"The key type is not supported.","type":"text"}],"title":"JWK.Error.notSupported","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"notSupported"}],"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error\/notSupported","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/Error":{"url":"\/documentation\/jose_swift\/jwk\/error","role":"symbol","abstract":[{"type":"text","text":"An error that can be thrown when working with JWKs."}],"title":"JWK.Error","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Error","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"type":"topic","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Error"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/init(from:).json b/data/documentation/jose_swift/jwk/init(from:).json new file mode 100644 index 0000000..5b887ef --- /dev/null +++ b/data/documentation/jose_swift/jwk/init(from:).json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/init(from:)","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"decoder"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s7DecoderP","text":"Decoder","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"languages":["swift"]}]}],"kind":"symbol","metadata":{"externalID":"s:10JSONWebKey3JWKV4fromACs7Decoder_p_tKcfc","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7DecoderP","text":"Decoder","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"symbolKind":"init","title":"init(from:)","modules":[{"relatedModules":["JSONWebKey"],"name":"jose-swift"}],"role":"symbol","extendedModule":"JSONWebKey","roleHeading":"Initializer"},"abstract":[{"type":"text","text":"Inherited from "},{"code":"Decodable.init(from:)","type":"codeVoice"},{"type":"text","text":"."}],"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/init(from:)"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Decodable-Implementations"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/init(from:)":{"url":"\/documentation\/jose_swift\/jwk\/init(from:)","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/init(from:)","type":"topic","role":"symbol","abstract":[],"title":"init(from:)"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/Decodable-Implementations":{"abstract":[],"kind":"article","type":"topic","title":"Decodable Implementations","role":"collectionGroup","url":"\/documentation\/jose_swift\/jwk\/decodable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/Decodable-Implementations"},"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/init(keytype:publickeyuse:keyoperations:algorithm:key:keyid:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:curve:e:p:q:n:dp:dq:qi:x:y:d:).json b/data/documentation/jose_swift/jwk/init(keytype:publickeyuse:keyoperations:algorithm:key:keyid:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:curve:e:p:q:n:dp:dq:qi:x:y:d:).json new file mode 100644 index 0000000..e32945c --- /dev/null +++ b/data/documentation/jose_swift/jwk/init(keytype:publickeyuse:keyoperations:algorithm:key:keyid:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:curve:e:p:q:n:dp:dq:qi:x:y:d:).json @@ -0,0 +1 @@ +{"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"symbolKind":"init","roleHeading":"Initializer","role":"symbol","externalID":"s:10JSONWebKey3JWKV7keyType06publicB3Use0D10Operations9algorithm0D00D2ID7x509URL0K16CertificateChain0kM14SHA1Thumbprint0km6SHA256P05curve1e1p1q1n2dp2dq2qi1x1y1dA2C0bE0O_AC06PublicbG0OSgSayAC0bH0OGSgSSSg10Foundation4DataVSgA6_A6_A6_A6_A6_AC18CryptographicCurveOSgA10_A10_A10_A10_A10_A10_A10_A10_A10_A10_tcfc","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"keyType","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"KeyType","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV0B4TypeO"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"publicKeyUse"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"PublicKeyUse","preciseIdentifier":"s:10JSONWebKey3JWKV06PublicB3UseO"},{"text":"?, ","kind":"text"},{"text":"keyOperations","kind":"externalParam"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"KeyOperations","preciseIdentifier":"s:10JSONWebKey3JWKV0B10OperationsO"},{"text":"]?, ","kind":"text"},{"text":"algorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"text":"keyID","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"x509URL","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"x509CertificateChain","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"x509CertificateSHA1Thumbprint","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"x509CertificateSHA256Thumbprint","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"curve"},{"text":": ","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:10JSONWebKey3JWKV18CryptographicCurveO","text":"CryptographicCurve","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"e"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"text":"p","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"text":"q","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"n"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"dp"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"dq","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"qi"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"x"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"y","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"d"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?)"}],"modules":[{"name":"jose-swift"}],"title":"init(keyType:publicKeyUse:keyOperations:algorithm:key:keyID:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:curve:e:p:q:n:dp:dq:qi:x:y:d:)"},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"text":"keyType","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK"},{"text":".","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV0B4TypeO","text":"KeyType"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"publicKeyUse"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK"},{"kind":"text","text":"."},{"preciseIdentifier":"s:10JSONWebKey3JWKV06PublicB3UseO","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum","kind":"typeIdentifier","text":"PublicKeyUse"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"keyOperations"},{"text":": [","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"KeyOperations","preciseIdentifier":"s:10JSONWebKey3JWKV0B10OperationsO","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum"},{"text":"]? = nil, ","kind":"text"},{"text":"algorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"text":"key","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"? = nil, ","kind":"text"},{"text":"keyID","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"x509URL"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"x509CertificateChain"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"x509CertificateSHA1Thumbprint"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"x509CertificateSHA256Thumbprint"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"? = nil, ","kind":"text"},{"text":"curve","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK"},{"text":".","kind":"text"},{"text":"CryptographicCurve","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","preciseIdentifier":"s:10JSONWebKey3JWKV18CryptographicCurveO"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"e"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"? = nil, ","kind":"text"},{"text":"p","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"q"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"n"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"? = nil, ","kind":"text"},{"text":"dp","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"dq"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"? = nil, ","kind":"text"},{"text":"qi","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"? = nil, ","kind":"text"},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"? = nil, "},{"text":"y","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"d"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"? = nil)","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/init(keytype:publickeyuse:keyoperations:algorithm:key:keyid:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:curve:e:p:q:n:dp:dq:qi:x:y:d:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/init(keyType:publicKeyUse:keyOperations:algorithm:key:keyID:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:curve:e:p:q:n:dp:dq:qi:x:y:d:)"},"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/init(keyType:publicKeyUse:keyOperations:algorithm:key:keyID:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:curve:e:p:q:n:dp:dq:qi:x:y:d:)":{"abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/init(keyType:publicKeyUse:keyOperations:algorithm:key:keyID:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:curve:e:p:q:n:dp:dq:qi:x:y:d:)","type":"topic","title":"init(keyType:publicKeyUse:keyOperations:algorithm:key:keyID:x509URL:x509CertificateChain:x509CertificateSHA1Thumbprint:x509CertificateSHA256Thumbprint:curve:e:p:q:n:dp:dq:qi:x:y:d:)","url":"\/documentation\/jose_swift\/jwk\/init(keytype:publickeyuse:keyoperations:algorithm:key:keyid:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:curve:e:p:q:n:dp:dq:qi:x:y:d:)","role":"symbol","kind":"symbol","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"keyType","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"."},{"preciseIdentifier":"s:10JSONWebKey3JWKV0B4TypeO","kind":"typeIdentifier","text":"KeyType"},{"kind":"text","text":", "},{"text":"publicKeyUse","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"."},{"text":"PublicKeyUse","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV06PublicB3UseO"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"keyOperations"},{"kind":"text","text":": ["},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"kind":"text","text":"."},{"text":"KeyOperations","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV0B10OperationsO"},{"text":"]?, ","kind":"text"},{"text":"algorithm","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"key"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"keyID","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"x509URL","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?, ","kind":"text"},{"text":"x509CertificateChain","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"x509CertificateSHA1Thumbprint","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"x509CertificateSHA256Thumbprint"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?, ","kind":"text"},{"text":"curve","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV18CryptographicCurveO","text":"CryptographicCurve"},{"kind":"text","text":"?, "},{"text":"e","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"text":"p","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"q","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"text":"n","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"dp","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"dq"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"text":"qi","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"text":"x","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"y"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"d","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?)"}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum":{"kind":"symbol","title":"JWK.KeyOperations","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"KeyOperations","kind":"identifier"}],"navigatorTitle":[{"text":"KeyOperations","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","type":"topic","abstract":[{"text":"The key operations that the key is intended to be used for.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWK/CryptographicCurve":{"navigatorTitle":[{"text":"CryptographicCurve","kind":"identifier"}],"title":"JWK.CryptographicCurve","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/CryptographicCurve","url":"\/documentation\/jose_swift\/jwk\/cryptographiccurve","abstract":[{"text":"The cryptographic curves.","type":"text"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"CryptographicCurve","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum":{"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum","kind":"symbol","title":"JWK.KeyType","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyType"}],"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyType"}],"abstract":[{"type":"text","text":"The key type."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum","title":"JWK.PublicKeyUse","role":"symbol","abstract":[{"text":"The intended use of the public key.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"PublicKeyUse"}],"url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum","kind":"symbol","navigatorTitle":[{"text":"PublicKeyUse","kind":"identifier"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"text":"RFC7517","type":"text"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/jwkrepresentable-implementations.json b/data/documentation/jose_swift/jwk/jwkrepresentable-implementations.json new file mode 100644 index 0000000..f0f51f6 --- /dev/null +++ b/data/documentation/jose_swift/jwk/jwkrepresentable-implementations.json @@ -0,0 +1 @@ +{"metadata":{"modules":[{"name":"jose-swift"}],"role":"collectionGroup","title":"JWKRepresentable Implementations"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/JWKRepresentable-Implementations","interfaceLanguage":"swift"},"topicSections":[{"generated":true,"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/jwkRepresentation","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/publicKey"]}],"kind":"article","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/jwkrepresentable-implementations"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://jose-swift/documentation/jose_swift/JWK/jwkRepresentation":{"url":"\/documentation\/jose_swift\/jwk\/jwkrepresentation","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/jwkRepresentation","title":"jwkRepresentation","type":"topic","kind":"symbol","abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"type":"codeVoice","code":"JWK"},{"type":"text","text":" instance."}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwkRepresentation"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK/publicKey":{"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"publicKey"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"}],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/publicKey","abstract":[{"text":"Returns the public key of a ","type":"text"},{"type":"codeVoice","code":"JWK"},{"text":" instance.","type":"text"}],"url":"\/documentation\/jose_swift\/jwk\/publickey","role":"symbol","title":"publicKey","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" is ","type":"text"},{"code":"JWK","type":"codeVoice"},{"text":".","type":"text"}]},"type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/jwkrepresentation.json b/data/documentation/jose_swift/jwk/jwkrepresentation.json new file mode 100644 index 0000000..6eea3f7 --- /dev/null +++ b/data/documentation/jose_swift/jwk/jwkrepresentation.json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/JWKRepresentable-Implementations"]]},"abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"code":"JWK","type":"codeVoice"},{"type":"text","text":" instance."}],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwkRepresentation"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"languages":["swift"]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/jwkrepresentation"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/jwkRepresentation","interfaceLanguage":"swift"},"sections":[],"metadata":{"modules":[{"relatedModules":["JSONWebKey"],"name":"jose-swift"}],"roleHeading":"Instance Property","extendedModule":"JSONWebKey","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwkRepresentation"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"}],"symbolKind":"property","externalID":"s:10JSONWebKey3JWKV0A10AlgorithmsE17jwkRepresentationACvp","title":"jwkRepresentation","role":"symbol"},"references":{"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"text":"RFC7517","type":"text"}],"title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK/JWKRepresentable-Implementations":{"kind":"article","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/JWKRepresentable-Implementations","abstract":[],"url":"\/documentation\/jose_swift\/jwk\/jwkrepresentable-implementations","role":"collectionGroup","title":"JWKRepresentable Implementations","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/jwkRepresentation":{"url":"\/documentation\/jose_swift\/jwk\/jwkrepresentation","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/jwkRepresentation","title":"jwkRepresentation","type":"topic","kind":"symbol","abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"type":"codeVoice","code":"JWK"},{"type":"text","text":" instance."}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwkRepresentation"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/key.json b/data/documentation/jose_swift/jwk/key.json new file mode 100644 index 0000000..202745e --- /dev/null +++ b/data/documentation/jose_swift/jwk/key.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/key"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"metadata":{"modules":[{"name":"jose-swift"}],"title":"key","roleHeading":"Instance Property","symbolKind":"property","role":"symbol","externalID":"s:10JSONWebKey3JWKV3key10Foundation4DataVSgvp","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"key","kind":"identifier"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":"?","kind":"text"}]},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"key","kind":"identifier"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"platforms":["macOS"]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/key","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"patch":0,"minor":3},"sections":[],"kind":"symbol","abstract":[{"type":"text","text":"The key value in case of a symmetric key (oct)."}],"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/key":{"url":"\/documentation\/jose_swift\/jwk\/key","kind":"symbol","title":"key","abstract":[{"type":"text","text":"The key value in case of a symmetric key (oct)."}],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/key","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"key","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?","kind":"text"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keygeneration.json b/data/documentation/jose_swift/jwk/keygeneration.json new file mode 100644 index 0000000..1a3ffaa --- /dev/null +++ b/data/documentation/jose_swift/jwk/keygeneration.json @@ -0,0 +1 @@ +{"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/keyGeneration"},"abstract":[{"text":"Provides a ","type":"text"},{"type":"codeVoice","code":"KeyGeneration"},{"text":" instance suitable for the specific key type and curve of the JWK.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"This property allows for generating cryptographic keys based on the characteristics of the JWK."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"keyGeneration","kind":"identifier"},{"text":": ","kind":"text"},{"text":"KeyGeneration","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms13KeyGenerationP","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGeneration"},{"kind":"text","text":"? { "},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}]}]},{"kind":"content","content":[{"anchor":"return-value","text":"Return Value","type":"heading","level":2},{"inlineContent":[{"type":"text","text":"An instance conforming to the "},{"code":"KeyGeneration","type":"codeVoice"},{"text":" protocol, or ","type":"text"},{"type":"codeVoice","code":"nil"},{"type":"text","text":" if key generation is not supported for the specific key type and curve."}],"type":"paragraph"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/keygeneration"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","metadata":{"symbolKind":"property","role":"symbol","modules":[{"name":"jose-swift","relatedModules":["JSONWebKey"]}],"externalID":"s:10JSONWebKey3JWKV0A10AlgorithmsE13keyGenerationAD0bF0_pSgvp","extendedModule":"JSONWebKey","roleHeading":"Instance Property","title":"keyGeneration","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyGeneration"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"KeyGeneration","preciseIdentifier":"s:17JSONWebAlgorithms13KeyGenerationP"},{"text":"?","kind":"text"}]},"schemaVersion":{"minor":3,"major":0,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift/KeyGeneration":{"url":"\/documentation\/jose_swift\/keygeneration","navigatorTitle":[{"kind":"identifier","text":"KeyGeneration"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"KeyGeneration"}],"title":"KeyGeneration","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGeneration","abstract":[{"code":"KeyGeneration","type":"codeVoice"},{"text":" is a protocol that defines functionality for generating cryptographic keys.","type":"text"}],"role":"symbol"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"text":"RFC7517","type":"text"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/keyGeneration":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/keyGeneration","role":"symbol","kind":"symbol","url":"\/documentation\/jose_swift\/jwk\/keygeneration","abstract":[{"text":"Provides a ","type":"text"},{"type":"codeVoice","code":"KeyGeneration"},{"text":" instance suitable for the specific key type and curve of the JWK.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"This property allows for generating cryptographic keys based on the characteristics of the JWK."}],"title":"keyGeneration","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"keyGeneration","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms13KeyGenerationP","text":"KeyGeneration"},{"kind":"text","text":"?"}],"type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keyid.json b/data/documentation/jose_swift/jwk/keyid.json new file mode 100644 index 0000000..bc5b073 --- /dev/null +++ b/data/documentation/jose_swift/jwk/keyid.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/keyID"},"sections":[],"kind":"symbol","schemaVersion":{"minor":3,"major":0,"patch":0},"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/keyid"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"keyID","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}]}]}],"metadata":{"symbolKind":"property","externalID":"s:10JSONWebKey3JWKV5keyIDSSSgvp","role":"symbol","title":"keyID","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"keyID","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"roleHeading":"Instance Property"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"abstract":[{"type":"text","text":"The key ID."}],"references":{"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/keyID":{"type":"topic","abstract":[{"type":"text","text":"The key ID."}],"role":"symbol","title":"keyID","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"keyID","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/keyID","url":"\/documentation\/jose_swift\/jwk\/keyid"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keyoperations-swift.enum.json b/data/documentation/jose_swift/jwk/keyoperations-swift.enum.json new file mode 100644 index 0000000..c391657 --- /dev/null +++ b/data/documentation/jose_swift/jwk/keyoperations-swift.enum.json @@ -0,0 +1 @@ +{"sections":[],"metadata":{"role":"symbol","symbolKind":"enum","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"KeyOperations","kind":"identifier"}],"extendedModule":"JSONWebKey","modules":[{"name":"jose-swift","relatedModules":["JSONWebKey"]}],"navigatorTitle":[{"text":"KeyOperations","kind":"identifier"}],"externalID":"s:10JSONWebKey3JWKV0B10OperationsO","roleHeading":"Enumeration","title":"JWK.KeyOperations"},"abstract":[{"type":"text","text":"The key operations that the key is intended to be used for."}],"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/decrypt","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/deriveBits","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/deriveKey","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/encrypt","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/sign","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/unwrapKey","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/verify","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/wrapKey"],"title":"Enumeration Cases"},{"title":"Initializers","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/init(rawValue:)"]},{"generated":true,"title":"Default Implementations","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/Equatable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/RawRepresentable-Implementations"]}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"relationshipsSections":[{"identifiers":["doc:\/\/jose-swift\/Se","doc:\/\/jose-swift\/SE","doc:\/\/jose-swift\/SQ","doc:\/\/jose-swift\/SH","doc:\/\/jose-swift\/SY"],"type":"conformsTo","kind":"relationships","title":"Conforms To"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"KeyOperations","kind":"identifier"}]}],"kind":"declarations"},{"content":[{"anchor":"overview","type":"heading","level":2,"text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"For more information, see https:\/\/www.rfc-editor.org\/rfc\/rfc7517#section-4.3"}]}],"kind":"content"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum"]}],"references":{"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum":{"kind":"symbol","title":"JWK.KeyOperations","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"KeyOperations","kind":"identifier"}],"navigatorTitle":[{"text":"KeyOperations","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","type":"topic","abstract":[{"text":"The key operations that the key is intended to be used for.","type":"text"}]},"doc://jose-swift/Se":{"type":"unresolvable","title":"Swift.Decodable","identifier":"doc:\/\/jose-swift\/Se"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/wrapKey":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"wrapKey"}],"url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/wrapkey","type":"topic","title":"JWK.KeyOperations.wrapKey","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/wrapKey"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/RawRepresentable-Implementations":{"title":"RawRepresentable Implementations","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/rawrepresentable-implementations","type":"topic","role":"collectionGroup","abstract":[],"kind":"article","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/RawRepresentable-Implementations"},"doc://jose-swift/SY":{"identifier":"doc:\/\/jose-swift\/SY","type":"unresolvable","title":"Swift.RawRepresentable"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/deriveBits":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"deriveBits"}],"title":"JWK.KeyOperations.deriveBits","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/derivebits","type":"topic","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/deriveBits"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/unwrapKey":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"unwrapKey"}],"url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/unwrapkey","type":"topic","title":"JWK.KeyOperations.unwrapKey","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/unwrapKey"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/encrypt":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"encrypt"}],"url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/encrypt","type":"topic","title":"JWK.KeyOperations.encrypt","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/encrypt"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/verify":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"verify"}],"url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/verify","type":"topic","title":"JWK.KeyOperations.verify","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/verify"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/sign":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"sign"}],"url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/sign","type":"topic","title":"JWK.KeyOperations.sign","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/sign"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/Equatable-Implementations":{"url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/equatable-implementations","type":"topic","title":"Equatable Implementations","role":"collectionGroup","abstract":[],"kind":"article","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/Equatable-Implementations"},"doc://jose-swift/SH":{"type":"unresolvable","title":"Swift.Hashable","identifier":"doc:\/\/jose-swift\/SH"},"doc://jose-swift/SE":{"type":"unresolvable","title":"Swift.Encodable","identifier":"doc:\/\/jose-swift\/SE"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/decrypt":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"decrypt"}],"url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/decrypt","type":"topic","title":"JWK.KeyOperations.decrypt","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/decrypt"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/deriveKey":{"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"deriveKey"}],"url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/derivekey","type":"topic","title":"JWK.KeyOperations.deriveKey","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/deriveKey"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/init(rawValue:)":{"kind":"symbol","title":"init(rawValue:)","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/init(rawvalue:)","role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"?(","kind":"text"},{"text":"rawValue","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/init(rawValue:)","type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/SQ":{"type":"unresolvable","title":"Swift.Equatable","identifier":"doc:\/\/jose-swift\/SQ"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keyoperations-swift.enum/!=(_:_:).json b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/!=(_:_:).json new file mode 100644 index 0000000..4017ee5 --- /dev/null +++ b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/!=(_:_:).json @@ -0,0 +1 @@ +{"sections":[],"metadata":{"extendedModule":"Swift","modules":[{"relatedModules":["Swift"],"name":"jose-swift"}],"title":"!=(_:_:)","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}],"roleHeading":"Operator","externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:10JSONWebKey3JWKV0B10OperationsO","role":"symbol","symbolKind":"op"},"schemaVersion":{"major":0,"patch":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"kind":"text","text":" "},{"kind":"text","text":"("},{"text":"lhs","kind":"internalParam"},{"kind":"text","text":": "},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"internalParam","text":"rhs"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"platforms":["macOS"],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/Equatable-Implementations"]]},"abstract":[{"type":"text","text":"Inherited from "},{"code":"Equatable.!=(_:_:)","type":"codeVoice"},{"type":"text","text":"."}],"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/!=(_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/!=(_:_:)"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum":{"kind":"symbol","title":"JWK.KeyOperations","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"KeyOperations","kind":"identifier"}],"navigatorTitle":[{"text":"KeyOperations","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","type":"topic","abstract":[{"text":"The key operations that the key is intended to be used for.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/!=(_:_:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/!=(_:_:)","title":"!=(_:_:)","role":"symbol","abstract":[],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"!=","kind":"identifier"},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/!=(_:_:)","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/Equatable-Implementations":{"url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/equatable-implementations","type":"topic","title":"Equatable Implementations","role":"collectionGroup","abstract":[],"kind":"article","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/Equatable-Implementations"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keyoperations-swift.enum/decrypt.json b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/decrypt.json new file mode 100644 index 0000000..b1f8e1e --- /dev/null +++ b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/decrypt.json @@ -0,0 +1 @@ +{"kind":"symbol","schemaVersion":{"patch":0,"major":0,"minor":3},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/decrypt","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"decrypt"}],"languages":["swift"],"platforms":["macOS"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/decrypt"]}],"metadata":{"title":"JWK.KeyOperations.decrypt","symbolKind":"case","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"decrypt"}],"modules":[{"name":"jose-swift"}],"externalID":"s:10JSONWebKey3JWKV0B10OperationsO7decryptyA2EmF","role":"symbol","roleHeading":"Case"},"references":{"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum":{"kind":"symbol","title":"JWK.KeyOperations","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"KeyOperations","kind":"identifier"}],"navigatorTitle":[{"text":"KeyOperations","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","type":"topic","abstract":[{"text":"The key operations that the key is intended to be used for.","type":"text"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","titleInlineContent":[{"text":"RFC7517","type":"text"}],"title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/decrypt":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"decrypt"}],"url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/decrypt","type":"topic","title":"JWK.KeyOperations.decrypt","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/decrypt"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keyoperations-swift.enum/derivebits.json b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/derivebits.json new file mode 100644 index 0000000..567acbd --- /dev/null +++ b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/derivebits.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum"]]},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"deriveBits"}],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/derivebits"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","schemaVersion":{"major":0,"patch":0,"minor":3},"metadata":{"symbolKind":"case","title":"JWK.KeyOperations.deriveBits","modules":[{"name":"jose-swift"}],"roleHeading":"Case","externalID":"s:10JSONWebKey3JWKV0B10OperationsO10deriveBitsyA2EmF","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"deriveBits"}],"role":"symbol"},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/deriveBits","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/deriveBits":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"deriveBits"}],"title":"JWK.KeyOperations.deriveBits","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/derivebits","type":"topic","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/deriveBits"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum":{"kind":"symbol","title":"JWK.KeyOperations","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"KeyOperations","kind":"identifier"}],"navigatorTitle":[{"text":"KeyOperations","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","type":"topic","abstract":[{"text":"The key operations that the key is intended to be used for.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keyoperations-swift.enum/derivekey.json b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/derivekey.json new file mode 100644 index 0000000..5addc1a --- /dev/null +++ b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/derivekey.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/deriveKey"},"schemaVersion":{"minor":3,"patch":0,"major":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/derivekey"]}],"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"deriveKey","kind":"identifier"}],"languages":["swift"],"platforms":["macOS"]}]}],"metadata":{"title":"JWK.KeyOperations.deriveKey","symbolKind":"case","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"deriveKey"}],"modules":[{"name":"jose-swift"}],"externalID":"s:10JSONWebKey3JWKV0B10OperationsO06deriveB0yA2EmF","role":"symbol","roleHeading":"Case"},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/deriveKey":{"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"deriveKey"}],"url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/derivekey","type":"topic","title":"JWK.KeyOperations.deriveKey","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/deriveKey"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum":{"kind":"symbol","title":"JWK.KeyOperations","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"KeyOperations","kind":"identifier"}],"navigatorTitle":[{"text":"KeyOperations","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","type":"topic","abstract":[{"text":"The key operations that the key is intended to be used for.","type":"text"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keyoperations-swift.enum/encode(to:).json b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/encode(to:).json new file mode 100644 index 0000000..a571da0 --- /dev/null +++ b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/encode(to:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/RawRepresentable-Implementations"]]},"metadata":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"encode"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s7EncoderP","text":"Encoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"externalID":"s:SYsSERzSS8RawValueSYRtzrlE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:10JSONWebKey3JWKV0B10OperationsO","extendedModule":"Swift","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"type":"text","text":" conforms to "},{"code":"Encodable","type":"codeVoice"},{"text":" and ","type":"text"},{"code":"RawValue","type":"codeVoice"},{"text":" is ","type":"text"},{"code":"String","type":"codeVoice"},{"type":"text","text":"."}]},"role":"symbol","title":"encode(to:)","roleHeading":"Instance Method","symbolKind":"method","modules":[{"name":"jose-swift","relatedModules":["Swift"]}]},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"RawRepresentable.encode(to:)"},{"type":"text","text":"."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/encode(to:)"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"encode"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"encoder"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"platforms":["macOS"]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/encode(to:)","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum":{"kind":"symbol","title":"JWK.KeyOperations","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"KeyOperations","kind":"identifier"}],"navigatorTitle":[{"text":"KeyOperations","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","type":"topic","abstract":[{"text":"The key operations that the key is intended to be used for.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/encode(to:)":{"title":"encode(to:)","role":"symbol","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/encode(to:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Encoder","kind":"typeIdentifier","preciseIdentifier":"s:s7EncoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"abstract":[],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/encode(to:)","kind":"symbol","conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Encodable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"text":" is ","type":"text"},{"code":"String","type":"codeVoice"},{"text":".","type":"text"}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]}},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/RawRepresentable-Implementations":{"title":"RawRepresentable Implementations","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/rawrepresentable-implementations","type":"topic","role":"collectionGroup","abstract":[],"kind":"article","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/RawRepresentable-Implementations"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keyoperations-swift.enum/encrypt.json b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/encrypt.json new file mode 100644 index 0000000..df3af9f --- /dev/null +++ b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/encrypt.json @@ -0,0 +1 @@ +{"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/encrypt","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"encrypt"}],"platforms":["macOS"]}]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"roleHeading":"Case","externalID":"s:10JSONWebKey3JWKV0B10OperationsO7encryptyA2EmF","modules":[{"name":"jose-swift"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encrypt","kind":"identifier"}],"role":"symbol","symbolKind":"case","title":"JWK.KeyOperations.encrypt"},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/encrypt"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/encrypt":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"encrypt"}],"url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/encrypt","type":"topic","title":"JWK.KeyOperations.encrypt","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/encrypt"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum":{"kind":"symbol","title":"JWK.KeyOperations","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"KeyOperations","kind":"identifier"}],"navigatorTitle":[{"text":"KeyOperations","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","type":"topic","abstract":[{"text":"The key operations that the key is intended to be used for.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keyoperations-swift.enum/equatable-implementations.json b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/equatable-implementations.json new file mode 100644 index 0000000..862485c --- /dev/null +++ b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/equatable-implementations.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum"]]},"kind":"article","schemaVersion":{"major":0,"patch":0,"minor":3},"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/equatable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/Equatable-Implementations"},"sections":[],"metadata":{"title":"Equatable Implementations","role":"collectionGroup","modules":[{"name":"jose-swift"}]},"topicSections":[{"title":"Operators","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/!=(_:_:)"],"generated":true}],"references":{"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/!=(_:_:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/!=(_:_:)","title":"!=(_:_:)","role":"symbol","abstract":[],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"!=","kind":"identifier"},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/!=(_:_:)","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum":{"kind":"symbol","title":"JWK.KeyOperations","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"KeyOperations","kind":"identifier"}],"navigatorTitle":[{"text":"KeyOperations","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","type":"topic","abstract":[{"text":"The key operations that the key is intended to be used for.","type":"text"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keyoperations-swift.enum/hash(into:).json b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/hash(into:).json new file mode 100644 index 0000000..db18791 --- /dev/null +++ b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/hash(into:).json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/hash(into:)"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","abstract":[{"type":"text","text":"Inherited from "},{"code":"RawRepresentable.hash(into:)","type":"codeVoice"},{"type":"text","text":"."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"hash","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"into"},{"kind":"text","text":" "},{"text":"hasher","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"Hasher","preciseIdentifier":"s:s6HasherV"},{"text":")","kind":"text"}],"platforms":["macOS"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/RawRepresentable-Implementations"]]},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/hash(into:)","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"title":"hash(into:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"hash","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"into"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"kind":"text","text":" "},{"preciseIdentifier":"s:s6HasherV","text":"Hasher","kind":"typeIdentifier"},{"kind":"text","text":")"}],"roleHeading":"Instance Method","extendedModule":"Swift","externalID":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:10JSONWebKey3JWKV0B10OperationsO","symbolKind":"method","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"text":".","type":"text"}]},"modules":[{"relatedModules":["Swift"],"name":"jose-swift"}],"role":"symbol"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/hash(into:)":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"hash","kind":"identifier"},{"kind":"text","text":"("},{"text":"into","kind":"externalParam"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"kind":"text","text":" "},{"text":"Hasher","kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV"},{"text":")","kind":"text"}],"kind":"symbol","title":"hash(into:)","conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}]},"abstract":[],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/hash(into:)","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/hash(into:)","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum":{"kind":"symbol","title":"JWK.KeyOperations","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"KeyOperations","kind":"identifier"}],"navigatorTitle":[{"text":"KeyOperations","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","type":"topic","abstract":[{"text":"The key operations that the key is intended to be used for.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/RawRepresentable-Implementations":{"title":"RawRepresentable Implementations","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/rawrepresentable-implementations","type":"topic","role":"collectionGroup","abstract":[],"kind":"article","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/RawRepresentable-Implementations"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"text":"RFC7517","type":"text"}],"title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keyoperations-swift.enum/hashvalue.json b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/hashvalue.json new file mode 100644 index 0000000..1ba1811 --- /dev/null +++ b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/hashvalue.json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"major":0,"minor":3},"sections":[],"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/hashvalue"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/hashValue"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/RawRepresentable-Implementations"]]},"kind":"symbol","abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"RawRepresentable.hashValue"},{"type":"text","text":"."}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"hashValue"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"},{"kind":"text","text":" { "},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"platforms":["macOS"]}],"kind":"declarations"}],"metadata":{"symbolKind":"property","externalID":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:10JSONWebKey3JWKV0B10OperationsO","modules":[{"name":"jose-swift","relatedModules":["Swift"]}],"title":"hashValue","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"text":".","type":"text"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}]},"roleHeading":"Instance Property","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"hashValue"},{"kind":"text","text":": "},{"text":"Int","preciseIdentifier":"s:Si","kind":"typeIdentifier"}],"extendedModule":"Swift"},"references":{"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum":{"kind":"symbol","title":"JWK.KeyOperations","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"KeyOperations","kind":"identifier"}],"navigatorTitle":[{"text":"KeyOperations","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","type":"topic","abstract":[{"text":"The key operations that the key is intended to be used for.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/hashValue":{"url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/hashvalue","title":"hashValue","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/hashValue","kind":"symbol","role":"symbol","conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}]},"abstract":[],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"hashValue"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/RawRepresentable-Implementations":{"title":"RawRepresentable Implementations","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/rawrepresentable-implementations","type":"topic","role":"collectionGroup","abstract":[],"kind":"article","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/RawRepresentable-Implementations"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"text":"RFC7517","type":"text"}],"type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keyoperations-swift.enum/init(from:).json b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/init(from:).json new file mode 100644 index 0000000..2cc4147 --- /dev/null +++ b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/init(from:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"decoder","kind":"internalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s7DecoderP","text":"Decoder","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}]}]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"sections":[],"metadata":{"roleHeading":"Initializer","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP","text":"Decoder"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"role":"symbol","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"code":"Decodable","type":"codeVoice"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" is "},{"code":"String","type":"codeVoice"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"title":"init(from:)","externalID":"s:SYsSeRzSS8RawValueSYRtzrlE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:10JSONWebKey3JWKV0B10OperationsO","extendedModule":"Swift","symbolKind":"init","modules":[{"relatedModules":["Swift"],"name":"jose-swift"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/init(from:)"},"abstract":[{"text":"Inherited from ","type":"text"},{"code":"RawRepresentable.init(from:)","type":"codeVoice"},{"type":"text","text":"."}],"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/init(from:)"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/RawRepresentable-Implementations"]]},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/RawRepresentable-Implementations":{"title":"RawRepresentable Implementations","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/rawrepresentable-implementations","type":"topic","role":"collectionGroup","abstract":[],"kind":"article","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/RawRepresentable-Implementations"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum":{"kind":"symbol","title":"JWK.KeyOperations","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"KeyOperations","kind":"identifier"}],"navigatorTitle":[{"text":"KeyOperations","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","type":"topic","abstract":[{"text":"The key operations that the key is intended to be used for.","type":"text"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"text":"RFC7517","type":"text"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/init(from:)":{"kind":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/init(from:)","conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"code":"Decodable","type":"codeVoice"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"text":" is ","type":"text"},{"type":"codeVoice","code":"String"},{"type":"text","text":"."}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"title":"init(from:)","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/init(from:)","abstract":[],"role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keyoperations-swift.enum/init(rawvalue:).json b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/init(rawvalue:).json new file mode 100644 index 0000000..71f60ce --- /dev/null +++ b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/init(rawvalue:).json @@ -0,0 +1 @@ +{"abstract":[{"text":"Inherited from ","type":"text"},{"code":"RawRepresentable.init(rawValue:)","type":"codeVoice"},{"type":"text","text":"."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"text":"?(","kind":"text"},{"text":"rawValue","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"platforms":["macOS"],"languages":["swift"]}]}],"metadata":{"externalID":"s:10JSONWebKey3JWKV0B10OperationsO8rawValueAESgSS_tcfc","title":"init(rawValue:)","role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"rawValue"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"modules":[{"name":"jose-swift"}],"symbolKind":"init","roleHeading":"Initializer"},"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/init(rawvalue:)"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum"]]},"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/init(rawValue:)"},"references":{"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum":{"kind":"symbol","title":"JWK.KeyOperations","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"KeyOperations","kind":"identifier"}],"navigatorTitle":[{"text":"KeyOperations","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","type":"topic","abstract":[{"text":"The key operations that the key is intended to be used for.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/init(rawValue:)":{"kind":"symbol","title":"init(rawValue:)","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/init(rawvalue:)","role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"?(","kind":"text"},{"text":"rawValue","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/init(rawValue:)","type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"text":"RFC7517","type":"text"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keyoperations-swift.enum/rawrepresentable-implementations.json b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/rawrepresentable-implementations.json new file mode 100644 index 0000000..adff82f --- /dev/null +++ b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/rawrepresentable-implementations.json @@ -0,0 +1 @@ +{"topicSections":[{"title":"Initializers","generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/init(from:)"]},{"title":"Instance Properties","generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/hashValue"]},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/encode(to:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/hash(into:)"],"title":"Instance Methods","generated":true}],"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/rawrepresentable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"role":"collectionGroup","modules":[{"name":"jose-swift"}],"title":"RawRepresentable Implementations"},"sections":[],"kind":"article","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/RawRepresentable-Implementations","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/encode(to:)":{"title":"encode(to:)","role":"symbol","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/encode(to:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Encoder","kind":"typeIdentifier","preciseIdentifier":"s:s7EncoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"abstract":[],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/encode(to:)","kind":"symbol","conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Encodable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"text":" is ","type":"text"},{"code":"String","type":"codeVoice"},{"text":".","type":"text"}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]}},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum":{"kind":"symbol","title":"JWK.KeyOperations","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"KeyOperations","kind":"identifier"}],"navigatorTitle":[{"text":"KeyOperations","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","type":"topic","abstract":[{"text":"The key operations that the key is intended to be used for.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/hash(into:)":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"hash","kind":"identifier"},{"kind":"text","text":"("},{"text":"into","kind":"externalParam"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"kind":"text","text":" "},{"text":"Hasher","kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV"},{"text":")","kind":"text"}],"kind":"symbol","title":"hash(into:)","conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}]},"abstract":[],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/hash(into:)","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/hash(into:)","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/init(from:)":{"kind":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/init(from:)","conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"code":"Decodable","type":"codeVoice"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"text":" is ","type":"text"},{"type":"codeVoice","code":"String"},{"type":"text","text":"."}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"title":"init(from:)","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/init(from:)","abstract":[],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/hashValue":{"url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/hashvalue","title":"hashValue","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/hashValue","kind":"symbol","role":"symbol","conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}]},"abstract":[],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"hashValue"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keyoperations-swift.enum/sign.json b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/sign.json new file mode 100644 index 0000000..59ddd7e --- /dev/null +++ b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/sign.json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"minor":3,"major":0},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/sign","interfaceLanguage":"swift"},"sections":[],"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/sign"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"role":"symbol","roleHeading":"Case","title":"JWK.KeyOperations.sign","symbolKind":"case","externalID":"s:10JSONWebKey3JWKV0B10OperationsO4signyA2EmF","modules":[{"name":"jose-swift"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"sign"}]},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"sign"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum":{"kind":"symbol","title":"JWK.KeyOperations","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"KeyOperations","kind":"identifier"}],"navigatorTitle":[{"text":"KeyOperations","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","type":"topic","abstract":[{"text":"The key operations that the key is intended to be used for.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/sign":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"sign"}],"url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/sign","type":"topic","title":"JWK.KeyOperations.sign","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/sign"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keyoperations-swift.enum/unwrapkey.json b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/unwrapkey.json new file mode 100644 index 0000000..60dbf1b --- /dev/null +++ b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/unwrapkey.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"unwrapKey"}],"languages":["swift"],"platforms":["macOS"]}]}],"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/unwrapKey","interfaceLanguage":"swift"},"metadata":{"role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"unwrapKey","kind":"identifier"}],"symbolKind":"case","roleHeading":"Case","title":"JWK.KeyOperations.unwrapKey","externalID":"s:10JSONWebKey3JWKV0B10OperationsO06unwrapB0yA2EmF","modules":[{"name":"jose-swift"}]},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/unwrapkey"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum":{"kind":"symbol","title":"JWK.KeyOperations","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"KeyOperations","kind":"identifier"}],"navigatorTitle":[{"text":"KeyOperations","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","type":"topic","abstract":[{"text":"The key operations that the key is intended to be used for.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/unwrapKey":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"unwrapKey"}],"url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/unwrapkey","type":"topic","title":"JWK.KeyOperations.unwrapKey","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/unwrapKey"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keyoperations-swift.enum/verify.json b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/verify.json new file mode 100644 index 0000000..a210424 --- /dev/null +++ b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/verify.json @@ -0,0 +1 @@ +{"kind":"symbol","sections":[],"schemaVersion":{"major":0,"patch":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum"]]},"metadata":{"roleHeading":"Case","symbolKind":"case","externalID":"s:10JSONWebKey3JWKV0B10OperationsO6verifyyA2EmF","modules":[{"name":"jose-swift"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"verify"}],"role":"symbol","title":"JWK.KeyOperations.verify"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/verify","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/verify"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"verify"}],"platforms":["macOS"],"languages":["swift"]}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/verify":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"verify"}],"url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/verify","type":"topic","title":"JWK.KeyOperations.verify","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/verify"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum":{"kind":"symbol","title":"JWK.KeyOperations","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"KeyOperations","kind":"identifier"}],"navigatorTitle":[{"text":"KeyOperations","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","type":"topic","abstract":[{"text":"The key operations that the key is intended to be used for.","type":"text"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keyoperations-swift.enum/wrapkey.json b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/wrapkey.json new file mode 100644 index 0000000..f318b34 --- /dev/null +++ b/data/documentation/jose_swift/jwk/keyoperations-swift.enum/wrapkey.json @@ -0,0 +1 @@ +{"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"externalID":"s:10JSONWebKey3JWKV0B10OperationsO04wrapB0yA2EmF","modules":[{"name":"jose-swift"}],"title":"JWK.KeyOperations.wrapKey","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"wrapKey"}],"roleHeading":"Case","symbolKind":"case"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum"]]},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"wrapKey"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/wrapKey","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/wrapkey"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum/wrapKey":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"wrapKey"}],"url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/wrapkey","type":"topic","title":"JWK.KeyOperations.wrapKey","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum\/wrapKey"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum":{"kind":"symbol","title":"JWK.KeyOperations","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"KeyOperations","kind":"identifier"}],"navigatorTitle":[{"text":"KeyOperations","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","type":"topic","abstract":[{"text":"The key operations that the key is intended to be used for.","type":"text"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keyoperations-swift.property.json b/data/documentation/jose_swift/jwk/keyoperations-swift.property.json new file mode 100644 index 0000000..565f622 --- /dev/null +++ b/data/documentation/jose_swift/jwk/keyoperations-swift.property.json @@ -0,0 +1 @@ +{"abstract":[{"text":"The key operations that the key is intended to be used for.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/keyoperations-swift.property"]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"metadata":{"modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyOperations"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":".","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV0B10OperationsO","text":"KeyOperations","kind":"typeIdentifier"},{"kind":"text","text":"]?"}],"symbolKind":"property","externalID":"s:10JSONWebKey3JWKV13keyOperationsSayAC0bE0OGSgvp","title":"keyOperations","role":"symbol"},"sections":[],"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyOperations"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":".","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","text":"KeyOperations","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV0B10OperationsO"},{"text":"]?","kind":"text"}]}],"kind":"declarations"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/keyOperations-swift.property","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/KeyOperations-swift.enum":{"kind":"symbol","title":"JWK.KeyOperations","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"KeyOperations","kind":"identifier"}],"navigatorTitle":[{"text":"KeyOperations","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyOperations-swift.enum","type":"topic","abstract":[{"text":"The key operations that the key is intended to be used for.","type":"text"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"text":"RFC7517","type":"text"}],"title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK/keyOperations-swift.property":{"type":"topic","abstract":[{"text":"The key operations that the key is intended to be used for.","type":"text"}],"role":"symbol","title":"keyOperations","kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"keyOperations"},{"text":": [","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV0B10OperationsO","text":"KeyOperations"},{"kind":"text","text":"]?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/keyOperations-swift.property","url":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.property"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keytype-swift.enum.json b/data/documentation/jose_swift/jwk/keytype-swift.enum.json new file mode 100644 index 0000000..2350fa0 --- /dev/null +++ b/data/documentation/jose_swift/jwk/keytype-swift.enum.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"relationshipsSections":[{"title":"Conforms To","type":"conformsTo","kind":"relationships","identifiers":["doc:\/\/jose-swift\/Se","doc:\/\/jose-swift\/SE","doc:\/\/jose-swift\/SQ","doc:\/\/jose-swift\/SH","doc:\/\/jose-swift\/SY"]}],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"KeyType","kind":"identifier"}]}]},{"kind":"content","content":[{"type":"heading","text":"Overview","anchor":"overview","level":2},{"inlineContent":[{"type":"text","text":"For more information, see"}],"type":"paragraph"},{"items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"https:\/\/www.rfc-editor.org\/rfc\/rfc7518#section-6.1"}]}]},{"content":[{"inlineContent":[{"text":"https:\/\/www.rfc-editor.org\/rfc\/rfc8037#section-2","type":"text"}],"type":"paragraph"}]}],"type":"unorderedList"}]}],"metadata":{"title":"JWK.KeyType","roleHeading":"Enumeration","symbolKind":"enum","modules":[{"name":"jose-swift","relatedModules":["JSONWebKey"]}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"KeyType"}],"extendedModule":"JSONWebKey","externalID":"s:10JSONWebKey3JWKV0B4TypeO","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyType"}]},"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/keytype-swift.enum"],"traits":[{"interfaceLanguage":"swift"}]}],"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/ellipticCurve","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/octetKeyPair","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/octetSequence","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/rsa"],"title":"Enumeration Cases"},{"title":"Initializers","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/init(rawValue:)"]},{"generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/Equatable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/RawRepresentable-Implementations"],"title":"Default Implementations"}],"abstract":[{"type":"text","text":"The key type."}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum"},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum":{"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum","kind":"symbol","title":"JWK.KeyType","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyType"}],"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyType"}],"abstract":[{"type":"text","text":"The key type."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/SH":{"type":"unresolvable","identifier":"doc:\/\/jose-swift\/SH","title":"Swift.Hashable"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/octetKeyPair":{"title":"JWK.KeyType.octetKeyPair","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/octetkeypair","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/octetKeyPair","type":"topic","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"octetKeyPair"}],"role":"symbol"},"doc://jose-swift/SY":{"type":"unresolvable","identifier":"doc:\/\/jose-swift\/SY","title":"Swift.RawRepresentable"},"doc://jose-swift/Se":{"type":"unresolvable","identifier":"doc:\/\/jose-swift\/Se","title":"Swift.Decodable"},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/Equatable-Implementations":{"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/equatable-implementations","kind":"article","title":"Equatable Implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/Equatable-Implementations","role":"collectionGroup","type":"topic","abstract":[]},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/rsa":{"fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"rsa"}],"kind":"symbol","title":"JWK.KeyType.rsa","abstract":[],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/rsa","url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/rsa","role":"symbol"},"doc://jose-swift/SQ":{"type":"unresolvable","identifier":"doc:\/\/jose-swift\/SQ","title":"Swift.Equatable"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"text":"RFC7517","type":"text"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/RawRepresentable-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/RawRepresentable-Implementations","role":"collectionGroup","kind":"article","url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/rawrepresentable-implementations","type":"topic","title":"RawRepresentable Implementations","abstract":[]},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/init(rawValue:)":{"kind":"symbol","title":"init(rawValue:)","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/init(rawValue:)","type":"topic","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"rawValue"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":")"}],"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/init(rawvalue:)","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/ellipticCurve":{"abstract":[],"kind":"symbol","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ellipticCurve"}],"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/ellipticcurve","title":"JWK.KeyType.ellipticCurve","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/ellipticCurve"},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/octetSequence":{"role":"symbol","type":"topic","title":"JWK.KeyType.octetSequence","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"octetSequence"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/octetSequence","kind":"symbol","url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/octetsequence","abstract":[]},"doc://jose-swift/SE":{"title":"Swift.Encodable","type":"unresolvable","identifier":"doc:\/\/jose-swift\/SE"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keytype-swift.enum/!=(_:_:).json b/data/documentation/jose_swift/jwk/keytype-swift.enum/!=(_:_:).json new file mode 100644 index 0000000..73367e2 --- /dev/null +++ b/data/documentation/jose_swift/jwk/keytype-swift.enum/!=(_:_:).json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/!=(_:_:)"},"kind":"symbol","metadata":{"externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:10JSONWebKey3JWKV0B4TypeO","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"text":") -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"roleHeading":"Operator","symbolKind":"op","title":"!=(_:_:)","extendedModule":"Swift","role":"symbol","modules":[{"relatedModules":["Swift"],"name":"jose-swift"}]},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"Equatable.!=(_:_:)"},{"type":"text","text":"."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/!=(_:_:)"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"text":"lhs","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"text":", ","kind":"text"},{"text":"rhs","kind":"internalParam"},{"kind":"text","text":": "},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/Equatable-Implementations"]]},"references":{"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/!=(_:_:)":{"title":"!=(_:_:)","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/!=(_:_:)","url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/!=(_:_:)"},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum":{"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum","kind":"symbol","title":"JWK.KeyType","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyType"}],"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyType"}],"abstract":[{"type":"text","text":"The key type."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/Equatable-Implementations":{"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/equatable-implementations","kind":"article","title":"Equatable Implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/Equatable-Implementations","role":"collectionGroup","type":"topic","abstract":[]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keytype-swift.enum/ellipticcurve.json b/data/documentation/jose_swift/jwk/keytype-swift.enum/ellipticcurve.json new file mode 100644 index 0000000..27f9af4 --- /dev/null +++ b/data/documentation/jose_swift/jwk/keytype-swift.enum/ellipticcurve.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/ellipticcurve"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ellipticCurve"}],"platforms":["macOS"]}]}],"kind":"symbol","metadata":{"role":"symbol","externalID":"s:10JSONWebKey3JWKV0B4TypeO13ellipticCurveyA2EmF","symbolKind":"case","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ellipticCurve"}],"roleHeading":"Case","modules":[{"name":"jose-swift"}],"title":"JWK.KeyType.ellipticCurve"},"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/ellipticCurve"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum"]]},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum":{"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum","kind":"symbol","title":"JWK.KeyType","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyType"}],"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyType"}],"abstract":[{"type":"text","text":"The key type."}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/ellipticCurve":{"abstract":[],"kind":"symbol","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ellipticCurve"}],"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/ellipticcurve","title":"JWK.KeyType.ellipticCurve","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/ellipticCurve"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keytype-swift.enum/encode(to:).json b/data/documentation/jose_swift/jwk/keytype-swift.enum/encode(to:).json new file mode 100644 index 0000000..fc5b134 --- /dev/null +++ b/data/documentation/jose_swift/jwk/keytype-swift.enum/encode(to:).json @@ -0,0 +1 @@ +{"metadata":{"role":"symbol","title":"encode(to:)","modules":[{"relatedModules":["Swift"],"name":"jose-swift"}],"roleHeading":"Instance Method","extendedModule":"Swift","externalID":"s:SYsSERzSS8RawValueSYRtzrlE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:10JSONWebKey3JWKV0B4TypeO","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"code":"Self","type":"codeVoice"},{"type":"text","text":" conforms to "},{"code":"Encodable","type":"codeVoice"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" is "},{"type":"codeVoice","code":"String"},{"type":"text","text":"."}]},"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"encode","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"text":": ","kind":"text"},{"text":"Encoder","kind":"typeIdentifier","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"symbolKind":"method"},"abstract":[{"type":"text","text":"Inherited from "},{"code":"RawRepresentable.encode(to:)","type":"codeVoice"},{"type":"text","text":"."}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"to"},{"text":" ","kind":"text"},{"text":"encoder","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7EncoderP","text":"Encoder","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/encode(to:)"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/RawRepresentable-Implementations"]]},"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/encode(to:)","interfaceLanguage":"swift"},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/encode(to:)":{"abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/encode(to:)","url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/encode(to:)","kind":"symbol","title":"encode(to:)","conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"code":"Encodable","type":"codeVoice"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" is "},{"type":"codeVoice","code":"String"},{"text":".","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Encoder","kind":"typeIdentifier","preciseIdentifier":"s:s7EncoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum":{"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum","kind":"symbol","title":"JWK.KeyType","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyType"}],"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyType"}],"abstract":[{"type":"text","text":"The key type."}]},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/RawRepresentable-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/RawRepresentable-Implementations","role":"collectionGroup","kind":"article","url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/rawrepresentable-implementations","type":"topic","title":"RawRepresentable Implementations","abstract":[]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keytype-swift.enum/equatable-implementations.json b/data/documentation/jose_swift/jwk/keytype-swift.enum/equatable-implementations.json new file mode 100644 index 0000000..33f63f0 --- /dev/null +++ b/data/documentation/jose_swift/jwk/keytype-swift.enum/equatable-implementations.json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/Equatable-Implementations"},"metadata":{"role":"collectionGroup","title":"Equatable Implementations","modules":[{"name":"jose-swift"}]},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/equatable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"kind":"article","topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/!=(_:_:)"],"title":"Operators","generated":true}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/!=(_:_:)":{"title":"!=(_:_:)","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/!=(_:_:)","url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/!=(_:_:)"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum":{"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum","kind":"symbol","title":"JWK.KeyType","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyType"}],"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyType"}],"abstract":[{"type":"text","text":"The key type."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keytype-swift.enum/hash(into:).json b/data/documentation/jose_swift/jwk/keytype-swift.enum/hash(into:).json new file mode 100644 index 0000000..6633ec5 --- /dev/null +++ b/data/documentation/jose_swift/jwk/keytype-swift.enum/hash(into:).json @@ -0,0 +1 @@ +{"kind":"symbol","abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"RawRepresentable.hash(into:)"},{"text":".","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/hash(into:)"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"hash","kind":"identifier"},{"kind":"text","text":"("},{"text":"into","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"hasher","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"keyword","text":"inout"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV","text":"Hasher"},{"text":")","kind":"text"}]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/hash(into:)","interfaceLanguage":"swift"},"sections":[],"metadata":{"modules":[{"relatedModules":["Swift"],"name":"jose-swift"}],"extendedModule":"Swift","roleHeading":"Instance Method","role":"symbol","title":"hash(into:)","symbolKind":"method","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"hash","kind":"identifier"},{"kind":"text","text":"("},{"text":"into","kind":"externalParam"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"kind":"text","text":" "},{"preciseIdentifier":"s:s6HasherV","text":"Hasher","kind":"typeIdentifier"},{"text":")","kind":"text"}],"externalID":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:10JSONWebKey3JWKV0B4TypeO","conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]}},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/RawRepresentable-Implementations"]]},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/hash(into:)":{"title":"hash(into:)","kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/hash(into:)","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/hash(into:)","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"hash","kind":"identifier"},{"kind":"text","text":"("},{"text":"into","kind":"externalParam"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"kind":"text","text":" "},{"text":"Hasher","preciseIdentifier":"s:s6HasherV","kind":"typeIdentifier"},{"text":")","kind":"text"}],"conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}]}},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum":{"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum","kind":"symbol","title":"JWK.KeyType","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyType"}],"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyType"}],"abstract":[{"type":"text","text":"The key type."}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/RawRepresentable-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/RawRepresentable-Implementations","role":"collectionGroup","kind":"article","url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/rawrepresentable-implementations","type":"topic","title":"RawRepresentable Implementations","abstract":[]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keytype-swift.enum/hashvalue.json b/data/documentation/jose_swift/jwk/keytype-swift.enum/hashvalue.json new file mode 100644 index 0000000..9c672a9 --- /dev/null +++ b/data/documentation/jose_swift/jwk/keytype-swift.enum/hashvalue.json @@ -0,0 +1 @@ +{"metadata":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"hashValue"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"}],"modules":[{"relatedModules":["Swift"],"name":"jose-swift"}],"conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"text":".","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"role":"symbol","title":"hashValue","externalID":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:10JSONWebKey3JWKV0B4TypeO","extendedModule":"Swift","symbolKind":"property","roleHeading":"Instance Property"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/hashValue"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"hashValue"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/hashvalue"]}],"schemaVersion":{"patch":0,"minor":3,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/RawRepresentable-Implementations"]]},"kind":"symbol","sections":[],"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"RawRepresentable.hashValue"},{"type":"text","text":"."}],"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/RawRepresentable-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/RawRepresentable-Implementations","role":"collectionGroup","kind":"article","url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/rawrepresentable-implementations","type":"topic","title":"RawRepresentable Implementations","abstract":[]},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum":{"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum","kind":"symbol","title":"JWK.KeyType","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyType"}],"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyType"}],"abstract":[{"type":"text","text":"The key type."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/hashValue":{"conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"text":" and ","type":"text"},{"code":"RawValue","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}]},"title":"hashValue","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"hashValue","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"}],"abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/hashValue","type":"topic","kind":"symbol","url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/hashvalue"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keytype-swift.enum/init(from:).json b/data/documentation/jose_swift/jwk/keytype-swift.enum/init(from:).json new file mode 100644 index 0000000..00ca01a --- /dev/null +++ b/data/documentation/jose_swift/jwk/keytype-swift.enum/init(from:).json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"RawRepresentable.init(from:)"},{"type":"text","text":"."}],"sections":[],"metadata":{"title":"init(from:)","conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Decodable"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"text":" is ","type":"text"},{"type":"codeVoice","code":"String"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}]},"extendedModule":"Swift","role":"symbol","modules":[{"name":"jose-swift","relatedModules":["Swift"]}],"fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s7DecoderP","text":"Decoder","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"roleHeading":"Initializer","externalID":"s:SYsSeRzSS8RawValueSYRtzrlE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:10JSONWebKey3JWKV0B4TypeO","symbolKind":"init"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/init(from:)"},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"decoder"},{"kind":"text","text":": "},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/RawRepresentable-Implementations"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/init(from:)"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/RawRepresentable-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/RawRepresentable-Implementations","role":"collectionGroup","kind":"article","url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/rawrepresentable-implementations","type":"topic","title":"RawRepresentable Implementations","abstract":[]},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/init(from:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/init(from:)","title":"init(from:)","role":"symbol","type":"topic","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"text":": ","kind":"text"},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/init(from:)","kind":"symbol","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Decodable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" is "},{"type":"codeVoice","code":"String"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"abstract":[]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum":{"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum","kind":"symbol","title":"JWK.KeyType","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyType"}],"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyType"}],"abstract":[{"type":"text","text":"The key type."}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keytype-swift.enum/init(rawvalue:).json b/data/documentation/jose_swift/jwk/keytype-swift.enum/init(rawvalue:).json new file mode 100644 index 0000000..9d044d8 --- /dev/null +++ b/data/documentation/jose_swift/jwk/keytype-swift.enum/init(rawvalue:).json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/init(rawValue:)"},"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/init(rawvalue:)"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"init","kind":"keyword"},{"text":"?(","kind":"text"},{"text":"rawValue","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"platforms":["macOS"],"languages":["swift"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum"]]},"sections":[],"metadata":{"modules":[{"name":"jose-swift"}],"externalID":"s:10JSONWebKey3JWKV0B4TypeO8rawValueAESgSS_tcfc","roleHeading":"Initializer","title":"init(rawValue:)","symbolKind":"init","fragments":[{"kind":"identifier","text":"init"},{"text":"?(","kind":"text"},{"text":"rawValue","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"role":"symbol"},"abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"RawRepresentable.init(rawValue:)"},{"text":".","type":"text"}],"references":{"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum":{"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum","kind":"symbol","title":"JWK.KeyType","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyType"}],"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyType"}],"abstract":[{"type":"text","text":"The key type."}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/init(rawValue:)":{"kind":"symbol","title":"init(rawValue:)","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/init(rawValue:)","type":"topic","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"rawValue"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":")"}],"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/init(rawvalue:)","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keytype-swift.enum/octetkeypair.json b/data/documentation/jose_swift/jwk/keytype-swift.enum/octetkeypair.json new file mode 100644 index 0000000..f1c2b62 --- /dev/null +++ b/data/documentation/jose_swift/jwk/keytype-swift.enum/octetkeypair.json @@ -0,0 +1 @@ +{"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/octetkeypair"]}],"metadata":{"title":"JWK.KeyType.octetKeyPair","symbolKind":"case","modules":[{"name":"jose-swift"}],"roleHeading":"Case","externalID":"s:10JSONWebKey3JWKV0B4TypeO05octetB4PairyA2EmF","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"octetKeyPair","kind":"identifier"}],"role":"symbol"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/octetKeyPair","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"octetKeyPair"}]}]}],"sections":[],"references":{"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum":{"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum","kind":"symbol","title":"JWK.KeyType","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyType"}],"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyType"}],"abstract":[{"type":"text","text":"The key type."}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/octetKeyPair":{"title":"JWK.KeyType.octetKeyPair","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/octetkeypair","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/octetKeyPair","type":"topic","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"octetKeyPair"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keytype-swift.enum/octetsequence.json b/data/documentation/jose_swift/jwk/keytype-swift.enum/octetsequence.json new file mode 100644 index 0000000..2fa12fb --- /dev/null +++ b/data/documentation/jose_swift/jwk/keytype-swift.enum/octetsequence.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/octetsequence"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/octetSequence","interfaceLanguage":"swift"},"metadata":{"modules":[{"name":"jose-swift"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"octetSequence"}],"title":"JWK.KeyType.octetSequence","roleHeading":"Case","externalID":"s:10JSONWebKey3JWKV0B4TypeO13octetSequenceyA2EmF","role":"symbol","symbolKind":"case"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"octetSequence","kind":"identifier"}],"platforms":["macOS"],"languages":["swift"]}]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","titleInlineContent":[{"text":"RFC7517","type":"text"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/octetSequence":{"role":"symbol","type":"topic","title":"JWK.KeyType.octetSequence","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"octetSequence"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/octetSequence","kind":"symbol","url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/octetsequence","abstract":[]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum":{"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum","kind":"symbol","title":"JWK.KeyType","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyType"}],"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyType"}],"abstract":[{"type":"text","text":"The key type."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keytype-swift.enum/rawrepresentable-implementations.json b/data/documentation/jose_swift/jwk/keytype-swift.enum/rawrepresentable-implementations.json new file mode 100644 index 0000000..c5cad76 --- /dev/null +++ b/data/documentation/jose_swift/jwk/keytype-swift.enum/rawrepresentable-implementations.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/rawrepresentable-implementations"]}],"metadata":{"role":"collectionGroup","title":"RawRepresentable Implementations","modules":[{"name":"jose-swift"}]},"sections":[],"topicSections":[{"generated":true,"title":"Initializers","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/init(from:)"]},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/hashValue"],"title":"Instance Properties","generated":true},{"generated":true,"title":"Instance Methods","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/encode(to:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/hash(into:)"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/RawRepresentable-Implementations"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"article","references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/encode(to:)":{"abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/encode(to:)","url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/encode(to:)","kind":"symbol","title":"encode(to:)","conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"code":"Encodable","type":"codeVoice"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" is "},{"type":"codeVoice","code":"String"},{"text":".","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Encoder","kind":"typeIdentifier","preciseIdentifier":"s:s7EncoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"type":"topic"},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/hashValue":{"conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"text":" and ","type":"text"},{"code":"RawValue","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}]},"title":"hashValue","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"hashValue","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"}],"abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/hashValue","type":"topic","kind":"symbol","url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/hashvalue"},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","titleInlineContent":[{"text":"RFC7517","type":"text"}],"title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/hash(into:)":{"title":"hash(into:)","kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/hash(into:)","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/hash(into:)","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"hash","kind":"identifier"},{"kind":"text","text":"("},{"text":"into","kind":"externalParam"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"kind":"text","text":" "},{"text":"Hasher","preciseIdentifier":"s:s6HasherV","kind":"typeIdentifier"},{"text":")","kind":"text"}],"conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}]}},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/init(from:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/init(from:)","title":"init(from:)","role":"symbol","type":"topic","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"text":": ","kind":"text"},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/init(from:)","kind":"symbol","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Decodable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" is "},{"type":"codeVoice","code":"String"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"abstract":[]},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum":{"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum","kind":"symbol","title":"JWK.KeyType","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyType"}],"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyType"}],"abstract":[{"type":"text","text":"The key type."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keytype-swift.enum/rsa.json b/data/documentation/jose_swift/jwk/keytype-swift.enum/rsa.json new file mode 100644 index 0000000..ad4b33c --- /dev/null +++ b/data/documentation/jose_swift/jwk/keytype-swift.enum/rsa.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/rsa"]}],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"rsa"}],"platforms":["macOS"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum"]]},"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/rsa"},"schemaVersion":{"patch":0,"minor":3,"major":0},"metadata":{"title":"JWK.KeyType.rsa","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"rsa"}],"symbolKind":"case","role":"symbol","roleHeading":"Case","externalID":"s:10JSONWebKey3JWKV0B4TypeO3rsayA2EmF"},"references":{"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum":{"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum","kind":"symbol","title":"JWK.KeyType","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyType"}],"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyType"}],"abstract":[{"type":"text","text":"The key type."}]},"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum/rsa":{"fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"rsa"}],"kind":"symbol","title":"JWK.KeyType.rsa","abstract":[],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum\/rsa","url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/rsa","role":"symbol"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/keytype-swift.property.json b/data/documentation/jose_swift/jwk/keytype-swift.property.json new file mode 100644 index 0000000..5121aa7 --- /dev/null +++ b/data/documentation/jose_swift/jwk/keytype-swift.property.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/keyType-swift.property"},"kind":"symbol","sections":[],"metadata":{"externalID":"s:10JSONWebKey3JWKV7keyTypeAC0bE0Ovp","symbolKind":"property","title":"keyType","role":"symbol","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyType"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"KeyType","preciseIdentifier":"s:10JSONWebKey3JWKV0B4TypeO"}],"roleHeading":"Instance Property"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"abstract":[{"type":"text","text":"The key type."}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"keyType"},{"kind":"text","text":": "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"KeyType","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum","preciseIdentifier":"s:10JSONWebKey3JWKV0B4TypeO"}]}],"kind":"declarations"}],"schemaVersion":{"patch":0,"major":0,"minor":3},"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/keytype-swift.property"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWK/KeyType-swift.enum":{"url":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum","kind":"symbol","title":"JWK.KeyType","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/KeyType-swift.enum","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyType"}],"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyType"}],"abstract":[{"type":"text","text":"The key type."}]},"https://www.rfc-editor.org/rfc/rfc7517":{"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","titleInlineContent":[{"text":"RFC7517","type":"text"}],"title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK/keyType-swift.property":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/keyType-swift.property","kind":"symbol","abstract":[{"text":"The key type.","type":"text"}],"role":"symbol","url":"\/documentation\/jose_swift\/jwk\/keytype-swift.property","title":"keyType","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"keyType","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"."},{"text":"KeyType","preciseIdentifier":"s:10JSONWebKey3JWKV0B4TypeO","kind":"typeIdentifier"}],"type":"topic"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/n.json b/data/documentation/jose_swift/jwk/n.json new file mode 100644 index 0000000..85ca945 --- /dev/null +++ b/data/documentation/jose_swift/jwk/n.json @@ -0,0 +1 @@ +{"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"metadata":{"roleHeading":"Instance Property","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"n","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"modules":[{"name":"jose-swift"}],"symbolKind":"property","externalID":"s:10JSONWebKey3JWKV1n10Foundation4DataVSgvp","role":"symbol","title":"n"},"abstract":[{"text":"The value of the “n” parameter for an RSA key.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/n"]}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"n","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/n","interfaceLanguage":"swift"},"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/n":{"abstract":[{"type":"text","text":"The value of the “n” parameter for an RSA key."}],"type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"n"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/jwk\/n","kind":"symbol","title":"n","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/n"},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/p.json b/data/documentation/jose_swift/jwk/p.json new file mode 100644 index 0000000..f93c741 --- /dev/null +++ b/data/documentation/jose_swift/jwk/p.json @@ -0,0 +1 @@ +{"kind":"symbol","abstract":[{"type":"text","text":"The value of the “e” parameter for an RSA key."}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"p","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?"}]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/p"]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/p","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"sections":[],"metadata":{"title":"p","symbolKind":"property","modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","externalID":"s:10JSONWebKey3JWKV1p10Foundation4DataVSgvp","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"p","kind":"identifier"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"role":"symbol"},"schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://jose-swift/documentation/jose_swift/JWK/p":{"title":"p","kind":"symbol","abstract":[{"text":"The value of the “e” parameter for an RSA key.","type":"text"}],"url":"\/documentation\/jose_swift\/jwk\/p","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/p","type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"p"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"role":"symbol"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/publickey.json b/data/documentation/jose_swift/jwk/publickey.json new file mode 100644 index 0000000..a197abb --- /dev/null +++ b/data/documentation/jose_swift/jwk/publickey.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/publicKey","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/JWKRepresentable-Implementations"]]},"abstract":[{"type":"text","text":"Returns the public key of a "},{"type":"codeVoice","code":"JWK"},{"type":"text","text":" instance."}],"metadata":{"modules":[{"name":"jose-swift","relatedModules":["JSONWebAlgorithms"]}],"extendedModule":"JSONWebAlgorithms","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"publicKey"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"title":"publicKey","roleHeading":"Instance Property","externalID":"s:17JSONWebAlgorithms16JWKRepresentablePAA0A3Key3JWKVRszrlE06publicD0AFvp::SYNTHESIZED::s:10JSONWebKey3JWKV","role":"symbol","symbolKind":"property","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" is "},{"code":"JWK","type":"codeVoice"},{"type":"text","text":"."}]}},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/publickey"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"publicKey"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/JWKRepresentable-Implementations":{"kind":"article","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/JWKRepresentable-Implementations","abstract":[],"url":"\/documentation\/jose_swift\/jwk\/jwkrepresentable-implementations","role":"collectionGroup","title":"JWKRepresentable Implementations","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWK/publicKey":{"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"publicKey"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"}],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/publicKey","abstract":[{"text":"Returns the public key of a ","type":"text"},{"type":"codeVoice","code":"JWK"},{"text":" instance.","type":"text"}],"url":"\/documentation\/jose_swift\/jwk\/publickey","role":"symbol","title":"publicKey","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" is ","type":"text"},{"code":"JWK","type":"codeVoice"},{"text":".","type":"text"}]},"type":"topic"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"text":"RFC7517","type":"text"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/publickeyuse-swift.enum.json b/data/documentation/jose_swift/jwk/publickeyuse-swift.enum.json new file mode 100644 index 0000000..bd02ff6 --- /dev/null +++ b/data/documentation/jose_swift/jwk/publickeyuse-swift.enum.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"PublicKeyUse"}],"platforms":["macOS"]}],"kind":"declarations"},{"kind":"content","content":[{"type":"heading","text":"Overview","level":2,"anchor":"overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"For more information, see https:\/\/www.rfc-editor.org\/rfc\/rfc7517#section-4.2"}]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum"]}],"kind":"symbol","schemaVersion":{"patch":0,"major":0,"minor":3},"topicSections":[{"title":"Enumeration Cases","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/encryption","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/signature"]},{"title":"Initializers","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/init(rawValue:)"]},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/Equatable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/RawRepresentable-Implementations"],"generated":true,"title":"Default Implementations"}],"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"metadata":{"title":"JWK.PublicKeyUse","roleHeading":"Enumeration","symbolKind":"enum","modules":[{"name":"jose-swift","relatedModules":["JSONWebKey"]}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"PublicKeyUse","kind":"identifier"}],"extendedModule":"JSONWebKey","externalID":"s:10JSONWebKey3JWKV06PublicB3UseO","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"PublicKeyUse"}]},"abstract":[{"text":"The intended use of the public key.","type":"text"}],"relationshipsSections":[{"title":"Conforms To","type":"conformsTo","identifiers":["doc:\/\/jose-swift\/Se","doc:\/\/jose-swift\/SE","doc:\/\/jose-swift\/SQ","doc:\/\/jose-swift\/SH","doc:\/\/jose-swift\/SY"],"kind":"relationships"}],"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum/signature":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/signature","url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/signature","type":"topic","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"signature"}],"abstract":[],"title":"JWK.PublicKeyUse.signature","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum/encryption":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/encryption","kind":"symbol","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encryption","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/encryption","abstract":[],"title":"JWK.PublicKeyUse.encryption","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum/Equatable-Implementations":{"abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/Equatable-Implementations","url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/equatable-implementations","kind":"article","title":"Equatable Implementations","role":"collectionGroup","type":"topic"},"doc://jose-swift/SH":{"title":"Swift.Hashable","type":"unresolvable","identifier":"doc:\/\/jose-swift\/SH"},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum/init(rawValue:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/init(rawValue:)","title":"init(rawValue:)","role":"symbol","abstract":[],"type":"topic","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"?("},{"text":"rawValue","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":")","kind":"text"}],"url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/init(rawvalue:)","kind":"symbol"},"doc://jose-swift/SE":{"title":"Swift.Encodable","type":"unresolvable","identifier":"doc:\/\/jose-swift\/SE"},"doc://jose-swift/Se":{"title":"Swift.Decodable","type":"unresolvable","identifier":"doc:\/\/jose-swift\/Se"},"https://www.rfc-editor.org/rfc/rfc7517":{"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","titleInlineContent":[{"text":"RFC7517","type":"text"}],"title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum/RawRepresentable-Implementations":{"type":"topic","url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/rawrepresentable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/RawRepresentable-Implementations","title":"RawRepresentable Implementations","abstract":[],"kind":"article","role":"collectionGroup"},"doc://jose-swift/SQ":{"identifier":"doc:\/\/jose-swift\/SQ","type":"unresolvable","title":"Swift.Equatable"},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum","title":"JWK.PublicKeyUse","role":"symbol","abstract":[{"text":"The intended use of the public key.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"PublicKeyUse"}],"url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum","kind":"symbol","navigatorTitle":[{"text":"PublicKeyUse","kind":"identifier"}]},"doc://jose-swift/SY":{"identifier":"doc:\/\/jose-swift\/SY","type":"unresolvable","title":"Swift.RawRepresentable"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/!=(_:_:).json b/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/!=(_:_:).json new file mode 100644 index 0000000..dcd335b --- /dev/null +++ b/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/!=(_:_:).json @@ -0,0 +1 @@ +{"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/!=(_:_:)"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/Equatable-Implementations"]]},"abstract":[{"type":"text","text":"Inherited from "},{"code":"Equatable.!=(_:_:)","type":"codeVoice"},{"text":".","type":"text"}],"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/!=(_:_:)"]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}],"extendedModule":"Swift","role":"symbol","modules":[{"relatedModules":["Swift"],"name":"jose-swift"}],"externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:10JSONWebKey3JWKV06PublicB3UseO","title":"!=(_:_:)","roleHeading":"Operator","symbolKind":"op"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"internalParam","text":"lhs"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"rhs","kind":"internalParam"},{"kind":"text","text":": "},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"languages":["swift"],"platforms":["macOS"]}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum/!=(_:_:)":{"abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/!=(_:_:)","url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/!=(_:_:)","kind":"symbol","title":"!=(_:_:)","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"!=","kind":"identifier"},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"text":", ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"type":"topic"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","type":"link"},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum","title":"JWK.PublicKeyUse","role":"symbol","abstract":[{"text":"The intended use of the public key.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"PublicKeyUse"}],"url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum","kind":"symbol","navigatorTitle":[{"text":"PublicKeyUse","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum/Equatable-Implementations":{"abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/Equatable-Implementations","url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/equatable-implementations","kind":"article","title":"Equatable Implementations","role":"collectionGroup","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/encode(to:).json b/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/encode(to:).json new file mode 100644 index 0000000..7ef5065 --- /dev/null +++ b/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/encode(to:).json @@ -0,0 +1 @@ +{"metadata":{"title":"encode(to:)","extendedModule":"Swift","roleHeading":"Instance Method","modules":[{"name":"jose-swift","relatedModules":["Swift"]}],"conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Encodable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"text":" is ","type":"text"},{"type":"codeVoice","code":"String"},{"text":".","type":"text"}]},"externalID":"s:SYsSERzSS8RawValueSYRtzrlE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:10JSONWebKey3JWKV06PublicB3UseO","symbolKind":"method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"to"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s7EncoderP","kind":"typeIdentifier","text":"Encoder"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"role":"symbol"},"abstract":[{"type":"text","text":"Inherited from "},{"code":"RawRepresentable.encode(to:)","type":"codeVoice"},{"text":".","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"encoder","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"languages":["swift"]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/encode(to:)"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/RawRepresentable-Implementations"]]},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/encode(to:)"]}],"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum/encode(to:)":{"title":"encode(to:)","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Encodable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" is "},{"type":"codeVoice","code":"String"},{"text":".","type":"text"}]},"url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/encode(to:)","type":"topic","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"kind":"symbol","abstract":[],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/encode(to:)"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum","title":"JWK.PublicKeyUse","role":"symbol","abstract":[{"text":"The intended use of the public key.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"PublicKeyUse"}],"url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum","kind":"symbol","navigatorTitle":[{"text":"PublicKeyUse","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum/RawRepresentable-Implementations":{"type":"topic","url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/rawrepresentable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/RawRepresentable-Implementations","title":"RawRepresentable Implementations","abstract":[],"kind":"article","role":"collectionGroup"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/encryption.json b/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/encryption.json new file mode 100644 index 0000000..0ba8d81 --- /dev/null +++ b/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/encryption.json @@ -0,0 +1 @@ +{"sections":[],"metadata":{"role":"symbol","externalID":"s:10JSONWebKey3JWKV06PublicB3UseO10encryptionyA2EmF","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"encryption"}],"modules":[{"name":"jose-swift"}],"symbolKind":"case","title":"JWK.PublicKeyUse.encryption","roleHeading":"Case"},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/encryption"]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum"]]},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"encryption","kind":"identifier"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/encryption"},"references":{"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum/encryption":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/encryption","kind":"symbol","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encryption","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/encryption","abstract":[],"title":"JWK.PublicKeyUse.encryption","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum","title":"JWK.PublicKeyUse","role":"symbol","abstract":[{"text":"The intended use of the public key.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"PublicKeyUse"}],"url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum","kind":"symbol","navigatorTitle":[{"text":"PublicKeyUse","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/equatable-implementations.json b/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/equatable-implementations.json new file mode 100644 index 0000000..dcaf251 --- /dev/null +++ b/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/equatable-implementations.json @@ -0,0 +1 @@ +{"kind":"article","topicSections":[{"title":"Operators","generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/!=(_:_:)"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/Equatable-Implementations","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/equatable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"modules":[{"name":"jose-swift"}],"role":"collectionGroup","title":"Equatable Implementations"},"references":{"https://www.rfc-editor.org/rfc/rfc7517":{"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","titleInlineContent":[{"text":"RFC7517","type":"text"}],"title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum/!=(_:_:)":{"abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/!=(_:_:)","url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/!=(_:_:)","kind":"symbol","title":"!=(_:_:)","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"!=","kind":"identifier"},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"text":", ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum","title":"JWK.PublicKeyUse","role":"symbol","abstract":[{"text":"The intended use of the public key.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"PublicKeyUse"}],"url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum","kind":"symbol","navigatorTitle":[{"text":"PublicKeyUse","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/hash(into:).json b/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/hash(into:).json new file mode 100644 index 0000000..88158cd --- /dev/null +++ b/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/hash(into:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/RawRepresentable-Implementations"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/hash(into:)"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/hash(into:)"},"metadata":{"title":"hash(into:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"hash"},{"text":"(","kind":"text"},{"text":"into","kind":"externalParam"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"kind":"text","text":" "},{"text":"Hasher","kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV"},{"text":")","kind":"text"}],"roleHeading":"Instance Method","extendedModule":"Swift","externalID":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:10JSONWebKey3JWKV06PublicB3UseO","symbolKind":"method","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"text":" and ","type":"text"},{"code":"RawValue","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"text":".","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"modules":[{"name":"jose-swift","relatedModules":["Swift"]}],"role":"symbol"},"sections":[],"abstract":[{"text":"Inherited from ","type":"text"},{"code":"RawRepresentable.hash(into:)","type":"codeVoice"},{"text":".","type":"text"}],"schemaVersion":{"minor":3,"patch":0,"major":0},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"hash","kind":"identifier"},{"text":"(","kind":"text"},{"text":"into","kind":"externalParam"},{"kind":"text","text":" "},{"text":"hasher","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"keyword","text":"inout"},{"kind":"text","text":" "},{"text":"Hasher","kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV"},{"text":")","kind":"text"}]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum/RawRepresentable-Implementations":{"type":"topic","url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/rawrepresentable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/RawRepresentable-Implementations","title":"RawRepresentable Implementations","abstract":[],"kind":"article","role":"collectionGroup"},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum","title":"JWK.PublicKeyUse","role":"symbol","abstract":[{"text":"The intended use of the public key.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"PublicKeyUse"}],"url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum","kind":"symbol","navigatorTitle":[{"text":"PublicKeyUse","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum/hash(into:)":{"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"hash","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"into"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV","text":"Hasher"},{"text":")","kind":"text"}],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/hash(into:)","url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/hash(into:)","title":"hash(into:)","abstract":[],"conformance":{"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"text":" and ","type":"text"},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"text":".","type":"text"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/hashvalue.json b/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/hashvalue.json new file mode 100644 index 0000000..52f58d4 --- /dev/null +++ b/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/hashvalue.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/RawRepresentable-Implementations"]]},"metadata":{"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"hashValue","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"}],"symbolKind":"property","extendedModule":"Swift","modules":[{"relatedModules":["Swift"],"name":"jose-swift"}],"roleHeading":"Instance Property","title":"hashValue","conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"text":".","type":"text"}]},"role":"symbol","externalID":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:10JSONWebKey3JWKV06PublicB3UseO"},"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/hashValue"},"sections":[],"abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"RawRepresentable.hashValue"},{"type":"text","text":"."}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"hashValue"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"},{"kind":"text","text":" { "},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/hashvalue"]}],"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"text":"RFC7517","type":"text"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link"},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum/hashValue":{"role":"symbol","type":"topic","title":"hashValue","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"hashValue"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/hashValue","conformance":{"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"kind":"symbol","url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/hashvalue","abstract":[]},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum/RawRepresentable-Implementations":{"type":"topic","url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/rawrepresentable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/RawRepresentable-Implementations","title":"RawRepresentable Implementations","abstract":[],"kind":"article","role":"collectionGroup"},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum","title":"JWK.PublicKeyUse","role":"symbol","abstract":[{"text":"The intended use of the public key.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"PublicKeyUse"}],"url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum","kind":"symbol","navigatorTitle":[{"text":"PublicKeyUse","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/init(from:).json b/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/init(from:).json new file mode 100644 index 0000000..8ae683e --- /dev/null +++ b/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/init(from:).json @@ -0,0 +1 @@ +{"metadata":{"roleHeading":"Initializer","extendedModule":"Swift","role":"symbol","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Decodable"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"text":" is ","type":"text"},{"type":"codeVoice","code":"String"},{"text":".","type":"text"}],"availabilityPrefix":[{"text":"Available when","type":"text"}]},"fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7DecoderP","text":"Decoder","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"symbolKind":"init","externalID":"s:SYsSeRzSS8RawValueSYRtzrlE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:10JSONWebKey3JWKV06PublicB3UseO","title":"init(from:)","modules":[{"name":"jose-swift","relatedModules":["Swift"]}]},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/init(from:)"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/RawRepresentable-Implementations"]]},"schemaVersion":{"major":0,"patch":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"init","kind":"keyword"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"kind":"text","text":" "},{"text":"decoder","kind":"internalParam"},{"kind":"text","text":": "},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"platforms":["macOS"]}]}],"kind":"symbol","abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"RawRepresentable.init(from:)"},{"type":"text","text":"."}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/init(from:)","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum","title":"JWK.PublicKeyUse","role":"symbol","abstract":[{"text":"The intended use of the public key.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"PublicKeyUse"}],"url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum","kind":"symbol","navigatorTitle":[{"text":"PublicKeyUse","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum/init(from:)":{"type":"topic","url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/init(from:)","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Decodable"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" is "},{"code":"String","type":"codeVoice"},{"type":"text","text":"."}]},"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/init(from:)","title":"init(from:)","abstract":[],"kind":"symbol","role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Decoder","preciseIdentifier":"s:s7DecoderP","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum/RawRepresentable-Implementations":{"type":"topic","url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/rawrepresentable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/RawRepresentable-Implementations","title":"RawRepresentable Implementations","abstract":[],"kind":"article","role":"collectionGroup"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/init(rawvalue:).json b/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/init(rawvalue:).json new file mode 100644 index 0000000..bbdc59f --- /dev/null +++ b/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/init(rawvalue:).json @@ -0,0 +1 @@ +{"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"init","kind":"keyword"},{"text":"?(","kind":"text"},{"text":"rawValue","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":")"}]}]}],"abstract":[{"text":"Inherited from ","type":"text"},{"code":"RawRepresentable.init(rawValue:)","type":"codeVoice"},{"text":".","type":"text"}],"metadata":{"title":"init(rawValue:)","role":"symbol","modules":[{"name":"jose-swift"}],"externalID":"s:10JSONWebKey3JWKV06PublicB3UseO8rawValueAESgSS_tcfc","roleHeading":"Initializer","fragments":[{"text":"init","kind":"identifier"},{"text":"?(","kind":"text"},{"text":"rawValue","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":")"}],"symbolKind":"init"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/init(rawValue:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/init(rawvalue:)"]}],"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"text":"RFC7517","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum","title":"JWK.PublicKeyUse","role":"symbol","abstract":[{"text":"The intended use of the public key.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"PublicKeyUse"}],"url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum","kind":"symbol","navigatorTitle":[{"text":"PublicKeyUse","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum/init(rawValue:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/init(rawValue:)","title":"init(rawValue:)","role":"symbol","abstract":[],"type":"topic","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"?("},{"text":"rawValue","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":")","kind":"text"}],"url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/init(rawvalue:)","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/rawrepresentable-implementations.json b/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/rawrepresentable-implementations.json new file mode 100644 index 0000000..ff1c29f --- /dev/null +++ b/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/rawrepresentable-implementations.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/rawrepresentable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"title":"RawRepresentable Implementations","role":"collectionGroup","modules":[{"name":"jose-swift"}]},"kind":"article","topicSections":[{"title":"Initializers","generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/init(from:)"]},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/hashValue"],"generated":true,"title":"Instance Properties"},{"title":"Instance Methods","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/encode(to:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/hash(into:)"],"generated":true}],"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/RawRepresentable-Implementations","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum"]]},"references":{"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum/hashValue":{"role":"symbol","type":"topic","title":"hashValue","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"hashValue"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/hashValue","conformance":{"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"kind":"symbol","url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/hashvalue","abstract":[]},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum/hash(into:)":{"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"hash","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"into"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV","text":"Hasher"},{"text":")","kind":"text"}],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/hash(into:)","url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/hash(into:)","title":"hash(into:)","abstract":[],"conformance":{"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"text":" and ","type":"text"},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"text":".","type":"text"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum","title":"JWK.PublicKeyUse","role":"symbol","abstract":[{"text":"The intended use of the public key.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"PublicKeyUse"}],"url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum","kind":"symbol","navigatorTitle":[{"text":"PublicKeyUse","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum/init(from:)":{"type":"topic","url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/init(from:)","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Decodable"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" is "},{"code":"String","type":"codeVoice"},{"type":"text","text":"."}]},"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/init(from:)","title":"init(from:)","abstract":[],"kind":"symbol","role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Decoder","preciseIdentifier":"s:s7DecoderP","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum/encode(to:)":{"title":"encode(to:)","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Encodable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" is "},{"type":"codeVoice","code":"String"},{"text":".","type":"text"}]},"url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/encode(to:)","type":"topic","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"kind":"symbol","abstract":[],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/encode(to:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/signature.json b/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/signature.json new file mode 100644 index 0000000..e763b9c --- /dev/null +++ b/data/documentation/jose_swift/jwk/publickeyuse-swift.enum/signature.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/signature"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"signature","kind":"identifier"}],"languages":["swift"]}]}],"kind":"symbol","sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/signature"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum"]]},"metadata":{"role":"symbol","externalID":"s:10JSONWebKey3JWKV06PublicB3UseO9signatureyA2EmF","roleHeading":"Case","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"signature","kind":"identifier"}],"modules":[{"name":"jose-swift"}],"title":"JWK.PublicKeyUse.signature","symbolKind":"case"},"references":{"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum/signature":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum\/signature","url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/signature","type":"topic","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"signature"}],"abstract":[],"title":"JWK.PublicKeyUse.signature","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum","title":"JWK.PublicKeyUse","role":"symbol","abstract":[{"text":"The intended use of the public key.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"PublicKeyUse"}],"url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum","kind":"symbol","navigatorTitle":[{"text":"PublicKeyUse","kind":"identifier"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/publickeyuse-swift.property.json b/data/documentation/jose_swift/jwk/publickeyuse-swift.property.json new file mode 100644 index 0000000..71701b0 --- /dev/null +++ b/data/documentation/jose_swift/jwk/publickeyuse-swift.property.json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"minor":3,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"abstract":[{"text":"The intended use of the public key.","type":"text"}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/publicKeyUse-swift.property"},"kind":"symbol","metadata":{"modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"publicKeyUse","kind":"identifier"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":".","kind":"text"},{"text":"PublicKeyUse","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV06PublicB3UseO"},{"kind":"text","text":"?"}],"symbolKind":"property","externalID":"s:10JSONWebKey3JWKV06publicB3UseAC06PublicbE0OSgvp","title":"publicKeyUse","role":"symbol"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"publicKeyUse"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:10JSONWebKey3JWKV06PublicB3UseO","text":"PublicKeyUse","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum"},{"text":"?","kind":"text"}]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/publickeyuse-swift.property"]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/publicKeyUse-swift.property":{"abstract":[{"type":"text","text":"The intended use of the public key."}],"type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"publicKeyUse","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV06PublicB3UseO","text":"PublicKeyUse"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.property","kind":"symbol","title":"publicKeyUse","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/publicKeyUse-swift.property"},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum","title":"JWK.PublicKeyUse","role":"symbol","abstract":[{"text":"The intended use of the public key.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"PublicKeyUse"}],"url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum","kind":"symbol","navigatorTitle":[{"text":"PublicKeyUse","kind":"identifier"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/q.json b/data/documentation/jose_swift/jwk/q.json new file mode 100644 index 0000000..c7b3961 --- /dev/null +++ b/data/documentation/jose_swift/jwk/q.json @@ -0,0 +1 @@ +{"sections":[],"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"q","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}]}],"kind":"declarations"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/q"},"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"metadata":{"title":"q","symbolKind":"property","roleHeading":"Instance Property","modules":[{"name":"jose-swift"}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"q","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"externalID":"s:10JSONWebKey3JWKV1q10Foundation4DataVSgvp","role":"symbol"},"abstract":[{"text":"The value of the “q” parameter for an RSA key.","type":"text"}],"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/q"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"https://www.rfc-editor.org/rfc/rfc7517":{"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","titleInlineContent":[{"text":"RFC7517","type":"text"}],"title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/q":{"title":"q","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"q"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/q","url":"\/documentation\/jose_swift\/jwk\/q","abstract":[{"text":"The value of the “q” parameter for an RSA key.","type":"text"}],"type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/qi.json b/data/documentation/jose_swift/jwk/qi.json new file mode 100644 index 0000000..8abdc18 --- /dev/null +++ b/data/documentation/jose_swift/jwk/qi.json @@ -0,0 +1 @@ +{"sections":[],"metadata":{"modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"qi","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"?"}],"title":"qi","roleHeading":"Instance Property","externalID":"s:10JSONWebKey3JWKV2qi10Foundation4DataVSgvp","role":"symbol","symbolKind":"property"},"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"qi","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"abstract":[{"type":"text","text":"The value of the “qi” parameter for an RSA key."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/qi"]}],"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/qi","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/qi":{"type":"topic","title":"qi","role":"symbol","abstract":[{"text":"The value of the “qi” parameter for an RSA key.","type":"text"}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"qi","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jwk\/qi","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/qi"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/thumbprint(with:).json b/data/documentation/jose_swift/jwk/thumbprint(with:).json new file mode 100644 index 0000000..d7fa82f --- /dev/null +++ b/data/documentation/jose_swift/jwk/thumbprint(with:).json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/thumbprint(with:)","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"thumbprint"},{"text":"<","kind":"text"},{"text":"H","kind":"genericParameter"},{"text":">(","kind":"text"},{"kind":"externalParam","text":"with"},{"text":" ","kind":"text"},{"text":"_","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"H","kind":"typeIdentifier"},{"kind":"text","text":" = CryptoKit.SHA256()) "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":" "},{"kind":"keyword","text":"where"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","text":"H"},{"kind":"text","text":" : "},{"text":"HashFunction","preciseIdentifier":"s:9CryptoKit12HashFunctionP","kind":"typeIdentifier"}]}]},{"parameters":[{"content":[{"inlineContent":[{"type":"text","text":"The hash function to use for the JWK thumbprint calculation. Defaults to SHA-256."}],"type":"paragraph"}],"name":"hashFunction"}],"kind":"parameters"},{"kind":"content","content":[{"type":"heading","anchor":"return-value","level":2,"text":"Return Value"},{"type":"paragraph","inlineContent":[{"text":"The Base64URL-encoded JWK thumbprint.","type":"text"}]}]},{"kind":"content","content":[{"anchor":"discussion","type":"heading","level":2,"text":"Discussion"},{"name":"Throws","type":"aside","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":""},{"code":"JWK.Error.notSupported","type":"codeVoice"},{"type":"text","text":" if the JWK type is not supported."}]}],"style":"note"}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/thumbprint(with:)"]}],"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"metadata":{"roleHeading":"Instance Method","title":"thumbprint(with:)","externalID":"s:10JSONWebKey3JWKV10thumbprint4withSSx_tK9CryptoKit12HashFunctionRzlF","symbolKind":"method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"thumbprint"},{"text":"<","kind":"text"},{"text":"H","kind":"genericParameter"},{"kind":"text","text":">("},{"text":"with","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"H"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"modules":[{"relatedModules":["JSONWebKey"],"name":"jose-swift"}],"extendedModule":"JSONWebKey","role":"symbol"},"abstract":[{"text":"Calculates the JWK thumbprint as per ","type":"text"},{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7638","type":"reference","isActive":true}],"references":{"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7638":{"title":"RFC 7638","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7638","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7638","titleInlineContent":[{"type":"text","text":"RFC 7638"}]},"doc://jose-swift/documentation/jose_swift/JWK/thumbprint(with:)":{"title":"thumbprint(with:)","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"thumbprint"},{"kind":"text","text":"<"},{"text":"H","kind":"genericParameter"},{"text":">(","kind":"text"},{"text":"with","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"H","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/jwk\/thumbprint(with:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/thumbprint(with:)","abstract":[{"type":"text","text":"Calculates the JWK thumbprint as per "},{"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7638","isActive":true}],"role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/x.json b/data/documentation/jose_swift/jwk/x.json new file mode 100644 index 0000000..22d7980 --- /dev/null +++ b/data/documentation/jose_swift/jwk/x.json @@ -0,0 +1 @@ +{"sections":[],"metadata":{"modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","symbolKind":"property","externalID":"s:10JSONWebKey3JWKV1x10Foundation4DataVSgvp","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"x"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?"}],"title":"x","role":"symbol"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"x","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"kind":"symbol","abstract":[{"type":"text","text":"The value of the “x” parameter for an EC or OKP key."}],"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/x"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/x"},"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"text":"RFC7517","type":"text"}],"title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK/x":{"abstract":[{"text":"The value of the “x” parameter for an EC or OKP key.","type":"text"}],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/x","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"x","kind":"identifier"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/jwk\/x","title":"x","role":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/x509certificatechain.json b/data/documentation/jose_swift/jwk/x509certificatechain.json new file mode 100644 index 0000000..fc73761 --- /dev/null +++ b/data/documentation/jose_swift/jwk/x509certificatechain.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"abstract":[{"text":"The X.509 Certificate Chain.","type":"text"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/x509CertificateChain","interfaceLanguage":"swift"},"kind":"symbol","metadata":{"title":"x509CertificateChain","externalID":"s:10JSONWebKey3JWKV20x509CertificateChainSSSgvp","symbolKind":"property","role":"symbol","roleHeading":"Instance Property","modules":[{"name":"jose-swift"}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"x509CertificateChain","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?"}]},"schemaVersion":{"patch":0,"minor":3,"major":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"x509CertificateChain","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/x509certificatechain"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/x509CertificateChain":{"title":"x509CertificateChain","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/x509CertificateChain","abstract":[{"type":"text","text":"The X.509 Certificate Chain."}],"url":"\/documentation\/jose_swift\/jwk\/x509certificatechain","type":"topic","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"x509CertificateChain"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?","kind":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/x509certificatesha1thumbprint.json b/data/documentation/jose_swift/jwk/x509certificatesha1thumbprint.json new file mode 100644 index 0000000..2f8a120 --- /dev/null +++ b/data/documentation/jose_swift/jwk/x509certificatesha1thumbprint.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/x509certificatesha1thumbprint"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/x509CertificateSHA1Thumbprint"},"schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"x509CertificateSHA1Thumbprint"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"languages":["swift"]}]}],"sections":[],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"x509CertificateSHA1Thumbprint"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"title":"x509CertificateSHA1Thumbprint","externalID":"s:10JSONWebKey3JWKV29x509CertificateSHA1ThumbprintSSSgvp","role":"symbol","roleHeading":"Instance Property","symbolKind":"property","modules":[{"name":"jose-swift"}]},"abstract":[{"type":"text","text":"The X.509 certificate SHA-1 thumbprint."}],"references":{"doc://jose-swift/documentation/jose_swift/JWK/x509CertificateSHA1Thumbprint":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/x509CertificateSHA1Thumbprint","url":"\/documentation\/jose_swift\/jwk\/x509certificatesha1thumbprint","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"x509CertificateSHA1Thumbprint","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"title":"x509CertificateSHA1Thumbprint","kind":"symbol","abstract":[{"type":"text","text":"The X.509 certificate SHA-1 thumbprint."}],"type":"topic","role":"symbol"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/x509certificatesha256thumbprint.json b/data/documentation/jose_swift/jwk/x509certificatesha256thumbprint.json new file mode 100644 index 0000000..13bf528 --- /dev/null +++ b/data/documentation/jose_swift/jwk/x509certificatesha256thumbprint.json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"The X.509 certificate SHA-256 thumbprint."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"x509CertificateSHA256Thumbprint","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":"?"}],"languages":["swift"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"x509CertificateSHA256Thumbprint","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"title":"x509CertificateSHA256Thumbprint","roleHeading":"Instance Property","externalID":"s:10JSONWebKey3JWKV31x509CertificateSHA256ThumbprintSSSgvp","role":"symbol","symbolKind":"property"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/x509CertificateSHA256Thumbprint","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/jose_swift\/jwk\/x509certificatesha256thumbprint"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"sections":[],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWK/x509CertificateSHA256Thumbprint":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"x509CertificateSHA256Thumbprint","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"title":"x509CertificateSHA256Thumbprint","abstract":[{"text":"The X.509 certificate SHA-256 thumbprint.","type":"text"}],"kind":"symbol","url":"\/documentation\/jose_swift\/jwk\/x509certificatesha256thumbprint","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/x509CertificateSHA256Thumbprint","type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"text":"RFC7517","type":"text"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/x509url.json b/data/documentation/jose_swift/jwk/x509url.json new file mode 100644 index 0000000..65533da --- /dev/null +++ b/data/documentation/jose_swift/jwk/x509url.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"x509URL"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"}],"metadata":{"role":"symbol","roleHeading":"Instance Property","modules":[{"name":"jose-swift"}],"externalID":"s:10JSONWebKey3JWKV7x509URLSSSgvp","symbolKind":"property","title":"x509URL","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"x509URL","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}]},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/x509url"]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/x509URL","interfaceLanguage":"swift"},"kind":"symbol","abstract":[{"type":"text","text":"The X.509 URL."}],"references":{"doc://jose-swift/documentation/jose_swift/JWK/x509URL":{"role":"symbol","title":"x509URL","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"x509URL"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/jwk\/x509url","abstract":[{"type":"text","text":"The X.509 URL."}],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/x509URL"},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwk/y.json b/data/documentation/jose_swift/jwk/y.json new file mode 100644 index 0000000..dff3935 --- /dev/null +++ b/data/documentation/jose_swift/jwk/y.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"y"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwk\/y"]}],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/y"},"metadata":{"title":"y","symbolKind":"property","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"y"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"modules":[{"name":"jose-swift"}],"externalID":"s:10JSONWebKey3JWKV1y10Foundation4DataVSgvp","role":"symbol","roleHeading":"Instance Property"},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"]]},"schemaVersion":{"patch":0,"minor":3,"major":0},"abstract":[{"type":"text","text":"The value of the “y” parameter for an EC key."}],"references":{"doc://jose-swift/documentation/jose_swift/JWK/y":{"kind":"symbol","title":"y","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"y"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/y","url":"\/documentation\/jose_swift\/jwk\/y","abstract":[{"type":"text","text":"The value of the “y” parameter for an EC key."}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwkrepresentable.json b/data/documentation/jose_swift/jwkrepresentable.json new file mode 100644 index 0000000..290fb4d --- /dev/null +++ b/data/documentation/jose_swift/jwkrepresentable.json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"A protocol for types that can be represented as a JWK."}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","interfaceLanguage":"swift"},"kind":"symbol","metadata":{"role":"symbol","title":"JWKRepresentable","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWKRepresentable"}],"modules":[{"name":"jose-swift"}],"symbolKind":"protocol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"roleHeading":"Protocol","externalID":"s:17JSONWebAlgorithms16JWKRepresentableP"},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable\/jwkRepresentation","doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable\/publicKey"],"title":"Instance Properties"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"languages":["swift"],"platforms":["macOS"]}]},{"content":[{"anchor":"overview","type":"heading","text":"Overview","level":2},{"inlineContent":[{"text":"Types conforming to this protocol can be represented as a JWK by providing a ","type":"text"},{"code":"jwkRepresentation","type":"codeVoice"},{"type":"text","text":" property."}],"type":"paragraph"}],"kind":"content"}],"variants":[{"paths":["\/documentation\/jose_swift\/jwkrepresentable"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"relationshipsSections":[{"kind":"relationships","type":"conformingTypes","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PublicKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PublicKey","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey","doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PublicKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PublicKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PublicKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PublicKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PublicKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PublicKey","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PublicKey","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PublicKey"],"title":"Conforming Types"}],"schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing/PrivateKey":{"url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing\/privatekey","type":"topic","kind":"symbol","role":"symbol","abstract":[],"fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"P521","preciseIdentifier":"s:9CryptoKit4P521O","kind":"identifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P521O7SigningO","text":"Signing","kind":"identifier"},{"kind":"text","text":"."},{"kind":"identifier","text":"PrivateKey","preciseIdentifier":"s:9CryptoKit4P521O7SigningO10PrivateKeyV"}],"navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PrivateKey","title":"P521.Signing.PrivateKey"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing/PrivateKey":{"kind":"symbol","abstract":[],"role":"symbol","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PrivateKey","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO","text":"secp256k1"},{"kind":"text","text":"."},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9secp256k1AAO7SigningO"},{"text":".","kind":"text"},{"text":"PrivateKey","kind":"identifier","preciseIdentifier":"s:9secp256k1AAO7SigningO10PrivateKeyV"}],"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/privatekey","type":"topic","title":"secp256k1.Signing.PrivateKey"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement/PublicKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PublicKey","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Curve25519","preciseIdentifier":"s:9CryptoKit10Curve25519O"},{"text":".","kind":"text"},{"kind":"identifier","text":"KeyAgreement","preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO"},{"text":".","kind":"text"},{"kind":"identifier","text":"PublicKey","preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO06PublicD0V"}],"role":"symbol","type":"topic","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/publickey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}],"kind":"symbol","title":"Curve25519.KeyAgreement.PublicKey"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement/PublicKey":{"role":"symbol","type":"topic","title":"P521.KeyAgreement.PublicKey","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P521","preciseIdentifier":"s:9CryptoKit4P521O","kind":"identifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO","kind":"identifier","text":"KeyAgreement"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO06PublicD0V","text":"PublicKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PublicKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/publickey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/Signing/PublicKey":{"title":"P521.Signing.PublicKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p521\/signing\/publickey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/Signing\/PublicKey","navigatorTitle":[{"kind":"identifier","text":"PublicKey"}],"type":"topic","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P521O","text":"P521"},{"text":".","kind":"text"},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9CryptoKit4P521O7SigningO"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P521O7SigningO9PublicKeyV","text":"PublicKey"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement/PublicKey":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/publickey","title":"secp256k1.KeyAgreement.PublicKey","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PublicKey","navigatorTitle":[{"kind":"identifier","text":"PublicKey"}],"fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"secp256k1","preciseIdentifier":"s:9secp256k1AAO"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO","text":"KeyAgreement"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO06PublicB0V","text":"PublicKey"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement/PrivateKey":{"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/privatekey","kind":"symbol","abstract":[],"type":"topic","title":"P384.KeyAgreement.PrivateKey","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"P384","preciseIdentifier":"s:9CryptoKit4P384O","kind":"identifier"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO","text":"KeyAgreement"},{"kind":"text","text":"."},{"text":"PrivateKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO07PrivateD0V"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PrivateKey"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing/PrivateKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PrivateKey","url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing\/privatekey","role":"symbol","type":"topic","abstract":[],"kind":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P256","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O"},{"kind":"text","text":"."},{"text":"Signing","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O7SigningO"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P256O7SigningO10PrivateKeyV","text":"PrivateKey","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"title":"P256.Signing.PrivateKey"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing/PublicKey":{"title":"secp256k1.Signing.PublicKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/publickey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PublicKey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO","text":"secp256k1"},{"text":".","kind":"text"},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9secp256k1AAO7SigningO"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9secp256k1AAO7SigningO9PublicKeyV","text":"PublicKey","kind":"identifier"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWKRepresentable/jwkRepresentation":{"abstract":[{"text":"Returns the JWK representation of the conforming type.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable\/jwkRepresentation","type":"topic","url":"\/documentation\/jose_swift\/jwkrepresentable\/jwkrepresentation","required":true,"kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"jwkRepresentation"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"}],"role":"symbol","title":"jwkRepresentation"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing/PublicKey":{"fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Curve25519","preciseIdentifier":"s:9CryptoKit10Curve25519O"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO","text":"Signing"},{"text":".","kind":"text"},{"text":"PublicKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO9PublicKeyV"}],"navigatorTitle":[{"kind":"identifier","text":"PublicKey"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PublicKey","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/publickey","kind":"symbol","type":"topic","title":"Curve25519.Signing.PublicKey"},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing/PublicKey":{"title":"P384.Signing.PublicKey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PublicKey","kind":"symbol","abstract":[],"role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"P384","preciseIdentifier":"s:9CryptoKit4P384O"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P384O7SigningO","text":"Signing","kind":"identifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P384O7SigningO9PublicKeyV","text":"PublicKey","kind":"identifier"}],"type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing\/publickey"},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PrivateKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PrivateKey","url":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PrivateKey","kind":"identifier"}],"title":"Curve448.KeyAgreement.PrivateKey","kind":"symbol","abstract":[],"type":"topic","role":"symbol","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/Signing/PrivateKey":{"title":"P384.Signing.PrivateKey","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/Signing\/PrivateKey","kind":"symbol","abstract":[],"role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"preciseIdentifier":"s:9CryptoKit4P384O","text":"P384","kind":"identifier"},{"text":".","kind":"text"},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9CryptoKit4P384O7SigningO"},{"kind":"text","text":"."},{"text":"PrivateKey","preciseIdentifier":"s:9CryptoKit4P384O7SigningO10PrivateKeyV","kind":"identifier"}],"type":"topic","url":"\/documentation\/jose_swift\/cryptokit\/p384\/signing\/privatekey"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement/PrivateKey":{"title":"P256.KeyAgreement.PrivateKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/privatekey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PrivateKey","navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"type":"topic","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O","text":"P256"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO07PrivateD0V","kind":"identifier","text":"PrivateKey"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWKRepresentable/publicKey":{"title":"publicKey","kind":"symbol","url":"\/documentation\/jose_swift\/jwkrepresentable\/publickey","type":"topic","abstract":[{"text":"Returns the public key of a ","type":"text"},{"type":"codeVoice","code":"JWK"},{"type":"text","text":" instance."}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"publicKey"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable\/publicKey","conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"text":" is ","type":"text"},{"type":"codeVoice","code":"JWK"},{"text":".","type":"text"}]},"role":"symbol"},"doc://jose-swift/documentation/jose_swift/Curve448/KeyAgreement/PublicKey":{"role":"symbol","type":"topic","title":"Curve448.KeyAgreement.PublicKey","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"PublicKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Curve448\/KeyAgreement\/PublicKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/curve448\/keyagreement\/publickey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"text":"RFC7517","type":"text"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P384/KeyAgreement/PublicKey":{"role":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/publickey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P384\/KeyAgreement\/PublicKey","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P384","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P384O"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P384O12KeyAgreementO06PublicD0V","text":"PublicKey","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"PublicKey"}],"kind":"symbol","type":"topic","title":"P384.KeyAgreement.PublicKey"},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/KeyAgreement/PublicKey":{"url":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/publickey","kind":"symbol","role":"symbol","type":"topic","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O","text":"P256"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO","text":"KeyAgreement"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P256O12KeyAgreementO06PublicD0V","kind":"identifier","text":"PublicKey"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/KeyAgreement\/PublicKey","title":"P256.KeyAgreement.PublicKey","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PublicKey"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P256/Signing/PublicKey":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P256\/Signing\/PublicKey","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P256O","kind":"identifier","text":"P256"},{"kind":"text","text":"."},{"text":"Signing","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O7SigningO"},{"kind":"text","text":"."},{"text":"PublicKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P256O7SigningO9PublicKeyV"}],"kind":"symbol","url":"\/documentation\/jose_swift\/cryptokit\/p256\/signing\/publickey","title":"P256.Signing.PublicKey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}],"abstract":[],"type":"topic"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/Signing/PrivateKey":{"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/privatekey","type":"topic","kind":"symbol","role":"symbol","abstract":[],"fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O","text":"Curve25519"},{"kind":"text","text":"."},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO"},{"text":".","kind":"text"},{"text":"PrivateKey","kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O7SigningO10PrivateKeyV"}],"navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/Signing\/PrivateKey","title":"Curve25519.Signing.PrivateKey"},"doc://jose-swift/documentation/jose_swift/CryptoKit/Curve25519/KeyAgreement/PrivateKey":{"fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9CryptoKit10Curve25519O","text":"Curve25519"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"text":".","kind":"text"},{"text":"PrivateKey","preciseIdentifier":"s:9CryptoKit10Curve25519O12KeyAgreementO07PrivateD0V","kind":"identifier"}],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/Curve25519\/KeyAgreement\/PrivateKey","title":"Curve25519.KeyAgreement.PrivateKey","abstract":[],"url":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/privatekey","navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement/PrivateKey":{"role":"symbol","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"title":"secp256k1.KeyAgreement.PrivateKey","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/privatekey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey","type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"secp256k1","kind":"identifier","preciseIdentifier":"s:9secp256k1AAO"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO","text":"KeyAgreement"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO07PrivateB0V","text":"PrivateKey"}]},"doc://jose-swift/documentation/jose_swift/CryptoKit/P521/KeyAgreement/PrivateKey":{"fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"P521","kind":"identifier","preciseIdentifier":"s:9CryptoKit4P521O"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO","text":"KeyAgreement","kind":"identifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9CryptoKit4P521O12KeyAgreementO07PrivateD0V","text":"PrivateKey","kind":"identifier"}],"url":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/privatekey","type":"topic","title":"P521.KeyAgreement.PrivateKey","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/CryptoKit\/P521\/KeyAgreement\/PrivateKey","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwkrepresentable/jwkrepresentation.json b/data/documentation/jose_swift/jwkrepresentable/jwkrepresentation.json new file mode 100644 index 0000000..f4e7a39 --- /dev/null +++ b/data/documentation/jose_swift/jwkrepresentable/jwkrepresentation.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable\/jwkRepresentation"},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable"]]},"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","metadata":{"roleHeading":"Instance Property","required":true,"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"}],"symbolKind":"property","modules":[{"name":"jose-swift"}],"role":"symbol","externalID":"s:17JSONWebAlgorithms16JWKRepresentableP17jwkRepresentation0A3Key3JWKVvp","title":"jwkRepresentation"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"]}]}],"abstract":[{"text":"Returns the JWK representation of the conforming type.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwkrepresentable\/jwkrepresentation"]}],"references":{"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"text":"RFC7517","type":"text"}],"title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWKRepresentable/jwkRepresentation":{"abstract":[{"text":"Returns the JWK representation of the conforming type.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable\/jwkRepresentation","type":"topic","url":"\/documentation\/jose_swift\/jwkrepresentable\/jwkrepresentation","required":true,"kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"jwkRepresentation"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"}],"role":"symbol","title":"jwkRepresentation"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwkrepresentable/publickey.json b/data/documentation/jose_swift/jwkrepresentable/publickey.json new file mode 100644 index 0000000..b11ec91 --- /dev/null +++ b/data/documentation/jose_swift/jwkrepresentable/publickey.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwkrepresentable\/publickey"]}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable\/publicKey"},"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable"]]},"abstract":[{"type":"text","text":"Returns the public key of a "},{"type":"codeVoice","code":"JWK"},{"text":" instance.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"publicKey","kind":"identifier"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"platforms":["macOS"],"languages":["swift"]}]}],"metadata":{"title":"publicKey","roleHeading":"Instance Property","symbolKind":"property","modules":[{"relatedModules":["JSONWebAlgorithms"],"name":"jose-swift"}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"publicKey"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"}],"extendedModule":"JSONWebAlgorithms","externalID":"s:17JSONWebAlgorithms16JWKRepresentablePAA0A3Key3JWKVRszrlE06publicD0AFvp","role":"symbol","conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" is "},{"code":"JWK","type":"codeVoice"},{"type":"text","text":"."}]}},"references":{"doc://jose-swift/documentation/jose_swift/JWKRepresentable/publicKey":{"title":"publicKey","kind":"symbol","url":"\/documentation\/jose_swift\/jwkrepresentable\/publickey","type":"topic","abstract":[{"text":"Returns the public key of a ","type":"text"},{"type":"codeVoice","code":"JWK"},{"type":"text","text":" instance."}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"publicKey"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable\/publicKey","conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"text":" is ","type":"text"},{"type":"codeVoice","code":"JWK"},{"text":".","type":"text"}]},"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"text":"RFC7517","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwkset.json b/data/documentation/jose_swift/jwkset.json new file mode 100644 index 0000000..2239224 --- /dev/null +++ b/data/documentation/jose_swift/jwkset.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"abstract":[{"text":"A set of JSON Web Keys (JWKs). This is a JSON object that contains an array of JWK objects.","type":"text"}],"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet\/init(from:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet\/init(keys:)"],"title":"Initializers"},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet\/keys"],"title":"Instance Properties"},{"title":"Instance Methods","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet\/key(withID:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet\/key(withPublicKeyUse:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet\/keySuitableForKeyAgreement(with:)"]}],"variants":[{"paths":["\/documentation\/jose_swift\/jwkset"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"type":"conformsTo","title":"Conforms To","kind":"relationships","identifiers":["doc:\/\/jose-swift\/Se","doc:\/\/jose-swift\/SE"]}],"sections":[],"metadata":{"symbolKind":"struct","externalID":"s:10JSONWebKey6JWKSetV","role":"symbol","title":"JWKSet","navigatorTitle":[{"text":"JWKSet","kind":"identifier"}],"modules":[{"name":"jose-swift"}],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKSet","kind":"identifier"}],"roleHeading":"Structure"},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWKSet"}],"languages":["swift"]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/Se":{"identifier":"doc:\/\/jose-swift\/Se","type":"unresolvable","title":"Swift.Decodable"},"doc://jose-swift/documentation/jose_swift/JWKSet/key(withID:)":{"abstract":[{"type":"text","text":"Returns the key with the given id, if found."}],"type":"topic","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"key","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"withID"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"}],"url":"\/documentation\/jose_swift\/jwkset\/key(withid:)","kind":"symbol","title":"key(withID:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet\/key(withID:)"},"doc://jose-swift/SE":{"identifier":"doc:\/\/jose-swift\/SE","type":"unresolvable","title":"Swift.Encodable"},"doc://jose-swift/documentation/jose_swift/JWKSet/keySuitableForKeyAgreement(with:)":{"abstract":[{"type":"text","text":"Returns a JWK that is suitable for key agreement with the given JWK."},{"type":"text","text":" "},{"text":"The returned JWK must have the same ","type":"text"},{"type":"codeVoice","code":"use"},{"text":", ","type":"text"},{"type":"codeVoice","code":"keyType"},{"type":"text","text":", and "},{"code":"crv","type":"codeVoice"},{"text":" parameters as the given JWK.","type":"text"}],"type":"topic","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"keySuitableForKeyAgreement","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"with"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"}],"url":"\/documentation\/jose_swift\/jwkset\/keysuitableforkeyagreement(with:)","kind":"symbol","title":"keySuitableForKeyAgreement(with:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet\/keySuitableForKeyAgreement(with:)"},"doc://jose-swift/documentation/jose_swift/JWKSet":{"abstract":[{"text":"A set of JSON Web Keys (JWKs). This is a JSON object that contains an array of JWK objects.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"JWKSet"}],"type":"topic","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"JWKSet","kind":"identifier"}],"kind":"symbol","url":"\/documentation\/jose_swift\/jwkset","title":"JWKSet","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet"},"doc://jose-swift/documentation/jose_swift/JWKSet/init(keys:)":{"abstract":[{"text":"Initializes a new instance of the JWKSet struct.","type":"text"}],"type":"topic","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"text":": [","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"])"}],"url":"\/documentation\/jose_swift\/jwkset\/init(keys:)","kind":"symbol","title":"init(keys:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet\/init(keys:)"},"doc://jose-swift/documentation/jose_swift/JWKSet/keys":{"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"keys"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"]","kind":"text"}],"kind":"symbol","url":"\/documentation\/jose_swift\/jwkset\/keys","abstract":[{"text":"The array of JWKs.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet\/keys","title":"keys","type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWKSet/init(from:)":{"title":"init(from:)","kind":"symbol","abstract":[],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet\/init(from:)","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"url":"\/documentation\/jose_swift\/jwkset\/init(from:)","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWKSet/key(withPublicKeyUse:)":{"abstract":[{"type":"text","text":"Returns the JWK with the given use, if found."}],"type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"key"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"withPublicKeyUse"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"PublicKeyUse","preciseIdentifier":"s:10JSONWebKey3JWKV06PublicB3UseO"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"url":"\/documentation\/jose_swift\/jwkset\/key(withpublickeyuse:)","kind":"symbol","title":"key(withPublicKeyUse:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet\/key(withPublicKeyUse:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwkset/init(from:).json b/data/documentation/jose_swift/jwkset/init(from:).json new file mode 100644 index 0000000..887dd29 --- /dev/null +++ b/data/documentation/jose_swift/jwkset/init(from:).json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"Decodable.init(from:)"},{"type":"text","text":"."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwkset\/init(from:)"]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet\/init(from:)","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":" "},{"text":"decoder","kind":"internalParam"},{"kind":"text","text":": "},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}]}]}],"kind":"symbol","sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"title":"init(from:)","modules":[{"name":"jose-swift"}],"symbolKind":"init","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7DecoderP","text":"Decoder","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"externalID":"s:10JSONWebKey6JWKSetV4fromACs7Decoder_p_tKcfc","roleHeading":"Initializer","role":"symbol"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet"]]},"references":{"doc://jose-swift/documentation/jose_swift/JWKSet/init(from:)":{"title":"init(from:)","kind":"symbol","abstract":[],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet\/init(from:)","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"url":"\/documentation\/jose_swift\/jwkset\/init(from:)","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWKSet":{"abstract":[{"text":"A set of JSON Web Keys (JWKs). This is a JSON object that contains an array of JWK objects.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"JWKSet"}],"type":"topic","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"JWKSet","kind":"identifier"}],"kind":"symbol","url":"\/documentation\/jose_swift\/jwkset","title":"JWKSet","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwkset/init(keys:).json b/data/documentation/jose_swift/jwkset/init(keys:).json new file mode 100644 index 0000000..e208108 --- /dev/null +++ b/data/documentation/jose_swift/jwkset/init(keys:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"text":"keys","kind":"externalParam"},{"text":": [","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"text":"])","kind":"text"}],"languages":["swift"]}]},{"parameters":[{"name":"keys","content":[{"type":"paragraph","inlineContent":[{"text":"The array of JWKs to include in the set.","type":"text"}]}]}],"kind":"parameters"}],"kind":"symbol","abstract":[{"text":"Initializes a new instance of the JWKSet struct.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet"]]},"metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"text":": [","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":"])","kind":"text"}],"role":"symbol","externalID":"s:10JSONWebKey6JWKSetV4keysACSayAA3JWKVG_tcfc","modules":[{"name":"jose-swift"}],"roleHeading":"Initializer","symbolKind":"init","title":"init(keys:)"},"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwkset\/init(keys:)"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet\/init(keys:)"},"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWKSet":{"abstract":[{"text":"A set of JSON Web Keys (JWKs). This is a JSON object that contains an array of JWK objects.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"JWKSet"}],"type":"topic","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"JWKSet","kind":"identifier"}],"kind":"symbol","url":"\/documentation\/jose_swift\/jwkset","title":"JWKSet","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet"},"doc://jose-swift/documentation/jose_swift/JWKSet/init(keys:)":{"abstract":[{"text":"Initializes a new instance of the JWKSet struct.","type":"text"}],"type":"topic","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"text":": [","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"])"}],"url":"\/documentation\/jose_swift\/jwkset\/init(keys:)","kind":"symbol","title":"init(keys:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet\/init(keys:)"},"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","titleInlineContent":[{"text":"RFC7517","type":"text"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwkset/key(withid:).json b/data/documentation/jose_swift/jwkset/key(withid:).json new file mode 100644 index 0000000..be8935b --- /dev/null +++ b/data/documentation/jose_swift/jwkset/key(withid:).json @@ -0,0 +1 @@ +{"metadata":{"roleHeading":"Instance Method","externalID":"s:10JSONWebKey6JWKSetV3key6withIDAA3JWKVSS_tKF","extendedModule":"JSONWebKey","modules":[{"name":"jose-swift","relatedModules":["JSONWebKey"]}],"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"key"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"withID"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"}],"symbolKind":"method","role":"symbol","title":"key(withID:)"},"variants":[{"paths":["\/documentation\/jose_swift\/jwkset\/key(withid:)"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"type":"text","text":"Returns the key with the given id, if found."}],"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"key"},{"kind":"text","text":"("},{"text":"withID","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"id"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK","kind":"typeIdentifier"}],"platforms":["macOS"]}],"kind":"declarations"},{"parameters":[{"name":"id","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The id of the key to search for."}]}]}],"kind":"parameters"},{"kind":"content","content":[{"text":"Return Value","anchor":"return-value","level":2,"type":"heading"},{"inlineContent":[{"text":"The JWK with the given id.","type":"text"}],"type":"paragraph"}]},{"kind":"content","content":[{"text":"Discussion","type":"heading","level":2,"anchor":"discussion"},{"type":"aside","style":"note","name":"Throws","content":[{"inlineContent":[{"type":"text","text":""},{"type":"codeVoice","code":"JWK.Error.keyWithIDNotFound"},{"type":"text","text":" if no key with the given id is found."}],"type":"paragraph"}]}]}],"sections":[],"schemaVersion":{"minor":3,"major":0,"patch":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet\/key(withID:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet"]]},"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWKSet":{"abstract":[{"text":"A set of JSON Web Keys (JWKs). This is a JSON object that contains an array of JWK objects.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"JWKSet"}],"type":"topic","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"JWKSet","kind":"identifier"}],"kind":"symbol","url":"\/documentation\/jose_swift\/jwkset","title":"JWKSet","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet"},"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWKSet/key(withID:)":{"abstract":[{"type":"text","text":"Returns the key with the given id, if found."}],"type":"topic","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"key","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"withID"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"}],"url":"\/documentation\/jose_swift\/jwkset\/key(withid:)","kind":"symbol","title":"key(withID:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet\/key(withID:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwkset/key(withpublickeyuse:).json b/data/documentation/jose_swift/jwkset/key(withpublickeyuse:).json new file mode 100644 index 0000000..880e5fe --- /dev/null +++ b/data/documentation/jose_swift/jwkset/key(withpublickeyuse:).json @@ -0,0 +1 @@ +{"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"key","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"withPublicKeyUse"},{"kind":"text","text":" "},{"kind":"internalParam","text":"use"},{"kind":"text","text":": "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"kind":"text","text":"."},{"text":"PublicKeyUse","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum","preciseIdentifier":"s:10JSONWebKey3JWKV06PublicB3UseO"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier"}]}]},{"parameters":[{"name":"use","content":[{"inlineContent":[{"text":"The use of the key to search for.","type":"text"}],"type":"paragraph"}]}],"kind":"parameters"},{"kind":"content","content":[{"type":"heading","level":2,"anchor":"return-value","text":"Return Value"},{"type":"paragraph","inlineContent":[{"text":"The JWK with the given use.","type":"text"}]}]},{"content":[{"level":2,"anchor":"discussion","type":"heading","text":"Discussion"},{"style":"note","type":"aside","content":[{"inlineContent":[{"type":"text","text":""},{"code":"JWK.Error.keyNotFound","type":"codeVoice"},{"type":"text","text":" if no key with the given use is found."}],"type":"paragraph"}],"name":"Throws"}],"kind":"content"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet\/key(withPublicKeyUse:)"},"schemaVersion":{"minor":3,"major":0,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet"]]},"metadata":{"title":"key(withPublicKeyUse:)","roleHeading":"Instance Method","symbolKind":"method","modules":[{"relatedModules":["JSONWebKey"],"name":"jose-swift"}],"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"key","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"withPublicKeyUse"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":".","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV06PublicB3UseO","text":"PublicKeyUse","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"}],"extendedModule":"JSONWebKey","externalID":"s:10JSONWebKey6JWKSetV3key010withPublicB3UseAA3JWKVAG0fbG0O_tKF","role":"symbol"},"abstract":[{"type":"text","text":"Returns the JWK with the given use, if found."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwkset\/key(withpublickeyuse:)"]}],"references":{"doc://jose-swift/documentation/jose_swift/JWKSet/key(withPublicKeyUse:)":{"abstract":[{"type":"text","text":"Returns the JWK with the given use, if found."}],"type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"key"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"withPublicKeyUse"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"PublicKeyUse","preciseIdentifier":"s:10JSONWebKey3JWKV06PublicB3UseO"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"url":"\/documentation\/jose_swift\/jwkset\/key(withpublickeyuse:)","kind":"symbol","title":"key(withPublicKeyUse:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet\/key(withPublicKeyUse:)"},"doc://jose-swift/documentation/jose_swift/JWKSet":{"abstract":[{"text":"A set of JSON Web Keys (JWKs). This is a JSON object that contains an array of JWK objects.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"JWKSet"}],"type":"topic","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"JWKSet","kind":"identifier"}],"kind":"symbol","url":"\/documentation\/jose_swift\/jwkset","title":"JWKSet","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet"},"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK/PublicKeyUse-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK\/PublicKeyUse-swift.enum","title":"JWK.PublicKeyUse","role":"symbol","abstract":[{"text":"The intended use of the public key.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"PublicKeyUse"}],"url":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum","kind":"symbol","navigatorTitle":[{"text":"PublicKeyUse","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwkset/keys.json b/data/documentation/jose_swift/jwkset/keys.json new file mode 100644 index 0000000..0932679 --- /dev/null +++ b/data/documentation/jose_swift/jwkset/keys.json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet\/keys"},"abstract":[{"type":"text","text":"The array of JWKs."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwkset\/keys"]}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"keys","kind":"identifier"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK"},{"text":"]","kind":"text"}],"languages":["swift"]}],"kind":"declarations"}],"kind":"symbol","metadata":{"externalID":"s:10JSONWebKey6JWKSetV4keysSayAA3JWKVGvp","roleHeading":"Instance Property","symbolKind":"property","role":"symbol","modules":[{"name":"jose-swift"}],"title":"keys","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"keys"},{"text":": [","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":"]","kind":"text"}]},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet"]]},"references":{"doc://jose-swift/documentation/jose_swift/JWKSet/keys":{"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"keys"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"]","kind":"text"}],"kind":"symbol","url":"\/documentation\/jose_swift\/jwkset\/keys","abstract":[{"text":"The array of JWKs.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet\/keys","title":"keys","type":"topic","role":"symbol"},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","titleInlineContent":[{"text":"RFC7517","type":"text"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWKSet":{"abstract":[{"text":"A set of JSON Web Keys (JWKs). This is a JSON object that contains an array of JWK objects.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"JWKSet"}],"type":"topic","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"JWKSet","kind":"identifier"}],"kind":"symbol","url":"\/documentation\/jose_swift\/jwkset","title":"JWKSet","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwkset/keysuitableforkeyagreement(with:).json b/data/documentation/jose_swift/jwkset/keysuitableforkeyagreement(with:).json new file mode 100644 index 0000000..1006daa --- /dev/null +++ b/data/documentation/jose_swift/jwkset/keysuitableforkeyagreement(with:).json @@ -0,0 +1 @@ +{"abstract":[{"text":"Returns a JWK that is suitable for key agreement with the given JWK.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"The returned JWK must have the same "},{"type":"codeVoice","code":"use"},{"type":"text","text":", "},{"code":"keyType","type":"codeVoice"},{"type":"text","text":", and "},{"code":"crv","type":"codeVoice"},{"text":" parameters as the given JWK.","type":"text"}],"variants":[{"paths":["\/documentation\/jose_swift\/jwkset\/keysuitableforkeyagreement(with:)"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"modules":[{"relatedModules":["JSONWebKey"],"name":"jose-swift"}],"roleHeading":"Instance Method","extendedModule":"JSONWebKey","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"keySuitableForKeyAgreement","kind":"identifier"},{"kind":"text","text":"("},{"text":"with","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"}],"symbolKind":"method","externalID":"s:10JSONWebKey6JWKSetV014keySuitableForB9Agreement4withAA3JWKVAG_tKF","title":"keySuitableForKeyAgreement(with:)","role":"symbol"},"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keySuitableForKeyAgreement"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"with"},{"text":" ","kind":"text"},{"text":"key","kind":"internalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The JWK to use as a basis for selecting a suitable key for key agreement."}]}],"name":"key"}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"text":"Return Value","type":"heading"},{"type":"paragraph","inlineContent":[{"type":"text","text":"A JWK that is suitable for key agreement with the given JWK."}]}]},{"content":[{"text":"Discussion","anchor":"discussion","type":"heading","level":2},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":""},{"code":"JWK.Error.keyNotFound","type":"codeVoice"},{"type":"text","text":" if no suitable key is found."}]}],"name":"Throws","type":"aside","style":"note"}],"kind":"content"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet\/keySuitableForKeyAgreement(with:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet"]]},"references":{"doc://jose-swift/documentation/jose_swift/JWKSet/keySuitableForKeyAgreement(with:)":{"abstract":[{"type":"text","text":"Returns a JWK that is suitable for key agreement with the given JWK."},{"type":"text","text":" "},{"text":"The returned JWK must have the same ","type":"text"},{"type":"codeVoice","code":"use"},{"text":", ","type":"text"},{"type":"codeVoice","code":"keyType"},{"type":"text","text":", and "},{"code":"crv","type":"codeVoice"},{"text":" parameters as the given JWK.","type":"text"}],"type":"topic","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"keySuitableForKeyAgreement","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"with"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"}],"url":"\/documentation\/jose_swift\/jwkset\/keysuitableforkeyagreement(with:)","kind":"symbol","title":"keySuitableForKeyAgreement(with:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet\/keySuitableForKeyAgreement(with:)"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWKSet":{"abstract":[{"text":"A set of JSON Web Keys (JWKs). This is a JSON object that contains an array of JWK objects.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"JWKSet"}],"type":"topic","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"JWKSet","kind":"identifier"}],"kind":"symbol","url":"\/documentation\/jose_swift\/jwkset","title":"JWKSet","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKSet"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws.json b/data/documentation/jose_swift/jws.json new file mode 100644 index 0000000..55d8d7e --- /dev/null +++ b/data/documentation/jose_swift/jws.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","isActive":true},{"type":"text","text":"."},{"text":" ","type":"text"},{"type":"text","text":"It encapsulates the protected header, payload, and signature of a JWS,"},{"text":" ","type":"text"},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"JWS","kind":"identifier"}]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","interfaceLanguage":"swift"},"metadata":{"navigatorTitle":[{"text":"JWS","kind":"identifier"}],"role":"symbol","externalID":"s:16JSONWebSignature3JWSV","symbolKind":"struct","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"roleHeading":"Structure","modules":[{"name":"jose-swift"}],"title":"JWS"},"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","topicSections":[{"title":"Initializers","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(jwsString:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(jwsString:headerType:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(payload:key:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(payload:protectedHeader:key:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(payload:protectedHeaderData:key:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(protectedHeader:data:signature:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(protectedHeaderData:data:signature:)"]},{"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/compactSerialization","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/payload","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/protectedHeader","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/protectedHeaderData","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/signature"]},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/verify(key:)"],"title":"Instance Methods"},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/jsonSerialization(payload:keys:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/jsonSerialization(payload:protectedHeader:unprotectedHeader:keys:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/jsonSerializationFlattened(payload:key:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/jsonSerializationFlattened(payload:protectedHeader:unprotectedHeader:key:)-9og9d","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/jsonSerializationFlattened(payload:protectedHeader:unprotectedHeader:key:)-wuj8","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/verify(jwsJson:jwk:validateAll:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/verify(jwsJson:jwks:allNeedToVerify:)"],"title":"Type Methods"},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError"],"title":"Enumerations"}],"variants":[{"paths":["\/documentation\/jose_swift\/jws"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/JWS/init(payload:key:)":{"abstract":[{"type":"text","text":"Convenience initializer to create a "},{"type":"codeVoice","code":"JWS"},{"text":" instance using payload data and a JSON Web Key (JWK).","type":"text"},{"type":"text","text":" "},{"text":"The signing algorithm is determined from the key, and a default header is created and used.","type":"text"}],"kind":"symbol","role":"symbol","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"url":"\/documentation\/jose_swift\/jws\/init(payload:key:)","title":"init(payload:key:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(payload:key:)"},"doc://jose-swift/documentation/jose_swift/JWS/init(protectedHeader:data:signature:)":{"kind":"symbol","abstract":[{"type":"text","text":"Initializes a new JWS object using a "},{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"type":"text","text":" instance, payload data, and signature,"},{"text":" ","type":"text"},{"type":"text","text":"encoding the header."}],"role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","text":"JWSRegisteredFieldsHeader","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"data","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"text":"signature","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"url":"\/documentation\/jose_swift\/jws\/init(protectedheader:data:signature:)","title":"init(protectedHeader:data:signature:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(protectedHeader:data:signature:)"},"doc://jose-swift/documentation/jose_swift/JWS/compactSerialization":{"abstract":[{"text":"The compact serialization of the JWS as a string, following the format outlined in RFC 7515.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"This string is a Base64URL encoded representation of the header, payload, and signature."}],"kind":"symbol","role":"symbol","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"compactSerialization"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"url":"\/documentation\/jose_swift\/jws\/compactserialization","title":"compactSerialization","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/compactSerialization"},"doc://jose-swift/documentation/jose_swift/JWS/payload":{"kind":"symbol","abstract":[{"type":"text","text":"The payload data that is signed, conforming to RFC 7515 specifications."}],"role":"symbol","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"payload","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"url":"\/documentation\/jose_swift\/jws\/payload","title":"payload","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/payload"},"doc://jose-swift/documentation/jose_swift/JWS/init(protectedHeaderData:data:signature:)":{"abstract":[{"type":"text","text":"Initializes a new JWS object using raw header data, payload data, and signature,"},{"text":" ","type":"text"},{"type":"text","text":"as per the structure and encoding rules."},{"type":"text","text":" "},{"text":"Throws an error if the header data cannot be decoded into a ","type":"text"},{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"type":"text","text":"."}],"kind":"symbol","role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"protectedHeaderData"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"data","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":", "},{"kind":"externalParam","text":"signature"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"url":"\/documentation\/jose_swift\/jws\/init(protectedheaderdata:data:signature:)","title":"init(protectedHeaderData:data:signature:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(protectedHeaderData:data:signature:)"},"doc://jose-swift/documentation/jose_swift/JWS/init(payload:protectedHeaderData:key:)":{"kind":"symbol","abstract":[{"type":"text","text":"Initializes a new "},{"type":"codeVoice","code":"JWS"},{"type":"text","text":" instance using raw header data, payload data, and a JSON Web Key (JWK)."},{"text":" ","type":"text"},{"type":"text","text":"The header is prepared for the JWK, and the signature is generated using the provided key."}],"role":"symbol","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"protectedHeaderData","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?) "},{"text":"throws","kind":"keyword"}],"url":"\/documentation\/jose_swift\/jws\/init(payload:protectedheaderdata:key:)","title":"init(payload:protectedHeaderData:key:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(payload:protectedHeaderData:key:)"},"doc://jose-swift/documentation/jose_swift/JWS/jsonSerializationFlattened(payload:protectedHeader:unprotectedHeader:key:)-wuj8":{"abstract":[{"type":"text","text":"Generates a flattened JSON serialization of the JWS object for a single key, allowing for custom protected header and header types."},{"type":"text","text":" "},{"text":"This method is similar to ","type":"text"},{"type":"codeVoice","code":"jsonSerializationFlattened(payload:key:)"},{"type":"text","text":" but allows specifying custom header types."}],"kind":"symbol","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"jsonSerializationFlattened","kind":"identifier"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"H"},{"kind":"text","text":">("},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"unprotectedHeader"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"H"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"text":"JWSJsonFlattened","kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature16JWSJsonFlattenedV"},{"text":"<","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"H"},{"text":">","kind":"text"}],"url":"\/documentation\/jose_swift\/jws\/jsonserializationflattened(payload:protectedheader:unprotectedheader:key:)-wuj8","title":"jsonSerializationFlattened(payload:protectedHeader:unprotectedHeader:key:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/jsonSerializationFlattened(payload:protectedHeader:unprotectedHeader:key:)-wuj8"},"doc://jose-swift/documentation/jose_swift/JWS/verify(key:)":{"kind":"symbol","abstract":[{"text":"Verifies the signature of the JWS instance using the provided JSON Web Key (JWK).","type":"text"}],"role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"verify","kind":"identifier"},{"text":"(","kind":"text"},{"text":"key","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"url":"\/documentation\/jose_swift\/jws\/verify(key:)","title":"verify(key:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/verify(key:)"},"doc://jose-swift/documentation/jose_swift/JWS/jsonSerializationFlattened(payload:protectedHeader:unprotectedHeader:key:)-9og9d":{"abstract":[{"text":"Generates a flattened JSON serialization of the JWS object for a single key, allowing for custom protected header and header types.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"This method is similar to "},{"type":"codeVoice","code":"jsonSerializationFlattened(payload:key:)"},{"text":" but allows specifying custom header types.","type":"text"}],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jsonSerializationFlattened","kind":"identifier"},{"kind":"text","text":"<"},{"text":"P","kind":"genericParameter"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"H"},{"text":">(","kind":"text"},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"unprotectedHeader"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"H"},{"text":"?, ","kind":"text"},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"url":"\/documentation\/jose_swift\/jws\/jsonserializationflattened(payload:protectedheader:unprotectedheader:key:)-9og9d","title":"jsonSerializationFlattened(payload:protectedHeader:unprotectedHeader:key:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/jsonSerializationFlattened(payload:protectedHeader:unprotectedHeader:key:)-9og9d"},"https://tools.ietf.org/html/rfc7515":{"title":"RFC7515","type":"link","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","titleInlineContent":[{"type":"text","text":"RFC7515"}],"url":"https:\/\/tools.ietf.org\/html\/rfc7515"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","role":"symbol","abstract":[{"code":"JWSError","type":"codeVoice"},{"type":"text","text":" enumerates the various errors that can occur when processing JSON Web Signatures (JWS)."}],"kind":"symbol","navigatorTitle":[{"text":"JWSError","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"JWSError","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jws\/jwserror","title":"JWS.JWSError"},"doc://jose-swift/documentation/jose_swift/JWS/init(jwsString:)":{"title":"init(jwsString:)","kind":"symbol","abstract":[{"type":"text","text":"Initializes a new JWS object from a compact serialization string using a default header type,"},{"text":" ","type":"text"},{"text":"following the format and decoding rules specified in RFC 7515.","type":"text"}],"url":"\/documentation\/jose_swift\/jws\/init(jwsstring:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(jwsString:)","type":"topic","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"jwsString"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift/JWS/verify(jwsJson:jwks:allNeedToVerify:)":{"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"verify"},{"kind":"text","text":"("},{"text":"jwsJson","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"jwks","kind":"externalParam"},{"text":": [","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"], ","kind":"text"},{"kind":"externalParam","text":"allNeedToVerify"},{"kind":"text","text":": "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}],"title":"verify(jwsJson:jwks:allNeedToVerify:)","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/jws\/verify(jwsjson:jwks:allneedtoverify:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/verify(jwsJson:jwks:allNeedToVerify:)","abstract":[{"type":"text","text":"Verifies the signature of a JWS JSON object using an array of JSON Web Keys (JWKs)."},{"text":" ","type":"text"},{"text":"Depending on the ","type":"text"},{"type":"codeVoice","code":"allNeedToVerify"},{"text":" parameter, either all keys need to verify the signature successfully,","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"or at least one key needs to succeed."}]},"doc://jose-swift/documentation/jose_swift/JWS/verify(jwsJson:jwk:validateAll:)":{"title":"verify(jwsJson:jwk:validateAll:)","kind":"symbol","abstract":[{"text":"Verifies the signature of a JWS JSON object using a single JSON Web Key (JWK).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Can validate either all signatures or just one, depending on the "},{"type":"codeVoice","code":"validateAll"},{"type":"text","text":" parameter."}],"url":"\/documentation\/jose_swift\/jws\/verify(jwsjson:jwk:validateall:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/verify(jwsJson:jwk:validateAll:)","type":"topic","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"verify"},{"kind":"text","text":"("},{"text":"jwsJson","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"jwk"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"text":", ","kind":"text"},{"text":"validateAll","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWS/jsonSerializationFlattened(payload:key:)":{"title":"jsonSerializationFlattened(payload:key:)","kind":"symbol","abstract":[{"type":"text","text":"Generates a flattened JSON serialization of the JWS object for a single key."},{"type":"text","text":" "},{"text":"This method is useful when there is only one signer and a compact JSON representation is preferred.","type":"text"}],"url":"\/documentation\/jose_swift\/jws\/jsonserializationflattened(payload:key:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/jsonSerializationFlattened(payload:key:)","type":"topic","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"jsonSerializationFlattened","kind":"identifier"},{"kind":"text","text":"("},{"text":"payload","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"key"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWS/signature":{"title":"signature","kind":"symbol","abstract":[{"type":"text","text":"The signature of the JWS"},{"text":" ","type":"text"},{"text":"It is computed based on the protected header and the payload data.","type":"text"}],"url":"\/documentation\/jose_swift\/jws\/signature","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/signature","type":"topic","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"text":"signature","kind":"identifier"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWS/init(payload:protectedHeader:key:)":{"title":"init(payload:protectedHeader:key:)","kind":"symbol","abstract":[{"text":"Initializes a new ","type":"text"},{"code":"JWS","type":"codeVoice"},{"type":"text","text":" instance using a "},{"code":"JWSProtectedFieldsHeader","type":"codeVoice"},{"type":"text","text":" instance, payload data, and a JSON Web Key (JWK)."},{"text":" ","type":"text"},{"text":"The header is encoded and then prepared for the JWK, and the signature is generated using the provided key.","type":"text"}],"url":"\/documentation\/jose_swift\/jws\/init(payload:protectedheader:key:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(payload:protectedHeader:key:)","type":"topic","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":", ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","text":"JWSRegisteredFieldsHeader"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWS/jsonSerialization(payload:protectedHeader:unprotectedHeader:keys:)":{"title":"jsonSerialization(payload:protectedHeader:unprotectedHeader:keys:)","kind":"symbol","abstract":[{"type":"text","text":"Encodes the JWS object into JSON data, allowing for custom protected header and header types."},{"text":" ","type":"text"},{"type":"text","text":"This method provides a way to serialize the JWS object with specified header types into JSON."}],"url":"\/documentation\/jose_swift\/jws\/jsonserialization(payload:protectedheader:unprotectedheader:keys:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/jsonSerialization(payload:protectedHeader:unprotectedHeader:keys:)","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"jsonSerialization"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":", "},{"text":"H","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"payload"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"protectedHeader"},{"kind":"text","text":": "},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"unprotectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"H"},{"text":"?, ","kind":"text"},{"text":"keys","kind":"externalParam"},{"text":": [","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"]) ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWS/jsonSerialization(payload:keys:)":{"title":"jsonSerialization(payload:keys:)","kind":"symbol","abstract":[{"type":"text","text":"Encodes the JWS object with multiple signatures into JSON data."},{"text":" ","type":"text"},{"text":"This is a wrapper around the ","type":"text"},{"type":"codeVoice","code":"jsonSerialization(payload:keys:)"},{"text":" method that encodes the result into JSON.","type":"text"}],"url":"\/documentation\/jose_swift\/jws\/jsonserialization(payload:keys:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/jsonSerialization(payload:keys:)","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"jsonSerialization","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":", "},{"text":"keys","kind":"externalParam"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWS/init(jwsString:headerType:)":{"title":"init(jwsString:headerType:)","kind":"symbol","abstract":[{"type":"text","text":"Initializes a new JWS object from a compact serialization string."},{"type":"text","text":" "},{"type":"text","text":"Decodes the header, payload, and signature from the string."},{"type":"text","text":" "},{"type":"text","text":"Throws an error if the string format is invalid or decoding fails."}],"url":"\/documentation\/jose_swift\/jws\/init(jwsstring:headertype:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(jwsString:headerType:)","type":"topic","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"jwsString"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"headerType","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","text":"JWSRegisteredFieldsHeader"},{"text":".Type) ","kind":"text"},{"text":"throws","kind":"keyword"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWS/protectedHeaderData":{"url":"\/documentation\/jose_swift\/jws\/protectedheaderdata","title":"protectedHeaderData","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/protectedHeaderData","kind":"symbol","role":"symbol","abstract":[{"text":"The raw header data, as used in the JWS structure.","type":"text"}],"fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"protectedHeaderData","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"}]},"doc://jose-swift/documentation/jose_swift/JWS/protectedHeader":{"title":"protectedHeader","kind":"symbol","abstract":[{"text":"The protected header fields of the JWS as specified in RFC 7515.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"This header contains metadata about the type of signature and algorithm used."}],"url":"\/documentation\/jose_swift\/jws\/protectedheader","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/protectedHeader","type":"topic","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"protectedHeader"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","text":"JWSRegisteredFieldsHeader"}],"role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/compactserialization.json b/data/documentation/jose_swift/jws/compactserialization.json new file mode 100644 index 0000000..23fefc0 --- /dev/null +++ b/data/documentation/jose_swift/jws/compactserialization.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/compactSerialization"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"compactSerialization","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"}],"platforms":["macOS"],"languages":["swift"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jws\/compactserialization"]}],"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS"]]},"metadata":{"title":"compactSerialization","symbolKind":"property","roleHeading":"Instance Property","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"compactSerialization"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"externalID":"s:16JSONWebSignature3JWSV20compactSerializationSSvp","role":"symbol"},"abstract":[{"text":"The compact serialization of the JWS as a string, following the format outlined in RFC 7515.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"This string is a Base64URL encoded representation of the header, payload, and signature."}],"references":{"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift/JWS/compactSerialization":{"abstract":[{"text":"The compact serialization of the JWS as a string, following the format outlined in RFC 7515.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"This string is a Base64URL encoded representation of the header, payload, and signature."}],"kind":"symbol","role":"symbol","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"compactSerialization"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"url":"\/documentation\/jose_swift\/jws\/compactserialization","title":"compactSerialization","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/compactSerialization"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://tools.ietf.org/html/rfc7515":{"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","titleInlineContent":[{"text":"RFC7515","type":"text"}],"type":"link","url":"https:\/\/tools.ietf.org\/html\/rfc7515","title":"RFC7515"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/init(jwsstring:).json b/data/documentation/jose_swift/jws/init(jwsstring:).json new file mode 100644 index 0000000..f7d10d2 --- /dev/null +++ b/data/documentation/jose_swift/jws/init(jwsstring:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"text":"jwsString","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}]}]},{"kind":"parameters","parameters":[{"name":"jwsString","content":[{"inlineContent":[{"type":"text","text":"The compact serialization string of the JWS."}],"type":"paragraph"}]}]}],"kind":"symbol","abstract":[{"type":"text","text":"Initializes a new JWS object from a compact serialization string using a default header type,"},{"text":" ","type":"text"},{"text":"following the format and decoding rules specified in RFC 7515.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS"]]},"metadata":{"roleHeading":"Initializer","symbolKind":"init","modules":[{"name":"jose-swift"}],"externalID":"s:16JSONWebSignature3JWSV9jwsStringACSS_tKcfc","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"jwsString"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"title":"init(jwsString:)","role":"symbol"},"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jws\/init(jwsstring:)"]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(jwsString:)","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://tools.ietf.org/html/rfc7515":{"titleInlineContent":[{"text":"RFC7515","type":"text"}],"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","title":"RFC7515","url":"https:\/\/tools.ietf.org\/html\/rfc7515","type":"link"},"doc://jose-swift/documentation/jose_swift/JWS/init(jwsString:)":{"title":"init(jwsString:)","kind":"symbol","abstract":[{"type":"text","text":"Initializes a new JWS object from a compact serialization string using a default header type,"},{"text":" ","type":"text"},{"text":"following the format and decoding rules specified in RFC 7515.","type":"text"}],"url":"\/documentation\/jose_swift\/jws\/init(jwsstring:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(jwsString:)","type":"topic","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"jwsString"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/init(jwsstring:headertype:).json b/data/documentation/jose_swift/jws/init(jwsstring:headertype:).json new file mode 100644 index 0000000..bd85f82 --- /dev/null +++ b/data/documentation/jose_swift/jws/init(jwsstring:headertype:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS"]]},"metadata":{"externalID":"s:16JSONWebSignature3JWSV9jwsString10headerTypeACSS_AA25JWSRegisteredFieldsHeader_pXptKcfc","symbolKind":"init","modules":[{"name":"jose-swift"}],"roleHeading":"Initializer","role":"symbol","title":"init(jwsString:headerType:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"jwsString"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"headerType","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","text":"JWSRegisteredFieldsHeader"},{"text":".Type) ","kind":"text"},{"kind":"keyword","text":"throws"}]},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"text":"jwsString","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"headerType","kind":"externalParam"},{"kind":"text","text":": "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","kind":"typeIdentifier","text":"JWSRegisteredFieldsHeader"},{"kind":"text","text":".Type) "},{"text":"throws","kind":"keyword"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"name":"jwsString","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The compact serialization string of the JWS."}]}]},{"name":"headerType","content":[{"type":"paragraph","inlineContent":[{"text":"The type of the header to decode into.","type":"text"}]}]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/jws\/init(jwsstring:headertype:)"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"type":"text","text":"Initializes a new JWS object from a compact serialization string."},{"text":" ","type":"text"},{"type":"text","text":"Decodes the header, payload, and signature from the string."},{"text":" ","type":"text"},{"text":"Throws an error if the string format is invalid or decoding fails.","type":"text"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(jwsString:headerType:)","interfaceLanguage":"swift"},"sections":[],"schemaVersion":{"minor":3,"major":0,"patch":0},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]},"https://tools.ietf.org/html/rfc7515":{"type":"link","titleInlineContent":[{"text":"RFC7515","type":"text"}],"title":"RFC7515","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","url":"https:\/\/tools.ietf.org\/html\/rfc7515"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift/JWS/init(jwsString:headerType:)":{"title":"init(jwsString:headerType:)","kind":"symbol","abstract":[{"type":"text","text":"Initializes a new JWS object from a compact serialization string."},{"type":"text","text":" "},{"type":"text","text":"Decodes the header, payload, and signature from the string."},{"type":"text","text":" "},{"type":"text","text":"Throws an error if the string format is invalid or decoding fails."}],"url":"\/documentation\/jose_swift\/jws\/init(jwsstring:headertype:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(jwsString:headerType:)","type":"topic","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"jwsString"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"headerType","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","text":"JWSRegisteredFieldsHeader"},{"text":".Type) ","kind":"text"},{"text":"throws","kind":"keyword"}],"role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/init(payload:key:).json b/data/documentation/jose_swift/jws/init(payload:key:).json new file mode 100644 index 0000000..21eca4f --- /dev/null +++ b/data/documentation/jose_swift/jws/init(payload:key:).json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/jws\/init(payload:key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(payload:key:)","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"minor":3,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"init","kind":"keyword"},{"kind":"text","text":"("},{"text":"payload","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"languages":["swift"],"platforms":["macOS"]}]},{"parameters":[{"content":[{"inlineContent":[{"text":"The payload data.","type":"text"}],"type":"paragraph"}],"name":"data"},{"name":"key","content":[{"inlineContent":[{"type":"text","text":"The "},{"code":"JWK","type":"codeVoice"},{"type":"text","text":" used for signing."}],"type":"paragraph"}]}],"kind":"parameters"},{"content":[{"type":"heading","text":"Discussion","anchor":"discussion","level":2},{"content":[{"inlineContent":[{"text":"An error if the signing process fails or if the key is inappropriate for the determined algorithm.","type":"text"}],"type":"paragraph"}],"type":"aside","name":"Throws","style":"note"}],"kind":"content"}],"sections":[],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"payload"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"key"},{"text":": ","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"title":"init(payload:key:)","externalID":"s:16JSONWebSignature3JWSV7payload3keyAC10Foundation4DataV_0A3Key3JWKVtKcfc","role":"symbol","roleHeading":"Initializer","modules":[{"name":"jose-swift","relatedModules":["JSONWebSignature"]}],"symbolKind":"init","extendedModule":"JSONWebSignature"},"abstract":[{"type":"text","text":"Convenience initializer to create a "},{"code":"JWS","type":"codeVoice"},{"text":" instance using payload data and a JSON Web Key (JWK).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"The signing algorithm is determined from the key, and a default header is created and used."}],"references":{"https://tools.ietf.org/html/rfc7515":{"titleInlineContent":[{"text":"RFC7515","type":"text"}],"type":"link","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","url":"https:\/\/tools.ietf.org\/html\/rfc7515","title":"RFC7515"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWS/init(payload:key:)":{"abstract":[{"type":"text","text":"Convenience initializer to create a "},{"type":"codeVoice","code":"JWS"},{"text":" instance using payload data and a JSON Web Key (JWK).","type":"text"},{"type":"text","text":" "},{"text":"The signing algorithm is determined from the key, and a default header is created and used.","type":"text"}],"kind":"symbol","role":"symbol","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"url":"\/documentation\/jose_swift\/jws\/init(payload:key:)","title":"init(payload:key:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(payload:key:)"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/init(payload:protectedheader:key:).json b/data/documentation/jose_swift/jws/init(payload:protectedheader:key:).json new file mode 100644 index 0000000..85dff4e --- /dev/null +++ b/data/documentation/jose_swift/jws/init(payload:protectedheader:key:).json @@ -0,0 +1 @@ +{"abstract":[{"text":"Initializes a new ","type":"text"},{"type":"codeVoice","code":"JWS"},{"type":"text","text":" instance using a "},{"code":"JWSProtectedFieldsHeader","type":"codeVoice"},{"type":"text","text":" instance, payload data, and a JSON Web Key (JWK)."},{"type":"text","text":" "},{"text":"The header is encoded and then prepared for the JWK, and the signature is generated using the provided key.","type":"text"}],"kind":"symbol","schemaVersion":{"major":0,"patch":0,"minor":3},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(payload:protectedHeader:key:)","interfaceLanguage":"swift"},"metadata":{"symbolKind":"init","title":"init(payload:protectedHeader:key:)","externalID":"s:16JSONWebSignature3JWSV7payload15protectedHeader3keyAC10Foundation4DataV_AA019JWSRegisteredFieldsF0_p0A3Key3JWKVSgtKcfc","modules":[{"name":"jose-swift","relatedModules":["JSONWebSignature"]}],"roleHeading":"Initializer","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","text":"JWSRegisteredFieldsHeader","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"key","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"}],"role":"symbol","extendedModule":"JSONWebSignature"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jws\/init(payload:protectedheader:key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","text":"JWSRegisteredFieldsHeader"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?) ","kind":"text"},{"kind":"keyword","text":"throws"}],"platforms":["macOS"],"languages":["swift"]}]},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"type":"text","text":" instance."}]}],"name":"header"},{"content":[{"inlineContent":[{"type":"text","text":"The payload data."}],"type":"paragraph"}],"name":"data"},{"name":"key","content":[{"inlineContent":[{"text":"The ","type":"text"},{"code":"JWK","type":"codeVoice"},{"type":"text","text":" used for signing."}],"type":"paragraph"}]}]},{"kind":"content","content":[{"level":2,"anchor":"discussion","text":"Discussion","type":"heading"},{"type":"aside","content":[{"type":"paragraph","inlineContent":[{"text":"An error if the signing process fails, or if the key is missing.","type":"text"}]}],"name":"Throws","style":"note"}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWS/init(payload:protectedHeader:key:)":{"title":"init(payload:protectedHeader:key:)","kind":"symbol","abstract":[{"text":"Initializes a new ","type":"text"},{"code":"JWS","type":"codeVoice"},{"type":"text","text":" instance using a "},{"code":"JWSProtectedFieldsHeader","type":"codeVoice"},{"type":"text","text":" instance, payload data, and a JSON Web Key (JWK)."},{"text":" ","type":"text"},{"text":"The header is encoded and then prepared for the JWK, and the signature is generated using the provided key.","type":"text"}],"url":"\/documentation\/jose_swift\/jws\/init(payload:protectedheader:key:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(payload:protectedHeader:key:)","type":"topic","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":", ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","text":"JWSRegisteredFieldsHeader"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"}],"role":"symbol"},"https://tools.ietf.org/html/rfc7515":{"titleInlineContent":[{"type":"text","text":"RFC7515"}],"type":"link","url":"https:\/\/tools.ietf.org\/html\/rfc7515","title":"RFC7515","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"text":"RFC7517","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/init(payload:protectedheaderdata:key:).json b/data/documentation/jose_swift/jws/init(payload:protectedheaderdata:key:).json new file mode 100644 index 0000000..4e35e21 --- /dev/null +++ b/data/documentation/jose_swift/jws/init(payload:protectedheaderdata:key:).json @@ -0,0 +1 @@ +{"metadata":{"title":"init(payload:protectedHeaderData:key:)","symbolKind":"init","externalID":"s:16JSONWebSignature3JWSV7payload19protectedHeaderData3keyAC10Foundation0G0V_AI0A3Key3JWKVSgtKcfc","roleHeading":"Initializer","extendedModule":"JSONWebSignature","role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"payload","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"protectedHeaderData","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"kind":"text","text":"?) "},{"text":"throws","kind":"keyword"}],"modules":[{"name":"jose-swift","relatedModules":["JSONWebSignature"]}]},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS"]]},"abstract":[{"type":"text","text":"Initializes a new "},{"type":"codeVoice","code":"JWS"},{"text":" instance using raw header data, payload data, and a JSON Web Key (JWK).","type":"text"},{"type":"text","text":" "},{"text":"The header is prepared for the JWK, and the signature is generated using the provided key.","type":"text"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(payload:protectedHeaderData:key:)"},"schemaVersion":{"patch":0,"major":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"payload"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"protectedHeaderData","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"text":"?) ","kind":"text"},{"kind":"keyword","text":"throws"}]}]},{"kind":"parameters","parameters":[{"name":"payload","content":[{"type":"paragraph","inlineContent":[{"text":"The payload data.","type":"text"}]}]},{"name":"protectedHeaderData","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The raw header data."}]}]},{"name":"key","content":[{"inlineContent":[{"type":"text","text":"The "},{"code":"JWK","type":"codeVoice"},{"text":" used for signing.","type":"text"}],"type":"paragraph"}]}]},{"kind":"content","content":[{"level":2,"anchor":"discussion","type":"heading","text":"Discussion"},{"type":"aside","name":"Throws","content":[{"inlineContent":[{"text":"An error if the signing process fails, or if the key is missing.","type":"text"}],"type":"paragraph"}],"style":"note"}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jws\/init(payload:protectedheaderdata:key:)"]}],"kind":"symbol","sections":[],"references":{"doc://jose-swift/documentation/jose_swift/JWS/init(payload:protectedHeaderData:key:)":{"kind":"symbol","abstract":[{"type":"text","text":"Initializes a new "},{"type":"codeVoice","code":"JWS"},{"type":"text","text":" instance using raw header data, payload data, and a JSON Web Key (JWK)."},{"text":" ","type":"text"},{"type":"text","text":"The header is prepared for the JWK, and the signature is generated using the provided key."}],"role":"symbol","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"protectedHeaderData","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?) "},{"text":"throws","kind":"keyword"}],"url":"\/documentation\/jose_swift\/jws\/init(payload:protectedheaderdata:key:)","title":"init(payload:protectedHeaderData:key:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(payload:protectedHeaderData:key:)"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://tools.ietf.org/html/rfc7515":{"url":"https:\/\/tools.ietf.org\/html\/rfc7515","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","title":"RFC7515","type":"link","titleInlineContent":[{"type":"text","text":"RFC7515"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"text":"RFC7517","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/init(protectedheader:data:signature:).json b/data/documentation/jose_swift/jws/init(protectedheader:data:signature:).json new file mode 100644 index 0000000..00b6313 --- /dev/null +++ b/data/documentation/jose_swift/jws/init(protectedheader:data:signature:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS"]]},"kind":"symbol","schemaVersion":{"minor":3,"major":0,"patch":0},"abstract":[{"type":"text","text":"Initializes a new JWS object using a "},{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"type":"text","text":" instance, payload data, and signature,"},{"type":"text","text":" "},{"text":"encoding the header.","type":"text"}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","text":"JWSRegisteredFieldsHeader"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"data"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"signature","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"name":"header","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" instance.","type":"text"}]}]},{"name":"data","content":[{"type":"paragraph","inlineContent":[{"text":"The payload data.","type":"text"}]}]},{"name":"signature","content":[{"inlineContent":[{"type":"text","text":"The signature data."}],"type":"paragraph"}]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(protectedHeader:data:signature:)"},"variants":[{"paths":["\/documentation\/jose_swift\/jws\/init(protectedheader:data:signature:)"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"metadata":{"title":"init(protectedHeader:data:signature:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"protectedHeader"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","text":"JWSRegisteredFieldsHeader","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"data","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"signature"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"roleHeading":"Initializer","role":"symbol","modules":[{"name":"jose-swift"}],"externalID":"s:16JSONWebSignature3JWSV15protectedHeader4data9signatureAcA019JWSRegisteredFieldsE0_p_10Foundation4DataVAJtKcfc","symbolKind":"init"},"references":{"https://tools.ietf.org/html/rfc7515":{"titleInlineContent":[{"text":"RFC7515","type":"text"}],"title":"RFC7515","url":"https:\/\/tools.ietf.org\/html\/rfc7515","type":"link","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},"doc://jose-swift/documentation/jose_swift/JWS/init(protectedHeader:data:signature:)":{"kind":"symbol","abstract":[{"type":"text","text":"Initializes a new JWS object using a "},{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"type":"text","text":" instance, payload data, and signature,"},{"text":" ","type":"text"},{"type":"text","text":"encoding the header."}],"role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","text":"JWSRegisteredFieldsHeader","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"data","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"text":"signature","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"url":"\/documentation\/jose_swift\/jws\/init(protectedheader:data:signature:)","title":"init(protectedHeader:data:signature:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(protectedHeader:data:signature:)"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/init(protectedheaderdata:data:signature:).json b/data/documentation/jose_swift/jws/init(protectedheaderdata:data:signature:).json new file mode 100644 index 0000000..efcc6fb --- /dev/null +++ b/data/documentation/jose_swift/jws/init(protectedheaderdata:data:signature:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"text":"protectedHeaderData","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"data","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"signature","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"content":[{"inlineContent":[{"text":"The raw header data.","type":"text"}],"type":"paragraph"}],"name":"header"},{"name":"data","content":[{"inlineContent":[{"type":"text","text":"The payload data."}],"type":"paragraph"}]},{"name":"signature","content":[{"type":"paragraph","inlineContent":[{"text":"The signature data.","type":"text"}]}]}]}],"kind":"symbol","abstract":[{"type":"text","text":"Initializes a new JWS object using raw header data, payload data, and signature,"},{"type":"text","text":" "},{"type":"text","text":"as per the structure and encoding rules."},{"text":" ","type":"text"},{"type":"text","text":"Throws an error if the header data cannot be decoded into a "},{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"type":"text","text":"."}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS"]]},"schemaVersion":{"patch":0,"minor":3,"major":0},"metadata":{"role":"symbol","externalID":"s:16JSONWebSignature3JWSV19protectedHeaderData4data9signatureAC10Foundation0F0V_A2ItKcfc","title":"init(protectedHeaderData:data:signature:)","roleHeading":"Initializer","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"text":"protectedHeaderData","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"text":"data","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"text":"signature","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"symbolKind":"init"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(protectedHeaderData:data:signature:)","interfaceLanguage":"swift"},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jws\/init(protectedheaderdata:data:signature:)"]}],"references":{"doc://jose-swift/documentation/jose_swift/JWS/init(protectedHeaderData:data:signature:)":{"abstract":[{"type":"text","text":"Initializes a new JWS object using raw header data, payload data, and signature,"},{"text":" ","type":"text"},{"type":"text","text":"as per the structure and encoding rules."},{"type":"text","text":" "},{"text":"Throws an error if the header data cannot be decoded into a ","type":"text"},{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"type":"text","text":"."}],"kind":"symbol","role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"protectedHeaderData"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"data","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":", "},{"kind":"externalParam","text":"signature"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"url":"\/documentation\/jose_swift\/jws\/init(protectedheaderdata:data:signature:)","title":"init(protectedHeaderData:data:signature:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/init(protectedHeaderData:data:signature:)"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://tools.ietf.org/html/rfc7515":{"titleInlineContent":[{"text":"RFC7515","type":"text"}],"title":"RFC7515","url":"https:\/\/tools.ietf.org\/html\/rfc7515","type":"link","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/jsonserialization(payload:keys:).json b/data/documentation/jose_swift/jws/jsonserialization(payload:keys:).json new file mode 100644 index 0000000..37458a9 --- /dev/null +++ b/data/documentation/jose_swift/jws/jsonserialization(payload:keys:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"jsonSerialization","kind":"identifier"},{"text":"(","kind":"text"},{"text":"payload","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"text":"keys","kind":"externalParam"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"]) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"languages":["swift"]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"name":"payload","content":[{"type":"paragraph","inlineContent":[{"text":"The payload data to be signed.","type":"text"}]}]},{"name":"keys","content":[{"inlineContent":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"JWK"},{"type":"text","text":"s used for signing."}],"type":"paragraph"}]}]},{"kind":"content","content":[{"level":2,"text":"Return Value","type":"heading","anchor":"return-value"},{"inlineContent":[{"type":"text","text":"JSON encoded data representing the signed payload with multiple signatures."}],"type":"paragraph"}]},{"content":[{"anchor":"discussion","type":"heading","text":"Discussion","level":2},{"content":[{"type":"paragraph","inlineContent":[{"text":"An error if the JSON encoding process fails.","type":"text"}]}],"type":"aside","name":"Throws","style":"note"}],"kind":"content"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/jsonSerialization(payload:keys:)"},"sections":[],"schemaVersion":{"patch":0,"minor":3,"major":0},"metadata":{"roleHeading":"Type Method","title":"jsonSerialization(payload:keys:)","symbolKind":"method","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"jsonSerialization","kind":"identifier"},{"kind":"text","text":"("},{"text":"payload","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":", ","kind":"text"},{"text":"keys","kind":"externalParam"},{"kind":"text","text":": ["},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"]) "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"}],"modules":[{"relatedModules":["JSONWebSignature"],"name":"jose-swift"}],"externalID":"s:16JSONWebSignature3JWSV17jsonSerialization7payload4keys10Foundation4DataVAI_Say0A3Key3JWKVGtKFZ","role":"symbol","extendedModule":"JSONWebSignature"},"abstract":[{"text":"Encodes the JWS object with multiple signatures into JSON data.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"This is a wrapper around the "},{"type":"codeVoice","code":"jsonSerialization(payload:keys:)"},{"text":" method that encodes the result into JSON.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jws\/jsonserialization(payload:keys:)"]}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://tools.ietf.org/html/rfc7515":{"type":"link","url":"https:\/\/tools.ietf.org\/html\/rfc7515","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","title":"RFC7515","titleInlineContent":[{"type":"text","text":"RFC7515"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","titleInlineContent":[{"text":"RFC7517","type":"text"}],"title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWS/jsonSerialization(payload:keys:)":{"title":"jsonSerialization(payload:keys:)","kind":"symbol","abstract":[{"type":"text","text":"Encodes the JWS object with multiple signatures into JSON data."},{"text":" ","type":"text"},{"text":"This is a wrapper around the ","type":"text"},{"type":"codeVoice","code":"jsonSerialization(payload:keys:)"},{"text":" method that encodes the result into JSON.","type":"text"}],"url":"\/documentation\/jose_swift\/jws\/jsonserialization(payload:keys:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/jsonSerialization(payload:keys:)","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"jsonSerialization","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":", "},{"text":"keys","kind":"externalParam"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"}],"role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/jsonserialization(payload:protectedheader:unprotectedheader:keys:).json b/data/documentation/jose_swift/jws/jsonserialization(payload:protectedheader:unprotectedheader:keys:).json new file mode 100644 index 0000000..2dc8b3f --- /dev/null +++ b/data/documentation/jose_swift/jws/jsonserialization(payload:protectedheader:unprotectedheader:keys:).json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/jws\/jsonserialization(payload:protectedheader:unprotectedheader:keys:)"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"metadata":{"modules":[{"name":"jose-swift","relatedModules":["JSONWebSignature"]}],"roleHeading":"Type Method","extendedModule":"JSONWebSignature","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"jsonSerialization","kind":"identifier"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"P"},{"text":", ","kind":"text"},{"text":"H","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"protectedHeader"},{"text":": ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"unprotectedHeader"},{"text":": ","kind":"text"},{"text":"H","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"keys","kind":"externalParam"},{"kind":"text","text":": ["},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"symbolKind":"method","externalID":"s:16JSONWebSignature3JWSV17jsonSerialization7payload15protectedHeader011unprotectedH04keys10Foundation4DataVAK_xq_SgSay0A3Key3JWKVGtKAA019JWSRegisteredFieldsH0RzAaQR_r0_lFZ","title":"jsonSerialization(payload:protectedHeader:unprotectedHeader:keys:)","role":"symbol"},"sections":[],"abstract":[{"text":"Encodes the JWS object into JSON data, allowing for custom protected header and header types.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"This method provides a way to serialize the JWS object with specified header types into JSON."}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/jsonSerialization(payload:protectedHeader:unprotectedHeader:keys:)"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS"]]},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"jsonSerialization","kind":"identifier"},{"kind":"text","text":"<"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":", "},{"text":"H","kind":"genericParameter"},{"text":">(","kind":"text"},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"unprotectedHeader"},{"text":": ","kind":"text"},{"text":"H","kind":"typeIdentifier"},{"kind":"text","text":"? = nil as DefaultJWSHeaderImpl?, "},{"text":"keys","kind":"externalParam"},{"text":": [","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":" ","kind":"text"},{"text":"where","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"kind":"text","text":" : "},{"preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","kind":"typeIdentifier","text":"JWSRegisteredFieldsHeader","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"H"},{"kind":"text","text":" : "},{"text":"JWSRegisteredFieldsHeader","kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The payload data."}]}],"name":"payload"},{"name":"protectedHeader","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The protected header instance."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An optional header instance."}]}],"name":"unprotectedHeader"},{"content":[{"inlineContent":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"JWK"},{"text":"s used for signing.","type":"text"}],"type":"paragraph"}],"name":"keys"}]},{"kind":"content","content":[{"text":"Return Value","type":"heading","level":2,"anchor":"return-value"},{"inlineContent":[{"type":"text","text":"JSON encoded data with the specified header types."}],"type":"paragraph"}]},{"content":[{"anchor":"discussion","type":"heading","level":2,"text":"Discussion"},{"type":"aside","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An error if the JSON encoding process fails."}]}],"style":"note","name":"Throws"}],"kind":"content"}],"references":{"doc://jose-swift/documentation/jose_swift/JWS/jsonSerialization(payload:protectedHeader:unprotectedHeader:keys:)":{"title":"jsonSerialization(payload:protectedHeader:unprotectedHeader:keys:)","kind":"symbol","abstract":[{"type":"text","text":"Encodes the JWS object into JSON data, allowing for custom protected header and header types."},{"text":" ","type":"text"},{"type":"text","text":"This method provides a way to serialize the JWS object with specified header types into JSON."}],"url":"\/documentation\/jose_swift\/jws\/jsonserialization(payload:protectedheader:unprotectedheader:keys:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/jsonSerialization(payload:protectedHeader:unprotectedHeader:keys:)","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"jsonSerialization"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":", "},{"text":"H","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"payload"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"protectedHeader"},{"kind":"text","text":": "},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"unprotectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"H"},{"text":"?, ","kind":"text"},{"text":"keys","kind":"externalParam"},{"text":": [","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"]) ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"role":"symbol"},"https://tools.ietf.org/html/rfc7515":{"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","type":"link","title":"RFC7515","url":"https:\/\/tools.ietf.org\/html\/rfc7515","titleInlineContent":[{"type":"text","text":"RFC7515"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/jsonserializationflattened(payload:key:).json b/data/documentation/jose_swift/jws/jsonserializationflattened(payload:key:).json new file mode 100644 index 0000000..73b5347 --- /dev/null +++ b/data/documentation/jose_swift/jws/jsonserializationflattened(payload:key:).json @@ -0,0 +1 @@ +{"kind":"symbol","abstract":[{"type":"text","text":"Generates a flattened JSON serialization of the JWS object for a single key."},{"text":" ","type":"text"},{"type":"text","text":"This method is useful when there is only one signer and a compact JSON representation is preferred."}],"metadata":{"role":"symbol","title":"jsonSerializationFlattened(payload:key:)","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jsonSerializationFlattened","kind":"identifier"},{"text":"(","kind":"text"},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"}],"modules":[{"name":"jose-swift","relatedModules":["JSONWebSignature"]}],"extendedModule":"JSONWebSignature","symbolKind":"method","roleHeading":"Type Method","externalID":"s:16JSONWebSignature3JWSV26jsonSerializationFlattened7payload3key10Foundation4DataVAI_0A3Key3JWKVtKFZ"},"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"jsonSerializationFlattened","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"payload"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"key","kind":"externalParam"},{"kind":"text","text":": "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"}]}]},{"kind":"parameters","parameters":[{"name":"payload","content":[{"inlineContent":[{"text":"The payload data to be signed.","type":"text"}],"type":"paragraph"}]},{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"code":"JWK","type":"codeVoice"},{"text":" used for signing.","type":"text"}]}]}]},{"content":[{"type":"heading","anchor":"return-value","text":"Return Value","level":2},{"type":"paragraph","inlineContent":[{"text":"Flattened JSON encoded data representing the signed payload.","type":"text"}]}],"kind":"content"},{"kind":"content","content":[{"type":"heading","anchor":"discussion","level":2,"text":"Discussion"},{"name":"Throws","style":"note","type":"aside","content":[{"inlineContent":[{"type":"text","text":"An error if the signing or JSON encoding process fails."}],"type":"paragraph"}]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/jsonSerializationFlattened(payload:key:)"},"variants":[{"paths":["\/documentation\/jose_swift\/jws\/jsonserializationflattened(payload:key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://tools.ietf.org/html/rfc7515":{"title":"RFC7515","type":"link","titleInlineContent":[{"text":"RFC7515","type":"text"}],"url":"https:\/\/tools.ietf.org\/html\/rfc7515","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWS/jsonSerializationFlattened(payload:key:)":{"title":"jsonSerializationFlattened(payload:key:)","kind":"symbol","abstract":[{"type":"text","text":"Generates a flattened JSON serialization of the JWS object for a single key."},{"type":"text","text":" "},{"text":"This method is useful when there is only one signer and a compact JSON representation is preferred.","type":"text"}],"url":"\/documentation\/jose_swift\/jws\/jsonserializationflattened(payload:key:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/jsonSerializationFlattened(payload:key:)","type":"topic","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"jsonSerializationFlattened","kind":"identifier"},{"kind":"text","text":"("},{"text":"payload","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"key"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/jsonserializationflattened(payload:protectedheader:unprotectedheader:key:)-9og9d.json b/data/documentation/jose_swift/jws/jsonserializationflattened(payload:protectedheader:unprotectedheader:key:)-9og9d.json new file mode 100644 index 0000000..f7865e1 --- /dev/null +++ b/data/documentation/jose_swift/jws/jsonserializationflattened(payload:protectedheader:unprotectedheader:key:)-9og9d.json @@ -0,0 +1 @@ +{"metadata":{"externalID":"s:16JSONWebSignature3JWSV26jsonSerializationFlattened7payload15protectedHeader011unprotectedI03key10Foundation4DataVAK_xq_Sg0A3Key3JWKVtKAA019JWSRegisteredFieldsI0RzAaPR_r0_lFZ","symbolKind":"method","extendedModule":"JSONWebSignature","title":"jsonSerializationFlattened(payload:protectedHeader:unprotectedHeader:key:)","role":"symbol","modules":[{"relatedModules":["JSONWebSignature"],"name":"jose-swift"}],"roleHeading":"Type Method","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"jsonSerializationFlattened","kind":"identifier"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"text":", ","kind":"text"},{"text":"H","kind":"genericParameter"},{"kind":"text","text":">("},{"text":"payload","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"protectedHeader"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"P"},{"text":", ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"H"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"key"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}]},"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/jsonSerializationFlattened(payload:protectedHeader:unprotectedHeader:key:)-9og9d","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Generates a flattened JSON serialization of the JWS object for a single key, allowing for custom protected header and header types."},{"text":" ","type":"text"},{"text":"This method is similar to ","type":"text"},{"type":"codeVoice","code":"jsonSerializationFlattened(payload:key:)"},{"type":"text","text":" but allows specifying custom header types."}],"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jws\/jsonserializationflattened(payload:protectedheader:unprotectedheader:key:)-9og9d"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jsonSerializationFlattened","kind":"identifier"},{"kind":"text","text":"<"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"H"},{"text":">(","kind":"text"},{"kind":"externalParam","text":"payload"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"text":"H","kind":"typeIdentifier"},{"kind":"text","text":"? = nil as DefaultJWSHeaderImpl?, "},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":" ","kind":"text"},{"text":"where","kind":"keyword"},{"kind":"text","text":" "},{"text":"P","kind":"typeIdentifier"},{"text":" : ","kind":"text"},{"preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","text":"JWSRegisteredFieldsHeader","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"H","kind":"typeIdentifier"},{"text":" : ","kind":"text"},{"text":"JWSRegisteredFieldsHeader","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"payload","content":[{"type":"paragraph","inlineContent":[{"text":"The payload data.","type":"text"}]}]},{"name":"protectedHeader","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The protected header instance."}]}]},{"content":[{"inlineContent":[{"text":"An optional header instance.","type":"text"}],"type":"paragraph"}],"name":"unprotectedHeader"},{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"code":"JWK","type":"codeVoice"},{"type":"text","text":" used for signing."}]}]}]},{"content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Flattened JSON encoded data with the specified header types."}]}],"kind":"content"},{"content":[{"anchor":"discussion","text":"Discussion","type":"heading","level":2},{"type":"aside","name":"Throws","content":[{"inlineContent":[{"type":"text","text":"An error if the signing or JSON encoding process fails."}],"type":"paragraph"}],"style":"note"}],"kind":"content"}],"references":{"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"https://tools.ietf.org/html/rfc7515":{"type":"link","title":"RFC7515","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","url":"https:\/\/tools.ietf.org\/html\/rfc7515","titleInlineContent":[{"type":"text","text":"RFC7515"}]},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}]},"doc://jose-swift/documentation/jose_swift/JWS/jsonSerializationFlattened(payload:protectedHeader:unprotectedHeader:key:)-9og9d":{"abstract":[{"text":"Generates a flattened JSON serialization of the JWS object for a single key, allowing for custom protected header and header types.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"This method is similar to "},{"type":"codeVoice","code":"jsonSerializationFlattened(payload:key:)"},{"text":" but allows specifying custom header types.","type":"text"}],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jsonSerializationFlattened","kind":"identifier"},{"kind":"text","text":"<"},{"text":"P","kind":"genericParameter"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"H"},{"text":">(","kind":"text"},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"unprotectedHeader"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"H"},{"text":"?, ","kind":"text"},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"url":"\/documentation\/jose_swift\/jws\/jsonserializationflattened(payload:protectedheader:unprotectedheader:key:)-9og9d","title":"jsonSerializationFlattened(payload:protectedHeader:unprotectedHeader:key:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/jsonSerializationFlattened(payload:protectedHeader:unprotectedHeader:key:)-9og9d"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/jsonserializationflattened(payload:protectedheader:unprotectedheader:key:)-wuj8.json b/data/documentation/jose_swift/jws/jsonserializationflattened(payload:protectedheader:unprotectedheader:key:)-wuj8.json new file mode 100644 index 0000000..ca7a27c --- /dev/null +++ b/data/documentation/jose_swift/jws/jsonserializationflattened(payload:protectedheader:unprotectedheader:key:)-wuj8.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/jsonSerializationFlattened(payload:protectedHeader:unprotectedHeader:key:)-wuj8","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/jose_swift\/jws\/jsonserializationflattened(payload:protectedheader:unprotectedheader:key:)-wuj8"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"jsonSerializationFlattened","kind":"identifier"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"P"},{"text":", ","kind":"text"},{"text":"H","kind":"genericParameter"},{"text":">(","kind":"text"},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"unprotectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"H"},{"text":"? = nil as DefaultJWSHeaderImpl?, ","kind":"text"},{"kind":"externalParam","text":"key"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:16JSONWebSignature16JWSJsonFlattenedV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","text":"JWSJsonFlattened","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"text":", ","kind":"text"},{"text":"H","kind":"typeIdentifier"},{"text":"> ","kind":"text"},{"text":"where","kind":"keyword"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"P"},{"text":" : ","kind":"text"},{"kind":"typeIdentifier","text":"JWSRegisteredFieldsHeader","preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"H"},{"text":" : ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","text":"JWSRegisteredFieldsHeader"}],"languages":["swift"]}]},{"kind":"parameters","parameters":[{"content":[{"inlineContent":[{"text":"The payload data.","type":"text"}],"type":"paragraph"}],"name":"payload"},{"name":"protectedHeader","content":[{"inlineContent":[{"text":"The protected header instance.","type":"text"}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"An optional header instance.","type":"text"}]}],"name":"unprotectedHeader"},{"name":"key","content":[{"inlineContent":[{"type":"text","text":"The "},{"type":"codeVoice","code":"JWK"},{"type":"text","text":" used for signing."}],"type":"paragraph"}]}]},{"content":[{"type":"heading","level":2,"text":"Return Value","anchor":"return-value"},{"type":"paragraph","inlineContent":[{"text":"A ","type":"text"},{"code":"JWSJsonFlattened","type":"codeVoice"},{"text":" object with the specified header types.","type":"text"}]}],"kind":"content"},{"kind":"content","content":[{"type":"heading","anchor":"discussion","text":"Discussion","level":2},{"type":"aside","content":[{"type":"paragraph","inlineContent":[{"text":"An error if the signing or JSON encoding process fails.","type":"text"}]}],"name":"Throws","style":"note"}]}],"metadata":{"symbolKind":"method","roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jsonSerializationFlattened","kind":"identifier"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":", "},{"text":"H","kind":"genericParameter"},{"kind":"text","text":">("},{"text":"payload","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"protectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"unprotectedHeader"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"H"},{"kind":"text","text":"?, "},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:16JSONWebSignature16JWSJsonFlattenedV","kind":"typeIdentifier","text":"JWSJsonFlattened"},{"kind":"text","text":"<"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"H","kind":"typeIdentifier"},{"kind":"text","text":">"}],"modules":[{"name":"jose-swift","relatedModules":["JSONWebSignature"]}],"externalID":"s:16JSONWebSignature3JWSV26jsonSerializationFlattened7payload15protectedHeader011unprotectedI03keyAA07JWSJsonF0Vyxq_G10Foundation4DataV_xq_Sg0A3Key3JWKVtKAA019JWSRegisteredFieldsI0RzAaSR_r0_lFZ","extendedModule":"JSONWebSignature","role":"symbol","title":"jsonSerializationFlattened(payload:protectedHeader:unprotectedHeader:key:)"},"abstract":[{"text":"Generates a flattened JSON serialization of the JWS object for a single key, allowing for custom protected header and header types.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"This method is similar to "},{"type":"codeVoice","code":"jsonSerializationFlattened(payload:key:)"},{"text":" but allows specifying custom header types.","type":"text"}],"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"https://tools.ietf.org/html/rfc7515":{"title":"RFC7515","type":"link","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","titleInlineContent":[{"text":"RFC7515","type":"text"}],"url":"https:\/\/tools.ietf.org\/html\/rfc7515"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened":{"title":"JWSJsonFlattened","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" represents a JSON Web Signature (JWS) object in a flattened JSON format."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJsonFlattened","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"text":"JWSJsonFlattened","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","url":"\/documentation\/jose_swift\/jwsjsonflattened","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWS/jsonSerializationFlattened(payload:protectedHeader:unprotectedHeader:key:)-wuj8":{"abstract":[{"type":"text","text":"Generates a flattened JSON serialization of the JWS object for a single key, allowing for custom protected header and header types."},{"type":"text","text":" "},{"text":"This method is similar to ","type":"text"},{"type":"codeVoice","code":"jsonSerializationFlattened(payload:key:)"},{"type":"text","text":" but allows specifying custom header types."}],"kind":"symbol","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"jsonSerializationFlattened","kind":"identifier"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"H"},{"kind":"text","text":">("},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"unprotectedHeader"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"H"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"text":"JWSJsonFlattened","kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature16JWSJsonFlattenedV"},{"text":"<","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"H"},{"text":">","kind":"text"}],"url":"\/documentation\/jose_swift\/jws\/jsonserializationflattened(payload:protectedheader:unprotectedheader:key:)-wuj8","title":"jsonSerializationFlattened(payload:protectedHeader:unprotectedHeader:key:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/jsonSerializationFlattened(payload:protectedHeader:unprotectedHeader:key:)-wuj8"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/jwserror.json b/data/documentation/jose_swift/jws/jwserror.json new file mode 100644 index 0000000..5147e93 --- /dev/null +++ b/data/documentation/jose_swift/jws/jwserror.json @@ -0,0 +1 @@ +{"topicSections":[{"title":"Enumeration Cases","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/couldNotDecodeCompleteJsonOrFlattened","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/invalidString","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/keyAlgorithmAndHeaderAlgorithmAreNotEqual(header:key:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/missingAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/missingCurve","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/missingKey","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/missingKid","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/multipleSignaturesCantBeFlattened","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/noSignatureForJWK(jwkAlg:jwkKid:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/protectedHeaderAlgorithmAndHeaderAlgorithmAreNotEqual(header:protectedHeader:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/somethingWentWrong","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/unsupportedAlgorithm(keyType:algorithm:curve:)"]},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/Error-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/LocalizedError-Implementations"],"generated":true,"title":"Default Implementations"}],"variants":[{"paths":["\/documentation\/jose_swift\/jws\/jwserror"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"roleHeading":"Enumeration","extendedModule":"JSONWebSignature","title":"JWS.JWSError","externalID":"s:16JSONWebSignature3JWSV8JWSErrorO","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWSError","kind":"identifier"}],"navigatorTitle":[{"text":"JWSError","kind":"identifier"}],"symbolKind":"enum","modules":[{"relatedModules":["JSONWebSignature"],"name":"jose-swift"}],"role":"symbol"},"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError"},"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"type":"codeVoice","code":"JWSError"},{"text":" enumerates the various errors that can occur when processing JSON Web Signatures (JWS).","type":"text"}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSError"}]}],"kind":"declarations"}],"relationshipsSections":[{"identifiers":["doc:\/\/jose-swift\/10Foundation14LocalizedErrorP","doc:\/\/jose-swift\/s5ErrorP","doc:\/\/jose-swift\/s8SendableP"],"kind":"relationships","type":"conformsTo","title":"Conforms To"}],"references":{"doc://jose-swift/documentation/jose_swift/JWS/JWSError/somethingWentWrong":{"type":"topic","abstract":[{"type":"text","text":"Indicates a generic error where something went wrong but no specific information is available."}],"role":"symbol","title":"JWS.JWSError.somethingWentWrong","kind":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"somethingWentWrong"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/somethingWentWrong","url":"\/documentation\/jose_swift\/jws\/jwserror\/somethingwentwrong"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/missingCurve":{"type":"topic","title":"JWS.JWSError.missingCurve","kind":"symbol","abstract":[{"type":"text","text":"Indicates a missing curve error, typically in the context of elliptic curve cryptography."}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/missingCurve","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"missingCurve"}],"url":"\/documentation\/jose_swift\/jws\/jwserror\/missingcurve"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/couldNotDecodeCompleteJsonOrFlattened":{"url":"\/documentation\/jose_swift\/jws\/jwserror\/couldnotdecodecompletejsonorflattened","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/couldNotDecodeCompleteJsonOrFlattened","kind":"symbol","type":"topic","title":"JWS.JWSError.couldNotDecodeCompleteJsonOrFlattened","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"couldNotDecodeCompleteJsonOrFlattened"}],"role":"symbol","abstract":[{"text":"Indicates a failure in decoding either the complete JSON or the flattened JSON structure.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/protectedHeaderAlgorithmAndHeaderAlgorithmAreNotEqual(header:protectedHeader:)":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/protectedHeaderAlgorithmAndHeaderAlgorithmAreNotEqual(header:protectedHeader:)","type":"topic","title":"JWS.JWSError.protectedHeaderAlgorithmAndHeaderAlgorithmAreNotEqual(header:protectedHeader:)","role":"symbol","url":"\/documentation\/jose_swift\/jws\/jwserror\/protectedheaderalgorithmandheaderalgorithmarenotequal(header:protectedheader:)","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"protectedHeaderAlgorithmAndHeaderAlgorithmAreNotEqual"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"header"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[{"text":"Indicates a mismatch between the algorithm specified in the protected header and the header.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/multipleSignaturesCantBeFlattened":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/multipleSignaturesCantBeFlattened","abstract":[{"text":"Represents an error when multiple signatures cannot be flattened into a single signature.","type":"text"}],"role":"symbol","type":"topic","title":"JWS.JWSError.multipleSignaturesCantBeFlattened","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"multipleSignaturesCantBeFlattened","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jws\/jwserror\/multiplesignaturescantbeflattened","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/unsupportedAlgorithm(keyType:algorithm:curve:)":{"type":"topic","url":"\/documentation\/jose_swift\/jws\/jwserror\/unsupportedalgorithm(keytype:algorithm:curve:)","title":"JWS.JWSError.unsupportedAlgorithm(keyType:algorithm:curve:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/unsupportedAlgorithm(keyType:algorithm:curve:)","role":"symbol","kind":"symbol","abstract":[{"type":"text","text":"Indicates an unsupported algorithm error, optionally providing details about the key type, algorithm, or curve."}],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"unsupportedAlgorithm","kind":"identifier"},{"kind":"text","text":"("},{"text":"keyType","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"algorithm","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"curve","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?)","kind":"text"}]},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/keyAlgorithmAndHeaderAlgorithmAreNotEqual(header:key:)":{"role":"symbol","abstract":[{"text":"Indicates a mismatch between the algorithm specified in the key and the one specified in the JWS header.","type":"text"}],"url":"\/documentation\/jose_swift\/jws\/jwserror\/keyalgorithmandheaderalgorithmarenotequal(header:key:)","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/keyAlgorithmAndHeaderAlgorithmAreNotEqual(header:key:)","title":"JWS.JWSError.keyAlgorithmAndHeaderAlgorithmAreNotEqual(header:key:)","type":"topic","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"keyAlgorithmAndHeaderAlgorithmAreNotEqual","kind":"identifier"},{"kind":"text","text":"("},{"text":"header","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"text":"key","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}]},"doc://jose-swift/documentation/jose_swift/JWS/JWSError":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","role":"symbol","abstract":[{"code":"JWSError","type":"codeVoice"},{"type":"text","text":" enumerates the various errors that can occur when processing JSON Web Signatures (JWS)."}],"kind":"symbol","navigatorTitle":[{"text":"JWSError","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"JWSError","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jws\/jwserror","title":"JWS.JWSError"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/LocalizedError-Implementations":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/LocalizedError-Implementations","role":"collectionGroup","abstract":[],"kind":"article","url":"\/documentation\/jose_swift\/jws\/jwserror\/localizederror-implementations","title":"LocalizedError Implementations"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/missingAlgorithm":{"kind":"symbol","title":"JWS.JWSError.missingAlgorithm","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"missingAlgorithm","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/missingAlgorithm","url":"\/documentation\/jose_swift\/jws\/jwserror\/missingalgorithm","abstract":[{"type":"text","text":"Represents an error where the necessary algorithm information is missing."}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/Error-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/Error-Implementations","kind":"article","role":"collectionGroup","type":"topic","url":"\/documentation\/jose_swift\/jws\/jwserror\/error-implementations","abstract":[],"title":"Error Implementations"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/missingKid":{"role":"symbol","type":"topic","title":"JWS.JWSError.missingKid","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/missingKid","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"missingKid"}],"abstract":[{"type":"text","text":"Indicates that the Key ID (‘kid’) is missing, which is often crucial for identifying the correct key for processing."}],"url":"\/documentation\/jose_swift\/jws\/jwserror\/missingkid","kind":"symbol"},"https://tools.ietf.org/html/rfc7515":{"titleInlineContent":[{"type":"text","text":"RFC7515"}],"title":"RFC7515","type":"link","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","url":"https:\/\/tools.ietf.org\/html\/rfc7515"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/missingKey":{"type":"topic","abstract":[{"text":"Represents an error where the necessary key information is missing.","type":"text"}],"role":"symbol","title":"JWS.JWSError.missingKey","kind":"symbol","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"missingKey"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/missingKey","url":"\/documentation\/jose_swift\/jws\/jwserror\/missingkey"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/noSignatureForJWK(jwkAlg:jwkKid:)":{"title":"JWS.JWSError.noSignatureForJWK(jwkAlg:jwkKid:)","kind":"symbol","url":"\/documentation\/jose_swift\/jws\/jwserror\/nosignatureforjwk(jwkalg:jwkkid:)","type":"topic","abstract":[{"type":"text","text":"Indicates that no signature with algorithm or kid that matches the provided JSON Web Key (JWK)."}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"noSignatureForJWK"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"jwkAlg"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"jwkKid"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?)"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/noSignatureForJWK(jwkAlg:jwkKid:)","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/invalidString":{"abstract":[{"type":"text","text":"Represents an error where the JWS input string is invalid."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/invalidString","type":"topic","title":"JWS.JWSError.invalidString","url":"\/documentation\/jose_swift\/jws\/jwserror\/invalidstring","role":"symbol","kind":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"invalidString"}]},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/s5ErrorP":{"title":"Swift.Error","type":"unresolvable","identifier":"doc:\/\/jose-swift\/s5ErrorP"},"doc://jose-swift/10Foundation14LocalizedErrorP":{"title":"Foundation.LocalizedError","type":"unresolvable","identifier":"doc:\/\/jose-swift\/10Foundation14LocalizedErrorP"},"doc://jose-swift/s8SendableP":{"title":"Swift.Sendable","type":"unresolvable","identifier":"doc:\/\/jose-swift\/s8SendableP"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/jwserror/couldnotdecodecompletejsonorflattened.json b/data/documentation/jose_swift/jws/jwserror/couldnotdecodecompletejsonorflattened.json new file mode 100644 index 0000000..7d2aae2 --- /dev/null +++ b/data/documentation/jose_swift/jws/jwserror/couldnotdecodecompletejsonorflattened.json @@ -0,0 +1 @@ +{"kind":"symbol","sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError"]]},"abstract":[{"type":"text","text":"Indicates a failure in decoding either the complete JSON or the flattened JSON structure."}],"metadata":{"externalID":"s:16JSONWebSignature3JWSV8JWSErrorO37couldNotDecodeCompleteJsonOrFlattenedyA2EmF","symbolKind":"case","role":"symbol","title":"JWS.JWSError.couldNotDecodeCompleteJsonOrFlattened","modules":[{"name":"jose-swift"}],"roleHeading":"Case","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"couldNotDecodeCompleteJsonOrFlattened","kind":"identifier"}]},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"couldNotDecodeCompleteJsonOrFlattened"}],"platforms":["macOS"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jws\/jwserror\/couldnotdecodecompletejsonorflattened"]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/couldNotDecodeCompleteJsonOrFlattened","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"https://tools.ietf.org/html/rfc7515":{"url":"https:\/\/tools.ietf.org\/html\/rfc7515","title":"RFC7515","type":"link","titleInlineContent":[{"text":"RFC7515","type":"text"}],"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/couldNotDecodeCompleteJsonOrFlattened":{"url":"\/documentation\/jose_swift\/jws\/jwserror\/couldnotdecodecompletejsonorflattened","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/couldNotDecodeCompleteJsonOrFlattened","kind":"symbol","type":"topic","title":"JWS.JWSError.couldNotDecodeCompleteJsonOrFlattened","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"couldNotDecodeCompleteJsonOrFlattened"}],"role":"symbol","abstract":[{"text":"Indicates a failure in decoding either the complete JSON or the flattened JSON structure.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWS/JWSError":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","role":"symbol","abstract":[{"code":"JWSError","type":"codeVoice"},{"type":"text","text":" enumerates the various errors that can occur when processing JSON Web Signatures (JWS)."}],"kind":"symbol","navigatorTitle":[{"text":"JWSError","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"JWSError","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jws\/jwserror","title":"JWS.JWSError"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/jwserror/error-implementations.json b/data/documentation/jose_swift/jws/jwserror/error-implementations.json new file mode 100644 index 0000000..775511c --- /dev/null +++ b/data/documentation/jose_swift/jws/jwserror/error-implementations.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/Error-Implementations"},"kind":"article","sections":[],"topicSections":[{"generated":true,"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/localizedDescription"]}],"metadata":{"title":"Error Implementations","role":"collectionGroup","modules":[{"name":"jose-swift"}]},"variants":[{"paths":["\/documentation\/jose_swift\/jws\/jwserror\/error-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://jose-swift/documentation/jose_swift/JWS/JWSError":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","role":"symbol","abstract":[{"code":"JWSError","type":"codeVoice"},{"type":"text","text":" enumerates the various errors that can occur when processing JSON Web Signatures (JWS)."}],"kind":"symbol","navigatorTitle":[{"text":"JWSError","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"JWSError","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jws\/jwserror","title":"JWS.JWSError"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/localizedDescription":{"title":"localizedDescription","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/jws\/jwserror\/localizeddescription","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/localizedDescription","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"localizedDescription","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"https://tools.ietf.org/html/rfc7515":{"titleInlineContent":[{"type":"text","text":"RFC7515"}],"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","title":"RFC7515","url":"https:\/\/tools.ietf.org\/html\/rfc7515","type":"link"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/jwserror/errordescription.json b/data/documentation/jose_swift/jws/jwserror/errordescription.json new file mode 100644 index 0000000..b4558cf --- /dev/null +++ b/data/documentation/jose_swift/jws/jwserror/errordescription.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/LocalizedError-Implementations"]]},"abstract":[{"type":"text","text":"Inherited from "},{"code":"LocalizedError.errorDescription","type":"codeVoice"},{"text":".","type":"text"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/errorDescription"},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"errorDescription","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"? { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}]}],"kind":"symbol","metadata":{"symbolKind":"property","platforms":[{"unavailable":false,"beta":false,"name":"iOS","introducedAt":"8.0","deprecated":false},{"deprecated":false,"introducedAt":"10.10","unavailable":false,"beta":false,"name":"macOS"},{"name":"tvOS","deprecated":false,"beta":false,"unavailable":false,"introducedAt":"9.0"},{"beta":false,"deprecated":false,"name":"watchOS","introducedAt":"2.0","unavailable":false}],"title":"errorDescription","role":"symbol","externalID":"s:10Foundation14LocalizedErrorPAAE16errorDescriptionSSSgvp::SYNTHESIZED::s:16JSONWebSignature3JWSV8JWSErrorO","modules":[{"name":"jose-swift","relatedModules":["Foundation"]}],"roleHeading":"Instance Property","extendedModule":"Foundation","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"errorDescription","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":"?"}]},"variants":[{"paths":["\/documentation\/jose_swift\/jws\/jwserror\/errordescription"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWS/JWSError/errorDescription":{"role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"errorDescription"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/jws\/jwserror\/errordescription","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/errorDescription","kind":"symbol","title":"errorDescription","abstract":[]},"doc://jose-swift/documentation/jose_swift/JWS/JWSError":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","role":"symbol","abstract":[{"code":"JWSError","type":"codeVoice"},{"type":"text","text":" enumerates the various errors that can occur when processing JSON Web Signatures (JWS)."}],"kind":"symbol","navigatorTitle":[{"text":"JWSError","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"JWSError","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jws\/jwserror","title":"JWS.JWSError"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/LocalizedError-Implementations":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/LocalizedError-Implementations","role":"collectionGroup","abstract":[],"kind":"article","url":"\/documentation\/jose_swift\/jws\/jwserror\/localizederror-implementations","title":"LocalizedError Implementations"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"https://tools.ietf.org/html/rfc7515":{"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","type":"link","title":"RFC7515","titleInlineContent":[{"text":"RFC7515","type":"text"}],"url":"https:\/\/tools.ietf.org\/html\/rfc7515"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/jwserror/failurereason.json b/data/documentation/jose_swift/jws/jwserror/failurereason.json new file mode 100644 index 0000000..49ec9dd --- /dev/null +++ b/data/documentation/jose_swift/jws/jwserror/failurereason.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jws\/jwserror\/failurereason"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"failureReason"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"? { "},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"platforms":["macOS"]}]}],"abstract":[{"type":"text","text":"Inherited from "},{"code":"LocalizedError.failureReason","type":"codeVoice"},{"text":".","type":"text"}],"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/failureReason"},"sections":[],"kind":"symbol","metadata":{"role":"symbol","title":"failureReason","modules":[{"relatedModules":["Foundation"],"name":"jose-swift"}],"externalID":"s:10Foundation14LocalizedErrorPAAE13failureReasonSSSgvp::SYNTHESIZED::s:16JSONWebSignature3JWSV8JWSErrorO","roleHeading":"Instance Property","symbolKind":"property","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"failureReason"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"extendedModule":"Foundation","platforms":[{"introducedAt":"8.0","unavailable":false,"beta":false,"deprecated":false,"name":"iOS"},{"deprecated":false,"unavailable":false,"beta":false,"name":"macOS","introducedAt":"10.10"},{"unavailable":false,"name":"tvOS","deprecated":false,"introducedAt":"9.0","beta":false},{"introducedAt":"2.0","unavailable":false,"beta":false,"deprecated":false,"name":"watchOS"}]},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/LocalizedError-Implementations"]]},"references":{"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/failureReason":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/failureReason","role":"symbol","abstract":[],"kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"failureReason","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/jws\/jwserror\/failurereason","title":"failureReason"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/LocalizedError-Implementations":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/LocalizedError-Implementations","role":"collectionGroup","abstract":[],"kind":"article","url":"\/documentation\/jose_swift\/jws\/jwserror\/localizederror-implementations","title":"LocalizedError Implementations"},"https://tools.ietf.org/html/rfc7515":{"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","url":"https:\/\/tools.ietf.org\/html\/rfc7515","type":"link","titleInlineContent":[{"text":"RFC7515","type":"text"}],"title":"RFC7515"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","role":"symbol","abstract":[{"code":"JWSError","type":"codeVoice"},{"type":"text","text":" enumerates the various errors that can occur when processing JSON Web Signatures (JWS)."}],"kind":"symbol","navigatorTitle":[{"text":"JWSError","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"JWSError","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jws\/jwserror","title":"JWS.JWSError"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/jwserror/helpanchor.json b/data/documentation/jose_swift/jws/jwserror/helpanchor.json new file mode 100644 index 0000000..5c714ef --- /dev/null +++ b/data/documentation/jose_swift/jws/jwserror/helpanchor.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/LocalizedError-Implementations"]]},"abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"LocalizedError.helpAnchor"},{"type":"text","text":"."}],"kind":"symbol","primaryContentSections":[{"declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"helpAnchor","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"? { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/helpAnchor","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"metadata":{"title":"helpAnchor","modules":[{"name":"jose-swift","relatedModules":["Foundation"]}],"externalID":"s:10Foundation14LocalizedErrorPAAE10helpAnchorSSSgvp::SYNTHESIZED::s:16JSONWebSignature3JWSV8JWSErrorO","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"helpAnchor"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?","kind":"text"}],"role":"symbol","roleHeading":"Instance Property","platforms":[{"unavailable":false,"beta":false,"name":"iOS","introducedAt":"8.0","deprecated":false},{"deprecated":false,"name":"macOS","unavailable":false,"beta":false,"introducedAt":"10.10"},{"deprecated":false,"beta":false,"introducedAt":"9.0","name":"tvOS","unavailable":false},{"name":"watchOS","introducedAt":"2.0","unavailable":false,"deprecated":false,"beta":false}],"extendedModule":"Foundation","symbolKind":"property"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jws\/jwserror\/helpanchor"]}],"references":{"doc://jose-swift/documentation/jose_swift/JWS/JWSError":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","role":"symbol","abstract":[{"code":"JWSError","type":"codeVoice"},{"type":"text","text":" enumerates the various errors that can occur when processing JSON Web Signatures (JWS)."}],"kind":"symbol","navigatorTitle":[{"text":"JWSError","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"JWSError","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jws\/jwserror","title":"JWS.JWSError"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/helpAnchor":{"abstract":[],"url":"\/documentation\/jose_swift\/jws\/jwserror\/helpanchor","title":"helpAnchor","type":"topic","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"helpAnchor","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/helpAnchor","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://tools.ietf.org/html/rfc7515":{"title":"RFC7515","type":"link","url":"https:\/\/tools.ietf.org\/html\/rfc7515","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","titleInlineContent":[{"type":"text","text":"RFC7515"}]},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/LocalizedError-Implementations":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/LocalizedError-Implementations","role":"collectionGroup","abstract":[],"kind":"article","url":"\/documentation\/jose_swift\/jws\/jwserror\/localizederror-implementations","title":"LocalizedError Implementations"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/jwserror/invalidstring.json b/data/documentation/jose_swift/jws/jwserror/invalidstring.json new file mode 100644 index 0000000..0e5a1dd --- /dev/null +++ b/data/documentation/jose_swift/jws/jwserror/invalidstring.json @@ -0,0 +1 @@ +{"metadata":{"externalID":"s:16JSONWebSignature3JWSV8JWSErrorO13invalidStringyA2EmF","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"invalidString"}],"role":"symbol","title":"JWS.JWSError.invalidString","symbolKind":"case","roleHeading":"Case","modules":[{"name":"jose-swift"}]},"abstract":[{"type":"text","text":"Represents an error where the JWS input string is invalid."}],"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"invalidString"}],"platforms":["macOS"]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/invalidString"},"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jws\/jwserror\/invalidstring"]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://tools.ietf.org/html/rfc7515":{"titleInlineContent":[{"type":"text","text":"RFC7515"}],"title":"RFC7515","url":"https:\/\/tools.ietf.org\/html\/rfc7515","type":"link","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift/JWS/JWSError":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","role":"symbol","abstract":[{"code":"JWSError","type":"codeVoice"},{"type":"text","text":" enumerates the various errors that can occur when processing JSON Web Signatures (JWS)."}],"kind":"symbol","navigatorTitle":[{"text":"JWSError","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"JWSError","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jws\/jwserror","title":"JWS.JWSError"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/invalidString":{"abstract":[{"type":"text","text":"Represents an error where the JWS input string is invalid."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/invalidString","type":"topic","title":"JWS.JWSError.invalidString","url":"\/documentation\/jose_swift\/jws\/jwserror\/invalidstring","role":"symbol","kind":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"invalidString"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/jwserror/keyalgorithmandheaderalgorithmarenotequal(header:key:).json b/data/documentation/jose_swift/jws/jwserror/keyalgorithmandheaderalgorithmarenotequal(header:key:).json new file mode 100644 index 0000000..8fc64ef --- /dev/null +++ b/data/documentation/jose_swift/jws/jwserror/keyalgorithmandheaderalgorithmarenotequal(header:key:).json @@ -0,0 +1 @@ +{"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyAlgorithmAndHeaderAlgorithmAreNotEqual"},{"kind":"text","text":"("},{"text":"header","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":")","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError"]]},"schemaVersion":{"major":0,"patch":0,"minor":3},"metadata":{"roleHeading":"Case","role":"symbol","modules":[{"name":"jose-swift"}],"externalID":"s:16JSONWebSignature3JWSV8JWSErrorO021keyAlgorithmAndHeaderF11AreNotEqualyAESS_SStcAEmF","title":"JWS.JWSError.keyAlgorithmAndHeaderAlgorithmAreNotEqual(header:key:)","symbolKind":"case","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"keyAlgorithmAndHeaderAlgorithmAreNotEqual","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"header"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":")","kind":"text"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/keyAlgorithmAndHeaderAlgorithmAreNotEqual(header:key:)"},"abstract":[{"text":"Indicates a mismatch between the algorithm specified in the key and the one specified in the JWS header.","type":"text"}],"kind":"symbol","variants":[{"paths":["\/documentation\/jose_swift\/jws\/jwserror\/keyalgorithmandheaderalgorithmarenotequal(header:key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/keyAlgorithmAndHeaderAlgorithmAreNotEqual(header:key:)":{"role":"symbol","abstract":[{"text":"Indicates a mismatch between the algorithm specified in the key and the one specified in the JWS header.","type":"text"}],"url":"\/documentation\/jose_swift\/jws\/jwserror\/keyalgorithmandheaderalgorithmarenotequal(header:key:)","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/keyAlgorithmAndHeaderAlgorithmAreNotEqual(header:key:)","title":"JWS.JWSError.keyAlgorithmAndHeaderAlgorithmAreNotEqual(header:key:)","type":"topic","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"keyAlgorithmAndHeaderAlgorithmAreNotEqual","kind":"identifier"},{"kind":"text","text":"("},{"text":"header","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"text":"key","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}]},"doc://jose-swift/documentation/jose_swift/JWS/JWSError":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","role":"symbol","abstract":[{"code":"JWSError","type":"codeVoice"},{"type":"text","text":" enumerates the various errors that can occur when processing JSON Web Signatures (JWS)."}],"kind":"symbol","navigatorTitle":[{"text":"JWSError","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"JWSError","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jws\/jwserror","title":"JWS.JWSError"},"https://tools.ietf.org/html/rfc7515":{"type":"link","title":"RFC7515","titleInlineContent":[{"text":"RFC7515","type":"text"}],"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","url":"https:\/\/tools.ietf.org\/html\/rfc7515"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/jwserror/localizeddescription.json b/data/documentation/jose_swift/jws/jwserror/localizeddescription.json new file mode 100644 index 0000000..98a7367 --- /dev/null +++ b/data/documentation/jose_swift/jws/jwserror/localizeddescription.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"localizedDescription","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/Error-Implementations"]]},"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/localizedDescription"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"Error.localizedDescription"},{"text":".","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jws\/jwserror\/localizeddescription"]}],"sections":[],"metadata":{"modules":[{"relatedModules":["Swift"],"name":"jose-swift"}],"role":"symbol","roleHeading":"Instance Property","externalID":"s:s5ErrorP10FoundationE20localizedDescriptionSSvp::SYNTHESIZED::s:16JSONWebSignature3JWSV8JWSErrorO","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"localizedDescription"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"extendedModule":"Swift","platforms":[{"beta":false,"name":"iOS","unavailable":false,"introducedAt":"8.0","deprecated":false},{"introducedAt":"10.10","unavailable":false,"deprecated":false,"beta":false,"name":"macOS"},{"beta":false,"name":"tvOS","introducedAt":"9.0","deprecated":false,"unavailable":false},{"beta":false,"name":"watchOS","introducedAt":"2.0","deprecated":false,"unavailable":false}],"symbolKind":"property","title":"localizedDescription"},"references":{"https://tools.ietf.org/html/rfc7515":{"title":"RFC7515","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","titleInlineContent":[{"text":"RFC7515","type":"text"}],"type":"link","url":"https:\/\/tools.ietf.org\/html\/rfc7515"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift/JWS/JWSError":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","role":"symbol","abstract":[{"code":"JWSError","type":"codeVoice"},{"type":"text","text":" enumerates the various errors that can occur when processing JSON Web Signatures (JWS)."}],"kind":"symbol","navigatorTitle":[{"text":"JWSError","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"JWSError","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jws\/jwserror","title":"JWS.JWSError"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/localizedDescription":{"title":"localizedDescription","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/jws\/jwserror\/localizeddescription","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/localizedDescription","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"localizedDescription","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/Error-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/Error-Implementations","kind":"article","role":"collectionGroup","type":"topic","url":"\/documentation\/jose_swift\/jws\/jwserror\/error-implementations","abstract":[],"title":"Error Implementations"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/jwserror/localizederror-implementations.json b/data/documentation/jose_swift/jws/jwserror/localizederror-implementations.json new file mode 100644 index 0000000..fbcce31 --- /dev/null +++ b/data/documentation/jose_swift/jws/jwserror/localizederror-implementations.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jws\/jwserror\/localizederror-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"metadata":{"role":"collectionGroup","title":"LocalizedError Implementations","modules":[{"name":"jose-swift"}]},"kind":"article","schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/LocalizedError-Implementations"},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/errorDescription","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/failureReason","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/helpAnchor","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/recoverySuggestion"],"title":"Instance Properties","generated":true}],"references":{"doc://jose-swift/documentation/jose_swift/JWS/JWSError/errorDescription":{"role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"errorDescription"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/jws\/jwserror\/errordescription","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/errorDescription","kind":"symbol","title":"errorDescription","abstract":[]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"https://tools.ietf.org/html/rfc7515":{"titleInlineContent":[{"text":"RFC7515","type":"text"}],"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","title":"RFC7515","url":"https:\/\/tools.ietf.org\/html\/rfc7515","type":"link"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/failureReason":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/failureReason","role":"symbol","abstract":[],"kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"failureReason","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/jws\/jwserror\/failurereason","title":"failureReason"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/helpAnchor":{"abstract":[],"url":"\/documentation\/jose_swift\/jws\/jwserror\/helpanchor","title":"helpAnchor","type":"topic","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"helpAnchor","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/helpAnchor","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","role":"symbol","abstract":[{"code":"JWSError","type":"codeVoice"},{"type":"text","text":" enumerates the various errors that can occur when processing JSON Web Signatures (JWS)."}],"kind":"symbol","navigatorTitle":[{"text":"JWSError","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"JWSError","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jws\/jwserror","title":"JWS.JWSError"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/recoverySuggestion":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"recoverySuggestion"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?","kind":"text"}],"title":"recoverySuggestion","abstract":[],"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/recoverySuggestion","url":"\/documentation\/jose_swift\/jws\/jwserror\/recoverysuggestion","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/jwserror/missingalgorithm.json b/data/documentation/jose_swift/jws/jwserror/missingalgorithm.json new file mode 100644 index 0000000..f888a2c --- /dev/null +++ b/data/documentation/jose_swift/jws/jwserror/missingalgorithm.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError"]]},"sections":[],"abstract":[{"type":"text","text":"Represents an error where the necessary algorithm information is missing."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"missingAlgorithm"}],"languages":["swift"],"platforms":["macOS"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jws\/jwserror\/missingalgorithm"]}],"kind":"symbol","metadata":{"title":"JWS.JWSError.missingAlgorithm","symbolKind":"case","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"missingAlgorithm"}],"modules":[{"name":"jose-swift"}],"externalID":"s:16JSONWebSignature3JWSV8JWSErrorO16missingAlgorithmyA2EmF","role":"symbol","roleHeading":"Case"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/missingAlgorithm"},"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift/JWS/JWSError":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","role":"symbol","abstract":[{"code":"JWSError","type":"codeVoice"},{"type":"text","text":" enumerates the various errors that can occur when processing JSON Web Signatures (JWS)."}],"kind":"symbol","navigatorTitle":[{"text":"JWSError","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"JWSError","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jws\/jwserror","title":"JWS.JWSError"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"https://tools.ietf.org/html/rfc7515":{"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","titleInlineContent":[{"type":"text","text":"RFC7515"}],"type":"link","url":"https:\/\/tools.ietf.org\/html\/rfc7515","title":"RFC7515"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/missingAlgorithm":{"kind":"symbol","title":"JWS.JWSError.missingAlgorithm","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"missingAlgorithm","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/missingAlgorithm","url":"\/documentation\/jose_swift\/jws\/jwserror\/missingalgorithm","abstract":[{"type":"text","text":"Represents an error where the necessary algorithm information is missing."}],"type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/jwserror/missingcurve.json b/data/documentation/jose_swift/jws/jwserror/missingcurve.json new file mode 100644 index 0000000..38e5125 --- /dev/null +++ b/data/documentation/jose_swift/jws/jwserror/missingcurve.json @@ -0,0 +1 @@ +{"metadata":{"roleHeading":"Case","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"missingCurve","kind":"identifier"}],"externalID":"s:16JSONWebSignature3JWSV8JWSErrorO12missingCurveyA2EmF","modules":[{"name":"jose-swift"}],"title":"JWS.JWSError.missingCurve","symbolKind":"case","role":"symbol"},"schemaVersion":{"minor":3,"patch":0,"major":0},"variants":[{"paths":["\/documentation\/jose_swift\/jws\/jwserror\/missingcurve"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/missingCurve"},"kind":"symbol","abstract":[{"type":"text","text":"Indicates a missing curve error, typically in the context of elliptic curve cryptography."}],"sections":[],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"missingCurve"}]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift/JWS/JWSError":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","role":"symbol","abstract":[{"code":"JWSError","type":"codeVoice"},{"type":"text","text":" enumerates the various errors that can occur when processing JSON Web Signatures (JWS)."}],"kind":"symbol","navigatorTitle":[{"text":"JWSError","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"JWSError","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jws\/jwserror","title":"JWS.JWSError"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/missingCurve":{"type":"topic","title":"JWS.JWSError.missingCurve","kind":"symbol","abstract":[{"type":"text","text":"Indicates a missing curve error, typically in the context of elliptic curve cryptography."}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/missingCurve","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"missingCurve"}],"url":"\/documentation\/jose_swift\/jws\/jwserror\/missingcurve"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"https://tools.ietf.org/html/rfc7515":{"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","type":"link","title":"RFC7515","url":"https:\/\/tools.ietf.org\/html\/rfc7515","titleInlineContent":[{"type":"text","text":"RFC7515"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/jwserror/missingkey.json b/data/documentation/jose_swift/jws/jwserror/missingkey.json new file mode 100644 index 0000000..3ca89b0 --- /dev/null +++ b/data/documentation/jose_swift/jws/jwserror/missingkey.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError"]]},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"missingKey"}],"platforms":["macOS"]}],"kind":"declarations"}],"abstract":[{"text":"Represents an error where the necessary key information is missing.","type":"text"}],"metadata":{"symbolKind":"case","externalID":"s:16JSONWebSignature3JWSV8JWSErrorO10missingKeyyA2EmF","role":"symbol","title":"JWS.JWSError.missingKey","modules":[{"name":"jose-swift"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"missingKey"}],"roleHeading":"Case"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jws\/jwserror\/missingkey"]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/missingKey"},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift/JWS/JWSError":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","role":"symbol","abstract":[{"code":"JWSError","type":"codeVoice"},{"type":"text","text":" enumerates the various errors that can occur when processing JSON Web Signatures (JWS)."}],"kind":"symbol","navigatorTitle":[{"text":"JWSError","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"JWSError","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jws\/jwserror","title":"JWS.JWSError"},"https://tools.ietf.org/html/rfc7515":{"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","url":"https:\/\/tools.ietf.org\/html\/rfc7515","type":"link","titleInlineContent":[{"text":"RFC7515","type":"text"}],"title":"RFC7515"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/missingKey":{"type":"topic","abstract":[{"text":"Represents an error where the necessary key information is missing.","type":"text"}],"role":"symbol","title":"JWS.JWSError.missingKey","kind":"symbol","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"missingKey"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/missingKey","url":"\/documentation\/jose_swift\/jws\/jwserror\/missingkey"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/jwserror/missingkid.json b/data/documentation/jose_swift/jws/jwserror/missingkid.json new file mode 100644 index 0000000..0cfb383 --- /dev/null +++ b/data/documentation/jose_swift/jws/jwserror/missingkid.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jws\/jwserror\/missingkid"]}],"abstract":[{"type":"text","text":"Indicates that the Key ID (‘kid’) is missing, which is often crucial for identifying the correct key for processing."}],"metadata":{"externalID":"s:16JSONWebSignature3JWSV8JWSErrorO10missingKidyA2EmF","symbolKind":"case","title":"JWS.JWSError.missingKid","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"missingKid","kind":"identifier"}],"modules":[{"name":"jose-swift"}],"roleHeading":"Case","role":"symbol"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError"]]},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"missingKid"}],"platforms":["macOS"],"languages":["swift"]}]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/missingKid"},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/missingKid":{"role":"symbol","type":"topic","title":"JWS.JWSError.missingKid","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/missingKid","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"missingKid"}],"abstract":[{"type":"text","text":"Indicates that the Key ID (‘kid’) is missing, which is often crucial for identifying the correct key for processing."}],"url":"\/documentation\/jose_swift\/jws\/jwserror\/missingkid","kind":"symbol"},"https://tools.ietf.org/html/rfc7515":{"titleInlineContent":[{"text":"RFC7515","type":"text"}],"title":"RFC7515","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","type":"link","url":"https:\/\/tools.ietf.org\/html\/rfc7515"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift/JWS/JWSError":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","role":"symbol","abstract":[{"code":"JWSError","type":"codeVoice"},{"type":"text","text":" enumerates the various errors that can occur when processing JSON Web Signatures (JWS)."}],"kind":"symbol","navigatorTitle":[{"text":"JWSError","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"JWSError","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jws\/jwserror","title":"JWS.JWSError"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/jwserror/multiplesignaturescantbeflattened.json b/data/documentation/jose_swift/jws/jwserror/multiplesignaturescantbeflattened.json new file mode 100644 index 0000000..01975cd --- /dev/null +++ b/data/documentation/jose_swift/jws/jwserror/multiplesignaturescantbeflattened.json @@ -0,0 +1 @@ +{"sections":[],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"multipleSignaturesCantBeFlattened"}],"role":"symbol","title":"JWS.JWSError.multipleSignaturesCantBeFlattened","roleHeading":"Case","modules":[{"name":"jose-swift"}],"symbolKind":"case","externalID":"s:16JSONWebSignature3JWSV8JWSErrorO33multipleSignaturesCantBeFlattenedyA2EmF"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError"]]},"abstract":[{"type":"text","text":"Represents an error when multiple signatures cannot be flattened into a single signature."}],"variants":[{"paths":["\/documentation\/jose_swift\/jws\/jwserror\/multiplesignaturescantbeflattened"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"multipleSignaturesCantBeFlattened"}]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/multipleSignaturesCantBeFlattened"},"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"https://tools.ietf.org/html/rfc7515":{"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","title":"RFC7515","type":"link","url":"https:\/\/tools.ietf.org\/html\/rfc7515","titleInlineContent":[{"text":"RFC7515","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/multipleSignaturesCantBeFlattened":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/multipleSignaturesCantBeFlattened","abstract":[{"text":"Represents an error when multiple signatures cannot be flattened into a single signature.","type":"text"}],"role":"symbol","type":"topic","title":"JWS.JWSError.multipleSignaturesCantBeFlattened","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"multipleSignaturesCantBeFlattened","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jws\/jwserror\/multiplesignaturescantbeflattened","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","role":"symbol","abstract":[{"code":"JWSError","type":"codeVoice"},{"type":"text","text":" enumerates the various errors that can occur when processing JSON Web Signatures (JWS)."}],"kind":"symbol","navigatorTitle":[{"text":"JWSError","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"JWSError","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jws\/jwserror","title":"JWS.JWSError"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/jwserror/nosignatureforjwk(jwkalg:jwkkid:).json b/data/documentation/jose_swift/jws/jwserror/nosignatureforjwk(jwkalg:jwkkid:).json new file mode 100644 index 0000000..5b8e01f --- /dev/null +++ b/data/documentation/jose_swift/jws/jwserror/nosignatureforjwk(jwkalg:jwkkid:).json @@ -0,0 +1 @@ +{"kind":"symbol","abstract":[{"type":"text","text":"Indicates that no signature with algorithm or kid that matches the provided JSON Web Key (JWK)."}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/noSignatureForJWK(jwkAlg:jwkKid:)"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"noSignatureForJWK"},{"kind":"text","text":"("},{"text":"jwkAlg","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"jwkKid","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?)"}],"platforms":["macOS"],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jws\/jwserror\/nosignatureforjwk(jwkalg:jwkkid:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"title":"JWS.JWSError.noSignatureForJWK(jwkAlg:jwkKid:)","symbolKind":"case","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"noSignatureForJWK","kind":"identifier"},{"kind":"text","text":"("},{"text":"jwkAlg","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"jwkKid","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?)","kind":"text"}],"modules":[{"name":"jose-swift"}],"externalID":"s:16JSONWebSignature3JWSV8JWSErrorO02noB6ForJWKyAESSSg_AGtcAEmF","role":"symbol","roleHeading":"Case"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://tools.ietf.org/html/rfc7515":{"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","titleInlineContent":[{"type":"text","text":"RFC7515"}],"type":"link","url":"https:\/\/tools.ietf.org\/html\/rfc7515","title":"RFC7515"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","role":"symbol","abstract":[{"code":"JWSError","type":"codeVoice"},{"type":"text","text":" enumerates the various errors that can occur when processing JSON Web Signatures (JWS)."}],"kind":"symbol","navigatorTitle":[{"text":"JWSError","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"JWSError","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jws\/jwserror","title":"JWS.JWSError"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/noSignatureForJWK(jwkAlg:jwkKid:)":{"title":"JWS.JWSError.noSignatureForJWK(jwkAlg:jwkKid:)","kind":"symbol","url":"\/documentation\/jose_swift\/jws\/jwserror\/nosignatureforjwk(jwkalg:jwkkid:)","type":"topic","abstract":[{"type":"text","text":"Indicates that no signature with algorithm or kid that matches the provided JSON Web Key (JWK)."}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"noSignatureForJWK"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"jwkAlg"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"jwkKid"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?)"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/noSignatureForJWK(jwkAlg:jwkKid:)","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/jwserror/protectedheaderalgorithmandheaderalgorithmarenotequal(header:protectedheader:).json b/data/documentation/jose_swift/jws/jwserror/protectedheaderalgorithmandheaderalgorithmarenotequal(header:protectedheader:).json new file mode 100644 index 0000000..065d705 --- /dev/null +++ b/data/documentation/jose_swift/jws/jwserror/protectedheaderalgorithmandheaderalgorithmarenotequal(header:protectedheader:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError"]]},"metadata":{"title":"JWS.JWSError.protectedHeaderAlgorithmAndHeaderAlgorithmAreNotEqual(header:protectedHeader:)","role":"symbol","modules":[{"name":"jose-swift"}],"roleHeading":"Case","symbolKind":"case","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"protectedHeaderAlgorithmAndHeaderAlgorithmAreNotEqual","kind":"identifier"},{"kind":"text","text":"("},{"text":"header","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"externalID":"s:16JSONWebSignature3JWSV8JWSErrorO027protectedHeaderAlgorithmAndfG11AreNotEqualyAESS_SStcAEmF"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"protectedHeaderAlgorithmAndHeaderAlgorithmAreNotEqual","kind":"identifier"},{"text":"(","kind":"text"},{"text":"header","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":")","kind":"text"}],"languages":["swift"]}],"kind":"declarations"}],"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jws\/jwserror\/protectedheaderalgorithmandheaderalgorithmarenotequal(header:protectedheader:)"]}],"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/protectedHeaderAlgorithmAndHeaderAlgorithmAreNotEqual(header:protectedHeader:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Indicates a mismatch between the algorithm specified in the protected header and the header."}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/protectedHeaderAlgorithmAndHeaderAlgorithmAreNotEqual(header:protectedHeader:)":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/protectedHeaderAlgorithmAndHeaderAlgorithmAreNotEqual(header:protectedHeader:)","type":"topic","title":"JWS.JWSError.protectedHeaderAlgorithmAndHeaderAlgorithmAreNotEqual(header:protectedHeader:)","role":"symbol","url":"\/documentation\/jose_swift\/jws\/jwserror\/protectedheaderalgorithmandheaderalgorithmarenotequal(header:protectedheader:)","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"protectedHeaderAlgorithmAndHeaderAlgorithmAreNotEqual"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"header"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[{"text":"Indicates a mismatch between the algorithm specified in the protected header and the header.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWS/JWSError":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","role":"symbol","abstract":[{"code":"JWSError","type":"codeVoice"},{"type":"text","text":" enumerates the various errors that can occur when processing JSON Web Signatures (JWS)."}],"kind":"symbol","navigatorTitle":[{"text":"JWSError","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"JWSError","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jws\/jwserror","title":"JWS.JWSError"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"https://tools.ietf.org/html/rfc7515":{"title":"RFC7515","type":"link","titleInlineContent":[{"type":"text","text":"RFC7515"}],"url":"https:\/\/tools.ietf.org\/html\/rfc7515","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/jwserror/recoverysuggestion.json b/data/documentation/jose_swift/jws/jwserror/recoverysuggestion.json new file mode 100644 index 0000000..1f95de8 --- /dev/null +++ b/data/documentation/jose_swift/jws/jwserror/recoverysuggestion.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jws\/jwserror\/recoverysuggestion"]}],"metadata":{"role":"symbol","title":"recoverySuggestion","symbolKind":"property","extendedModule":"Foundation","externalID":"s:10Foundation14LocalizedErrorPAAE18recoverySuggestionSSSgvp::SYNTHESIZED::s:16JSONWebSignature3JWSV8JWSErrorO","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"recoverySuggestion"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"platforms":[{"introducedAt":"8.0","deprecated":false,"beta":false,"name":"iOS","unavailable":false},{"deprecated":false,"beta":false,"name":"macOS","unavailable":false,"introducedAt":"10.10"},{"deprecated":false,"name":"tvOS","unavailable":false,"beta":false,"introducedAt":"9.0"},{"beta":false,"introducedAt":"2.0","name":"watchOS","unavailable":false,"deprecated":false}],"modules":[{"name":"jose-swift","relatedModules":["Foundation"]}],"roleHeading":"Instance Property"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/LocalizedError-Implementations"]]},"abstract":[{"type":"text","text":"Inherited from "},{"code":"LocalizedError.recoverySuggestion","type":"codeVoice"},{"type":"text","text":"."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"recoverySuggestion","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"? { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/recoverySuggestion","interfaceLanguage":"swift"},"sections":[],"kind":"symbol","schemaVersion":{"major":0,"patch":0,"minor":3},"references":{"https://tools.ietf.org/html/rfc7515":{"title":"RFC7515","url":"https:\/\/tools.ietf.org\/html\/rfc7515","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","type":"link","titleInlineContent":[{"type":"text","text":"RFC7515"}]},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/LocalizedError-Implementations":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/LocalizedError-Implementations","role":"collectionGroup","abstract":[],"kind":"article","url":"\/documentation\/jose_swift\/jws\/jwserror\/localizederror-implementations","title":"LocalizedError Implementations"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","role":"symbol","abstract":[{"code":"JWSError","type":"codeVoice"},{"type":"text","text":" enumerates the various errors that can occur when processing JSON Web Signatures (JWS)."}],"kind":"symbol","navigatorTitle":[{"text":"JWSError","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"JWSError","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jws\/jwserror","title":"JWS.JWSError"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/recoverySuggestion":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"recoverySuggestion"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?","kind":"text"}],"title":"recoverySuggestion","abstract":[],"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/recoverySuggestion","url":"\/documentation\/jose_swift\/jws\/jwserror\/recoverysuggestion","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/jwserror/somethingwentwrong.json b/data/documentation/jose_swift/jws/jwserror/somethingwentwrong.json new file mode 100644 index 0000000..ae32bd8 --- /dev/null +++ b/data/documentation/jose_swift/jws/jwserror/somethingwentwrong.json @@ -0,0 +1 @@ +{"abstract":[{"text":"Indicates a generic error where something went wrong but no specific information is available.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jws\/jwserror\/somethingwentwrong"]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"modules":[{"name":"jose-swift"}],"roleHeading":"Case","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"somethingWentWrong","kind":"identifier"}],"symbolKind":"case","externalID":"s:16JSONWebSignature3JWSV8JWSErrorO18somethingWentWrongyA2EmF","title":"JWS.JWSError.somethingWentWrong","role":"symbol"},"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"somethingWentWrong"}]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/somethingWentWrong"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError"]]},"references":{"doc://jose-swift/documentation/jose_swift/JWS/JWSError/somethingWentWrong":{"type":"topic","abstract":[{"type":"text","text":"Indicates a generic error where something went wrong but no specific information is available."}],"role":"symbol","title":"JWS.JWSError.somethingWentWrong","kind":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"somethingWentWrong"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/somethingWentWrong","url":"\/documentation\/jose_swift\/jws\/jwserror\/somethingwentwrong"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift/JWS/JWSError":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","role":"symbol","abstract":[{"code":"JWSError","type":"codeVoice"},{"type":"text","text":" enumerates the various errors that can occur when processing JSON Web Signatures (JWS)."}],"kind":"symbol","navigatorTitle":[{"text":"JWSError","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"JWSError","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jws\/jwserror","title":"JWS.JWSError"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://tools.ietf.org/html/rfc7515":{"type":"link","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","title":"RFC7515","url":"https:\/\/tools.ietf.org\/html\/rfc7515","titleInlineContent":[{"type":"text","text":"RFC7515"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/jwserror/unsupportedalgorithm(keytype:algorithm:curve:).json b/data/documentation/jose_swift/jws/jwserror/unsupportedalgorithm(keytype:algorithm:curve:).json new file mode 100644 index 0000000..acf6493 --- /dev/null +++ b/data/documentation/jose_swift/jws/jwserror/unsupportedalgorithm(keytype:algorithm:curve:).json @@ -0,0 +1 @@ +{"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError"]]},"abstract":[{"type":"text","text":"Indicates an unsupported algorithm error, optionally providing details about the key type, algorithm, or curve."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"unsupportedAlgorithm"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"keyType"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"algorithm"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"? = nil, ","kind":"text"},{"text":"curve","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"? = nil)","kind":"text"}]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jws\/jwserror\/unsupportedalgorithm(keytype:algorithm:curve:)"]}],"metadata":{"roleHeading":"Case","title":"JWS.JWSError.unsupportedAlgorithm(keyType:algorithm:curve:)","role":"symbol","externalID":"s:16JSONWebSignature3JWSV8JWSErrorO20unsupportedAlgorithmyAESSSg_A2GtcAEmF","symbolKind":"case","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"unsupportedAlgorithm","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"keyType"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?, ","kind":"text"},{"text":"algorithm","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"curve","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?)","kind":"text"}],"modules":[{"name":"jose-swift"}]},"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/unsupportedAlgorithm(keyType:algorithm:curve:)","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"major":0,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://tools.ietf.org/html/rfc7515":{"titleInlineContent":[{"type":"text","text":"RFC7515"}],"title":"RFC7515","url":"https:\/\/tools.ietf.org\/html\/rfc7515","type":"link","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},"doc://jose-swift/documentation/jose_swift/JWS/JWSError/unsupportedAlgorithm(keyType:algorithm:curve:)":{"type":"topic","url":"\/documentation\/jose_swift\/jws\/jwserror\/unsupportedalgorithm(keytype:algorithm:curve:)","title":"JWS.JWSError.unsupportedAlgorithm(keyType:algorithm:curve:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError\/unsupportedAlgorithm(keyType:algorithm:curve:)","role":"symbol","kind":"symbol","abstract":[{"type":"text","text":"Indicates an unsupported algorithm error, optionally providing details about the key type, algorithm, or curve."}],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"unsupportedAlgorithm","kind":"identifier"},{"kind":"text","text":"("},{"text":"keyType","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"algorithm","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"curve","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?)","kind":"text"}]},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift/JWS/JWSError":{"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/JWSError","role":"symbol","abstract":[{"code":"JWSError","type":"codeVoice"},{"type":"text","text":" enumerates the various errors that can occur when processing JSON Web Signatures (JWS)."}],"kind":"symbol","navigatorTitle":[{"text":"JWSError","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"JWSError","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jws\/jwserror","title":"JWS.JWSError"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/payload.json b/data/documentation/jose_swift/jws/payload.json new file mode 100644 index 0000000..7fe0b32 --- /dev/null +++ b/data/documentation/jose_swift/jws/payload.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"abstract":[{"type":"text","text":"The payload data that is signed, conforming to RFC 7515 specifications."}],"kind":"symbol","primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"payload","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"}]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/jose_swift\/jws\/payload"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/payload"},"sections":[],"metadata":{"symbolKind":"property","role":"symbol","roleHeading":"Instance Property","title":"payload","externalID":"s:16JSONWebSignature3JWSV7payload10Foundation4DataVvp","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"payload","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"modules":[{"name":"jose-swift"}]},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://tools.ietf.org/html/rfc7515":{"title":"RFC7515","titleInlineContent":[{"text":"RFC7515","type":"text"}],"type":"link","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","url":"https:\/\/tools.ietf.org\/html\/rfc7515"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift/JWS/payload":{"kind":"symbol","abstract":[{"type":"text","text":"The payload data that is signed, conforming to RFC 7515 specifications."}],"role":"symbol","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"payload","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"url":"\/documentation\/jose_swift\/jws\/payload","title":"payload","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/payload"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/protectedheader.json b/data/documentation/jose_swift/jws/protectedheader.json new file mode 100644 index 0000000..b80c7da --- /dev/null +++ b/data/documentation/jose_swift/jws/protectedheader.json @@ -0,0 +1 @@ +{"kind":"symbol","schemaVersion":{"minor":3,"major":0,"patch":0},"abstract":[{"text":"The protected header fields of the JWS as specified in RFC 7515.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"This header contains metadata about the type of signature and algorithm used."}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/protectedHeader"},"sections":[],"metadata":{"role":"symbol","externalID":"s:16JSONWebSignature3JWSV15protectedHeaderAA019JWSRegisteredFieldsE0_pvp","symbolKind":"property","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"protectedHeader","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","kind":"typeIdentifier","text":"JWSRegisteredFieldsHeader"}],"modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","title":"protectedHeader"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"protectedHeader"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","text":"JWSRegisteredFieldsHeader","preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","kind":"typeIdentifier"}],"languages":["swift"],"platforms":["macOS"]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/jws\/protectedheader"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]},"https://tools.ietf.org/html/rfc7515":{"type":"link","url":"https:\/\/tools.ietf.org\/html\/rfc7515","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","titleInlineContent":[{"text":"RFC7515","type":"text"}],"title":"RFC7515"},"doc://jose-swift/documentation/jose_swift/JWS/protectedHeader":{"title":"protectedHeader","kind":"symbol","abstract":[{"text":"The protected header fields of the JWS as specified in RFC 7515.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"This header contains metadata about the type of signature and algorithm used."}],"url":"\/documentation\/jose_swift\/jws\/protectedheader","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/protectedHeader","type":"topic","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"protectedHeader"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","text":"JWSRegisteredFieldsHeader"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/protectedheaderdata.json b/data/documentation/jose_swift/jws/protectedheaderdata.json new file mode 100644 index 0000000..0c5c31d --- /dev/null +++ b/data/documentation/jose_swift/jws/protectedheaderdata.json @@ -0,0 +1 @@ +{"kind":"symbol","variants":[{"paths":["\/documentation\/jose_swift\/jws\/protectedheaderdata"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/protectedHeaderData","interfaceLanguage":"swift"},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS"]]},"schemaVersion":{"major":0,"patch":0,"minor":3},"metadata":{"role":"symbol","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"text":"protectedHeaderData","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"modules":[{"name":"jose-swift"}],"title":"protectedHeaderData","symbolKind":"property","roleHeading":"Instance Property","externalID":"s:16JSONWebSignature3JWSV19protectedHeaderData10Foundation0F0Vvp"},"abstract":[{"type":"text","text":"The raw header data, as used in the JWS structure."}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"protectedHeaderData","kind":"identifier"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"https://tools.ietf.org/html/rfc7515":{"titleInlineContent":[{"text":"RFC7515","type":"text"}],"type":"link","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","url":"https:\/\/tools.ietf.org\/html\/rfc7515","title":"RFC7515"},"doc://jose-swift/documentation/jose_swift/JWS/protectedHeaderData":{"url":"\/documentation\/jose_swift\/jws\/protectedheaderdata","title":"protectedHeaderData","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/protectedHeaderData","kind":"symbol","role":"symbol","abstract":[{"text":"The raw header data, as used in the JWS structure.","type":"text"}],"fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"protectedHeaderData","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/signature.json b/data/documentation/jose_swift/jws/signature.json new file mode 100644 index 0000000..1e3bace --- /dev/null +++ b/data/documentation/jose_swift/jws/signature.json @@ -0,0 +1 @@ +{"sections":[],"metadata":{"externalID":"s:16JSONWebSignature3JWSV9signature10Foundation4DataVvp","symbolKind":"property","title":"signature","role":"symbol","modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"signature"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"}]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"signature","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}]}]}],"abstract":[{"text":"The signature of the JWS","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It is computed based on the protected header and the payload data."}],"schemaVersion":{"patch":0,"minor":3,"major":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/signature","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jws\/signature"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS"]]},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"https://tools.ietf.org/html/rfc7515":{"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","title":"RFC7515","titleInlineContent":[{"type":"text","text":"RFC7515"}],"type":"link","url":"https:\/\/tools.ietf.org\/html\/rfc7515"},"doc://jose-swift/documentation/jose_swift/JWS/signature":{"title":"signature","kind":"symbol","abstract":[{"type":"text","text":"The signature of the JWS"},{"text":" ","type":"text"},{"text":"It is computed based on the protected header and the payload data.","type":"text"}],"url":"\/documentation\/jose_swift\/jws\/signature","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/signature","type":"topic","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"text":"signature","kind":"identifier"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/verify(jwsjson:jwk:validateall:).json b/data/documentation/jose_swift/jws/verify(jwsjson:jwk:validateall:).json new file mode 100644 index 0000000..fd88495 --- /dev/null +++ b/data/documentation/jose_swift/jws/verify(jwsjson:jwk:validateall:).json @@ -0,0 +1 @@ +{"metadata":{"role":"symbol","title":"verify(jwsJson:jwk:validateAll:)","modules":[{"name":"jose-swift","relatedModules":["JSONWebSignature"]}],"externalID":"s:16JSONWebSignature3JWSV6verify7jwsJson3jwk11validateAllSb10Foundation4DataV_0A3Key3JWKVSbtKFZ","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"verify","kind":"identifier"},{"kind":"text","text":"("},{"text":"jwsJson","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"jwk"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":", ","kind":"text"},{"text":"validateAll","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"symbolKind":"method","extendedModule":"JSONWebSignature","roleHeading":"Type Method"},"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/verify(jwsJson:jwk:validateAll:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Verifies the signature of a JWS JSON object using a single JSON Web Key (JWK)."},{"text":" ","type":"text"},{"text":"Can validate either all signatures or just one, depending on the ","type":"text"},{"type":"codeVoice","code":"validateAll"},{"type":"text","text":" parameter."}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS"]]},"sections":[],"variants":[{"paths":["\/documentation\/jose_swift\/jws\/verify(jwsjson:jwk:validateall:)"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"verify"},{"text":"(","kind":"text"},{"text":"jwsJson","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":", "},{"text":"jwk","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK"},{"kind":"text","text":", "},{"text":"validateAll","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"kind":"text","text":" = false) "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"jwsJson","content":[{"inlineContent":[{"type":"text","text":"The JWS JSON data to be verified."}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"The ","type":"text"},{"code":"JWK","type":"codeVoice"},{"text":" used for verification.","type":"text"}]}],"name":"jwk"},{"name":"validateAll","content":[{"inlineContent":[{"type":"text","text":"If "},{"type":"codeVoice","code":"true"},{"type":"text","text":", validates all signatures; otherwise, validates at least one."}],"type":"paragraph"}]}]},{"kind":"content","content":[{"level":2,"text":"Return Value","type":"heading","anchor":"return-value"},{"inlineContent":[{"text":"","type":"text"},{"type":"codeVoice","code":"true"},{"text":" if the signature(s) are valid according to the provided parameters, ","type":"text"},{"code":"false","type":"codeVoice"},{"type":"text","text":" otherwise."}],"type":"paragraph"}]},{"content":[{"type":"heading","text":"Discussion","level":2,"anchor":"discussion"},{"style":"note","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":""},{"type":"codeVoice","code":"JWSError"},{"type":"text","text":" for errors encountered during verification."}]}],"name":"Throws","type":"aside"}],"kind":"content"}],"references":{"doc://jose-swift/documentation/jose_swift/JWS/verify(jwsJson:jwk:validateAll:)":{"title":"verify(jwsJson:jwk:validateAll:)","kind":"symbol","abstract":[{"text":"Verifies the signature of a JWS JSON object using a single JSON Web Key (JWK).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Can validate either all signatures or just one, depending on the "},{"type":"codeVoice","code":"validateAll"},{"type":"text","text":" parameter."}],"url":"\/documentation\/jose_swift\/jws\/verify(jwsjson:jwk:validateall:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/verify(jwsJson:jwk:validateAll:)","type":"topic","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"verify"},{"kind":"text","text":"("},{"text":"jwsJson","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"jwk"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"text":", ","kind":"text"},{"text":"validateAll","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"https://tools.ietf.org/html/rfc7515":{"type":"link","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","title":"RFC7515","titleInlineContent":[{"text":"RFC7515","type":"text"}],"url":"https:\/\/tools.ietf.org\/html\/rfc7515"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/verify(jwsjson:jwks:allneedtoverify:).json b/data/documentation/jose_swift/jws/verify(jwsjson:jwks:allneedtoverify:).json new file mode 100644 index 0000000..fb9c80f --- /dev/null +++ b/data/documentation/jose_swift/jws/verify(jwsjson:jwks:allneedtoverify:).json @@ -0,0 +1 @@ +{"metadata":{"extendedModule":"JSONWebSignature","externalID":"s:16JSONWebSignature3JWSV6verify7jwsJson4jwks15allNeedToVerifySb10Foundation4DataV_Say0A3Key3JWKVGSbtKFZ","roleHeading":"Type Method","modules":[{"name":"jose-swift","relatedModules":["JSONWebSignature"]}],"title":"verify(jwsJson:jwks:allNeedToVerify:)","role":"symbol","symbolKind":"method","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"verify"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"jwsJson"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"text":"jwks","kind":"externalParam"},{"text":": [","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"], "},{"kind":"externalParam","text":"allNeedToVerify"},{"text":": ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}]},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS"]]},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"verify","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"jwsJson"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"jwks"},{"text":": [","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"kind":"text","text":"], "},{"kind":"externalParam","text":"allNeedToVerify"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"},{"text":" = false) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}]}]},{"parameters":[{"name":"jwsJson","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The JWS JSON data to be verified."}]}]},{"content":[{"inlineContent":[{"text":"An array of ","type":"text"},{"type":"codeVoice","code":"JWK"},{"type":"text","text":"s used for verification."}],"type":"paragraph"}],"name":"jwks"},{"name":"allNeedToVerify","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"If "},{"code":"true","type":"codeVoice"},{"text":", all keys must verify the signature successfully; otherwise, at least one key must succeed.","type":"text"}]}]}],"kind":"parameters"},{"content":[{"text":"Return Value","type":"heading","level":2,"anchor":"return-value"},{"type":"paragraph","inlineContent":[{"type":"text","text":""},{"type":"codeVoice","code":"true"},{"text":" if the signature(s) are valid according to the provided parameters, ","type":"text"},{"type":"codeVoice","code":"false"},{"text":" otherwise.","type":"text"}]}],"kind":"content"},{"content":[{"text":"Discussion","anchor":"discussion","type":"heading","level":2},{"name":"Throws","style":"note","type":"aside","content":[{"inlineContent":[{"text":"","type":"text"},{"code":"JWSError","type":"codeVoice"},{"type":"text","text":" for errors encountered during verification."}],"type":"paragraph"}]}],"kind":"content"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jws\/verify(jwsjson:jwks:allneedtoverify:)"]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/verify(jwsJson:jwks:allNeedToVerify:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Verifies the signature of a JWS JSON object using an array of JSON Web Keys (JWKs)."},{"type":"text","text":" "},{"type":"text","text":"Depending on the "},{"type":"codeVoice","code":"allNeedToVerify"},{"type":"text","text":" parameter, either all keys need to verify the signature successfully,"},{"text":" ","type":"text"},{"type":"text","text":"or at least one key needs to succeed."}],"references":{"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWS/verify(jwsJson:jwks:allNeedToVerify:)":{"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"verify"},{"kind":"text","text":"("},{"text":"jwsJson","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"jwks","kind":"externalParam"},{"text":": [","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"], ","kind":"text"},{"kind":"externalParam","text":"allNeedToVerify"},{"kind":"text","text":": "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}],"title":"verify(jwsJson:jwks:allNeedToVerify:)","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/jws\/verify(jwsjson:jwks:allneedtoverify:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/verify(jwsJson:jwks:allNeedToVerify:)","abstract":[{"type":"text","text":"Verifies the signature of a JWS JSON object using an array of JSON Web Keys (JWKs)."},{"text":" ","type":"text"},{"text":"Depending on the ","type":"text"},{"type":"codeVoice","code":"allNeedToVerify"},{"text":" parameter, either all keys need to verify the signature successfully,","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"or at least one key needs to succeed."}]},"https://tools.ietf.org/html/rfc7515":{"title":"RFC7515","type":"link","url":"https:\/\/tools.ietf.org\/html\/rfc7515","titleInlineContent":[{"text":"RFC7515","type":"text"}],"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jws/verify(key:).json b/data/documentation/jose_swift/jws/verify(key:).json new file mode 100644 index 0000000..ea2f823 --- /dev/null +++ b/data/documentation/jose_swift/jws/verify(key:).json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"major":0,"minor":3},"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWS"]]},"metadata":{"role":"symbol","externalID":"s:16JSONWebSignature3JWSV6verify3keySb0A3Key3JWKVSg_tKF","extendedModule":"JSONWebSignature","symbolKind":"method","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"verify","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"?) "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"roleHeading":"Instance Method","modules":[{"relatedModules":["JSONWebSignature"],"name":"jose-swift"}],"title":"verify(key:)"},"abstract":[{"text":"Verifies the signature of the JWS instance using the provided JSON Web Key (JWK).","type":"text"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/verify(key:)","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"verify"},{"text":"(","kind":"text"},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"text":"The ","type":"text"},{"type":"codeVoice","code":"JWK"},{"text":" used for verification.","type":"text"}]}],"name":"key"}]},{"kind":"content","content":[{"type":"heading","level":2,"text":"Return Value","anchor":"return-value"},{"inlineContent":[{"text":"","type":"text"},{"type":"codeVoice","code":"true"},{"type":"text","text":" if the signature is valid, "},{"code":"false","type":"codeVoice"},{"type":"text","text":" otherwise."}],"type":"paragraph"}]},{"content":[{"level":2,"anchor":"discussion","type":"heading","text":"Discussion"},{"content":[{"inlineContent":[{"text":"","type":"text"},{"code":"JWSError","type":"codeVoice"},{"type":"text","text":" if there’s a mismatch in algorithms between the key and the header,"},{"type":"text","text":" "},{"text":"if the algorithm is unsupported, or other errors encountered during verification.","type":"text"}],"type":"paragraph"}],"style":"note","type":"aside","name":"Throws"}],"kind":"content"}],"variants":[{"paths":["\/documentation\/jose_swift\/jws\/verify(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"https://tools.ietf.org/html/rfc7515":{"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","title":"RFC7515","titleInlineContent":[{"text":"RFC7515","type":"text"}],"url":"https:\/\/tools.ietf.org\/html\/rfc7515","type":"link"},"doc://jose-swift/documentation/jose_swift/JWS/verify(key:)":{"kind":"symbol","abstract":[{"text":"Verifies the signature of the JWS instance using the provided JSON Web Key (JWK).","type":"text"}],"role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"verify","kind":"identifier"},{"text":"(","kind":"text"},{"text":"key","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"url":"\/documentation\/jose_swift\/jws\/verify(key:)","title":"verify(key:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS\/verify(key:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjson.json b/data/documentation/jose_swift/jwsjson.json new file mode 100644 index 0000000..54aca2a --- /dev/null +++ b/data/documentation/jose_swift/jwsjson.json @@ -0,0 +1 @@ +{"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature"],"title":"Structures"},{"title":"Initializers","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/init(from:)"]},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/payload","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/signatures"],"title":"Instance Properties"},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/flattened()","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/getKids()"],"title":"Instance Methods"}],"sections":[],"relationshipsSections":[{"kind":"relationships","title":"Conforms To","type":"conformsTo","identifiers":["doc:\/\/jose-swift\/Se","doc:\/\/jose-swift\/SE"]}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJson","kind":"identifier"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"H"},{"kind":"text","text":"> "},{"kind":"keyword","text":"where"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"text":" : ","kind":"text"},{"text":"JWSRegisteredFieldsHeader","preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"H"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","text":"JWSRegisteredFieldsHeader"}]}],"kind":"declarations"},{"parameters":[{"name":"P","content":[{"type":"paragraph","inlineContent":[{"text":"The type of the protected header, conforming to ","type":"text"},{"code":"JWSRegisteredFieldsHeader","type":"codeVoice"},{"text":".","type":"text"}]}]},{"name":"H","content":[{"type":"paragraph","inlineContent":[{"text":"The type of the unprotected header, conforming to ","type":"text"},{"type":"codeVoice","code":"JWSRegisteredFieldsHeader"},{"type":"text","text":"."}]}]}],"kind":"parameters"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","interfaceLanguage":"swift"},"kind":"symbol","variants":[{"paths":["\/documentation\/jose_swift\/jwsjson"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"abstract":[{"code":"JWSJson","type":"codeVoice"},{"type":"text","text":" represents a JSON Web Signature (JWS) object with support for multiple signatures."},{"text":" ","type":"text"},{"text":"It is a generic struct allowing custom types for the protected and unprotected headers.","type":"text"}],"metadata":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSJson"}],"roleHeading":"Structure","title":"JWSJson","modules":[{"name":"jose-swift"}],"symbolKind":"struct","role":"symbol","navigatorTitle":[{"text":"JWSJson","kind":"identifier"}],"externalID":"s:16JSONWebSignature7JWSJsonV"},"schemaVersion":{"major":0,"patch":0,"minor":3},"references":{"doc://jose-swift/documentation/jose_swift/JWSJson/flattened()":{"url":"\/documentation\/jose_swift\/jwsjson\/flattened()","title":"flattened()","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"flattened","kind":"identifier"},{"kind":"text","text":"() "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"JWSJsonFlattened","preciseIdentifier":"s:16JSONWebSignature16JWSJsonFlattenedV","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"H","kind":"typeIdentifier"},{"kind":"text","text":">"}],"role":"symbol","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/flattened()","type":"topic","abstract":[{"type":"text","text":"Converts the "},{"code":"JWSJson","type":"codeVoice"},{"text":" into a flattened format.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWSJson/getKids()":{"abstract":[{"text":"Retrieves all Key IDs (","type":"text"},{"code":"kid","type":"codeVoice"},{"text":") from the signatures.","type":"text"}],"type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getKids"},{"text":"() -> [","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"]"}],"url":"\/documentation\/jose_swift\/jwsjson\/getkids()","kind":"symbol","role":"symbol","title":"getKids()","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/getKids()"},"doc://jose-swift/documentation/jose_swift/JWSJson":{"title":"JWSJson","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" represents a JSON Web Signature (JWS) object with support for multiple signatures."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJson","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWSJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","url":"\/documentation\/jose_swift\/jwsjson","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJson/payload":{"url":"\/documentation\/jose_swift\/jwsjson\/payload","title":"payload","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"payload","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/payload","abstract":[{"text":"The payload data of the ","type":"text"},{"code":"JWSJson","type":"codeVoice"},{"type":"text","text":"."}]},"doc://jose-swift/documentation/jose_swift/JWSJson/init(from:)":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/init(from:)","type":"topic","url":"\/documentation\/jose_swift\/jwsjson\/init(from:)","abstract":[],"role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7DecoderP","text":"Decoder","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"title":"init(from:)"},"doc://jose-swift/SE":{"type":"unresolvable","identifier":"doc:\/\/jose-swift\/SE","title":"Swift.Encodable"},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]},"doc://jose-swift/documentation/jose_swift/JWSJson/signatures":{"title":"signatures","abstract":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"Signature"},{"text":" instances representing each signature in the ","type":"text"},{"type":"codeVoice","code":"JWSJson"},{"text":".","type":"text"}],"role":"symbol","url":"\/documentation\/jose_swift\/jwsjson\/signatures","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"signatures"},{"text":": [","kind":"text"},{"preciseIdentifier":"s:16JSONWebSignature7JWSJsonV","kind":"typeIdentifier","text":"JWSJson"},{"kind":"text","text":"<"},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"H","kind":"typeIdentifier"},{"kind":"text","text":">."},{"text":"Signature","kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature7JWSJsonV0B0V"},{"kind":"text","text":"]"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/signatures","type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature","kind":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Signature"}],"abstract":[{"type":"codeVoice","code":"Signature"},{"text":" represents a single signature within the ","type":"text"},{"code":"JWSJson","type":"codeVoice"},{"type":"text","text":", including its associated headers and signature data."}],"url":"\/documentation\/jose_swift\/jwsjson\/signature","title":"JWSJson.Signature","navigatorTitle":[{"text":"Signature","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/Se":{"type":"unresolvable","identifier":"doc:\/\/jose-swift\/Se","title":"Swift.Decodable"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjson/flattened().json b/data/documentation/jose_swift/jwsjson/flattened().json new file mode 100644 index 0000000..fd9cfd6 --- /dev/null +++ b/data/documentation/jose_swift/jwsjson/flattened().json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwsjson\/flattened()"]}],"metadata":{"role":"symbol","externalID":"s:16JSONWebSignature7JWSJsonV9flattenedAA0C9FlattenedVyxq_GyKF","symbolKind":"method","roleHeading":"Instance Method","modules":[{"name":"jose-swift"}],"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"flattened","kind":"identifier"},{"text":"() ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","text":"JWSJsonFlattened","preciseIdentifier":"s:16JSONWebSignature16JWSJsonFlattenedV"},{"kind":"text","text":"<"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"H"},{"kind":"text","text":">"}],"title":"flattened()"},"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/flattened()"},"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"text":"Converts the ","type":"text"},{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" into a flattened format."}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"flattened"},{"text":"() ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"JWSJsonFlattened","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature16JWSJsonFlattenedV"},{"text":"<","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"H","kind":"typeIdentifier"},{"text":">","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"},{"content":[{"text":"Return Value","level":2,"type":"heading","anchor":"return-value"},{"inlineContent":[{"type":"text","text":"A "},{"code":"JWSJsonFlattened","type":"codeVoice"},{"text":" instance.","type":"text"}],"type":"paragraph"}],"kind":"content"},{"kind":"content","content":[{"level":2,"text":"Discussion","type":"heading","anchor":"discussion"},{"name":"Throws","style":"note","type":"aside","content":[{"inlineContent":[{"type":"text","text":"An error if the flattening process fails."}],"type":"paragraph"}]}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWSJson":{"title":"JWSJson","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" represents a JSON Web Signature (JWS) object with support for multiple signatures."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJson","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWSJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","url":"\/documentation\/jose_swift\/jwsjson","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJson/flattened()":{"url":"\/documentation\/jose_swift\/jwsjson\/flattened()","title":"flattened()","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"flattened","kind":"identifier"},{"kind":"text","text":"() "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"JWSJsonFlattened","preciseIdentifier":"s:16JSONWebSignature16JWSJsonFlattenedV","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"H","kind":"typeIdentifier"},{"kind":"text","text":">"}],"role":"symbol","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/flattened()","type":"topic","abstract":[{"type":"text","text":"Converts the "},{"code":"JWSJson","type":"codeVoice"},{"text":" into a flattened format.","type":"text"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened":{"title":"JWSJsonFlattened","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" represents a JSON Web Signature (JWS) object in a flattened JSON format."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJsonFlattened","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"text":"JWSJsonFlattened","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","url":"\/documentation\/jose_swift\/jwsjsonflattened","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjson/getkids().json b/data/documentation/jose_swift/jwsjson/getkids().json new file mode 100644 index 0000000..6c0b019 --- /dev/null +++ b/data/documentation/jose_swift/jwsjson/getkids().json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"minor":3,"major":0},"kind":"symbol","metadata":{"roleHeading":"Instance Method","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"getKids"},{"text":"() -> [","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"]","kind":"text"}],"role":"symbol","modules":[{"name":"jose-swift"}],"symbolKind":"method","externalID":"s:16JSONWebSignature7JWSJsonV7getKidsSaySSGyF","title":"getKids()"},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"getKids","kind":"identifier"},{"text":"() -> [","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"]","kind":"text"}]}]},{"content":[{"level":2,"text":"Return Value","anchor":"return-value","type":"heading"},{"inlineContent":[{"type":"text","text":"An array of Key IDs ("},{"code":"kid","type":"codeVoice"},{"type":"text","text":")."}],"type":"paragraph"}],"kind":"content"}],"variants":[{"paths":["\/documentation\/jose_swift\/jwsjson\/getkids()"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/getKids()","interfaceLanguage":"swift"},"sections":[],"abstract":[{"text":"Retrieves all Key IDs (","type":"text"},{"type":"codeVoice","code":"kid"},{"type":"text","text":") from the signatures."}],"references":{"doc://jose-swift/documentation/jose_swift/JWSJson/getKids()":{"abstract":[{"text":"Retrieves all Key IDs (","type":"text"},{"code":"kid","type":"codeVoice"},{"text":") from the signatures.","type":"text"}],"type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getKids"},{"text":"() -> [","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"]"}],"url":"\/documentation\/jose_swift\/jwsjson\/getkids()","kind":"symbol","role":"symbol","title":"getKids()","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/getKids()"},"doc://jose-swift/documentation/jose_swift/JWSJson":{"title":"JWSJson","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" represents a JSON Web Signature (JWS) object with support for multiple signatures."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJson","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWSJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","url":"\/documentation\/jose_swift\/jwsjson","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjson/init(from:).json b/data/documentation/jose_swift/jwsjson/init(from:).json new file mode 100644 index 0000000..9ea712f --- /dev/null +++ b/data/documentation/jose_swift/jwsjson/init(from:).json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"Inherited from "},{"code":"Decodable.init(from:)","type":"codeVoice"},{"type":"text","text":"."}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/init(from:)"},"schemaVersion":{"major":0,"patch":0,"minor":3},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwsjson\/init(from:)"]}],"metadata":{"role":"symbol","roleHeading":"Initializer","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s7DecoderP","kind":"typeIdentifier","text":"Decoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"modules":[{"name":"jose-swift"}],"symbolKind":"init","externalID":"s:16JSONWebSignature7JWSJsonV4fromACyxq_Gs7Decoder_p_tKcfc","title":"init(from:)"},"sections":[],"kind":"symbol","primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"decoder"},{"text":": ","kind":"text"},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"languages":["swift"]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift/JWSJson/init(from:)":{"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/init(from:)","type":"topic","url":"\/documentation\/jose_swift\/jwsjson\/init(from:)","abstract":[],"role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7DecoderP","text":"Decoder","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"title":"init(from:)"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJson":{"title":"JWSJson","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" represents a JSON Web Signature (JWS) object with support for multiple signatures."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJson","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWSJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","url":"\/documentation\/jose_swift\/jwsjson","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjson/payload.json b/data/documentation/jose_swift/jwsjson/payload.json new file mode 100644 index 0000000..f2a39bc --- /dev/null +++ b/data/documentation/jose_swift/jwsjson/payload.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwsjson\/payload"]}],"kind":"symbol","abstract":[{"type":"text","text":"The payload data of the "},{"code":"JWSJson","type":"codeVoice"},{"type":"text","text":"."}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"payload","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson"]]},"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/payload","interfaceLanguage":"swift"},"metadata":{"title":"payload","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"payload"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"}],"roleHeading":"Instance Property","externalID":"s:16JSONWebSignature7JWSJsonV7payload10Foundation4DataVvp","symbolKind":"property","modules":[{"name":"jose-swift"}],"role":"symbol"},"references":{"doc://jose-swift/documentation/jose_swift/JWSJson":{"title":"JWSJson","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" represents a JSON Web Signature (JWS) object with support for multiple signatures."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJson","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWSJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","url":"\/documentation\/jose_swift\/jwsjson","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJson/payload":{"url":"\/documentation\/jose_swift\/jwsjson\/payload","title":"payload","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"payload","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/payload","abstract":[{"text":"The payload data of the ","type":"text"},{"code":"JWSJson","type":"codeVoice"},{"type":"text","text":"."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjson/signature.json b/data/documentation/jose_swift/jwsjson/signature.json new file mode 100644 index 0000000..004b11b --- /dev/null +++ b/data/documentation/jose_swift/jwsjson/signature.json @@ -0,0 +1 @@ +{"metadata":{"title":"JWSJson.Signature","symbolKind":"struct","modules":[{"name":"jose-swift"}],"roleHeading":"Structure","navigatorTitle":[{"text":"Signature","kind":"identifier"}],"externalID":"s:16JSONWebSignature7JWSJsonV0B0V","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Signature","kind":"identifier"}],"role":"symbol"},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/init(protectedData:protected:headerData:header:signature:)"],"title":"Initializers"},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/protectedHeader","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/protectedHeaderData","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/signature","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/unprotectedHeader","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/unprotectedHeaderData"],"title":"Instance Properties"},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/getKid()","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/jws(payload:)"],"title":"Instance Methods"},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/Decodable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/Encodable-Implementations"],"title":"Default Implementations","generated":true}],"schemaVersion":{"major":0,"patch":0,"minor":3},"relationshipsSections":[{"identifiers":["doc:\/\/jose-swift\/Se","doc:\/\/jose-swift\/SE"],"kind":"relationships","type":"conformsTo","title":"Conforms To"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwsjson\/signature"]}],"kind":"symbol","abstract":[{"type":"codeVoice","code":"Signature"},{"type":"text","text":" represents a single signature within the "},{"code":"JWSJson","type":"codeVoice"},{"type":"text","text":", including its associated headers and signature data."}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Signature"}],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson"]]},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/JWSJson/Signature/signature":{"abstract":[{"text":"The signature data. This is the cryptographic result of signing the payload along with the protected header.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/signature","url":"\/documentation\/jose_swift\/jwsjson\/signature\/signature","kind":"symbol","title":"signature","role":"symbol","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"signature","kind":"identifier"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature/jws(payload:)":{"title":"jws(payload:)","kind":"symbol","url":"\/documentation\/jose_swift\/jwsjson\/signature\/jws(payload:)","abstract":[{"text":"Constructs a ","type":"text"},{"type":"codeVoice","code":"JWS"},{"type":"text","text":" instance from the signature and payload."}],"role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"jws","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"JWS","kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature3JWSV"}],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/jws(payload:)"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature/protectedHeader":{"abstract":[{"type":"text","text":"An instance of the protected header. Contains metadata about the signature and, optionally, the payload."},{"type":"text","text":" "},{"type":"text","text":"It provides structured access to the header fields when available."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/protectedHeader","url":"\/documentation\/jose_swift\/jwsjson\/signature\/protectedheader","kind":"symbol","title":"protectedHeader","role":"symbol","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"protectedHeader","kind":"identifier"},{"text":": ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature/Decodable-Implementations":{"type":"topic","kind":"article","abstract":[],"title":"Decodable Implementations","role":"collectionGroup","url":"\/documentation\/jose_swift\/jwsjson\/signature\/decodable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/Decodable-Implementations"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature/Encodable-Implementations":{"role":"collectionGroup","abstract":[],"title":"Encodable Implementations","kind":"article","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/Encodable-Implementations","url":"\/documentation\/jose_swift\/jwsjson\/signature\/encodable-implementations"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature","kind":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Signature"}],"abstract":[{"type":"codeVoice","code":"Signature"},{"text":" represents a single signature within the ","type":"text"},{"code":"JWSJson","type":"codeVoice"},{"type":"text","text":", including its associated headers and signature data."}],"url":"\/documentation\/jose_swift\/jwsjson\/signature","title":"JWSJson.Signature","navigatorTitle":[{"text":"Signature","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWSJson":{"title":"JWSJson","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" represents a JSON Web Signature (JWS) object with support for multiple signatures."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJson","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWSJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","url":"\/documentation\/jose_swift\/jwsjson","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature/unprotectedHeaderData":{"title":"unprotectedHeaderData","kind":"symbol","url":"\/documentation\/jose_swift\/jwsjson\/signature\/unprotectedheaderdata","type":"topic","abstract":[{"text":"Raw data of the unprotected header. This header is not included in the JWS signature calculation.","type":"text"},{"text":" ","type":"text"},{"text":"It’s typically used for storing header fields that do not need to be integrity-protected.","type":"text"}],"fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"kind":"identifier","text":"unprotectedHeaderData"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/unprotectedHeaderData","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature/init(protectedData:protected:headerData:header:signature:)":{"abstract":[{"text":"Initializes a new ","type":"text"},{"type":"codeVoice","code":"Signature"},{"type":"text","text":" instance with optional header data and signature."}],"title":"init(protectedData:protected:headerData:header:signature:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"protectedData","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"protected"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"kind":"text","text":"?, "},{"text":"headerData","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"header"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"H"},{"text":"?, ","kind":"text"},{"text":"signature","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"url":"\/documentation\/jose_swift\/jwsjson\/signature\/init(protecteddata:protected:headerdata:header:signature:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/init(protectedData:protected:headerData:header:signature:)","kind":"symbol","type":"topic","role":"symbol"},"doc://jose-swift/Se":{"type":"unresolvable","identifier":"doc:\/\/jose-swift\/Se","title":"Swift.Decodable"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature/protectedHeaderData":{"title":"protectedHeaderData","kind":"symbol","url":"\/documentation\/jose_swift\/jwsjson\/signature\/protectedheaderdata","type":"topic","abstract":[{"text":"Raw data of the protected header. This header is encoded and included in the JWS signature calculation.","type":"text"}],"fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"protectedHeaderData","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/protectedHeaderData","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature/unprotectedHeader":{"title":"unprotectedHeader","kind":"symbol","url":"\/documentation\/jose_swift\/jwsjson\/signature\/unprotectedheader","type":"topic","abstract":[{"type":"text","text":"An instance of the unprotected header. Contains additional metadata that is not included in the signature."},{"type":"text","text":" "},{"type":"text","text":"Similar to "},{"code":"protectedHeader","type":"codeVoice"},{"type":"text","text":", it provides structured access to the header fields."}],"fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"text":"unprotectedHeader","kind":"identifier"},{"text":": ","kind":"text"},{"text":"H","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/unprotectedHeader","role":"symbol"},"doc://jose-swift/SE":{"identifier":"doc:\/\/jose-swift\/SE","type":"unresolvable","title":"Swift.Encodable"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature/getKid()":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/getKid()","kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getKid"},{"kind":"text","text":"() "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"abstract":[{"text":"Retrieves the Key ID (","type":"text"},{"type":"codeVoice","code":"kid"},{"text":") from the headers.","type":"text"}],"url":"\/documentation\/jose_swift\/jwsjson\/signature\/getkid()","title":"getKid()"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjson/signature/decodable-implementations.json b/data/documentation/jose_swift/jwsjson/signature/decodable-implementations.json new file mode 100644 index 0000000..07e6679 --- /dev/null +++ b/data/documentation/jose_swift/jwsjson/signature/decodable-implementations.json @@ -0,0 +1 @@ +{"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/init(from:)"],"generated":true}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwsjson\/signature\/decodable-implementations"]}],"metadata":{"modules":[{"name":"jose-swift"}],"role":"collectionGroup","title":"Decodable Implementations"},"sections":[],"kind":"article","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/Decodable-Implementations"},"schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://jose-swift/documentation/jose_swift/JWSJson":{"title":"JWSJson","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" represents a JSON Web Signature (JWS) object with support for multiple signatures."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJson","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWSJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","url":"\/documentation\/jose_swift\/jwsjson","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature/init(from:)":{"type":"topic","kind":"symbol","abstract":[],"title":"init(from:)","role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP","text":"Decoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"url":"\/documentation\/jose_swift\/jwsjson\/signature\/init(from:)","conformance":{"constraints":[{"code":"P","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"JWSRegisteredFieldsHeader"},{"type":"text","text":" and "},{"code":"H","type":"codeVoice"},{"type":"text","text":" conforms to "},{"code":"JWSRegisteredFieldsHeader","type":"codeVoice"},{"text":".","type":"text"}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/init(from:)"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature","kind":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Signature"}],"abstract":[{"type":"codeVoice","code":"Signature"},{"text":" represents a single signature within the ","type":"text"},{"code":"JWSJson","type":"codeVoice"},{"type":"text","text":", including its associated headers and signature data."}],"url":"\/documentation\/jose_swift\/jwsjson\/signature","title":"JWSJson.Signature","navigatorTitle":[{"text":"Signature","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjson/signature/encodable-implementations.json b/data/documentation/jose_swift/jwsjson/signature/encodable-implementations.json new file mode 100644 index 0000000..84f09f1 --- /dev/null +++ b/data/documentation/jose_swift/jwsjson/signature/encodable-implementations.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature"]]},"kind":"article","sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/Encodable-Implementations"},"variants":[{"paths":["\/documentation\/jose_swift\/jwsjson\/signature\/encodable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"topicSections":[{"generated":true,"title":"Instance Methods","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/encode(to:)"]}],"metadata":{"title":"Encodable Implementations","role":"collectionGroup","modules":[{"name":"jose-swift"}]},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature/encode(to:)":{"role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"title":"encode(to:)","url":"\/documentation\/jose_swift\/jwsjson\/signature\/encode(to:)","kind":"symbol","conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"code":"P","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"JWSRegisteredFieldsHeader"},{"type":"text","text":" and "},{"code":"H","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"JWSRegisteredFieldsHeader"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/encode(to:)"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature","kind":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Signature"}],"abstract":[{"type":"codeVoice","code":"Signature"},{"text":" represents a single signature within the ","type":"text"},{"code":"JWSJson","type":"codeVoice"},{"type":"text","text":", including its associated headers and signature data."}],"url":"\/documentation\/jose_swift\/jwsjson\/signature","title":"JWSJson.Signature","navigatorTitle":[{"text":"Signature","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWSJson":{"title":"JWSJson","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" represents a JSON Web Signature (JWS) object with support for multiple signatures."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJson","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWSJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","url":"\/documentation\/jose_swift\/jwsjson","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjson/signature/encode(to:).json b/data/documentation/jose_swift/jwsjson/signature/encode(to:).json new file mode 100644 index 0000000..d643ca1 --- /dev/null +++ b/data/documentation/jose_swift/jwsjson/signature/encode(to:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/Encodable-Implementations"]]},"metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"P","type":"codeVoice"},{"type":"text","text":" conforms to "},{"code":"JWSRegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":" and "},{"code":"H","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"JWSRegisteredFieldsHeader"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}]},"roleHeading":"Instance Method","role":"symbol","modules":[{"name":"jose-swift","relatedModules":["JSONWebSignature"]}],"symbolKind":"method","title":"encode(to:)","extendedModule":"JSONWebSignature","externalID":"s:16JSONWebSignature7JWSJsonV0B0V6encode2toys7Encoder_p_tKF"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/encode(to:)","interfaceLanguage":"swift"},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwsjson\/signature\/encode(to:)"]}],"kind":"symbol","schemaVersion":{"patch":0,"major":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"encode"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"encoder"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7EncoderP","kind":"typeIdentifier","text":"Encoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}]}]}],"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"Encodable.encode(to:)"},{"text":".","type":"text"}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJson":{"title":"JWSJson","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" represents a JSON Web Signature (JWS) object with support for multiple signatures."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJson","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWSJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","url":"\/documentation\/jose_swift\/jwsjson","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature/Encodable-Implementations":{"role":"collectionGroup","abstract":[],"title":"Encodable Implementations","kind":"article","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/Encodable-Implementations","url":"\/documentation\/jose_swift\/jwsjson\/signature\/encodable-implementations"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature","kind":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Signature"}],"abstract":[{"type":"codeVoice","code":"Signature"},{"text":" represents a single signature within the ","type":"text"},{"code":"JWSJson","type":"codeVoice"},{"type":"text","text":", including its associated headers and signature data."}],"url":"\/documentation\/jose_swift\/jwsjson\/signature","title":"JWSJson.Signature","navigatorTitle":[{"text":"Signature","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature/encode(to:)":{"role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"title":"encode(to:)","url":"\/documentation\/jose_swift\/jwsjson\/signature\/encode(to:)","kind":"symbol","conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"code":"P","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"JWSRegisteredFieldsHeader"},{"type":"text","text":" and "},{"code":"H","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"JWSRegisteredFieldsHeader"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/encode(to:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjson/signature/getkid().json b/data/documentation/jose_swift/jwsjson/signature/getkid().json new file mode 100644 index 0000000..b2fc467 --- /dev/null +++ b/data/documentation/jose_swift/jwsjson/signature/getkid().json @@ -0,0 +1 @@ +{"kind":"symbol","metadata":{"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"getKid","kind":"identifier"},{"kind":"text","text":"() "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"externalID":"s:16JSONWebSignature7JWSJsonV0B0V6getKidSSyKF","modules":[{"name":"jose-swift"}],"title":"getKid()","role":"symbol","roleHeading":"Instance Method","symbolKind":"method"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/getKid()","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature"]]},"abstract":[{"type":"text","text":"Retrieves the Key ID ("},{"code":"kid","type":"codeVoice"},{"text":") from the headers.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"getKid","kind":"identifier"},{"text":"() ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"text":"Return Value","type":"heading"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The Key ID ("},{"type":"codeVoice","code":"kid"},{"text":") if available.","type":"text"}]}]},{"content":[{"type":"heading","anchor":"discussion","text":"Discussion","level":2},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":""},{"code":"JWS.JWSError.missingKid","type":"codeVoice"},{"type":"text","text":" if both protected and unprotected headers are missing the "},{"type":"codeVoice","code":"kid"},{"text":".","type":"text"}]}],"style":"note","type":"aside","name":"Throws"}],"kind":"content"}],"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwsjson\/signature\/getkid()"]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift/JWSJson/Signature":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature","kind":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Signature"}],"abstract":[{"type":"codeVoice","code":"Signature"},{"text":" represents a single signature within the ","type":"text"},{"code":"JWSJson","type":"codeVoice"},{"type":"text","text":", including its associated headers and signature data."}],"url":"\/documentation\/jose_swift\/jwsjson\/signature","title":"JWSJson.Signature","navigatorTitle":[{"text":"Signature","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWSJson":{"title":"JWSJson","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" represents a JSON Web Signature (JWS) object with support for multiple signatures."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJson","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWSJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","url":"\/documentation\/jose_swift\/jwsjson","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature/getKid()":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/getKid()","kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getKid"},{"kind":"text","text":"() "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"abstract":[{"text":"Retrieves the Key ID (","type":"text"},{"type":"codeVoice","code":"kid"},{"text":") from the headers.","type":"text"}],"url":"\/documentation\/jose_swift\/jwsjson\/signature\/getkid()","title":"getKid()"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjson/signature/init(from:).json b/data/documentation/jose_swift/jwsjson/signature/init(from:).json new file mode 100644 index 0000000..415fc78 --- /dev/null +++ b/data/documentation/jose_swift/jwsjson/signature/init(from:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"kind":"text","text":" "},{"kind":"internalParam","text":"decoder"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7DecoderP","kind":"typeIdentifier","text":"Decoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}]}]}],"kind":"symbol","abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"Decodable.init(from:)"},{"type":"text","text":"."}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/Decodable-Implementations"]]},"metadata":{"modules":[{"relatedModules":["JSONWebSignature"],"name":"jose-swift"}],"role":"symbol","extendedModule":"JSONWebSignature","roleHeading":"Initializer","symbolKind":"init","title":"init(from:)","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"P"},{"text":" conforms to ","type":"text"},{"code":"JWSRegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":" and "},{"code":"H","type":"codeVoice"},{"type":"text","text":" conforms to "},{"code":"JWSRegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":"."}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"externalID":"s:16JSONWebSignature7JWSJsonV0B0V4fromAEyxq__Gs7Decoder_p_tKcfc","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP","text":"Decoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}]},"sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"variants":[{"paths":["\/documentation\/jose_swift\/jwsjson\/signature\/init(from:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/init(from:)","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift/JWSJson/Signature/init(from:)":{"type":"topic","kind":"symbol","abstract":[],"title":"init(from:)","role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP","text":"Decoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"url":"\/documentation\/jose_swift\/jwsjson\/signature\/init(from:)","conformance":{"constraints":[{"code":"P","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"JWSRegisteredFieldsHeader"},{"type":"text","text":" and "},{"code":"H","type":"codeVoice"},{"type":"text","text":" conforms to "},{"code":"JWSRegisteredFieldsHeader","type":"codeVoice"},{"text":".","type":"text"}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/init(from:)"},"doc://jose-swift/documentation/jose_swift/JWSJson":{"title":"JWSJson","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" represents a JSON Web Signature (JWS) object with support for multiple signatures."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJson","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWSJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","url":"\/documentation\/jose_swift\/jwsjson","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature/Decodable-Implementations":{"type":"topic","kind":"article","abstract":[],"title":"Decodable Implementations","role":"collectionGroup","url":"\/documentation\/jose_swift\/jwsjson\/signature\/decodable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/Decodable-Implementations"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature","kind":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Signature"}],"abstract":[{"type":"codeVoice","code":"Signature"},{"text":" represents a single signature within the ","type":"text"},{"code":"JWSJson","type":"codeVoice"},{"type":"text","text":", including its associated headers and signature data."}],"url":"\/documentation\/jose_swift\/jwsjson\/signature","title":"JWSJson.Signature","navigatorTitle":[{"text":"Signature","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjson/signature/init(protecteddata:protected:headerdata:header:signature:).json b/data/documentation/jose_swift/jwsjson/signature/init(protecteddata:protected:headerdata:header:signature:).json new file mode 100644 index 0000000..2bf3205 --- /dev/null +++ b/data/documentation/jose_swift/jwsjson/signature/init(protecteddata:protected:headerdata:header:signature:).json @@ -0,0 +1 @@ +{"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/init(protectedData:protected:headerData:header:signature:)"},"abstract":[{"type":"text","text":"Initializes a new "},{"type":"codeVoice","code":"Signature"},{"type":"text","text":" instance with optional header data and signature."}],"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"role":"symbol","title":"init(protectedData:protected:headerData:header:signature:)","roleHeading":"Initializer","modules":[{"name":"jose-swift"}],"externalID":"s:16JSONWebSignature7JWSJsonV0B0V13protectedData0D006headerE00F09signatureAEyxq__G10Foundation0E0VSg_xSgAOq_SgANtKcfc","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"protectedData"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"text":"protected","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"P"},{"kind":"text","text":"?, "},{"text":"headerData","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"header"},{"text":": ","kind":"text"},{"text":"H","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"signature","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"symbolKind":"init"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"text":"protectedData","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"? = nil, ","kind":"text"},{"text":"protected","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"P"},{"text":"?, ","kind":"text"},{"text":"headerData","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"header"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"H"},{"text":"?, ","kind":"text"},{"text":"signature","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}]}]},{"kind":"parameters","parameters":[{"name":"protectedData","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The raw data of the protected header."}]}]},{"name":"protected","content":[{"inlineContent":[{"type":"text","text":"The protected header instance."}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"type":"text","text":"The raw data of the unprotected header."}],"type":"paragraph"}],"name":"headerData"},{"content":[{"type":"paragraph","inlineContent":[{"text":"The unprotected header instance.","type":"text"}]}],"name":"header"},{"name":"signature","content":[{"inlineContent":[{"type":"text","text":"The signature data."}],"type":"paragraph"}]}]},{"kind":"content","content":[{"text":"Discussion","type":"heading","anchor":"discussion","level":2},{"content":[{"type":"paragraph","inlineContent":[{"text":"An error if encoding the headers fails.","type":"text"}]}],"name":"Throws","style":"note","type":"aside"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwsjson\/signature\/init(protecteddata:protected:headerdata:header:signature:)"]}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJson":{"title":"JWSJson","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" represents a JSON Web Signature (JWS) object with support for multiple signatures."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJson","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWSJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","url":"\/documentation\/jose_swift\/jwsjson","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature/init(protectedData:protected:headerData:header:signature:)":{"abstract":[{"text":"Initializes a new ","type":"text"},{"type":"codeVoice","code":"Signature"},{"type":"text","text":" instance with optional header data and signature."}],"title":"init(protectedData:protected:headerData:header:signature:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"protectedData","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"protected"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"kind":"text","text":"?, "},{"text":"headerData","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"header"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"H"},{"text":"?, ","kind":"text"},{"text":"signature","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"url":"\/documentation\/jose_swift\/jwsjson\/signature\/init(protecteddata:protected:headerdata:header:signature:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/init(protectedData:protected:headerData:header:signature:)","kind":"symbol","type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature","kind":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Signature"}],"abstract":[{"type":"codeVoice","code":"Signature"},{"text":" represents a single signature within the ","type":"text"},{"code":"JWSJson","type":"codeVoice"},{"type":"text","text":", including its associated headers and signature data."}],"url":"\/documentation\/jose_swift\/jwsjson\/signature","title":"JWSJson.Signature","navigatorTitle":[{"text":"Signature","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjson/signature/jws(payload:).json b/data/documentation/jose_swift/jwsjson/signature/jws(payload:).json new file mode 100644 index 0000000..efb6898 --- /dev/null +++ b/data/documentation/jose_swift/jwsjson/signature/jws(payload:).json @@ -0,0 +1 @@ +{"sections":[],"kind":"symbol","schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"externalID":"s:16JSONWebSignature7JWSJsonV0B0V3jws7payloadAA3JWSV10Foundation4DataV_tKF","roleHeading":"Instance Method","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jws","kind":"identifier"},{"text":"(","kind":"text"},{"text":"payload","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:16JSONWebSignature3JWSV","text":"JWS","kind":"typeIdentifier"}],"modules":[{"name":"jose-swift"}],"title":"jws(payload:)","role":"symbol","symbolKind":"method"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jwsjson\/signature\/jws(payload:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/jws(payload:)"},"abstract":[{"text":"Constructs a ","type":"text"},{"type":"codeVoice","code":"JWS"},{"type":"text","text":" instance from the signature and payload."}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"jws","kind":"identifier"},{"text":"(","kind":"text"},{"text":"payload","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature3JWSV"}]}],"kind":"declarations"},{"parameters":[{"name":"payload","content":[{"inlineContent":[{"type":"text","text":"The payload data to be included in the "},{"code":"JWS","type":"codeVoice"},{"text":".","type":"text"}],"type":"paragraph"}]}],"kind":"parameters"},{"kind":"content","content":[{"anchor":"return-value","text":"Return Value","type":"heading","level":2},{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"JWS"},{"text":" instance.","type":"text"}]}]},{"kind":"content","content":[{"type":"heading","text":"Discussion","level":2,"anchor":"discussion"},{"name":"Throws","style":"note","type":"aside","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An error if the "},{"code":"JWS","type":"codeVoice"},{"type":"text","text":" initialization fails."}]}]}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWSJson":{"title":"JWSJson","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" represents a JSON Web Signature (JWS) object with support for multiple signatures."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJson","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWSJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","url":"\/documentation\/jose_swift\/jwsjson","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature","kind":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Signature"}],"abstract":[{"type":"codeVoice","code":"Signature"},{"text":" represents a single signature within the ","type":"text"},{"code":"JWSJson","type":"codeVoice"},{"type":"text","text":", including its associated headers and signature data."}],"url":"\/documentation\/jose_swift\/jwsjson\/signature","title":"JWSJson.Signature","navigatorTitle":[{"text":"Signature","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"https://tools.ietf.org/html/rfc7515":{"titleInlineContent":[{"text":"RFC7515","type":"text"}],"url":"https:\/\/tools.ietf.org\/html\/rfc7515","type":"link","title":"RFC7515","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature/jws(payload:)":{"title":"jws(payload:)","kind":"symbol","url":"\/documentation\/jose_swift\/jwsjson\/signature\/jws(payload:)","abstract":[{"text":"Constructs a ","type":"text"},{"type":"codeVoice","code":"JWS"},{"type":"text","text":" instance from the signature and payload."}],"role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"jws","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"JWS","kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature3JWSV"}],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/jws(payload:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjson/signature/protectedheader.json b/data/documentation/jose_swift/jwsjson/signature/protectedheader.json new file mode 100644 index 0000000..504b2fd --- /dev/null +++ b/data/documentation/jose_swift/jwsjson/signature/protectedheader.json @@ -0,0 +1 @@ +{"kind":"symbol","schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature"]]},"metadata":{"externalID":"s:16JSONWebSignature7JWSJsonV0B0V15protectedHeaderxSgvp","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"protectedHeader","kind":"identifier"},{"text":": ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","title":"protectedHeader","role":"symbol","symbolKind":"property"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/protectedHeader","interfaceLanguage":"swift"},"abstract":[{"text":"An instance of the protected header. Contains metadata about the signature and, optionally, the payload.","type":"text"},{"text":" ","type":"text"},{"text":"It provides structured access to the header fields when available.","type":"text"}],"variants":[{"paths":["\/documentation\/jose_swift\/jwsjson\/signature\/protectedheader"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"protectedHeader","kind":"identifier"},{"kind":"text","text":": "},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWSJson/Signature":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature","kind":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Signature"}],"abstract":[{"type":"codeVoice","code":"Signature"},{"text":" represents a single signature within the ","type":"text"},{"code":"JWSJson","type":"codeVoice"},{"type":"text","text":", including its associated headers and signature data."}],"url":"\/documentation\/jose_swift\/jwsjson\/signature","title":"JWSJson.Signature","navigatorTitle":[{"text":"Signature","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature/protectedHeader":{"abstract":[{"type":"text","text":"An instance of the protected header. Contains metadata about the signature and, optionally, the payload."},{"type":"text","text":" "},{"type":"text","text":"It provides structured access to the header fields when available."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/protectedHeader","url":"\/documentation\/jose_swift\/jwsjson\/signature\/protectedheader","kind":"symbol","title":"protectedHeader","role":"symbol","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"protectedHeader","kind":"identifier"},{"text":": ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJson":{"title":"JWSJson","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" represents a JSON Web Signature (JWS) object with support for multiple signatures."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJson","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWSJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","url":"\/documentation\/jose_swift\/jwsjson","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjson/signature/protectedheaderdata.json b/data/documentation/jose_swift/jwsjson/signature/protectedheaderdata.json new file mode 100644 index 0000000..4e567a6 --- /dev/null +++ b/data/documentation/jose_swift/jwsjson/signature/protectedheaderdata.json @@ -0,0 +1 @@ +{"kind":"symbol","abstract":[{"type":"text","text":"Raw data of the protected header. This header is encoded and included in the JWS signature calculation."}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/protectedHeaderData","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"protectedHeaderData"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?","kind":"text"}]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwsjson\/signature\/protectedheaderdata"]}],"metadata":{"title":"protectedHeaderData","symbolKind":"property","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"protectedHeaderData","kind":"identifier"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"modules":[{"name":"jose-swift"}],"externalID":"s:16JSONWebSignature7JWSJsonV0B0V19protectedHeaderData10Foundation0F0VSgvp","role":"symbol","roleHeading":"Instance Property"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature","kind":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Signature"}],"abstract":[{"type":"codeVoice","code":"Signature"},{"text":" represents a single signature within the ","type":"text"},{"code":"JWSJson","type":"codeVoice"},{"type":"text","text":", including its associated headers and signature data."}],"url":"\/documentation\/jose_swift\/jwsjson\/signature","title":"JWSJson.Signature","navigatorTitle":[{"text":"Signature","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature/protectedHeaderData":{"title":"protectedHeaderData","kind":"symbol","url":"\/documentation\/jose_swift\/jwsjson\/signature\/protectedheaderdata","type":"topic","abstract":[{"text":"Raw data of the protected header. This header is encoded and included in the JWS signature calculation.","type":"text"}],"fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"protectedHeaderData","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/protectedHeaderData","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWSJson":{"title":"JWSJson","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" represents a JSON Web Signature (JWS) object with support for multiple signatures."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJson","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWSJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","url":"\/documentation\/jose_swift\/jwsjson","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjson/signature/signature.json b/data/documentation/jose_swift/jwsjson/signature/signature.json new file mode 100644 index 0000000..efd2df8 --- /dev/null +++ b/data/documentation/jose_swift/jwsjson/signature/signature.json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"The signature data. This is the cryptographic result of signing the payload along with the protected header."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"signature","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"}]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jwsjson\/signature\/signature"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"metadata":{"roleHeading":"Instance Property","role":"symbol","symbolKind":"property","modules":[{"name":"jose-swift"}],"fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"signature","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"}],"title":"signature","externalID":"s:16JSONWebSignature7JWSJsonV0B0V9signature10Foundation4DataVvp"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/signature"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJson":{"title":"JWSJson","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" represents a JSON Web Signature (JWS) object with support for multiple signatures."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJson","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWSJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","url":"\/documentation\/jose_swift\/jwsjson","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature","kind":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Signature"}],"abstract":[{"type":"codeVoice","code":"Signature"},{"text":" represents a single signature within the ","type":"text"},{"code":"JWSJson","type":"codeVoice"},{"type":"text","text":", including its associated headers and signature data."}],"url":"\/documentation\/jose_swift\/jwsjson\/signature","title":"JWSJson.Signature","navigatorTitle":[{"text":"Signature","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature/signature":{"abstract":[{"text":"The signature data. This is the cryptographic result of signing the payload along with the protected header.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/signature","url":"\/documentation\/jose_swift\/jwsjson\/signature\/signature","kind":"symbol","title":"signature","role":"symbol","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"signature","kind":"identifier"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjson/signature/unprotectedheader.json b/data/documentation/jose_swift/jwsjson/signature/unprotectedheader.json new file mode 100644 index 0000000..a458292 --- /dev/null +++ b/data/documentation/jose_swift/jwsjson/signature/unprotectedheader.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/unprotectedHeader","interfaceLanguage":"swift"},"sections":[],"abstract":[{"text":"An instance of the unprotected header. Contains additional metadata that is not included in the signature.","type":"text"},{"type":"text","text":" "},{"text":"Similar to ","type":"text"},{"type":"codeVoice","code":"protectedHeader"},{"text":", it provides structured access to the header fields.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"unprotectedHeader","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"H"},{"kind":"text","text":"?"}],"platforms":["macOS"],"languages":["swift"]}]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwsjson\/signature\/unprotectedheader"]}],"metadata":{"symbolKind":"property","roleHeading":"Instance Property","role":"symbol","title":"unprotectedHeader","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"unprotectedHeader","kind":"identifier"},{"kind":"text","text":": "},{"text":"H","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"externalID":"s:16JSONWebSignature7JWSJsonV0B0V17unprotectedHeaderq_Sgvp"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature"]]},"references":{"doc://jose-swift/documentation/jose_swift/JWSJson/Signature":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature","kind":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Signature"}],"abstract":[{"type":"codeVoice","code":"Signature"},{"text":" represents a single signature within the ","type":"text"},{"code":"JWSJson","type":"codeVoice"},{"type":"text","text":", including its associated headers and signature data."}],"url":"\/documentation\/jose_swift\/jwsjson\/signature","title":"JWSJson.Signature","navigatorTitle":[{"text":"Signature","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature/unprotectedHeader":{"title":"unprotectedHeader","kind":"symbol","url":"\/documentation\/jose_swift\/jwsjson\/signature\/unprotectedheader","type":"topic","abstract":[{"type":"text","text":"An instance of the unprotected header. Contains additional metadata that is not included in the signature."},{"type":"text","text":" "},{"type":"text","text":"Similar to "},{"code":"protectedHeader","type":"codeVoice"},{"type":"text","text":", it provides structured access to the header fields."}],"fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"text":"unprotectedHeader","kind":"identifier"},{"text":": ","kind":"text"},{"text":"H","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/unprotectedHeader","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWSJson":{"title":"JWSJson","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" represents a JSON Web Signature (JWS) object with support for multiple signatures."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJson","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWSJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","url":"\/documentation\/jose_swift\/jwsjson","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjson/signature/unprotectedheaderdata.json b/data/documentation/jose_swift/jwsjson/signature/unprotectedheaderdata.json new file mode 100644 index 0000000..49d02f1 --- /dev/null +++ b/data/documentation/jose_swift/jwsjson/signature/unprotectedheaderdata.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/unprotectedHeaderData","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"text":"unprotectedHeaderData","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"sections":[],"metadata":{"fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"unprotectedHeaderData"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"title":"unprotectedHeaderData","modules":[{"name":"jose-swift"}],"role":"symbol","roleHeading":"Instance Property","symbolKind":"property","externalID":"s:16JSONWebSignature7JWSJsonV0B0V21unprotectedHeaderData10Foundation0F0VSgvp"},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwsjson\/signature\/unprotectedheaderdata"]}],"abstract":[{"type":"text","text":"Raw data of the unprotected header. This header is not included in the JWS signature calculation."},{"type":"text","text":" "},{"text":"It’s typically used for storing header fields that do not need to be integrity-protected.","type":"text"}],"references":{"doc://jose-swift/documentation/jose_swift/JWSJson":{"title":"JWSJson","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" represents a JSON Web Signature (JWS) object with support for multiple signatures."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJson","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWSJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","url":"\/documentation\/jose_swift\/jwsjson","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature/unprotectedHeaderData":{"title":"unprotectedHeaderData","kind":"symbol","url":"\/documentation\/jose_swift\/jwsjson\/signature\/unprotectedheaderdata","type":"topic","abstract":[{"text":"Raw data of the unprotected header. This header is not included in the JWS signature calculation.","type":"text"},{"text":" ","type":"text"},{"text":"It’s typically used for storing header fields that do not need to be integrity-protected.","type":"text"}],"fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"kind":"identifier","text":"unprotectedHeaderData"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature\/unprotectedHeaderData","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature","kind":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Signature"}],"abstract":[{"type":"codeVoice","code":"Signature"},{"text":" represents a single signature within the ","type":"text"},{"code":"JWSJson","type":"codeVoice"},{"type":"text","text":", including its associated headers and signature data."}],"url":"\/documentation\/jose_swift\/jwsjson\/signature","title":"JWSJson.Signature","navigatorTitle":[{"text":"Signature","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjson/signatures.json b/data/documentation/jose_swift/jwsjson/signatures.json new file mode 100644 index 0000000..4e9c101 --- /dev/null +++ b/data/documentation/jose_swift/jwsjson/signatures.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/signatures","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/jose_swift\/jwsjson\/signatures"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"signatures","kind":"identifier"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature7JWSJsonV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","text":"JWSJson"},{"text":"<","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"H"},{"kind":"text","text":">."},{"text":"Signature","kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature7JWSJsonV0B0V","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature"},{"text":"]","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson"]]},"abstract":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"Signature"},{"type":"text","text":" instances representing each signature in the "},{"type":"codeVoice","code":"JWSJson"},{"text":".","type":"text"}],"sections":[],"kind":"symbol","metadata":{"symbolKind":"property","role":"symbol","roleHeading":"Instance Property","title":"signatures","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"signatures"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature7JWSJsonV","text":"JWSJson"},{"kind":"text","text":"<"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"H"},{"text":">.","kind":"text"},{"preciseIdentifier":"s:16JSONWebSignature7JWSJsonV0B0V","text":"Signature","kind":"typeIdentifier"},{"text":"]","kind":"text"}],"modules":[{"name":"jose-swift"}],"externalID":"s:16JSONWebSignature7JWSJsonV10signaturesSayAC0B0Vyxq__GGvp"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJson":{"title":"JWSJson","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" represents a JSON Web Signature (JWS) object with support for multiple signatures."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJson","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWSJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","url":"\/documentation\/jose_swift\/jwsjson","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJson/signatures":{"title":"signatures","abstract":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"Signature"},{"text":" instances representing each signature in the ","type":"text"},{"type":"codeVoice","code":"JWSJson"},{"text":".","type":"text"}],"role":"symbol","url":"\/documentation\/jose_swift\/jwsjson\/signatures","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"signatures"},{"text":": [","kind":"text"},{"preciseIdentifier":"s:16JSONWebSignature7JWSJsonV","kind":"typeIdentifier","text":"JWSJson"},{"kind":"text","text":"<"},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"H","kind":"typeIdentifier"},{"kind":"text","text":">."},{"text":"Signature","kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature7JWSJsonV0B0V"},{"kind":"text","text":"]"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/signatures","type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWSJson/Signature":{"role":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson\/Signature","kind":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Signature"}],"abstract":[{"type":"codeVoice","code":"Signature"},{"text":" represents a single signature within the ","type":"text"},{"code":"JWSJson","type":"codeVoice"},{"type":"text","text":", including its associated headers and signature data."}],"url":"\/documentation\/jose_swift\/jwsjson\/signature","title":"JWSJson.Signature","navigatorTitle":[{"text":"Signature","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjsonflattened.json b/data/documentation/jose_swift/jwsjsonflattened.json new file mode 100644 index 0000000..efcf355 --- /dev/null +++ b/data/documentation/jose_swift/jwsjsonflattened.json @@ -0,0 +1 @@ +{"kind":"symbol","topicSections":[{"title":"Initializers","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/init(fullJson:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/init(payload:protectedData:protected:headerData:header:signature:)"]},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/encodedHeader","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/encodedPayload","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/encodedProtectedHeader","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/encodedSignature","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/payload","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/protectedHeader","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/protectedHeaderData","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/signature","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/unprotectedHeader","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/unprotectedHeaderData"],"title":"Instance Properties"},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/fullJson()","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/getKid()","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/jws()"],"title":"Instance Methods"},{"generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/Decodable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/Encodable-Implementations"],"title":"Default Implementations"}],"abstract":[{"code":"JWSJsonFlattened","type":"codeVoice"},{"text":" represents a JSON Web Signature (JWS) object in a flattened JSON format.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"schemaVersion":{"patch":0,"major":0,"minor":3},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","interfaceLanguage":"swift"},"relationshipsSections":[{"title":"Conforms To","type":"conformsTo","kind":"relationships","identifiers":["doc:\/\/jose-swift\/Se","doc:\/\/jose-swift\/SE"]}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWSJsonFlattened","kind":"identifier"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"H"},{"kind":"text","text":"> "},{"kind":"keyword","text":"where"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"kind":"text","text":" : "},{"text":"JWSRegisteredFieldsHeader","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP"},{"text":", ","kind":"text"},{"text":"H","kind":"typeIdentifier"},{"text":" : ","kind":"text"},{"kind":"typeIdentifier","text":"JWSRegisteredFieldsHeader","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"content":[{"inlineContent":[{"text":"The type of the protected header, conforming to ","type":"text"},{"type":"codeVoice","code":"JWSRegisteredFieldsHeader"},{"type":"text","text":"."}],"type":"paragraph"}],"name":"P"},{"name":"H","content":[{"type":"paragraph","inlineContent":[{"text":"The type of the unprotected header, conforming to ","type":"text"},{"code":"JWSRegisteredFieldsHeader","type":"codeVoice"},{"text":".","type":"text"}]}]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jwsjsonflattened"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"title":"JWSJsonFlattened","symbolKind":"struct","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSJsonFlattened"}],"modules":[{"name":"jose-swift"}],"externalID":"s:16JSONWebSignature16JWSJsonFlattenedV","role":"symbol","navigatorTitle":[{"text":"JWSJsonFlattened","kind":"identifier"}],"roleHeading":"Structure"},"references":{"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/protectedHeaderData":{"kind":"symbol","url":"\/documentation\/jose_swift\/jwsjsonflattened\/protectedheaderdata","type":"topic","title":"protectedHeaderData","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/protectedHeaderData","abstract":[{"text":"Raw data of the protected header. This header is encoded and included in the JWS signature calculation.","type":"text"}],"role":"symbol","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"protectedHeaderData","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?"}]},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/unprotectedHeader":{"kind":"symbol","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"unprotectedHeader"},{"kind":"text","text":": "},{"text":"H","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/unprotectedHeader","type":"topic","abstract":[{"type":"text","text":"An instance of the unprotected header. Contains additional metadata that is not included in the signature."}],"role":"symbol","url":"\/documentation\/jose_swift\/jwsjsonflattened\/unprotectedheader","title":"unprotectedHeader"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/Encodable-Implementations":{"url":"\/documentation\/jose_swift\/jwsjsonflattened\/encodable-implementations","abstract":[],"kind":"article","title":"Encodable Implementations","role":"collectionGroup","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/Encodable-Implementations"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/encodedPayload":{"kind":"symbol","title":"encodedPayload","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"encodedPayload","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/encodedPayload","url":"\/documentation\/jose_swift\/jwsjsonflattened\/encodedpayload","abstract":[{"type":"text","text":"Base64URL encoded representation of the payload."}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/fullJson()":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/fullJson()","title":"fullJson()","role":"symbol","abstract":[{"type":"text","text":"Converts the "},{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" into a full "},{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" format."}],"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"fullJson"},{"text":"() ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"JWSJson","kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature7JWSJsonV"},{"kind":"text","text":"<"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"H"},{"text":">","kind":"text"}],"url":"\/documentation\/jose_swift\/jwsjsonflattened\/fulljson()","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/jws()":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/jws()","type":"topic","url":"\/documentation\/jose_swift\/jwsjsonflattened\/jws()","abstract":[{"text":"Constructs a ","type":"text"},{"type":"codeVoice","code":"JWS"},{"text":" instance from the flattened structure.","type":"text"}],"title":"jws()","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"jws","kind":"identifier"},{"kind":"text","text":"() "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature3JWSV","text":"JWS"}],"kind":"symbol","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/encodedProtectedHeader":{"title":"encodedProtectedHeader","url":"\/documentation\/jose_swift\/jwsjsonflattened\/encodedprotectedheader","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"encodedProtectedHeader"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"type":"topic","kind":"symbol","abstract":[{"text":"Base64URL encoded representation of the protected header data. Returns ","type":"text"},{"code":"nil","type":"codeVoice"},{"text":" if ","type":"text"},{"code":"protectedHeaderData","type":"codeVoice"},{"type":"text","text":" is "},{"code":"nil","type":"codeVoice"},{"text":".","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/encodedProtectedHeader"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/signature":{"kind":"symbol","title":"signature","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"signature","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/signature","url":"\/documentation\/jose_swift\/jwsjsonflattened\/signature","abstract":[{"text":"The signature data. This is the result of signing the payload and the protected header.","type":"text"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/protectedHeader":{"abstract":[{"text":"An instance of the protected header. Contains metadata about the signature and, optionally, the payload.","type":"text"}],"kind":"symbol","title":"protectedHeader","url":"\/documentation\/jose_swift\/jwsjsonflattened\/protectedheader","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"protectedHeader"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/protectedHeader","type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/payload":{"role":"symbol","type":"topic","kind":"symbol","abstract":[{"text":"Represents the payload of the JWS. This is the data that was signed.","type":"text"}],"fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"payload"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/payload","title":"payload","url":"\/documentation\/jose_swift\/jwsjsonflattened\/payload"},"doc://jose-swift/Se":{"type":"unresolvable","identifier":"doc:\/\/jose-swift\/Se","title":"Swift.Decodable"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/getKid()":{"kind":"symbol","title":"getKid()","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"getKid","kind":"identifier"},{"text":"() ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/getKid()","url":"\/documentation\/jose_swift\/jwsjsonflattened\/getkid()","abstract":[{"text":"Retrieves the Key ID (","type":"text"},{"type":"codeVoice","code":"kid"},{"type":"text","text":") from the headers."}],"type":"topic","role":"symbol"},"doc://jose-swift/SE":{"type":"unresolvable","identifier":"doc:\/\/jose-swift\/SE","title":"Swift.Encodable"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/init(payload:protectedData:protected:headerData:header:signature:)":{"abstract":[{"text":"Initializes a new ","type":"text"},{"code":"JWSJsonFlattened","type":"codeVoice"},{"text":" instance.","type":"text"}],"type":"topic","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"text":"payload","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"protectedData"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"protected"},{"text":": ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"headerData","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"header","kind":"externalParam"},{"kind":"text","text":": "},{"text":"H","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"signature"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":")","kind":"text"}],"url":"\/documentation\/jose_swift\/jwsjsonflattened\/init(payload:protecteddata:protected:headerdata:header:signature:)","kind":"symbol","title":"init(payload:protectedData:protected:headerData:header:signature:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/init(payload:protectedData:protected:headerData:header:signature:)"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/init(fullJson:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/init(fullJson:)","role":"symbol","abstract":[],"fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"fullJson","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWSJson","kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature7JWSJsonV"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"text":", ","kind":"text"},{"text":"H","kind":"typeIdentifier"},{"kind":"text","text":">) "},{"text":"throws","kind":"keyword"}],"kind":"symbol","url":"\/documentation\/jose_swift\/jwsjsonflattened\/init(fulljson:)","title":"init(fullJson:)","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/encodedHeader":{"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"encodedHeader","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jwsjsonflattened\/encodedheader","title":"encodedHeader","role":"symbol","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/encodedHeader","abstract":[{"type":"text","text":"Base64URL encoded representation of the unprotected header data. Returns "},{"code":"nil","type":"codeVoice"},{"type":"text","text":" if "},{"code":"unprotectedHeaderData","type":"codeVoice"},{"type":"text","text":" is "},{"type":"codeVoice","code":"nil"},{"type":"text","text":"."}]},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/Decodable-Implementations":{"kind":"article","title":"Decodable Implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/Decodable-Implementations","url":"\/documentation\/jose_swift\/jwsjsonflattened\/decodable-implementations","abstract":[],"type":"topic","role":"collectionGroup"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened":{"title":"JWSJsonFlattened","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" represents a JSON Web Signature (JWS) object in a flattened JSON format."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJsonFlattened","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"text":"JWSJsonFlattened","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","url":"\/documentation\/jose_swift\/jwsjsonflattened","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/unprotectedHeaderData":{"fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"text":"unprotectedHeaderData","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?","kind":"text"}],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/unprotectedHeaderData","url":"\/documentation\/jose_swift\/jwsjsonflattened\/unprotectedheaderdata","title":"unprotectedHeaderData","abstract":[{"type":"text","text":"Raw data of the unprotected header. This header is not included in the JWS signature calculation."}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/encodedSignature":{"kind":"symbol","title":"encodedSignature","url":"\/documentation\/jose_swift\/jwsjsonflattened\/encodedsignature","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"encodedSignature","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/encodedSignature","type":"topic","abstract":[{"text":"Base64URL encoded representation of the signature.","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjsonflattened/decodable-implementations.json b/data/documentation/jose_swift/jwsjsonflattened/decodable-implementations.json new file mode 100644 index 0000000..cff9802 --- /dev/null +++ b/data/documentation/jose_swift/jwsjsonflattened/decodable-implementations.json @@ -0,0 +1 @@ +{"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/init(from:)"],"title":"Initializers","generated":true}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/Decodable-Implementations","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwsjsonflattened\/decodable-implementations"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"kind":"article","metadata":{"modules":[{"name":"jose-swift"}],"role":"collectionGroup","title":"Decodable Implementations"},"references":{"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/init(from:)":{"conformance":{"constraints":[{"code":"P","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"JWSRegisteredFieldsHeader"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"H"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"JWSRegisteredFieldsHeader"},{"type":"text","text":"."}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"title":"init(from:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/init(from:)","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"type":"topic","abstract":[],"url":"\/documentation\/jose_swift\/jwsjsonflattened\/init(from:)","kind":"symbol","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened":{"title":"JWSJsonFlattened","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" represents a JSON Web Signature (JWS) object in a flattened JSON format."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJsonFlattened","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"text":"JWSJsonFlattened","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","url":"\/documentation\/jose_swift\/jwsjsonflattened","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjsonflattened/encodable-implementations.json b/data/documentation/jose_swift/jwsjsonflattened/encodable-implementations.json new file mode 100644 index 0000000..b35db16 --- /dev/null +++ b/data/documentation/jose_swift/jwsjsonflattened/encodable-implementations.json @@ -0,0 +1 @@ +{"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwsjsonflattened\/encodable-implementations"]}],"metadata":{"role":"collectionGroup","modules":[{"name":"jose-swift"}],"title":"Encodable Implementations"},"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened"]]},"kind":"article","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/Encodable-Implementations"},"topicSections":[{"title":"Instance Methods","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/encode(to:)"],"generated":true}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/encode(to:)":{"role":"symbol","type":"topic","title":"encode(to:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"encode"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"text":"Encoder","kind":"typeIdentifier","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/encode(to:)","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"type":"codeVoice","code":"P"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"JWSRegisteredFieldsHeader"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"H"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"JWSRegisteredFieldsHeader"},{"type":"text","text":"."}]},"kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/jwsjsonflattened\/encode(to:)"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened":{"title":"JWSJsonFlattened","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" represents a JSON Web Signature (JWS) object in a flattened JSON format."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJsonFlattened","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"text":"JWSJsonFlattened","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","url":"\/documentation\/jose_swift\/jwsjsonflattened","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjsonflattened/encode(to:).json b/data/documentation/jose_swift/jwsjsonflattened/encode(to:).json new file mode 100644 index 0000000..9d7a30e --- /dev/null +++ b/data/documentation/jose_swift/jwsjsonflattened/encode(to:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/Encodable-Implementations"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/encode(to:)"},"abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"Encodable.encode(to:)"},{"type":"text","text":"."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"encode","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"text":" ","kind":"text"},{"text":"encoder","kind":"internalParam"},{"kind":"text","text":": "},{"text":"Encoder","kind":"typeIdentifier","preciseIdentifier":"s:s7EncoderP"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"languages":["swift"],"platforms":["macOS"]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/jwsjsonflattened\/encode(to:)"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","metadata":{"roleHeading":"Instance Method","modules":[{"relatedModules":["JSONWebSignature"],"name":"jose-swift"}],"symbolKind":"method","externalID":"s:16JSONWebSignature16JWSJsonFlattenedV6encode2toys7Encoder_p_tKF","extendedModule":"JSONWebSignature","conformance":{"constraints":[{"type":"codeVoice","code":"P"},{"text":" conforms to ","type":"text"},{"code":"JWSRegisteredFieldsHeader","type":"codeVoice"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"H"},{"text":" conforms to ","type":"text"},{"code":"JWSRegisteredFieldsHeader","type":"codeVoice"},{"text":".","type":"text"}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"title":"encode(to:)","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"to"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}]},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened":{"title":"JWSJsonFlattened","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" represents a JSON Web Signature (JWS) object in a flattened JSON format."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJsonFlattened","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"text":"JWSJsonFlattened","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","url":"\/documentation\/jose_swift\/jwsjsonflattened","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/Encodable-Implementations":{"url":"\/documentation\/jose_swift\/jwsjsonflattened\/encodable-implementations","abstract":[],"kind":"article","title":"Encodable Implementations","role":"collectionGroup","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/Encodable-Implementations"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/encode(to:)":{"role":"symbol","type":"topic","title":"encode(to:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"encode"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"text":"Encoder","kind":"typeIdentifier","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/encode(to:)","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"type":"codeVoice","code":"P"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"JWSRegisteredFieldsHeader"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"H"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"JWSRegisteredFieldsHeader"},{"type":"text","text":"."}]},"kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/jwsjsonflattened\/encode(to:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjsonflattened/encodedheader.json b/data/documentation/jose_swift/jwsjsonflattened/encodedheader.json new file mode 100644 index 0000000..449db48 --- /dev/null +++ b/data/documentation/jose_swift/jwsjsonflattened/encodedheader.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwsjsonflattened\/encodedheader"]}],"abstract":[{"type":"text","text":"Base64URL encoded representation of the unprotected header data. Returns "},{"type":"codeVoice","code":"nil"},{"text":" if ","type":"text"},{"type":"codeVoice","code":"unprotectedHeaderData"},{"text":" is ","type":"text"},{"code":"nil","type":"codeVoice"},{"type":"text","text":"."}],"kind":"symbol","schemaVersion":{"minor":3,"major":0,"patch":0},"metadata":{"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"encodedHeader","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?","kind":"text"}],"modules":[{"name":"jose-swift"}],"title":"encodedHeader","symbolKind":"property","roleHeading":"Instance Property","role":"symbol","externalID":"s:16JSONWebSignature16JWSJsonFlattenedV13encodedHeaderSSSgvp"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened"]]},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/encodedHeader","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"encodedHeader"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"? { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"languages":["swift"]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/encodedHeader":{"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"encodedHeader","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jwsjsonflattened\/encodedheader","title":"encodedHeader","role":"symbol","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/encodedHeader","abstract":[{"type":"text","text":"Base64URL encoded representation of the unprotected header data. Returns "},{"code":"nil","type":"codeVoice"},{"type":"text","text":" if "},{"code":"unprotectedHeaderData","type":"codeVoice"},{"type":"text","text":" is "},{"type":"codeVoice","code":"nil"},{"type":"text","text":"."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened":{"title":"JWSJsonFlattened","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" represents a JSON Web Signature (JWS) object in a flattened JSON format."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJsonFlattened","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"text":"JWSJsonFlattened","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","url":"\/documentation\/jose_swift\/jwsjsonflattened","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjsonflattened/encodedpayload.json b/data/documentation/jose_swift/jwsjsonflattened/encodedpayload.json new file mode 100644 index 0000000..7870a9f --- /dev/null +++ b/data/documentation/jose_swift/jwsjsonflattened/encodedpayload.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened"]]},"abstract":[{"text":"Base64URL encoded representation of the payload.","type":"text"}],"variants":[{"paths":["\/documentation\/jose_swift\/jwsjsonflattened\/encodedpayload"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"kind":"symbol","metadata":{"externalID":"s:16JSONWebSignature16JWSJsonFlattenedV14encodedPayloadSSvp","symbolKind":"property","role":"symbol","title":"encodedPayload","modules":[{"name":"jose-swift"}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"encodedPayload"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}],"roleHeading":"Instance Property"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"encodedPayload","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":" { "},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/encodedPayload"},"schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/encodedPayload":{"kind":"symbol","title":"encodedPayload","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"encodedPayload","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/encodedPayload","url":"\/documentation\/jose_swift\/jwsjsonflattened\/encodedpayload","abstract":[{"type":"text","text":"Base64URL encoded representation of the payload."}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened":{"title":"JWSJsonFlattened","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" represents a JSON Web Signature (JWS) object in a flattened JSON format."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJsonFlattened","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"text":"JWSJsonFlattened","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","url":"\/documentation\/jose_swift\/jwsjsonflattened","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjsonflattened/encodedprotectedheader.json b/data/documentation/jose_swift/jwsjsonflattened/encodedprotectedheader.json new file mode 100644 index 0000000..9ae1f01 --- /dev/null +++ b/data/documentation/jose_swift/jwsjsonflattened/encodedprotectedheader.json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"encodedProtectedHeader"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"? { ","kind":"text"},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/jwsjsonflattened\/encodedprotectedheader"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","metadata":{"externalID":"s:16JSONWebSignature16JWSJsonFlattenedV22encodedProtectedHeaderSSSgvp","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"encodedProtectedHeader","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"title":"encodedProtectedHeader","modules":[{"name":"jose-swift"}],"role":"symbol","roleHeading":"Instance Property","symbolKind":"property"},"abstract":[{"text":"Base64URL encoded representation of the protected header data. Returns ","type":"text"},{"code":"nil","type":"codeVoice"},{"text":" if ","type":"text"},{"type":"codeVoice","code":"protectedHeaderData"},{"text":" is ","type":"text"},{"type":"codeVoice","code":"nil"},{"text":".","type":"text"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/encodedProtectedHeader","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened":{"title":"JWSJsonFlattened","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" represents a JSON Web Signature (JWS) object in a flattened JSON format."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJsonFlattened","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"text":"JWSJsonFlattened","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","url":"\/documentation\/jose_swift\/jwsjsonflattened","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/encodedProtectedHeader":{"title":"encodedProtectedHeader","url":"\/documentation\/jose_swift\/jwsjsonflattened\/encodedprotectedheader","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"encodedProtectedHeader"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"type":"topic","kind":"symbol","abstract":[{"text":"Base64URL encoded representation of the protected header data. Returns ","type":"text"},{"code":"nil","type":"codeVoice"},{"text":" if ","type":"text"},{"code":"protectedHeaderData","type":"codeVoice"},{"type":"text","text":" is "},{"code":"nil","type":"codeVoice"},{"text":".","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/encodedProtectedHeader"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjsonflattened/encodedsignature.json b/data/documentation/jose_swift/jwsjsonflattened/encodedsignature.json new file mode 100644 index 0000000..05814ca --- /dev/null +++ b/data/documentation/jose_swift/jwsjsonflattened/encodedsignature.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwsjsonflattened\/encodedsignature"]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened"]]},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"encodedSignature"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"languages":["swift"]}]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"metadata":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"encodedSignature"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"title":"encodedSignature","role":"symbol","externalID":"s:16JSONWebSignature16JWSJsonFlattenedV07encodedB0SSvp","roleHeading":"Instance Property","symbolKind":"property","modules":[{"name":"jose-swift"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/encodedSignature"},"abstract":[{"text":"Base64URL encoded representation of the signature.","type":"text"}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened":{"title":"JWSJsonFlattened","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" represents a JSON Web Signature (JWS) object in a flattened JSON format."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJsonFlattened","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"text":"JWSJsonFlattened","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","url":"\/documentation\/jose_swift\/jwsjsonflattened","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/encodedSignature":{"kind":"symbol","title":"encodedSignature","url":"\/documentation\/jose_swift\/jwsjsonflattened\/encodedsignature","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"encodedSignature","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/encodedSignature","type":"topic","abstract":[{"text":"Base64URL encoded representation of the signature.","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjsonflattened/fulljson().json b/data/documentation/jose_swift/jwsjsonflattened/fulljson().json new file mode 100644 index 0000000..c71587a --- /dev/null +++ b/data/documentation/jose_swift/jwsjsonflattened/fulljson().json @@ -0,0 +1 @@ +{"sections":[],"metadata":{"modules":[{"name":"jose-swift"}],"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"fullJson"},{"kind":"text","text":"() "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:16JSONWebSignature7JWSJsonV","text":"JWSJson","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"H","kind":"typeIdentifier"},{"text":">","kind":"text"}],"title":"fullJson()","roleHeading":"Instance Method","externalID":"s:16JSONWebSignature16JWSJsonFlattenedV8fullJsonAA0C0Vyxq_GyKF","role":"symbol","symbolKind":"method"},"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"fullJson","kind":"identifier"},{"text":"() ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"JWSJson","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","preciseIdentifier":"s:16JSONWebSignature7JWSJsonV"},{"kind":"text","text":"<"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"H"},{"text":">","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]},{"kind":"content","content":[{"type":"heading","anchor":"return-value","level":2,"text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" object."}]}]},{"kind":"content","content":[{"text":"Discussion","type":"heading","level":2,"anchor":"discussion"},{"name":"Throws","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An error if the conversion process fails."}]}],"type":"aside","style":"note"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened"]]},"abstract":[{"text":"Converts the ","type":"text"},{"type":"codeVoice","code":"JWSJsonFlattened"},{"text":" into a full ","type":"text"},{"type":"codeVoice","code":"JWSJson"},{"text":" format.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwsjsonflattened\/fulljson()"]}],"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/fullJson()","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened":{"title":"JWSJsonFlattened","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" represents a JSON Web Signature (JWS) object in a flattened JSON format."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJsonFlattened","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"text":"JWSJsonFlattened","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","url":"\/documentation\/jose_swift\/jwsjsonflattened","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/fullJson()":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/fullJson()","title":"fullJson()","role":"symbol","abstract":[{"type":"text","text":"Converts the "},{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" into a full "},{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" format."}],"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"fullJson"},{"text":"() ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"JWSJson","kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature7JWSJsonV"},{"kind":"text","text":"<"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"H"},{"text":">","kind":"text"}],"url":"\/documentation\/jose_swift\/jwsjsonflattened\/fulljson()","kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJson":{"title":"JWSJson","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" represents a JSON Web Signature (JWS) object with support for multiple signatures."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJson","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWSJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","url":"\/documentation\/jose_swift\/jwsjson","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjsonflattened/getkid().json b/data/documentation/jose_swift/jwsjsonflattened/getkid().json new file mode 100644 index 0000000..75fd1e4 --- /dev/null +++ b/data/documentation/jose_swift/jwsjsonflattened/getkid().json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/getKid()","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"minor":3,"major":0},"kind":"symbol","sections":[],"variants":[{"paths":["\/documentation\/jose_swift\/jwsjsonflattened\/getkid()"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getKid"},{"text":"() ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"externalID":"s:16JSONWebSignature16JWSJsonFlattenedV6getKidSSyKF","roleHeading":"Instance Method","symbolKind":"method","modules":[{"name":"jose-swift"}],"role":"symbol","title":"getKid()"},"abstract":[{"type":"text","text":"Retrieves the Key ID ("},{"type":"codeVoice","code":"kid"},{"type":"text","text":") from the headers."}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getKid","kind":"identifier"},{"kind":"text","text":"() "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"platforms":["macOS"]}],"kind":"declarations"},{"content":[{"anchor":"return-value","type":"heading","level":2,"text":"Return Value"},{"inlineContent":[{"type":"text","text":"The Key ID ("},{"code":"kid","type":"codeVoice"},{"text":") if available.","type":"text"}],"type":"paragraph"}],"kind":"content"},{"kind":"content","content":[{"anchor":"discussion","type":"heading","text":"Discussion","level":2},{"type":"aside","style":"note","content":[{"type":"paragraph","inlineContent":[{"text":"","type":"text"},{"code":"JWS.JWSError.missingKid","type":"codeVoice"},{"text":" if both protected and unprotected headers are missing the ","type":"text"},{"type":"codeVoice","code":"kid"},{"text":".","type":"text"}]}],"name":"Throws"}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/getKid()":{"kind":"symbol","title":"getKid()","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"getKid","kind":"identifier"},{"text":"() ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/getKid()","url":"\/documentation\/jose_swift\/jwsjsonflattened\/getkid()","abstract":[{"text":"Retrieves the Key ID (","type":"text"},{"type":"codeVoice","code":"kid"},{"type":"text","text":") from the headers."}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened":{"title":"JWSJsonFlattened","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" represents a JSON Web Signature (JWS) object in a flattened JSON format."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJsonFlattened","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"text":"JWSJsonFlattened","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","url":"\/documentation\/jose_swift\/jwsjsonflattened","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjsonflattened/init(from:).json b/data/documentation/jose_swift/jwsjsonflattened/init(from:).json new file mode 100644 index 0000000..fc9af0b --- /dev/null +++ b/data/documentation/jose_swift/jwsjsonflattened/init(from:).json @@ -0,0 +1 @@ +{"kind":"symbol","schemaVersion":{"patch":0,"minor":3,"major":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwsjsonflattened\/init(from:)"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/init(from:)"},"metadata":{"title":"init(from:)","externalID":"s:16JSONWebSignature16JWSJsonFlattenedV4fromACyxq_Gs7Decoder_p_tKcfc","symbolKind":"init","extendedModule":"JSONWebSignature","conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"P"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"JWSRegisteredFieldsHeader"},{"type":"text","text":" and "},{"code":"H","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"JWSRegisteredFieldsHeader"},{"text":".","type":"text"}]},"fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"text":": ","kind":"text"},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"modules":[{"relatedModules":["JSONWebSignature"],"name":"jose-swift"}],"role":"symbol","roleHeading":"Initializer"},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/Decodable-Implementations"]]},"abstract":[{"type":"text","text":"Inherited from "},{"code":"Decodable.init(from:)","type":"codeVoice"},{"text":".","type":"text"}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"init","kind":"keyword"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"decoder","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7DecoderP","kind":"typeIdentifier","text":"Decoder"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened":{"title":"JWSJsonFlattened","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" represents a JSON Web Signature (JWS) object in a flattened JSON format."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJsonFlattened","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"text":"JWSJsonFlattened","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","url":"\/documentation\/jose_swift\/jwsjsonflattened","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/init(from:)":{"conformance":{"constraints":[{"code":"P","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"JWSRegisteredFieldsHeader"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"H"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"JWSRegisteredFieldsHeader"},{"type":"text","text":"."}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"title":"init(from:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/init(from:)","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"type":"topic","abstract":[],"url":"\/documentation\/jose_swift\/jwsjsonflattened\/init(from:)","kind":"symbol","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/Decodable-Implementations":{"kind":"article","title":"Decodable Implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/Decodable-Implementations","url":"\/documentation\/jose_swift\/jwsjsonflattened\/decodable-implementations","abstract":[],"type":"topic","role":"collectionGroup"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjsonflattened/init(fulljson:).json b/data/documentation/jose_swift/jwsjsonflattened/init(fulljson:).json new file mode 100644 index 0000000..08407c3 --- /dev/null +++ b/data/documentation/jose_swift/jwsjsonflattened/init(fulljson:).json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"minor":3,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened"]]},"kind":"symbol","metadata":{"symbolKind":"init","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"fullJson","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:16JSONWebSignature7JWSJsonV","kind":"typeIdentifier","text":"JWSJson"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"P"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"H"},{"kind":"text","text":">) "},{"text":"throws","kind":"keyword"}],"externalID":"s:16JSONWebSignature16JWSJsonFlattenedV8fullJsonACyxq_GAA0C0Vyxq_G_tKcfc","roleHeading":"Initializer","modules":[{"name":"jose-swift"}],"title":"init(fullJson:)","role":"symbol"},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/init(fullJson:)","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"fullJson"},{"text":": ","kind":"text"},{"text":"JWSJson","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","preciseIdentifier":"s:16JSONWebSignature7JWSJsonV"},{"text":"<","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"H","kind":"typeIdentifier"},{"kind":"text","text":">) "},{"text":"throws","kind":"keyword"}],"languages":["swift"],"platforms":["macOS"]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/jwsjsonflattened\/init(fulljson:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened":{"title":"JWSJsonFlattened","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" represents a JSON Web Signature (JWS) object in a flattened JSON format."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJsonFlattened","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"text":"JWSJsonFlattened","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","url":"\/documentation\/jose_swift\/jwsjsonflattened","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/init(fullJson:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/init(fullJson:)","role":"symbol","abstract":[],"fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"fullJson","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWSJson","kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature7JWSJsonV"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"text":", ","kind":"text"},{"text":"H","kind":"typeIdentifier"},{"kind":"text","text":">) "},{"text":"throws","kind":"keyword"}],"kind":"symbol","url":"\/documentation\/jose_swift\/jwsjsonflattened\/init(fulljson:)","title":"init(fullJson:)","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJson":{"title":"JWSJson","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJson"},{"type":"text","text":" represents a JSON Web Signature (JWS) object with support for multiple signatures."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJson","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWSJson"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJson","url":"\/documentation\/jose_swift\/jwsjson","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjsonflattened/init(payload:protecteddata:protected:headerdata:header:signature:).json b/data/documentation/jose_swift/jwsjsonflattened/init(payload:protecteddata:protected:headerdata:header:signature:).json new file mode 100644 index 0000000..e61d81a --- /dev/null +++ b/data/documentation/jose_swift/jwsjsonflattened/init(payload:protecteddata:protected:headerdata:header:signature:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened"]]},"abstract":[{"type":"text","text":"Initializes a new "},{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" instance."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwsjsonflattened\/init(payload:protecteddata:protected:headerdata:header:signature:)"]}],"sections":[],"kind":"symbol","metadata":{"symbolKind":"init","externalID":"s:16JSONWebSignature16JWSJsonFlattenedV7payload13protectedData0F006headerG00H09signatureACyxq_G10Foundation0G0V_AMSgxSgANq_SgAMtcfc","role":"symbol","title":"init(payload:protectedData:protected:headerData:header:signature:)","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"protectedData","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"text":"protected","kind":"externalParam"},{"kind":"text","text":": "},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"headerData"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"header"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"H"},{"text":"?, ","kind":"text"},{"text":"signature","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":")"}],"roleHeading":"Initializer"},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"text":"payload","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"protectedData","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"protected"},{"text":": ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"headerData"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"header"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"H"},{"text":"?, ","kind":"text"},{"text":"signature","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"},{"parameters":[{"name":"payload","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The payload data."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"The raw data of the protected header.","type":"text"}]}],"name":"protectedData"},{"name":"protected","content":[{"type":"paragraph","inlineContent":[{"text":"The protected header instance.","type":"text"}]}]},{"name":"headerData","content":[{"inlineContent":[{"type":"text","text":"The raw data of the unprotected header."}],"type":"paragraph"}]},{"name":"header","content":[{"inlineContent":[{"type":"text","text":"The unprotected header instance."}],"type":"paragraph"}]},{"name":"signature","content":[{"inlineContent":[{"type":"text","text":"The signature data."}],"type":"paragraph"}]}],"kind":"parameters"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/init(payload:protectedData:protected:headerData:header:signature:)"},"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/init(payload:protectedData:protected:headerData:header:signature:)":{"abstract":[{"text":"Initializes a new ","type":"text"},{"code":"JWSJsonFlattened","type":"codeVoice"},{"text":" instance.","type":"text"}],"type":"topic","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"text":"payload","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"protectedData"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"protected"},{"text":": ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"headerData","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"text":"header","kind":"externalParam"},{"kind":"text","text":": "},{"text":"H","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"signature"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":")","kind":"text"}],"url":"\/documentation\/jose_swift\/jwsjsonflattened\/init(payload:protecteddata:protected:headerdata:header:signature:)","kind":"symbol","title":"init(payload:protectedData:protected:headerData:header:signature:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/init(payload:protectedData:protected:headerData:header:signature:)"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened":{"title":"JWSJsonFlattened","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" represents a JSON Web Signature (JWS) object in a flattened JSON format."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJsonFlattened","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"text":"JWSJsonFlattened","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","url":"\/documentation\/jose_swift\/jwsjsonflattened","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjsonflattened/jws().json b/data/documentation/jose_swift/jwsjsonflattened/jws().json new file mode 100644 index 0000000..5e3fef3 --- /dev/null +++ b/data/documentation/jose_swift/jwsjsonflattened/jws().json @@ -0,0 +1 @@ +{"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jws"},{"text":"() ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"JWS","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","preciseIdentifier":"s:16JSONWebSignature3JWSV"}],"platforms":["macOS"]}],"kind":"declarations"},{"content":[{"type":"heading","text":"Return Value","anchor":"return-value","level":2},{"type":"paragraph","inlineContent":[{"text":"A ","type":"text"},{"type":"codeVoice","code":"JWS"},{"text":" instance.","type":"text"}]}],"kind":"content"},{"kind":"content","content":[{"level":2,"type":"heading","text":"Discussion","anchor":"discussion"},{"name":"Throws","type":"aside","content":[{"inlineContent":[{"text":"An error if the ","type":"text"},{"code":"JWS","type":"codeVoice"},{"text":" initialization fails.","type":"text"}],"type":"paragraph"}],"style":"note"}]}],"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwsjsonflattened\/jws()"]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/jws()","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"minor":3,"major":0},"abstract":[{"text":"Constructs a ","type":"text"},{"type":"codeVoice","code":"JWS"},{"type":"text","text":" instance from the flattened structure."}],"metadata":{"title":"jws()","symbolKind":"method","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"jws","kind":"identifier"},{"text":"() ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"JWS","kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature3JWSV"}],"modules":[{"name":"jose-swift"}],"role":"symbol","externalID":"s:16JSONWebSignature16JWSJsonFlattenedV3jwsAA3JWSVyKF","roleHeading":"Instance Method"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened"]]},"references":{"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/jws()":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/jws()","type":"topic","url":"\/documentation\/jose_swift\/jwsjsonflattened\/jws()","abstract":[{"text":"Constructs a ","type":"text"},{"type":"codeVoice","code":"JWS"},{"text":" instance from the flattened structure.","type":"text"}],"title":"jws()","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"jws","kind":"identifier"},{"kind":"text","text":"() "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature3JWSV","text":"JWS"}],"kind":"symbol","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened":{"title":"JWSJsonFlattened","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" represents a JSON Web Signature (JWS) object in a flattened JSON format."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJsonFlattened","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"text":"JWSJsonFlattened","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","url":"\/documentation\/jose_swift\/jwsjsonflattened","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"https://tools.ietf.org/html/rfc7515":{"titleInlineContent":[{"text":"RFC7515","type":"text"}],"title":"RFC7515","url":"https:\/\/tools.ietf.org\/html\/rfc7515","type":"link","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjsonflattened/payload.json b/data/documentation/jose_swift/jwsjsonflattened/payload.json new file mode 100644 index 0000000..a62f45b --- /dev/null +++ b/data/documentation/jose_swift/jwsjsonflattened/payload.json @@ -0,0 +1 @@ +{"abstract":[{"text":"Represents the payload of the JWS. This is the data that was signed.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"payload","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"metadata":{"modules":[{"name":"jose-swift"}],"externalID":"s:16JSONWebSignature16JWSJsonFlattenedV7payload10Foundation4DataVvp","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"payload"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"symbolKind":"property","title":"payload","roleHeading":"Instance Property","role":"symbol"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/payload"},"variants":[{"paths":["\/documentation\/jose_swift\/jwsjsonflattened\/payload"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened"]]},"sections":[],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened":{"title":"JWSJsonFlattened","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" represents a JSON Web Signature (JWS) object in a flattened JSON format."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJsonFlattened","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"text":"JWSJsonFlattened","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","url":"\/documentation\/jose_swift\/jwsjsonflattened","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/payload":{"role":"symbol","type":"topic","kind":"symbol","abstract":[{"text":"Represents the payload of the JWS. This is the data that was signed.","type":"text"}],"fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"payload"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/payload","title":"payload","url":"\/documentation\/jose_swift\/jwsjsonflattened\/payload"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjsonflattened/protectedheader.json b/data/documentation/jose_swift/jwsjsonflattened/protectedheader.json new file mode 100644 index 0000000..966b03a --- /dev/null +++ b/data/documentation/jose_swift/jwsjsonflattened/protectedheader.json @@ -0,0 +1 @@ +{"abstract":[{"text":"An instance of the protected header. Contains metadata about the signature and, optionally, the payload.","type":"text"}],"metadata":{"title":"protectedHeader","symbolKind":"property","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"protectedHeader","kind":"identifier"},{"text":": ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","role":"symbol","externalID":"s:16JSONWebSignature16JWSJsonFlattenedV15protectedHeaderxSgvp"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"protectedHeader","kind":"identifier"},{"text":": ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":"?","kind":"text"}]}],"kind":"declarations"}],"sections":[],"variants":[{"paths":["\/documentation\/jose_swift\/jwsjsonflattened\/protectedheader"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/protectedHeader"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened"]]},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened":{"title":"JWSJsonFlattened","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" represents a JSON Web Signature (JWS) object in a flattened JSON format."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJsonFlattened","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"text":"JWSJsonFlattened","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","url":"\/documentation\/jose_swift\/jwsjsonflattened","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/protectedHeader":{"abstract":[{"text":"An instance of the protected header. Contains metadata about the signature and, optionally, the payload.","type":"text"}],"kind":"symbol","title":"protectedHeader","url":"\/documentation\/jose_swift\/jwsjsonflattened\/protectedheader","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"protectedHeader"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/protectedHeader","type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjsonflattened/protectedheaderdata.json b/data/documentation/jose_swift/jwsjsonflattened/protectedheaderdata.json new file mode 100644 index 0000000..fc49381 --- /dev/null +++ b/data/documentation/jose_swift/jwsjsonflattened/protectedheaderdata.json @@ -0,0 +1 @@ +{"metadata":{"symbolKind":"property","roleHeading":"Instance Property","modules":[{"name":"jose-swift"}],"externalID":"s:16JSONWebSignature16JWSJsonFlattenedV19protectedHeaderData10Foundation0G0VSgvp","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"protectedHeaderData"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"title":"protectedHeaderData","role":"symbol"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/protectedHeaderData"},"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"abstract":[{"type":"text","text":"Raw data of the protected header. This header is encoded and included in the JWS signature calculation."}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"kind":"identifier","text":"protectedHeaderData"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"languages":["swift"]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/jwsjsonflattened\/protectedheaderdata"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/protectedHeaderData":{"kind":"symbol","url":"\/documentation\/jose_swift\/jwsjsonflattened\/protectedheaderdata","type":"topic","title":"protectedHeaderData","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/protectedHeaderData","abstract":[{"text":"Raw data of the protected header. This header is encoded and included in the JWS signature calculation.","type":"text"}],"role":"symbol","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"protectedHeaderData","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened":{"title":"JWSJsonFlattened","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" represents a JSON Web Signature (JWS) object in a flattened JSON format."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJsonFlattened","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"text":"JWSJsonFlattened","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","url":"\/documentation\/jose_swift\/jwsjsonflattened","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjsonflattened/signature.json b/data/documentation/jose_swift/jwsjsonflattened/signature.json new file mode 100644 index 0000000..5c5a8fe --- /dev/null +++ b/data/documentation/jose_swift/jwsjsonflattened/signature.json @@ -0,0 +1 @@ +{"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"signature","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"languages":["swift"]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/signature"},"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened"]]},"metadata":{"title":"signature","symbolKind":"property","roleHeading":"Instance Property","modules":[{"name":"jose-swift"}],"fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"signature","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"externalID":"s:16JSONWebSignature16JWSJsonFlattenedV9signature10Foundation4DataVvp","role":"symbol"},"abstract":[{"type":"text","text":"The signature data. This is the result of signing the payload and the protected header."}],"variants":[{"paths":["\/documentation\/jose_swift\/jwsjsonflattened\/signature"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened":{"title":"JWSJsonFlattened","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" represents a JSON Web Signature (JWS) object in a flattened JSON format."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJsonFlattened","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"text":"JWSJsonFlattened","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","url":"\/documentation\/jose_swift\/jwsjsonflattened","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/signature":{"kind":"symbol","title":"signature","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"signature","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/signature","url":"\/documentation\/jose_swift\/jwsjsonflattened\/signature","abstract":[{"text":"The signature data. This is the result of signing the payload and the protected header.","type":"text"}],"type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjsonflattened/unprotectedheader.json b/data/documentation/jose_swift/jwsjsonflattened/unprotectedheader.json new file mode 100644 index 0000000..42a2f35 --- /dev/null +++ b/data/documentation/jose_swift/jwsjsonflattened/unprotectedheader.json @@ -0,0 +1 @@ +{"metadata":{"role":"symbol","modules":[{"name":"jose-swift"}],"externalID":"s:16JSONWebSignature16JWSJsonFlattenedV17unprotectedHeaderq_Sgvp","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"unprotectedHeader","kind":"identifier"},{"text":": ","kind":"text"},{"text":"H","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"symbolKind":"property","roleHeading":"Instance Property","title":"unprotectedHeader"},"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/unprotectedHeader","interfaceLanguage":"swift"},"abstract":[{"text":"An instance of the unprotected header. Contains additional metadata that is not included in the signature.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened"]]},"sections":[],"variants":[{"paths":["\/documentation\/jose_swift\/jwsjsonflattened\/unprotectedheader"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"unprotectedHeader","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"H"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/unprotectedHeader":{"kind":"symbol","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"unprotectedHeader"},{"kind":"text","text":": "},{"text":"H","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/unprotectedHeader","type":"topic","abstract":[{"type":"text","text":"An instance of the unprotected header. Contains additional metadata that is not included in the signature."}],"role":"symbol","url":"\/documentation\/jose_swift\/jwsjsonflattened\/unprotectedheader","title":"unprotectedHeader"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened":{"title":"JWSJsonFlattened","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" represents a JSON Web Signature (JWS) object in a flattened JSON format."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJsonFlattened","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"text":"JWSJsonFlattened","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","url":"\/documentation\/jose_swift\/jwsjsonflattened","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsjsonflattened/unprotectedheaderdata.json b/data/documentation/jose_swift/jwsjsonflattened/unprotectedheaderdata.json new file mode 100644 index 0000000..711f05e --- /dev/null +++ b/data/documentation/jose_swift/jwsjsonflattened/unprotectedheaderdata.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jwsjsonflattened\/unprotectedheaderdata"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/unprotectedHeaderData","interfaceLanguage":"swift"},"metadata":{"modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"unprotectedHeaderData","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"roleHeading":"Instance Property","symbolKind":"property","title":"unprotectedHeaderData","role":"symbol","externalID":"s:16JSONWebSignature16JWSJsonFlattenedV21unprotectedHeaderData10Foundation0G0VSgvp"},"sections":[],"abstract":[{"type":"text","text":"Raw data of the unprotected header. This header is not included in the JWS signature calculation."}],"schemaVersion":{"major":0,"patch":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"unprotectedHeaderData"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"platforms":["macOS"],"languages":["swift"]}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened":{"title":"JWSJsonFlattened","role":"symbol","abstract":[{"type":"codeVoice","code":"JWSJsonFlattened"},{"type":"text","text":" represents a JSON Web Signature (JWS) object in a flattened JSON format."},{"text":" ","type":"text"},{"type":"text","text":"It is a generic struct allowing custom types for the protected and unprotected headers."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"JWSJsonFlattened","kind":"identifier"}],"kind":"symbol","navigatorTitle":[{"text":"JWSJsonFlattened","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened","url":"\/documentation\/jose_swift\/jwsjsonflattened","type":"topic"},"doc://jose-swift/documentation/jose_swift/JWSJsonFlattened/unprotectedHeaderData":{"fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"text":"unprotectedHeaderData","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?","kind":"text"}],"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSJsonFlattened\/unprotectedHeaderData","url":"\/documentation\/jose_swift\/jwsjsonflattened\/unprotectedheaderdata","title":"unprotectedHeaderData","abstract":[{"type":"text","text":"Raw data of the unprotected header. This header is not included in the JWS signature calculation."}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsregisteredfieldsheader.json b/data/documentation/jose_swift/jwsregisteredfieldsheader.json new file mode 100644 index 0000000..939cc24 --- /dev/null +++ b/data/documentation/jose_swift/jwsregisteredfieldsheader.json @@ -0,0 +1 @@ +{"metadata":{"externalID":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"role":"symbol","symbolKind":"protocol","title":"JWSRegisteredFieldsHeader","roleHeading":"Protocol","modules":[{"name":"jose-swift"}],"fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwsregisteredfieldsheader"]}],"abstract":[{"code":"JWSProtectedFieldsHeader","type":"codeVoice"},{"type":"text","text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS)."},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}],"topicSections":[{"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/algorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/contentType","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/critical","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/jwk","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/jwkSetURL","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/keyID","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/type","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/x509CertificateChain","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/x509CertificateSHA1Thumbprint","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/x509CertificateSHA256Thumbprint","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/x509URL"]}],"kind":"symbol","relationshipsSections":[{"kind":"relationships","title":"Inherits From","identifiers":["doc:\/\/jose-swift\/Se","doc:\/\/jose-swift\/SE"],"type":"inheritsFrom"},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl"],"type":"conformingTypes","title":"Conforming Types","kind":"relationships"}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"},{"kind":"text","text":" : "},{"preciseIdentifier":"s:Se","text":"Decodable","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SE","text":"Encodable"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"sections":[],"schemaVersion":{"patch":0,"minor":3,"major":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"references":{"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader/x509CertificateSHA256Thumbprint":{"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/x509certificatesha256thumbprint","title":"x509CertificateSHA256Thumbprint","abstract":[{"text":"Base64URL-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate.","type":"text"}],"type":"topic","kind":"symbol","required":true,"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/x509CertificateSHA256Thumbprint","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"x509CertificateSHA256Thumbprint","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}]},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader/contentType":{"title":"contentType","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/contentType","abstract":[{"type":"text","text":"Media type of the complete JWS."}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/contenttype","required":true,"type":"topic","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"contentType","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}]},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader/jwk":{"kind":"symbol","title":"jwk","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwk"},{"text":": ","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/jwk","url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/jwk","abstract":[{"text":"JSON Web Key representing the key used to sign the payload.","type":"text"}],"type":"topic","required":true,"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader/type":{"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/type","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/type","kind":"symbol","type":"topic","title":"type","required":true,"role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"type"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Type of token - typically used to declare a MIME type."}]},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader/x509CertificateSHA1Thumbprint":{"abstract":[{"type":"text","text":"Base64URL-encoded SHA-1 thumbprint (a.k.a. digest) of the DER encoding of an X.509 certificate."}],"title":"x509CertificateSHA1Thumbprint","required":true,"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"x509CertificateSHA1Thumbprint"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/x509certificatesha1thumbprint","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/x509CertificateSHA1Thumbprint","type":"topic","kind":"symbol","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader/critical":{"title":"critical","kind":"symbol","abstract":[{"text":"Indicates extensions to this protocol that must be understood and processed.","type":"text"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/critical","required":true,"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/critical","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"critical"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader/keyID":{"title":"keyID","url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/keyid","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"keyID","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"required":true,"role":"symbol","abstract":[{"type":"text","text":"Key ID hint indicating which key was used to secure the JWS."}],"kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/keyID"},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader/x509CertificateChain":{"role":"symbol","type":"topic","title":"x509CertificateChain","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"x509CertificateChain","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/x509CertificateChain","kind":"symbol","abstract":[{"text":"X.509 public key certificate or certificate chain.","type":"text"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/x509certificatechain","required":true},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]},"doc://jose-swift/Se":{"identifier":"doc:\/\/jose-swift\/Se","type":"unresolvable","title":"Swift.Decodable"},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader/x509URL":{"abstract":[{"text":"URL for the X.509 public key certificate or certificate chain corresponding to the key used to sign the JWS.","type":"text"}],"required":true,"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"x509URL"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?","kind":"text"}],"role":"symbol","kind":"symbol","title":"x509URL","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/x509URL","url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/x509url"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/SE":{"identifier":"doc:\/\/jose-swift\/SE","type":"unresolvable","title":"Swift.Encodable"},"doc://jose-swift/documentation/jose_swift/DefaultJWSHeaderImpl":{"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWSHeaderImpl","title":"DefaultJWSHeaderImpl","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"DefaultJWSHeaderImpl"}],"url":"\/documentation\/jose_swift\/defaultjwsheaderimpl","abstract":[{"type":"codeVoice","code":"DefaultJWSHeaderImpl"},{"type":"text","text":" is a default implementation of the "},{"code":"JWSProtectedFieldsHeader","type":"codeVoice"},{"type":"text","text":" protocol."},{"text":" ","type":"text"},{"text":"It provides storage for the common fields found in a JWS protected header.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader/algorithm":{"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/algorithm","title":"algorithm","abstract":[{"type":"text","text":"The signing algorithm to be used."}],"type":"topic","kind":"symbol","required":true,"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/algorithm","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"algorithm","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:17JSONWebAlgorithms16SigningAlgorithmO","text":"SigningAlgorithm","kind":"typeIdentifier"},{"text":"?","kind":"text"}]},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader/jwkSetURL":{"kind":"symbol","required":true,"role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"jwkSetURL"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/jwkSetURL","type":"topic","title":"jwkSetURL","url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/jwkseturl","abstract":[{"type":"text","text":"URL that refers to a resource for a set of JSON-encoded public keys."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsregisteredfieldsheader/algorithm.json b/data/documentation/jose_swift/jwsregisteredfieldsheader/algorithm.json new file mode 100644 index 0000000..c1ef5e7 --- /dev/null +++ b/data/documentation/jose_swift/jwsregisteredfieldsheader/algorithm.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/algorithm"},"abstract":[{"type":"text","text":"The signing algorithm to be used."}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"algorithm","kind":"identifier"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms16SigningAlgorithmO","text":"SigningAlgorithm","kind":"typeIdentifier"},{"text":"? { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"set"},{"text":" }","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwsregisteredfieldsheader\/algorithm"]}],"kind":"symbol","metadata":{"roleHeading":"Instance Property","required":true,"modules":[{"name":"jose-swift"}],"externalID":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP9algorithm0A10Algorithms16SigningAlgorithmOSgvp","symbolKind":"property","title":"algorithm","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"algorithm","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:17JSONWebAlgorithms16SigningAlgorithmO","text":"SigningAlgorithm","kind":"typeIdentifier"},{"text":"?","kind":"text"}]},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader/algorithm":{"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/algorithm","title":"algorithm","abstract":[{"type":"text","text":"The signing algorithm to be used."}],"type":"topic","kind":"symbol","required":true,"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/algorithm","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"algorithm","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:17JSONWebAlgorithms16SigningAlgorithmO","text":"SigningAlgorithm","kind":"typeIdentifier"},{"text":"?","kind":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsregisteredfieldsheader/contenttype.json b/data/documentation/jose_swift/jwsregisteredfieldsheader/contenttype.json new file mode 100644 index 0000000..4399de9 --- /dev/null +++ b/data/documentation/jose_swift/jwsregisteredfieldsheader/contenttype.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwsregisteredfieldsheader\/contenttype"]}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"contentType"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"? { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" ","kind":"text"},{"text":"set","kind":"keyword"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/contentType","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Media type of the complete JWS."}],"metadata":{"roleHeading":"Instance Property","title":"contentType","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"contentType","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"externalID":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP11contentTypeSSSgvp","modules":[{"name":"jose-swift"}],"required":true,"symbolKind":"property","role":"symbol"},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader"]]},"schemaVersion":{"minor":3,"major":0,"patch":0},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader/contentType":{"title":"contentType","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/contentType","abstract":[{"type":"text","text":"Media type of the complete JWS."}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/contenttype","required":true,"type":"topic","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"contentType","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsregisteredfieldsheader/critical.json b/data/documentation/jose_swift/jwsregisteredfieldsheader/critical.json new file mode 100644 index 0000000..06e656a --- /dev/null +++ b/data/documentation/jose_swift/jwsregisteredfieldsheader/critical.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"critical"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"? { "},{"text":"get","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"set"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"kind":"symbol","abstract":[{"text":"Indicates extensions to this protocol that must be understood and processed.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader"]]},"metadata":{"modules":[{"name":"jose-swift"}],"required":true,"role":"symbol","roleHeading":"Instance Property","symbolKind":"property","title":"critical","externalID":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP8criticalSSSgvp","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"critical","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}]},"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"paths":["\/documentation\/jose_swift\/jwsregisteredfieldsheader\/critical"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/critical"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader/critical":{"title":"critical","kind":"symbol","abstract":[{"text":"Indicates extensions to this protocol that must be understood and processed.","type":"text"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/critical","required":true,"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/critical","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"critical"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsregisteredfieldsheader/jwk.json b/data/documentation/jose_swift/jwsregisteredfieldsheader/jwk.json new file mode 100644 index 0000000..8f4c134 --- /dev/null +++ b/data/documentation/jose_swift/jwsregisteredfieldsheader/jwk.json @@ -0,0 +1 @@ +{"sections":[],"kind":"symbol","primaryContentSections":[{"declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwk"},{"kind":"text","text":": "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":"? { ","kind":"text"},{"text":"get","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"set"},{"text":" }","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/jwk"},"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader"]]},"metadata":{"title":"jwk","roleHeading":"Instance Property","symbolKind":"property","modules":[{"name":"jose-swift"}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwk","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?","kind":"text"}],"required":true,"externalID":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP3jwk0A3Key3JWKVSgvp","role":"symbol"},"abstract":[{"type":"text","text":"JSON Web Key representing the key used to sign the payload."}],"variants":[{"paths":["\/documentation\/jose_swift\/jwsregisteredfieldsheader\/jwk"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader/jwk":{"kind":"symbol","title":"jwk","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwk"},{"text":": ","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/jwk","url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/jwk","abstract":[{"text":"JSON Web Key representing the key used to sign the payload.","type":"text"}],"type":"topic","required":true,"role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsregisteredfieldsheader/jwkseturl.json b/data/documentation/jose_swift/jwsregisteredfieldsheader/jwkseturl.json new file mode 100644 index 0000000..fe510c6 --- /dev/null +++ b/data/documentation/jose_swift/jwsregisteredfieldsheader/jwkseturl.json @@ -0,0 +1 @@ +{"metadata":{"externalID":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP9jwkSetURLSSSgvp","required":true,"role":"symbol","roleHeading":"Instance Property","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwkSetURL"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?","kind":"text"}],"modules":[{"name":"jose-swift"}],"title":"jwkSetURL","symbolKind":"property"},"variants":[{"paths":["\/documentation\/jose_swift\/jwsregisteredfieldsheader\/jwkseturl"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwkSetURL","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"? { "},{"text":"get","kind":"keyword"},{"kind":"text","text":" "},{"text":"set","kind":"keyword"},{"kind":"text","text":" }"}],"languages":["swift"]}]}],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/jwkSetURL"},"sections":[],"abstract":[{"type":"text","text":"URL that refers to a resource for a set of JSON-encoded public keys."}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader/jwkSetURL":{"kind":"symbol","required":true,"role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"jwkSetURL"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/jwkSetURL","type":"topic","title":"jwkSetURL","url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/jwkseturl","abstract":[{"type":"text","text":"URL that refers to a resource for a set of JSON-encoded public keys."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsregisteredfieldsheader/keyid.json b/data/documentation/jose_swift/jwsregisteredfieldsheader/keyid.json new file mode 100644 index 0000000..42f5e3c --- /dev/null +++ b/data/documentation/jose_swift/jwsregisteredfieldsheader/keyid.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwsregisteredfieldsheader\/keyid"]}],"schemaVersion":{"patch":0,"minor":3,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader"]]},"metadata":{"externalID":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP5keyIDSSSgvp","title":"keyID","symbolKind":"property","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"keyID","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?","kind":"text"}],"modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","required":true,"role":"symbol"},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"keyID","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"? { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" ","kind":"text"},{"kind":"keyword","text":"set"},{"text":" }","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"sections":[],"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/keyID","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Key ID hint indicating which key was used to secure the JWS."}],"references":{"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader/keyID":{"title":"keyID","url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/keyid","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"keyID","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"required":true,"role":"symbol","abstract":[{"type":"text","text":"Key ID hint indicating which key was used to secure the JWS."}],"kind":"symbol","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/keyID"},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsregisteredfieldsheader/type.json b/data/documentation/jose_swift/jwsregisteredfieldsheader/type.json new file mode 100644 index 0000000..7cbcebf --- /dev/null +++ b/data/documentation/jose_swift/jwsregisteredfieldsheader/type.json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"Type of token - typically used to declare a MIME type."}],"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/type","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"patch":0,"minor":3},"metadata":{"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"type","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"symbolKind":"property","title":"type","required":true,"modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","role":"symbol","externalID":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP4typeSSSgvp"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"type","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"? { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" "},{"text":"set","kind":"keyword"},{"kind":"text","text":" }"}],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwsregisteredfieldsheader\/type"]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader/type":{"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/type","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/type","kind":"symbol","type":"topic","title":"type","required":true,"role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"type"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Type of token - typically used to declare a MIME type."}]},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsregisteredfieldsheader/x509certificatechain.json b/data/documentation/jose_swift/jwsregisteredfieldsheader/x509certificatechain.json new file mode 100644 index 0000000..b92d575 --- /dev/null +++ b/data/documentation/jose_swift/jwsregisteredfieldsheader/x509certificatechain.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/x509CertificateChain"},"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","metadata":{"modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"x509CertificateChain","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"title":"x509CertificateChain","roleHeading":"Instance Property","required":true,"externalID":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP20x509CertificateChainSSSgvp","role":"symbol","symbolKind":"property"},"sections":[],"abstract":[{"text":"X.509 public key certificate or certificate chain.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"x509CertificateChain","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"? { "},{"text":"get","kind":"keyword"},{"text":" ","kind":"text"},{"text":"set","kind":"keyword"},{"text":" }","kind":"text"}],"languages":["swift"]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/jwsregisteredfieldsheader\/x509certificatechain"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader/x509CertificateChain":{"role":"symbol","type":"topic","title":"x509CertificateChain","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"x509CertificateChain","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/x509CertificateChain","kind":"symbol","abstract":[{"text":"X.509 public key certificate or certificate chain.","type":"text"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/x509certificatechain","required":true},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsregisteredfieldsheader/x509certificatesha1thumbprint.json b/data/documentation/jose_swift/jwsregisteredfieldsheader/x509certificatesha1thumbprint.json new file mode 100644 index 0000000..b5ab770 --- /dev/null +++ b/data/documentation/jose_swift/jwsregisteredfieldsheader/x509certificatesha1thumbprint.json @@ -0,0 +1 @@ +{"metadata":{"symbolKind":"property","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"x509CertificateSHA1Thumbprint"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"role":"symbol","externalID":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP29x509CertificateSHA1ThumbprintSSSgvp","required":true,"modules":[{"name":"jose-swift"}],"title":"x509CertificateSHA1Thumbprint","roleHeading":"Instance Property"},"abstract":[{"text":"Base64URL-encoded SHA-1 thumbprint (a.k.a. digest) of the DER encoding of an X.509 certificate.","type":"text"}],"kind":"symbol","sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwsregisteredfieldsheader\/x509certificatesha1thumbprint"]}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"x509CertificateSHA1Thumbprint","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"? { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"set"},{"text":" }","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/x509CertificateSHA1Thumbprint"},"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader/x509CertificateSHA1Thumbprint":{"abstract":[{"type":"text","text":"Base64URL-encoded SHA-1 thumbprint (a.k.a. digest) of the DER encoding of an X.509 certificate."}],"title":"x509CertificateSHA1Thumbprint","required":true,"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"x509CertificateSHA1Thumbprint"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/x509certificatesha1thumbprint","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/x509CertificateSHA1Thumbprint","type":"topic","kind":"symbol","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsregisteredfieldsheader/x509certificatesha256thumbprint.json b/data/documentation/jose_swift/jwsregisteredfieldsheader/x509certificatesha256thumbprint.json new file mode 100644 index 0000000..0de8731 --- /dev/null +++ b/data/documentation/jose_swift/jwsregisteredfieldsheader/x509certificatesha256thumbprint.json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","metadata":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"x509CertificateSHA256Thumbprint","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?","kind":"text"}],"title":"x509CertificateSHA256Thumbprint","modules":[{"name":"jose-swift"}],"externalID":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP31x509CertificateSHA256ThumbprintSSSgvp","required":true,"symbolKind":"property","roleHeading":"Instance Property","role":"symbol"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader"]]},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"x509CertificateSHA256Thumbprint"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"? { "},{"text":"get","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"set"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"abstract":[{"text":"Base64URL-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate.","type":"text"}],"variants":[{"paths":["\/documentation\/jose_swift\/jwsregisteredfieldsheader\/x509certificatesha256thumbprint"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/x509CertificateSHA256Thumbprint","interfaceLanguage":"swift"},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader/x509CertificateSHA256Thumbprint":{"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/x509certificatesha256thumbprint","title":"x509CertificateSHA256Thumbprint","abstract":[{"text":"Base64URL-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate.","type":"text"}],"type":"topic","kind":"symbol","required":true,"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/x509CertificateSHA256Thumbprint","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"x509CertificateSHA256Thumbprint","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwsregisteredfieldsheader/x509url.json b/data/documentation/jose_swift/jwsregisteredfieldsheader/x509url.json new file mode 100644 index 0000000..171ae83 --- /dev/null +++ b/data/documentation/jose_swift/jwsregisteredfieldsheader/x509url.json @@ -0,0 +1 @@ +{"metadata":{"required":true,"symbolKind":"property","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"x509URL","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"title":"x509URL","modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","externalID":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP7x509URLSSSgvp"},"variants":[{"paths":["\/documentation\/jose_swift\/jwsregisteredfieldsheader\/x509url"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"patch":0,"minor":3,"major":0},"kind":"symbol","sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader"]]},"abstract":[{"type":"text","text":"URL for the X.509 public key certificate or certificate chain corresponding to the key used to sign the JWS."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"x509URL","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"? { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" ","kind":"text"},{"text":"set","kind":"keyword"},{"text":" }","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/x509URL","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader/x509URL":{"abstract":[{"text":"URL for the X.509 public key certificate or certificate chain corresponding to the key used to sign the JWS.","type":"text"}],"required":true,"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"x509URL"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?","kind":"text"}],"role":"symbol","kind":"symbol","title":"x509URL","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader\/x509URL","url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/x509url"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwt.json b/data/documentation/jose_swift/jwt.json new file mode 100644 index 0000000..6667538 --- /dev/null +++ b/data/documentation/jose_swift/jwt.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWT"},{"text":"<","kind":"text"},{"text":"C","kind":"genericParameter"},{"text":"> ","kind":"text"},{"text":"where","kind":"keyword"},{"kind":"text","text":" "},{"text":"C","kind":"typeIdentifier"},{"kind":"text","text":" : "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims","preciseIdentifier":"s:12JSONWebToken25JWTRegisteredFieldsClaimsP","text":"JWTRegisteredFieldsClaims","kind":"typeIdentifier"}]}]},{"kind":"parameters","parameters":[{"name":"C","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The type of claims the JWT carries. Must conform to "},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"type":"text","text":"."}]}]}]},{"kind":"content","content":[{"type":"heading","anchor":"overview","text":"Overview","level":2},{"type":"paragraph","inlineContent":[{"text":"The ","type":"text"},{"type":"codeVoice","code":"JWT"},{"type":"text","text":" struct is generic over "},{"type":"codeVoice","code":"C"},{"text":", which must conform to the ","type":"text"},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"text":" protocol. This allows for flexibility in defining the set of claims a JWT can carry.","type":"text"}]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT"},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/format-swift.property","doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/jwtString","doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/payload"],"title":"Instance Properties"},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/encrypt(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/encryptAsNested(jwt:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/encryptAsNested(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:nestedProtectedHeader:nestedUnprotectedHeader:nestedSenderKey:nestedRecipientKey:nestedSharedKey:nestedCek:nestedInitializationVector:nestedAdditionalAuthenticationData:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/signed(payload:protectedHeader:key:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/signedAsNested(jwtString:protectedHeader:key:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/signedAsNested(payload:protectedHeader:key:nestedProtectedHeader:nestedKey:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/verify(jwtString:senderKey:recipientKey:nestedKeys:expectedIssuer:expectedAudience:)"],"title":"Type Methods"},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/Format-swift.enum"],"title":"Enumerations"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwt"]}],"abstract":[{"code":"JWT","type":"codeVoice"},{"type":"text","text":" represents a JSON Web Token which is a compact, URL-safe means of representing claims to be transferred between two parties."}],"sections":[],"metadata":{"modules":[{"name":"jose-swift"}],"symbolKind":"struct","role":"symbol","title":"JWT","navigatorTitle":[{"text":"JWT","kind":"identifier"}],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWT"}],"externalID":"s:12JSONWebToken3JWTV","roleHeading":"Structure"},"references":{"doc://jose-swift/documentation/jose_swift/JWT/Format-swift.enum":{"kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/jwt\/format-swift.enum","role":"symbol","title":"JWT.Format","navigatorTitle":[{"kind":"identifier","text":"Format"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Format"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/Format-swift.enum","abstract":[{"code":"Format","type":"codeVoice"},{"text":" is an enumeration that defines the two possible formats for a JWT: JWE and JWS.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWT/jwtString":{"kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/jwt\/jwtstring","role":"symbol","title":"jwtString","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"jwtString","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/jwtString","abstract":[{"text":"A computed property that returns the JWT in its compact string representation.","type":"text"},{"text":" ","type":"text"},{"text":"If the JWT is in JWE format, it returns the compact serialization of the JWE.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"If in JWS format, it returns the compact serialization of the JWS."}]},"doc://jose-swift/documentation/jose_swift/JWT":{"kind":"symbol","title":"JWT","url":"\/documentation\/jose_swift\/jwt","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWT"}],"navigatorTitle":[{"text":"JWT","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT","type":"topic","abstract":[{"type":"codeVoice","code":"JWT"},{"type":"text","text":" represents a JSON Web Token which is a compact, URL-safe means of representing claims to be transferred between two parties."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWT/signed(payload:protectedHeader:key:)":{"kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/jwt\/signed(payload:protectedheader:key:)","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"C","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"text":".","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"role":"symbol","title":"signed(payload:protectedHeader:key:)","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"signed","kind":"identifier"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"C"},{"text":", ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"P"},{"kind":"text","text":", "},{"text":"key","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"JWT","kind":"typeIdentifier","preciseIdentifier":"s:12JSONWebToken3JWTV"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"C"},{"text":">","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/signed(payload:protectedHeader:key:)","abstract":[{"type":"text","text":"Creates a signed JWT using the provided payload, header, and key."}]},"doc://jose-swift/documentation/jose_swift/JWT/signedAsNested(payload:protectedHeader:key:nestedProtectedHeader:nestedKey:)":{"kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/jwt\/signedasnested(payload:protectedheader:key:nestedprotectedheader:nestedkey:)","conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"C"},{"text":" conforms to ","type":"text"},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"role":"symbol","title":"signedAsNested(payload:protectedHeader:key:nestedProtectedHeader:nestedKey:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"signedAsNested"},{"kind":"text","text":"<"},{"text":"P","kind":"genericParameter"},{"text":", ","kind":"text"},{"text":"NP","kind":"genericParameter"},{"text":">(","kind":"text"},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"C","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"nestedProtectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"NP"},{"text":", ","kind":"text"},{"text":"nestedKey","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:16JSONWebSignature3JWSV","kind":"typeIdentifier","text":"JWS"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/signedAsNested(payload:protectedHeader:key:nestedProtectedHeader:nestedKey:)","abstract":[{"text":"Signs a JWT payload as a nested JWT in JWS format with distinct inner and outer JWS headers.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWT/payload":{"kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/jwt\/payload","role":"symbol","title":"payload","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"payload","kind":"identifier"},{"kind":"text","text":": "},{"text":"C","kind":"typeIdentifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/payload","abstract":[{"type":"text","text":"The payload of the JWT, containing the claims."}]},"doc://jose-swift/documentation/jose_swift/JWT/format-swift.property":{"kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/jwt\/format-swift.property","role":"symbol","title":"format","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"format","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:12JSONWebToken3JWTV","text":"JWT"},{"kind":"text","text":"<"},{"text":"C","kind":"typeIdentifier"},{"kind":"text","text":">."},{"preciseIdentifier":"s:12JSONWebToken3JWTV6FormatO","kind":"typeIdentifier","text":"Format"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/format-swift.property","abstract":[{"type":"text","text":"The format of the JWT, either JWE (encrypted) or JWS (signed)."}]},"doc://jose-swift/documentation/jose_swift/JWT/encryptAsNested(jwt:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:)":{"role":"symbol","kind":"symbol","type":"topic","abstract":[{"type":"text","text":"Encrypts a JWT string as a nested JWT in JWE format."}],"url":"\/documentation\/jose_swift\/jwt\/encryptasnested(jwt:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"encryptAsNested"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":", "},{"text":"U","kind":"genericParameter"},{"text":">(","kind":"text"},{"text":"jwt","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWT","kind":"typeIdentifier","preciseIdentifier":"s:12JSONWebToken3JWTV"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"C"},{"kind":"text","text":">, "},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"P"},{"text":", ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"text":"recipientKey","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"sharedKey","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"cek"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"?, "},{"text":"additionalAuthenticationData","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","text":"JWE","preciseIdentifier":"s:17JSONWebEncryption3JWEV"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/encryptAsNested(jwt:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:)","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"C"},{"type":"text","text":" conforms to "},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"type":"text","text":"."}],"conformancePrefix":[{"text":"Conforms when","type":"text"}]},"title":"encryptAsNested(jwt:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:)"},"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWTRegisteredFieldsClaims","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"JWTRegisteredFieldsClaims"}],"abstract":[{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"type":"text","text":" is a protocol defining the standard claims typically included in a JWT."},{"type":"text","text":" "},{"type":"text","text":"Conforming types can represent the payload of a JWT, encompassing both registered claim names and custom claims."}],"title":"JWTRegisteredFieldsClaims"},"doc://jose-swift/documentation/jose_swift/JWT/encrypt(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:)":{"abstract":[{"text":"Encrypts the payload of a JWT and returns it in JWE format.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/encrypt(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:)","title":"encrypt(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:)","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/jwt\/encrypt(payload:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:)","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"encrypt","kind":"identifier"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"P"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"C","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"protectedHeader"},{"text":": ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"U"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"senderKey"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"recipientKey"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"sharedKey"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"cek","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"text":"initializationVector","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"text":"additionalAuthenticationData","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"JWT","kind":"typeIdentifier","preciseIdentifier":"s:12JSONWebToken3JWTV"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"C"},{"text":">","kind":"text"}],"type":"topic","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"type":"codeVoice","code":"C"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"type":"text","text":"."}]}},"doc://jose-swift/documentation/jose_swift/JWT/encryptAsNested(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:nestedProtectedHeader:nestedUnprotectedHeader:nestedSenderKey:nestedRecipientKey:nestedSharedKey:nestedCek:nestedInitializationVector:nestedAdditionalAuthenticationData:)":{"kind":"symbol","title":"encryptAsNested(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:nestedProtectedHeader:nestedUnprotectedHeader:nestedSenderKey:nestedRecipientKey:nestedSharedKey:nestedCek:nestedInitializationVector:nestedAdditionalAuthenticationData:)","url":"\/documentation\/jose_swift\/jwt\/encryptasnested(payload:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:nestedprotectedheader:nestedunprotectedheader:nestedsenderkey:nestedrecipientkey:nestedsharedke-6vzse","role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"encryptAsNested","kind":"identifier"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":", "},{"text":"U","kind":"genericParameter"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"NP"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"NU"},{"kind":"text","text":">("},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"C","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"protectedHeader"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"text":", ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"U"},{"text":"?, ","kind":"text"},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"recipientKey"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"text":"sharedKey","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"cek"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"initializationVector"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"text":"additionalAuthenticationData","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"nestedProtectedHeader"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"NP"},{"text":", ","kind":"text"},{"text":"nestedUnprotectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"NU"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"nestedSenderKey"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"text":"nestedRecipientKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"nestedSharedKey"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"nestedCek"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"text":"nestedInitializationVector","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"nestedAdditionalAuthenticationData","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?) "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"JWE","preciseIdentifier":"s:17JSONWebEncryption3JWEV","kind":"typeIdentifier"}],"conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"type":"codeVoice","code":"C"},{"type":"text","text":" conforms to "},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"text":".","type":"text"}],"availabilityPrefix":[{"text":"Available when","type":"text"}]},"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/encryptAsNested(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:nestedProtectedHeader:nestedUnprotectedHeader:nestedSenderKey:nestedRecipientKey:nestedSharedKey:nestedCek:nestedInitializationVector:nestedAdditionalAuthenticationData:)","abstract":[{"type":"text","text":"Encrypts a JWT payload as a nested JWT in JWE format with distinct outer and inner JWE headers."}]},"doc://jose-swift/documentation/jose_swift/JWT/signedAsNested(jwtString:protectedHeader:key:)":{"abstract":[{"type":"text","text":"Signs a JWT string as a nested JWT in JWS format."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/signedAsNested(jwtString:protectedHeader:key:)","kind":"symbol","title":"signedAsNested(jwtString:protectedHeader:key:)","role":"symbol","url":"\/documentation\/jose_swift\/jwt\/signedasnested(jwtstring:protectedheader:key:)","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"signedAsNested","kind":"identifier"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":">("},{"text":"jwtString","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"P"},{"kind":"text","text":", "},{"text":"key","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"JWS","kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature3JWSV"}],"type":"topic","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"C","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}]}},"doc://jose-swift/documentation/jose_swift/JWT/verify(jwtString:senderKey:recipientKey:nestedKeys:expectedIssuer:expectedAudience:)":{"title":"verify(jwtString:senderKey:recipientKey:nestedKeys:expectedIssuer:expectedAudience:)","url":"\/documentation\/jose_swift\/jwt\/verify(jwtstring:senderkey:recipientkey:nestedkeys:expectedissuer:expectedaudience:)","kind":"symbol","abstract":[{"text":"Verifies a JWT string and returns a decoded JWT if successful.","type":"text"}],"type":"topic","conformance":{"constraints":[{"type":"codeVoice","code":"C"},{"text":" conforms to ","type":"text"},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"text":".","type":"text"}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/verify(jwtString:senderKey:recipientKey:nestedKeys:expectedIssuer:expectedAudience:)","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"verify"},{"text":"(","kind":"text"},{"text":"jwtString","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":", "},{"text":"senderKey","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"recipientKey"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"nestedKeys","kind":"externalParam"},{"kind":"text","text":": ["},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"], "},{"kind":"externalParam","text":"expectedIssuer"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"expectedAudience","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?) "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:12JSONWebToken3JWTV","text":"JWT","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"C"},{"text":">","kind":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwt/encrypt(payload:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:).json b/data/documentation/jose_swift/jwt/encrypt(payload:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:).json new file mode 100644 index 0000000..40c3ee5 --- /dev/null +++ b/data/documentation/jose_swift/jwt/encrypt(payload:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:).json @@ -0,0 +1 @@ +{"abstract":[{"text":"Encrypts the payload of a JWT and returns it in JWE format.","type":"text"}],"variants":[{"paths":["\/documentation\/jose_swift\/jwt\/encrypt(payload:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:)"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/encrypt(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:)","interfaceLanguage":"swift"},"metadata":{"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"encrypt"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"P"},{"text":", ","kind":"text"},{"text":"U","kind":"genericParameter"},{"text":">(","kind":"text"},{"kind":"externalParam","text":"payload"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"C"},{"text":", ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"unprotectedHeader"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"senderKey"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"recipientKey"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"sharedKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"cek"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"initializationVector"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"additionalAuthenticationData","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?) ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"JWT","preciseIdentifier":"s:12JSONWebToken3JWTV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"C"},{"kind":"text","text":">"}],"externalID":"s:12JSONWebToken3JWTV7encrypt7payload15protectedHeader011unprotectedG09senderKey09recipientJ006sharedJ03cek20initializationVector28additionalAuthenticationDataACyxGx_qd__qd_0_Sg0aJ03JWKVSgA2S10Foundation0R0VSgA2WtK0A10Encryption019JWERegisteredFieldsG0Rd__AxYRd_0_r0_lFZ","role":"symbol","title":"encrypt(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:)","extendedModule":"JSONWebToken","conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"code":"C","type":"codeVoice"},{"type":"text","text":" conforms to "},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}]},"modules":[{"relatedModules":["JSONWebToken"],"name":"jose-swift"}],"roleHeading":"Type Method","symbolKind":"method"},"sections":[],"kind":"symbol","primaryContentSections":[{"declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"encrypt"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"externalParam","text":"payload"},{"kind":"text","text":": "},{"text":"C","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"protectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"unprotectedHeader"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"U"},{"text":"? = nil as DefaultJWEHeaderImpl?, ","kind":"text"},{"kind":"externalParam","text":"senderKey"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"recipientKey","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"text":"?, ","kind":"text"},{"text":"sharedKey","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"cek","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"initializationVector"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"? = nil, "},{"text":"additionalAuthenticationData","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"? = nil) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:12JSONWebToken3JWTV","text":"JWT","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"C"},{"text":"> ","kind":"text"},{"text":"where","kind":"keyword"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"P"},{"text":" : ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","text":"JWERegisteredFieldsHeader","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"},{"text":", ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"text":" : ","kind":"text"},{"kind":"typeIdentifier","text":"JWERegisteredFieldsHeader","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"},{"parameters":[{"content":[{"inlineContent":[{"type":"text","text":"The payload to encrypt, conforming to "},{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"type":"text","text":"."}],"type":"paragraph"}],"name":"payload"},{"name":"protectedHeader","content":[{"type":"paragraph","inlineContent":[{"text":"A header with fields that will be protected (encrypted).","type":"text"}]}]},{"content":[{"inlineContent":[{"type":"text","text":"An optional header with fields that will be unprotected (not encrypted)."}],"type":"paragraph"}],"name":"unprotectedHeader"},{"name":"senderKey","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An optional "},{"code":"JWK","type":"codeVoice"},{"type":"text","text":" representing the sender’s key."}]}]},{"name":"recipientKey","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An optional "},{"code":"JWK","type":"codeVoice"},{"type":"text","text":" representing the recipient’s key."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An optional shared symmetric key used in key agreement protocols."}]}],"name":"sharedKey"},{"name":"cek","content":[{"inlineContent":[{"text":"An optional content encryption key.","type":"text"}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"text":"An optional initialization vector for the encryption algorithm.","type":"text"}],"type":"paragraph"}],"name":"initializationVector"},{"content":[{"inlineContent":[{"text":"Optional additional data authenticated along with the payload.","type":"text"}],"type":"paragraph"}],"name":"additionalAuthenticationData"}],"kind":"parameters"},{"kind":"content","content":[{"text":"Return Value","anchor":"return-value","type":"heading","level":2},{"inlineContent":[{"type":"text","text":"An instance of "},{"code":"JWT","type":"codeVoice"},{"type":"text","text":" in JWE format with the encrypted payload."}],"type":"paragraph"}]},{"content":[{"type":"heading","level":2,"text":"Discussion","anchor":"discussion"},{"name":"Throws","style":"note","type":"aside","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An error if the encryption process fails."}]}]}],"kind":"content"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWT"]]},"references":{"doc://jose-swift/documentation/jose_swift/JWT":{"kind":"symbol","title":"JWT","url":"\/documentation\/jose_swift\/jwt","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWT"}],"navigatorTitle":[{"text":"JWT","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT","type":"topic","abstract":[{"type":"codeVoice","code":"JWT"},{"type":"text","text":" represents a JSON Web Token which is a compact, URL-safe means of representing claims to be transferred between two parties."}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWT/encrypt(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:)":{"abstract":[{"text":"Encrypts the payload of a JWT and returns it in JWE format.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/encrypt(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:)","title":"encrypt(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:)","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/jwt\/encrypt(payload:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:)","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"encrypt","kind":"identifier"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"P"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"C","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"protectedHeader"},{"text":": ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"U"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"senderKey"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"recipientKey"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"sharedKey"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"cek","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"text":"initializationVector","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"text":"additionalAuthenticationData","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"JWT","kind":"typeIdentifier","preciseIdentifier":"s:12JSONWebToken3JWTV"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"C"},{"text":">","kind":"text"}],"type":"topic","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"type":"codeVoice","code":"C"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"type":"text","text":"."}]}},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwt/encryptasnested(jwt:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:).json b/data/documentation/jose_swift/jwt/encryptasnested(jwt:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:).json new file mode 100644 index 0000000..6f1e257 --- /dev/null +++ b/data/documentation/jose_swift/jwt/encryptasnested(jwt:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encryptAsNested","kind":"identifier"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":", "},{"text":"U","kind":"genericParameter"},{"kind":"text","text":">("},{"text":"jwt","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWT","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT","preciseIdentifier":"s:12JSONWebToken3JWTV","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"text":"C","kind":"typeIdentifier"},{"text":">, ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"unprotectedHeader"},{"text":": ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":"? = nil as DefaultJWEHeaderImpl?, "},{"kind":"externalParam","text":"senderKey"},{"kind":"text","text":": "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"recipientKey"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK"},{"kind":"text","text":"? = nil, "},{"text":"sharedKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"cek"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"? = nil, "},{"text":"initializationVector","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"text":"additionalAuthenticationData","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"? = nil) "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"JWE","preciseIdentifier":"s:17JSONWebEncryption3JWEV","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},{"kind":"text","text":" "},{"kind":"keyword","text":"where"},{"text":" ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":" : ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","text":"JWERegisteredFieldsHeader"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"U"},{"text":" : ","kind":"text"},{"text":"JWERegisteredFieldsHeader","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"text":"The JWT string to be encrypted.","type":"text"}]}],"name":"jwtString"},{"content":[{"type":"paragraph","inlineContent":[{"text":"A header with fields that will be protected (encrypted) in the outer JWE layer.","type":"text"}]}],"name":"protectedHeader"},{"content":[{"inlineContent":[{"type":"text","text":"An optional header with fields that will be unprotected (not encrypted) in the outer JWE layer."}],"type":"paragraph"}],"name":"unprotectedHeader"},{"content":[{"inlineContent":[{"type":"text","text":"An optional "},{"code":"JWK","type":"codeVoice"},{"type":"text","text":" representing the sender’s key for the outer JWE layer."}],"type":"paragraph"}],"name":"senderKey"},{"name":"recipientKey","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An optional "},{"type":"codeVoice","code":"JWK"},{"text":" representing the recipient’s key for the outer JWE layer.","type":"text"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An optional shared symmetric key used in key agreement protocols for the outer JWE layer."}]}],"name":"sharedKey"},{"content":[{"inlineContent":[{"type":"text","text":"An optional content encryption key for the outer JWE layer."}],"type":"paragraph"}],"name":"cek"},{"name":"initializationVector","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An optional initialization vector for the outer JWE encryption algorithm."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Optional additional data authenticated along with the payload for the outer JWE layer."}]}],"name":"additionalAuthenticationData"}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"text":"Return Value","type":"heading"},{"inlineContent":[{"type":"text","text":"A string representing the encrypted JWT in JWE format."}],"type":"paragraph"}]},{"kind":"content","content":[{"level":2,"text":"Discussion","type":"heading","anchor":"discussion"},{"inlineContent":[{"text":"This method is used for creating a nested JWT, where the payload is another JWT string.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It encrypts the provided JWT string and wraps it in a new JWE structure."}],"type":"paragraph"},{"type":"aside","style":"note","name":"Throws","content":[{"inlineContent":[{"text":"An error if the encryption process fails.","type":"text"}],"type":"paragraph"}]}]}],"abstract":[{"text":"Encrypts a JWT string as a nested JWT in JWE format.","type":"text"}],"kind":"symbol","sections":[],"metadata":{"extendedModule":"JSONWebToken","roleHeading":"Type Method","symbolKind":"method","modules":[{"relatedModules":["JSONWebToken"],"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encryptAsNested","kind":"identifier"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":", "},{"text":"U","kind":"genericParameter"},{"kind":"text","text":">("},{"text":"jwt","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWT","preciseIdentifier":"s:12JSONWebToken3JWTV","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"C"},{"text":">, ","kind":"text"},{"kind":"externalParam","text":"protectedHeader"},{"kind":"text","text":": "},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"unprotectedHeader"},{"text":": ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"senderKey"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"recipientKey"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"sharedKey","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"cek","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"initializationVector"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"additionalAuthenticationData"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?) "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption3JWEV","text":"JWE"}],"title":"encryptAsNested(jwt:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:)","externalID":"s:12JSONWebToken3JWTV15encryptAsNested3jwt15protectedHeader011unprotectedI09senderKey09recipientL006sharedL03cek20initializationVector28additionalAuthenticationData0A10Encryption3JWEVACyxG_qd__qd_0_Sg0aL03JWKVSgA2V10Foundation0T0VSgA2ZtKAN019JWERegisteredFieldsI0Rd__ANA_Rd_0_r0_lFZ","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"constraints":[{"code":"C","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"text":".","type":"text"}]},"role":"symbol"},"schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWT"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/encryptAsNested(jwt:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:)","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwt\/encryptasnested(jwt:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:)"]}],"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift/JWT":{"kind":"symbol","title":"JWT","url":"\/documentation\/jose_swift\/jwt","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWT"}],"navigatorTitle":[{"text":"JWT","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT","type":"topic","abstract":[{"type":"codeVoice","code":"JWT"},{"type":"text","text":" represents a JSON Web Token which is a compact, URL-safe means of representing claims to be transferred between two parties."}]},"doc://jose-swift/documentation/jose_swift/JWT/encryptAsNested(jwt:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:)":{"role":"symbol","kind":"symbol","type":"topic","abstract":[{"type":"text","text":"Encrypts a JWT string as a nested JWT in JWE format."}],"url":"\/documentation\/jose_swift\/jwt\/encryptasnested(jwt:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"encryptAsNested"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":", "},{"text":"U","kind":"genericParameter"},{"text":">(","kind":"text"},{"text":"jwt","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWT","kind":"typeIdentifier","preciseIdentifier":"s:12JSONWebToken3JWTV"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"C"},{"kind":"text","text":">, "},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"P"},{"text":", ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"text":"recipientKey","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"sharedKey","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"cek"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"?, "},{"text":"additionalAuthenticationData","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","text":"JWE","preciseIdentifier":"s:17JSONWebEncryption3JWEV"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/encryptAsNested(jwt:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:)","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"C"},{"type":"text","text":" conforms to "},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"type":"text","text":"."}],"conformancePrefix":[{"text":"Conforms when","type":"text"}]},"title":"encryptAsNested(jwt:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:)"},"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","type":"link","titleInlineContent":[{"text":"RFC7517","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwt/encryptasnested(payload:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:nestedprotectedheader:nestedunprotectedheader:nestedsenderkey:nestedrecipientkey:nestedsharedke-6vzse.json b/data/documentation/jose_swift/jwt/encryptasnested(payload:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:nestedprotectedheader:nestedunprotectedheader:nestedsenderkey:nestedrecipientkey:nestedsharedke-6vzse.json new file mode 100644 index 0000000..f21d6f2 --- /dev/null +++ b/data/documentation/jose_swift/jwt/encryptasnested(payload:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:nestedprotectedheader:nestedunprotectedheader:nestedsenderkey:nestedrecipientkey:nestedsharedke-6vzse.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwt\/encryptasnested(payload:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:nestedprotectedheader:nestedunprotectedheader:nestedsenderkey:nestedrecipientkey:nestedsharedke-6vzse"]}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWT"]]},"sections":[],"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"encryptAsNested"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"U"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"NP"},{"text":", ","kind":"text"},{"text":"NU","kind":"genericParameter"},{"kind":"text","text":">("},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"C"},{"kind":"text","text":", "},{"text":"protectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"unprotectedHeader"},{"text":": ","kind":"text"},{"text":"U","kind":"typeIdentifier"},{"kind":"text","text":"? = nil as DefaultJWEHeaderImpl?, "},{"text":"senderKey","kind":"externalParam"},{"kind":"text","text":": "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"recipientKey"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier"},{"text":"? = nil, ","kind":"text"},{"text":"sharedKey","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"? = nil, "},{"text":"cek","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"initializationVector"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"? = nil, ","kind":"text"},{"text":"additionalAuthenticationData","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"text":"nestedProtectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"NP"},{"text":", ","kind":"text"},{"text":"nestedUnprotectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"NU","kind":"typeIdentifier"},{"text":"? = nil as DefaultJWEHeaderImpl?, ","kind":"text"},{"text":"nestedSenderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier"},{"text":"? = nil, ","kind":"text"},{"text":"nestedRecipientKey","kind":"externalParam"},{"kind":"text","text":": "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"nestedSharedKey"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"nestedCek"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"nestedInitializationVector"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"? = nil, ","kind":"text"},{"text":"nestedAdditionalAuthenticationData","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"? = nil) ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"JWE","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE","preciseIdentifier":"s:17JSONWebEncryption3JWEV"},{"kind":"text","text":" "},{"text":"where","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"text":" : ","kind":"text"},{"text":"JWERegisteredFieldsHeader","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","text":"JWERegisteredFieldsHeader","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"NP"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"JWERegisteredFieldsHeader","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"NU"},{"kind":"text","text":" : "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","kind":"typeIdentifier","text":"JWERegisteredFieldsHeader","preciseIdentifier":"s:17JSONWebEncryption25JWERegisteredFieldsHeaderP"}]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The payload to encrypt, conforming to "},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"text":".","type":"text"}]}],"name":"payload"},{"content":[{"inlineContent":[{"text":"A header with fields that will be protected (encrypted) in the outer JWE layer.","type":"text"}],"type":"paragraph"}],"name":"protectedHeader"},{"name":"unprotectedHeader","content":[{"type":"paragraph","inlineContent":[{"text":"An optional header with fields that will be unprotected (not encrypted) in the outer JWE layer.","type":"text"}]}]},{"name":"senderKey","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An optional "},{"type":"codeVoice","code":"JWK"},{"type":"text","text":" representing the sender’s key for the outer JWE layer."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"An optional ","type":"text"},{"code":"JWK","type":"codeVoice"},{"text":" representing the recipient’s key for the outer JWE layer.","type":"text"}]}],"name":"recipientKey"},{"content":[{"inlineContent":[{"type":"text","text":"An optional shared symmetric key used in key agreement protocols for the outer JWE layer."}],"type":"paragraph"}],"name":"sharedKey"},{"content":[{"inlineContent":[{"text":"An optional content encryption key for the outer JWE layer.","type":"text"}],"type":"paragraph"}],"name":"cek"},{"name":"initializationVector","content":[{"type":"paragraph","inlineContent":[{"text":"An optional initialization vector for the outer JWE encryption algorithm.","type":"text"}]}]},{"content":[{"inlineContent":[{"text":"Optional additional data authenticated along with the payload for the outer JWE layer.","type":"text"}],"type":"paragraph"}],"name":"additionalAuthenticationData"},{"name":"nestedProtectedHeader","content":[{"type":"paragraph","inlineContent":[{"text":"A header with fields that will be protected (encrypted) in the inner JWE layer.","type":"text"}]}]},{"name":"nestedUnprotectedHeader","content":[{"type":"paragraph","inlineContent":[{"text":"An optional header with fields that will be unprotected (not encrypted) in the inner JWE layer.","type":"text"}]}]},{"name":"nestedSenderKey","content":[{"inlineContent":[{"text":"An optional ","type":"text"},{"type":"codeVoice","code":"JWK"},{"type":"text","text":" representing the sender’s key for the inner JWE layer."}],"type":"paragraph"}]},{"name":"nestedRecipientKey","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An optional "},{"type":"codeVoice","code":"JWK"},{"type":"text","text":" representing the recipient’s key for the inner JWE layer."}]}]},{"name":"nestedSharedKey","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An optional shared symmetric key used in key agreement protocols for the inner JWE layer."}]}]},{"name":"nestedCek","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An optional content encryption key for the inner JWE layer."}]}]},{"content":[{"inlineContent":[{"text":"An optional initialization vector for the inner JWE encryption algorithm.","type":"text"}],"type":"paragraph"}],"name":"nestedInitializationVector"},{"name":"nestedAdditionalAuthenticationData","content":[{"inlineContent":[{"type":"text","text":"Optional additional data authenticated along with the payload for the inner JWE layer."}],"type":"paragraph"}]}]},{"kind":"content","content":[{"level":2,"text":"Return Value","anchor":"return-value","type":"heading"},{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"code":"JWE","type":"codeVoice"},{"type":"text","text":" instance representing the doubly encrypted nested JWT."}]}]},{"kind":"content","content":[{"anchor":"discussion","text":"Discussion","level":2,"type":"heading"},{"type":"paragraph","inlineContent":[{"text":"This method creates a nested JWE structure with two layers of encryption. The inner layer encrypts the payload,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and the outer layer encrypts the resulting JWT from the inner encryption."}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An error if the encryption process fails."}]}],"style":"note","name":"Throws","type":"aside"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"code":"C","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"text":".","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"encryptAsNested","kind":"identifier"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"P"},{"text":", ","kind":"text"},{"text":"U","kind":"genericParameter"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"NP"},{"kind":"text","text":", "},{"text":"NU","kind":"genericParameter"},{"text":">(","kind":"text"},{"kind":"externalParam","text":"payload"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"C"},{"text":", ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"kind":"text","text":", "},{"kind":"externalParam","text":"unprotectedHeader"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"senderKey"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"kind":"text","text":"?, "},{"text":"recipientKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"sharedKey"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"?, "},{"text":"cek","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"initializationVector"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"additionalAuthenticationData"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"nestedProtectedHeader"},{"text":": ","kind":"text"},{"text":"NP","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"nestedUnprotectedHeader"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"NU"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"nestedSenderKey"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"nestedRecipientKey","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"text":"?, ","kind":"text"},{"text":"nestedSharedKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"text":"nestedCek","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"nestedInitializationVector"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"nestedAdditionalAuthenticationData","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?) ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"JWE","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption3JWEV"}],"role":"symbol","title":"encryptAsNested(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:nestedProtectedHeader:nestedUnprotectedHeader:nestedSenderKey:nestedRecipientKey:nestedSharedKey:nestedCek:nestedInitializationVector:nestedAdditionalAuthenticationData:)","modules":[{"name":"jose-swift","relatedModules":["JSONWebToken"]}],"extendedModule":"JSONWebToken","externalID":"s:12JSONWebToken3JWTV15encryptAsNested7payload15protectedHeader011unprotectedI09senderKey09recipientL006sharedL03cek20initializationVector28additionalAuthenticationData015nestedProtectedI00u11UnprotectedI00u6SenderL00u9RecipientL00u6SharedL00U3Cek0u14InitializationQ00u10AdditionalsT00A10Encryption3JWEVx_qd__qd_0_Sg0aL03JWKVSgA1_A1_10Foundation0T0VSgA5_A5_qd_1_qd_2_SgA1_A1_A1_A5_A5_A5_tKAV019JWERegisteredFieldsI0Rd__AVA7_Rd_0_AVA7_Rd_1_AVA7_Rd_2_r2_lFZ","roleHeading":"Type Method","symbolKind":"method"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/encryptAsNested(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:nestedProtectedHeader:nestedUnprotectedHeader:nestedSenderKey:nestedRecipientKey:nestedSharedKey:nestedCek:nestedInitializationVector:nestedAdditionalAuthenticationData:)","interfaceLanguage":"swift"},"abstract":[{"text":"Encrypts a JWT payload as a nested JWT in JWE format with distinct outer and inner JWE headers.","type":"text"}],"references":{"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},"doc://jose-swift/documentation/jose_swift/JWT":{"kind":"symbol","title":"JWT","url":"\/documentation\/jose_swift\/jwt","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWT"}],"navigatorTitle":[{"text":"JWT","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT","type":"topic","abstract":[{"type":"codeVoice","code":"JWT"},{"type":"text","text":" represents a JSON Web Token which is a compact, URL-safe means of representing claims to be transferred between two parties."}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWERegisteredFieldsHeader":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWERegisteredFieldsHeader","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWERegisteredFieldsHeader"},{"text":" protocol defines the standard fields used in the header of a JSON Web Encryption (JWE) object.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It includes fields for specifying algorithms, keys, and other metadata related to JWE."}],"type":"topic","url":"\/documentation\/jose_swift\/jweregisteredfieldsheader","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWERegisteredFieldsHeader","title":"JWERegisteredFieldsHeader","navigatorTitle":[{"kind":"identifier","text":"JWERegisteredFieldsHeader"}]},"doc://jose-swift/documentation/jose_swift/JWT/encryptAsNested(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:nestedProtectedHeader:nestedUnprotectedHeader:nestedSenderKey:nestedRecipientKey:nestedSharedKey:nestedCek:nestedInitializationVector:nestedAdditionalAuthenticationData:)":{"kind":"symbol","title":"encryptAsNested(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:nestedProtectedHeader:nestedUnprotectedHeader:nestedSenderKey:nestedRecipientKey:nestedSharedKey:nestedCek:nestedInitializationVector:nestedAdditionalAuthenticationData:)","url":"\/documentation\/jose_swift\/jwt\/encryptasnested(payload:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:nestedprotectedheader:nestedunprotectedheader:nestedsenderkey:nestedrecipientkey:nestedsharedke-6vzse","role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"encryptAsNested","kind":"identifier"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":", "},{"text":"U","kind":"genericParameter"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"NP"},{"text":", ","kind":"text"},{"kind":"genericParameter","text":"NU"},{"kind":"text","text":">("},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"C","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"protectedHeader"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"text":", ","kind":"text"},{"text":"unprotectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"U"},{"text":"?, ","kind":"text"},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"recipientKey"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"text":"sharedKey","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"cek"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"initializationVector"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"text":"additionalAuthenticationData","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"nestedProtectedHeader"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"NP"},{"text":", ","kind":"text"},{"text":"nestedUnprotectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"NU"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"nestedSenderKey"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"text":"nestedRecipientKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"nestedSharedKey"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"nestedCek"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?, ","kind":"text"},{"text":"nestedInitializationVector","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"nestedAdditionalAuthenticationData","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?) "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"JWE","preciseIdentifier":"s:17JSONWebEncryption3JWEV","kind":"typeIdentifier"}],"conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"type":"codeVoice","code":"C"},{"type":"text","text":" conforms to "},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"text":".","type":"text"}],"availabilityPrefix":[{"text":"Available when","type":"text"}]},"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/encryptAsNested(payload:protectedHeader:unprotectedHeader:senderKey:recipientKey:sharedKey:cek:initializationVector:additionalAuthenticationData:nestedProtectedHeader:nestedUnprotectedHeader:nestedSenderKey:nestedRecipientKey:nestedSharedKey:nestedCek:nestedInitializationVector:nestedAdditionalAuthenticationData:)","abstract":[{"type":"text","text":"Encrypts a JWT payload as a nested JWT in JWE format with distinct outer and inner JWE headers."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwt/format-swift.enum.json b/data/documentation/jose_swift/jwt/format-swift.enum.json new file mode 100644 index 0000000..c41c0b5 --- /dev/null +++ b/data/documentation/jose_swift/jwt/format-swift.enum.json @@ -0,0 +1 @@ +{"abstract":[{"type":"codeVoice","code":"Format"},{"type":"text","text":" is an enumeration that defines the two possible formats for a JWT: JWE and JWS."}],"kind":"symbol","sections":[],"schemaVersion":{"minor":3,"major":0,"patch":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/Format-swift.enum","interfaceLanguage":"swift"},"metadata":{"role":"symbol","title":"JWT.Format","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Format","kind":"identifier"}],"modules":[{"name":"jose-swift"}],"symbolKind":"enum","navigatorTitle":[{"kind":"identifier","text":"Format"}],"roleHeading":"Enumeration","externalID":"s:12JSONWebToken3JWTV6FormatO"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWT"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jwt\/format-swift.enum"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"Format","kind":"identifier"}],"languages":["swift"]}],"kind":"declarations"}],"topicSections":[{"title":"Enumeration Cases","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/Format-swift.enum\/jwe(_:)","doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/Format-swift.enum\/jws(_:)"]}],"references":{"doc://jose-swift/documentation/jose_swift/JWT/Format-swift.enum":{"kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/jwt\/format-swift.enum","role":"symbol","title":"JWT.Format","navigatorTitle":[{"kind":"identifier","text":"Format"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Format"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/Format-swift.enum","abstract":[{"code":"Format","type":"codeVoice"},{"text":" is an enumeration that defines the two possible formats for a JWT: JWE and JWS.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWT":{"kind":"symbol","title":"JWT","url":"\/documentation\/jose_swift\/jwt","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWT"}],"navigatorTitle":[{"text":"JWT","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT","type":"topic","abstract":[{"type":"codeVoice","code":"JWT"},{"type":"text","text":" represents a JSON Web Token which is a compact, URL-safe means of representing claims to be transferred between two parties."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWT/Format-swift.enum/jwe(_:)":{"role":"symbol","type":"topic","title":"JWT.Format.jwe(_:)","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwe","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption3JWEV","text":"JWE"},{"text":")","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/Format-swift.enum\/jwe(_:)","kind":"symbol","abstract":[{"text":"JWE format, representing an encrypted JWT.","type":"text"}],"url":"\/documentation\/jose_swift\/jwt\/format-swift.enum\/jwe(_:)"},"doc://jose-swift/documentation/jose_swift/JWT/Format-swift.enum/jws(_:)":{"type":"topic","url":"\/documentation\/jose_swift\/jwt\/format-swift.enum\/jws(_:)","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"jws","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature3JWSV","text":"JWS"},{"text":")","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/Format-swift.enum\/jws(_:)","title":"JWT.Format.jws(_:)","abstract":[{"text":"JWS format, representing a signed JWT.","type":"text"}],"kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwt/format-swift.enum/jwe(_:).json b/data/documentation/jose_swift/jwt/format-swift.enum/jwe(_:).json new file mode 100644 index 0000000..49dd540 --- /dev/null +++ b/data/documentation/jose_swift/jwt/format-swift.enum/jwe(_:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWT","doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/Format-swift.enum"]]},"abstract":[{"type":"text","text":"JWE format, representing an encrypted JWT."}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwe","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"JWE","preciseIdentifier":"s:17JSONWebEncryption3JWEV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/Format-swift.enum\/jwe(_:)","interfaceLanguage":"swift"},"sections":[],"variants":[{"paths":["\/documentation\/jose_swift\/jwt\/format-swift.enum\/jwe(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"title":"JWT.Format.jwe(_:)","roleHeading":"Case","role":"symbol","modules":[{"name":"jose-swift"}],"externalID":"s:12JSONWebToken3JWTV6FormatO3jweyAEyx_G0A10Encryption3JWEVcAGmAA25JWTRegisteredFieldsClaimsRzlF","symbolKind":"case","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwe"},{"kind":"text","text":"("},{"preciseIdentifier":"s:17JSONWebEncryption3JWEV","kind":"typeIdentifier","text":"JWE"},{"text":")","kind":"text"}]},"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWT/Format-swift.enum/jwe(_:)":{"role":"symbol","type":"topic","title":"JWT.Format.jwe(_:)","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwe","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebEncryption3JWEV","text":"JWE"},{"text":")","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/Format-swift.enum\/jwe(_:)","kind":"symbol","abstract":[{"text":"JWE format, representing an encrypted JWT.","type":"text"}],"url":"\/documentation\/jose_swift\/jwt\/format-swift.enum\/jwe(_:)"},"doc://jose-swift/documentation/jose_swift/JWE":{"url":"\/documentation\/jose_swift\/jwe","kind":"symbol","title":"JWE","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWE"}],"navigatorTitle":[{"kind":"identifier","text":"JWE"}],"type":"topic","abstract":[{"type":"codeVoice","code":"JWE"},{"type":"text","text":" struct represents a JSON Web Encryption (JWE) object."},{"type":"text","text":" "},{"text":"It provides mechanisms to encrypt content, represented as the ","type":"text"},{"type":"codeVoice","code":"cipher"},{"text":", along with various headers and authentication data.","type":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWE"},"doc://jose-swift/documentation/jose_swift/JWT":{"kind":"symbol","title":"JWT","url":"\/documentation\/jose_swift\/jwt","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWT"}],"navigatorTitle":[{"text":"JWT","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT","type":"topic","abstract":[{"type":"codeVoice","code":"JWT"},{"type":"text","text":" represents a JSON Web Token which is a compact, URL-safe means of representing claims to be transferred between two parties."}]},"doc://jose-swift/documentation/jose_swift/JWT/Format-swift.enum":{"kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/jwt\/format-swift.enum","role":"symbol","title":"JWT.Format","navigatorTitle":[{"kind":"identifier","text":"Format"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Format"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/Format-swift.enum","abstract":[{"code":"Format","type":"codeVoice"},{"text":" is an enumeration that defines the two possible formats for a JWT: JWE and JWS.","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwt/format-swift.enum/jws(_:).json b/data/documentation/jose_swift/jwt/format-swift.enum/jws(_:).json new file mode 100644 index 0000000..958e54f --- /dev/null +++ b/data/documentation/jose_swift/jwt/format-swift.enum/jws(_:).json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwt\/format-swift.enum\/jws(_:)"]}],"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"metadata":{"role":"symbol","externalID":"s:12JSONWebToken3JWTV6FormatO3jwsyAEyx_G0A9Signature3JWSVcAGmAA25JWTRegisteredFieldsClaimsRzlF","symbolKind":"case","roleHeading":"Case","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jws","kind":"identifier"},{"text":"(","kind":"text"},{"text":"JWS","kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature3JWSV"},{"kind":"text","text":")"}],"modules":[{"name":"jose-swift"}],"title":"JWT.Format.jws(_:)"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"jws","kind":"identifier"},{"kind":"text","text":"("},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","kind":"typeIdentifier","text":"JWS","preciseIdentifier":"s:16JSONWebSignature3JWSV"},{"text":")","kind":"text"}],"languages":["swift"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWT","doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/Format-swift.enum"]]},"abstract":[{"text":"JWS format, representing a signed JWT.","type":"text"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/Format-swift.enum\/jws(_:)","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift/JWT/Format-swift.enum":{"kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/jwt\/format-swift.enum","role":"symbol","title":"JWT.Format","navigatorTitle":[{"kind":"identifier","text":"Format"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Format"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/Format-swift.enum","abstract":[{"code":"Format","type":"codeVoice"},{"text":" is an enumeration that defines the two possible formats for a JWT: JWE and JWS.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/JWT/Format-swift.enum/jws(_:)":{"type":"topic","url":"\/documentation\/jose_swift\/jwt\/format-swift.enum\/jws(_:)","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"jws","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature3JWSV","text":"JWS"},{"text":")","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/Format-swift.enum\/jws(_:)","title":"JWT.Format.jws(_:)","abstract":[{"text":"JWS format, representing a signed JWT.","type":"text"}],"kind":"symbol"},"https://tools.ietf.org/html/rfc7515":{"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","type":"link","titleInlineContent":[{"type":"text","text":"RFC7515"}],"url":"https:\/\/tools.ietf.org\/html\/rfc7515","title":"RFC7515"},"doc://jose-swift/documentation/jose_swift/JWT":{"kind":"symbol","title":"JWT","url":"\/documentation\/jose_swift\/jwt","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWT"}],"navigatorTitle":[{"text":"JWT","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT","type":"topic","abstract":[{"type":"codeVoice","code":"JWT"},{"type":"text","text":" represents a JSON Web Token which is a compact, URL-safe means of representing claims to be transferred between two parties."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwt/format-swift.property.json b/data/documentation/jose_swift/jwt/format-swift.property.json new file mode 100644 index 0000000..b0dc321 --- /dev/null +++ b/data/documentation/jose_swift/jwt/format-swift.property.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"kind":"identifier","text":"format"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT","kind":"typeIdentifier","text":"JWT","preciseIdentifier":"s:12JSONWebToken3JWTV"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"C"},{"text":">.","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/Format-swift.enum","preciseIdentifier":"s:12JSONWebToken3JWTV6FormatO","text":"Format"}]}],"kind":"declarations"}],"metadata":{"externalID":"s:12JSONWebToken3JWTV6formatAC6FormatOyx_Gvp","role":"symbol","symbolKind":"property","title":"format","modules":[{"name":"jose-swift"}],"fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"format"},{"kind":"text","text":": "},{"preciseIdentifier":"s:12JSONWebToken3JWTV","kind":"typeIdentifier","text":"JWT"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"C"},{"text":">.","kind":"text"},{"text":"Format","kind":"typeIdentifier","preciseIdentifier":"s:12JSONWebToken3JWTV6FormatO"}],"roleHeading":"Instance Property"},"abstract":[{"text":"The format of the JWT, either JWE (encrypted) or JWS (signed).","type":"text"}],"sections":[],"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/format-swift.property"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWT"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jwt\/format-swift.property"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/JWT":{"kind":"symbol","title":"JWT","url":"\/documentation\/jose_swift\/jwt","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWT"}],"navigatorTitle":[{"text":"JWT","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT","type":"topic","abstract":[{"type":"codeVoice","code":"JWT"},{"type":"text","text":" represents a JSON Web Token which is a compact, URL-safe means of representing claims to be transferred between two parties."}]},"doc://jose-swift/documentation/jose_swift/JWT/format-swift.property":{"kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/jwt\/format-swift.property","role":"symbol","title":"format","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"format","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:12JSONWebToken3JWTV","text":"JWT"},{"kind":"text","text":"<"},{"text":"C","kind":"typeIdentifier"},{"kind":"text","text":">."},{"preciseIdentifier":"s:12JSONWebToken3JWTV6FormatO","kind":"typeIdentifier","text":"Format"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/format-swift.property","abstract":[{"type":"text","text":"The format of the JWT, either JWE (encrypted) or JWS (signed)."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWT/Format-swift.enum":{"kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/jwt\/format-swift.enum","role":"symbol","title":"JWT.Format","navigatorTitle":[{"kind":"identifier","text":"Format"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Format"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/Format-swift.enum","abstract":[{"code":"Format","type":"codeVoice"},{"text":" is an enumeration that defines the two possible formats for a JWT: JWE and JWS.","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwt/jwtstring.json b/data/documentation/jose_swift/jwt/jwtstring.json new file mode 100644 index 0000000..8c1c71e --- /dev/null +++ b/data/documentation/jose_swift/jwt/jwtstring.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwtString","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":" { "},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"metadata":{"role":"symbol","roleHeading":"Instance Property","externalID":"s:12JSONWebToken3JWTV9jwtStringSSvp","symbolKind":"property","title":"jwtString","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwtString"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}]},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwt\/jwtstring"]}],"kind":"symbol","abstract":[{"type":"text","text":"A computed property that returns the JWT in its compact string representation."},{"type":"text","text":" "},{"type":"text","text":"If the JWT is in JWE format, it returns the compact serialization of the JWE."},{"type":"text","text":" "},{"type":"text","text":"If in JWS format, it returns the compact serialization of the JWS."}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWT"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/jwtString","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://jose-swift/documentation/jose_swift/JWT/jwtString":{"kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/jwt\/jwtstring","role":"symbol","title":"jwtString","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"jwtString","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/jwtString","abstract":[{"text":"A computed property that returns the JWT in its compact string representation.","type":"text"},{"text":" ","type":"text"},{"text":"If the JWT is in JWE format, it returns the compact serialization of the JWE.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"If in JWS format, it returns the compact serialization of the JWS."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWT":{"kind":"symbol","title":"JWT","url":"\/documentation\/jose_swift\/jwt","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWT"}],"navigatorTitle":[{"text":"JWT","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT","type":"topic","abstract":[{"type":"codeVoice","code":"JWT"},{"type":"text","text":" represents a JSON Web Token which is a compact, URL-safe means of representing claims to be transferred between two parties."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwt/payload.json b/data/documentation/jose_swift/jwt/payload.json new file mode 100644 index 0000000..f2984e6 --- /dev/null +++ b/data/documentation/jose_swift/jwt/payload.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWT"]]},"metadata":{"modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"payload"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"C"}],"role":"symbol","title":"payload","externalID":"s:12JSONWebToken3JWTV7payloadxvp","symbolKind":"property","roleHeading":"Instance Property"},"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/payload"},"abstract":[{"text":"The payload of the JWT, containing the claims.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"payload","kind":"identifier"},{"kind":"text","text":": "},{"text":"C","kind":"typeIdentifier"}],"platforms":["macOS"],"languages":["swift"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwt\/payload"]}],"references":{"doc://jose-swift/documentation/jose_swift/JWT":{"kind":"symbol","title":"JWT","url":"\/documentation\/jose_swift\/jwt","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWT"}],"navigatorTitle":[{"text":"JWT","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT","type":"topic","abstract":[{"type":"codeVoice","code":"JWT"},{"type":"text","text":" represents a JSON Web Token which is a compact, URL-safe means of representing claims to be transferred between two parties."}]},"doc://jose-swift/documentation/jose_swift/JWT/payload":{"kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/jwt\/payload","role":"symbol","title":"payload","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"payload","kind":"identifier"},{"kind":"text","text":": "},{"text":"C","kind":"typeIdentifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/payload","abstract":[{"type":"text","text":"The payload of the JWT, containing the claims."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwt/signed(payload:protectedheader:key:).json b/data/documentation/jose_swift/jwt/signed(payload:protectedheader:key:).json new file mode 100644 index 0000000..16c9452 --- /dev/null +++ b/data/documentation/jose_swift/jwt/signed(payload:protectedheader:key:).json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/jwt\/signed(payload:protectedheader:key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWT"]]},"abstract":[{"type":"text","text":"Creates a signed JWT using the provided payload, header, and key."}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"metadata":{"role":"symbol","modules":[{"relatedModules":["JSONWebToken"],"name":"jose-swift"}],"roleHeading":"Type Method","externalID":"s:12JSONWebToken3JWTV6signed7payload15protectedHeader3keyACyxGx_qd__0A3Key3JWKVSgtK0A9Signature019JWSRegisteredFieldsG0Rd__lFZ","title":"signed(payload:protectedHeader:key:)","symbolKind":"method","extendedModule":"JSONWebToken","conformance":{"constraints":[{"type":"codeVoice","code":"C"},{"type":"text","text":" conforms to "},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}]},"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"signed","kind":"identifier"},{"kind":"text","text":"<"},{"text":"P","kind":"genericParameter"},{"text":">(","kind":"text"},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"C"},{"kind":"text","text":", "},{"text":"protectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"JWT","preciseIdentifier":"s:12JSONWebToken3JWTV"},{"text":"<","kind":"text"},{"text":"C","kind":"typeIdentifier"},{"text":">","kind":"text"}]},"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/signed(payload:protectedHeader:key:)","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"signed","kind":"identifier"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"text":">(","kind":"text"},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"C"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"protectedHeader"},{"kind":"text","text":": "},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"key","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"text":"?) ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:12JSONWebToken3JWTV","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT","text":"JWT"},{"text":"<","kind":"text"},{"text":"C","kind":"typeIdentifier"},{"text":"> ","kind":"text"},{"kind":"keyword","text":"where"},{"text":" ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":" : "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","text":"JWSRegisteredFieldsHeader","kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"},{"parameters":[{"content":[{"type":"paragraph","inlineContent":[{"text":"The payload to be included in the JWT, conforming to ","type":"text"},{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"type":"text","text":"."}]}],"name":"payload"},{"name":"protectedHeader","content":[{"inlineContent":[{"type":"text","text":"A "},{"code":"JWSRegisteredFieldsHeader","type":"codeVoice"},{"text":" containing header fields that will be protected in the JWS.","type":"text"}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"code":"JWK","type":"codeVoice"},{"text":" (JSON Web Key) used for signing the payload.","type":"text"}]}],"name":"key"}],"kind":"parameters"},{"content":[{"anchor":"return-value","text":"Return Value","level":2,"type":"heading"},{"inlineContent":[{"type":"text","text":"A "},{"code":"JWT","type":"codeVoice"},{"text":" instance in JWS format with the signed payload.","type":"text"}],"type":"paragraph"}],"kind":"content"},{"content":[{"type":"heading","text":"Discussion","anchor":"discussion","level":2},{"type":"paragraph","inlineContent":[{"text":"This method signs the payload and creates a JWT in JWS (JSON Web Signature) format.","type":"text"}]},{"style":"note","name":"Throws","type":"aside","content":[{"inlineContent":[{"text":"An error if the signing process fails.","type":"text"}],"type":"paragraph"}]}],"kind":"content"}],"references":{"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"text":"RFC7517","type":"text"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWT":{"kind":"symbol","title":"JWT","url":"\/documentation\/jose_swift\/jwt","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWT"}],"navigatorTitle":[{"text":"JWT","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT","type":"topic","abstract":[{"type":"codeVoice","code":"JWT"},{"type":"text","text":" represents a JSON Web Token which is a compact, URL-safe means of representing claims to be transferred between two parties."}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWT/signed(payload:protectedHeader:key:)":{"kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/jwt\/signed(payload:protectedheader:key:)","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"C","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"text":".","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"role":"symbol","title":"signed(payload:protectedHeader:key:)","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"signed","kind":"identifier"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"C"},{"text":", ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"P"},{"kind":"text","text":", "},{"text":"key","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"JWT","kind":"typeIdentifier","preciseIdentifier":"s:12JSONWebToken3JWTV"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"C"},{"text":">","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/signed(payload:protectedHeader:key:)","abstract":[{"type":"text","text":"Creates a signed JWT using the provided payload, header, and key."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwt/signedasnested(jwtstring:protectedheader:key:).json b/data/documentation/jose_swift/jwt/signedasnested(jwtstring:protectedheader:key:).json new file mode 100644 index 0000000..347fe2c --- /dev/null +++ b/data/documentation/jose_swift/jwt/signedasnested(jwtstring:protectedheader:key:).json @@ -0,0 +1 @@ +{"kind":"symbol","metadata":{"roleHeading":"Type Method","symbolKind":"method","externalID":"s:12JSONWebToken3JWTV14signedAsNested9jwtString15protectedHeader3key0A9Signature3JWSVSS_qd__0A3Key3JWKVSgtKAH019JWSRegisteredFieldsJ0Rd__lFZ","modules":[{"relatedModules":["JSONWebToken"],"name":"jose-swift"}],"conformance":{"constraints":[{"type":"codeVoice","code":"C"},{"text":" conforms to ","type":"text"},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"text":".","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}]},"extendedModule":"JSONWebToken","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"signedAsNested"},{"kind":"text","text":"<"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"jwtString"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"protectedHeader"},{"text":": ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:16JSONWebSignature3JWSV","text":"JWS","kind":"typeIdentifier"}],"title":"signedAsNested(jwtString:protectedHeader:key:)","role":"symbol"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/signedAsNested(jwtString:protectedHeader:key:)"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWT"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"signedAsNested","kind":"identifier"},{"kind":"text","text":"<"},{"text":"P","kind":"genericParameter"},{"text":">(","kind":"text"},{"text":"jwtString","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":", ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"text":"P","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","kind":"typeIdentifier","text":"JWS","preciseIdentifier":"s:16JSONWebSignature3JWSV"},{"kind":"text","text":" "},{"text":"where","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"text":" : ","kind":"text"},{"text":"JWSRegisteredFieldsHeader","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP"}]}]},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"text":"The JWT string to be signed.","type":"text"}]}],"name":"jwtString"},{"content":[{"inlineContent":[{"text":"A ","type":"text"},{"type":"codeVoice","code":"JWSRegisteredFieldsHeader"},{"type":"text","text":" containing header fields that will be protected in the JWS."}],"type":"paragraph"}],"name":"protectedHeader"},{"name":"key","content":[{"type":"paragraph","inlineContent":[{"text":"The ","type":"text"},{"code":"JWK","type":"codeVoice"},{"text":" used for signing the JWT string.","type":"text"}]}]}]},{"content":[{"anchor":"return-value","type":"heading","level":2,"text":"Return Value"},{"inlineContent":[{"type":"text","text":"A string representing the signed JWT in JWS format."}],"type":"paragraph"}],"kind":"content"},{"content":[{"anchor":"discussion","type":"heading","level":2,"text":"Discussion"},{"inlineContent":[{"type":"text","text":"This method is used for creating a nested JWT, where the payload is another JWT string."},{"text":" ","type":"text"},{"type":"text","text":"It signs the provided JWT string and wraps it in a new JWS structure."}],"type":"paragraph"},{"type":"aside","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An error if the signing process fails."}]}],"style":"note","name":"Throws"}],"kind":"content"}],"sections":[],"abstract":[{"text":"Signs a JWT string as a nested JWT in JWS format.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwt\/signedasnested(jwtstring:protectedheader:key:)"]}],"schemaVersion":{"patch":0,"minor":3,"major":0},"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWT/signedAsNested(jwtString:protectedHeader:key:)":{"abstract":[{"type":"text","text":"Signs a JWT string as a nested JWT in JWS format."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/signedAsNested(jwtString:protectedHeader:key:)","kind":"symbol","title":"signedAsNested(jwtString:protectedHeader:key:)","role":"symbol","url":"\/documentation\/jose_swift\/jwt\/signedasnested(jwtstring:protectedheader:key:)","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"signedAsNested","kind":"identifier"},{"text":"<","kind":"text"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":">("},{"text":"jwtString","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"P"},{"kind":"text","text":", "},{"text":"key","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"JWS","kind":"typeIdentifier","preciseIdentifier":"s:16JSONWebSignature3JWSV"}],"type":"topic","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"C","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}]}},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift/JWT":{"kind":"symbol","title":"JWT","url":"\/documentation\/jose_swift\/jwt","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWT"}],"navigatorTitle":[{"text":"JWT","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT","type":"topic","abstract":[{"type":"codeVoice","code":"JWT"},{"type":"text","text":" represents a JSON Web Token which is a compact, URL-safe means of representing claims to be transferred between two parties."}]},"https://tools.ietf.org/html/rfc7515":{"titleInlineContent":[{"text":"RFC7515","type":"text"}],"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515","title":"RFC7515","type":"link","url":"https:\/\/tools.ietf.org\/html\/rfc7515"},"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"text":"RFC7517","type":"text"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwt/signedasnested(payload:protectedheader:key:nestedprotectedheader:nestedkey:).json b/data/documentation/jose_swift/jwt/signedasnested(payload:protectedheader:key:nestedprotectedheader:nestedkey:).json new file mode 100644 index 0000000..e418630 --- /dev/null +++ b/data/documentation/jose_swift/jwt/signedasnested(payload:protectedheader:key:nestedprotectedheader:nestedkey:).json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"Signs a JWT payload as a nested JWT in JWS format with distinct inner and outer JWS headers."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwt\/signedasnested(payload:protectedheader:key:nestedprotectedheader:nestedkey:)"]}],"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/signedAsNested(payload:protectedHeader:key:nestedProtectedHeader:nestedKey:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWT"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"signedAsNested","kind":"identifier"},{"kind":"text","text":"<"},{"text":"P","kind":"genericParameter"},{"kind":"text","text":", "},{"text":"NP","kind":"genericParameter"},{"kind":"text","text":">("},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"C","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"nestedProtectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"NP","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"nestedKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"text":"?) ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","text":"JWS","preciseIdentifier":"s:16JSONWebSignature3JWSV","kind":"typeIdentifier"},{"kind":"text","text":" "},{"text":"where","kind":"keyword"},{"text":" ","kind":"text"},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":" : "},{"preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","text":"JWSRegisteredFieldsHeader"},{"text":", ","kind":"text"},{"text":"NP","kind":"typeIdentifier"},{"kind":"text","text":" : "},{"text":"JWSRegisteredFieldsHeader","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","preciseIdentifier":"s:16JSONWebSignature25JWSRegisteredFieldsHeaderP","kind":"typeIdentifier"}],"languages":["swift"]}]},{"parameters":[{"content":[{"inlineContent":[{"type":"text","text":"The payload to be signed, conforming to "},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"text":".","type":"text"}],"type":"paragraph"}],"name":"payload"},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"code":"JWSRegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":" containing header fields for the outer JWS layer."}]}],"name":"protectedHeader"},{"name":"key","content":[{"inlineContent":[{"type":"text","text":"The "},{"code":"JWK","type":"codeVoice"},{"text":" used for signing the outer JWT string.","type":"text"}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"A ","type":"text"},{"code":"JWSRegisteredFieldsHeader","type":"codeVoice"},{"type":"text","text":" containing header fields for the inner JWS layer."}]}],"name":"nestedProtectedHeader"},{"content":[{"type":"paragraph","inlineContent":[{"text":"The ","type":"text"},{"code":"JWK","type":"codeVoice"},{"type":"text","text":" used for signing the inner JWT payload."}]}],"name":"nestedKey"}],"kind":"parameters"},{"kind":"content","content":[{"type":"heading","text":"Return Value","anchor":"return-value","level":2},{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"code":"JWS","type":"codeVoice"},{"text":" instance representing the doubly signed nested JWT.","type":"text"}]}]},{"kind":"content","content":[{"text":"Discussion","type":"heading","anchor":"discussion","level":2},{"inlineContent":[{"text":"This method creates a nested JWS structure where the payload is first signed using the inner header and key,","type":"text"},{"type":"text","text":" "},{"text":"then the resulting JWT string is signed again using the outer header and key.","type":"text"}],"type":"paragraph"},{"content":[{"inlineContent":[{"type":"text","text":"An error if the signing process fails."}],"type":"paragraph"}],"type":"aside","style":"note","name":"Throws"}]}],"kind":"symbol","metadata":{"symbolKind":"method","conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"C"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"type":"text","text":"."}]},"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"signedAsNested","kind":"identifier"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"P"},{"kind":"text","text":", "},{"text":"NP","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"payload"},{"text":": ","kind":"text"},{"text":"C","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"protectedHeader","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"P"},{"text":", ","kind":"text"},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"nestedProtectedHeader"},{"kind":"text","text":": "},{"text":"NP","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"nestedKey","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?) ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"JWS","preciseIdentifier":"s:16JSONWebSignature3JWSV"}],"modules":[{"relatedModules":["JSONWebToken"],"name":"jose-swift"}],"roleHeading":"Type Method","title":"signedAsNested(payload:protectedHeader:key:nestedProtectedHeader:nestedKey:)","extendedModule":"JSONWebToken","role":"symbol","externalID":"s:12JSONWebToken3JWTV14signedAsNested7payload15protectedHeader3key015nestedProtectedI00K3Key0A9Signature3JWSVx_qd__0aM03JWKVSgqd_0_APtKAJ019JWSRegisteredFieldsI0Rd__AjQRd_0_r0_lFZ"},"references":{"https://tools.ietf.org/html/rfc7515":{"titleInlineContent":[{"text":"RFC7515","type":"text"}],"type":"link","title":"RFC7515","url":"https:\/\/tools.ietf.org\/html\/rfc7515","identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWT":{"kind":"symbol","title":"JWT","url":"\/documentation\/jose_swift\/jwt","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWT"}],"navigatorTitle":[{"text":"JWT","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT","type":"topic","abstract":[{"type":"codeVoice","code":"JWT"},{"type":"text","text":" represents a JSON Web Token which is a compact, URL-safe means of representing claims to be transferred between two parties."}]},"doc://jose-swift/documentation/jose_swift/JWT/signedAsNested(payload:protectedHeader:key:nestedProtectedHeader:nestedKey:)":{"kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/jwt\/signedasnested(payload:protectedheader:key:nestedprotectedheader:nestedkey:)","conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"C"},{"text":" conforms to ","type":"text"},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"role":"symbol","title":"signedAsNested(payload:protectedHeader:key:nestedProtectedHeader:nestedKey:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"signedAsNested"},{"kind":"text","text":"<"},{"text":"P","kind":"genericParameter"},{"text":", ","kind":"text"},{"text":"NP","kind":"genericParameter"},{"text":">(","kind":"text"},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"C","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"protectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"text":"P","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"nestedProtectedHeader","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"NP"},{"text":", ","kind":"text"},{"text":"nestedKey","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:16JSONWebSignature3JWSV","kind":"typeIdentifier","text":"JWS"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/signedAsNested(payload:protectedHeader:key:nestedProtectedHeader:nestedKey:)","abstract":[{"text":"Signs a JWT payload as a nested JWT in JWS format with distinct inner and outer JWS headers.","type":"text"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWS":{"kind":"symbol","url":"\/documentation\/jose_swift\/jws","title":"JWS","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWS","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWS"}],"type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWS","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"JWS"},{"text":" represents a JSON Web Signature (JWS) structure as defined in ","type":"text"},{"type":"reference","isActive":true,"identifier":"https:\/\/tools.ietf.org\/html\/rfc7515"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"It encapsulates the protected header, payload, and signature of a JWS,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"and provides functionality for initializing and manipulating JWS objects in compliance with the standard."}]},"doc://jose-swift/documentation/jose_swift/JWSRegisteredFieldsHeader":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWSRegisteredFieldsHeader"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWSRegisteredFieldsHeader","type":"topic","title":"JWSRegisteredFieldsHeader","navigatorTitle":[{"text":"JWSRegisteredFieldsHeader","kind":"identifier"}],"url":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","abstract":[{"type":"codeVoice","code":"JWSProtectedFieldsHeader"},{"text":" protocol defines the structure for the protected header fields used in a JSON Web Signature (JWS).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"It includes various optional fields that can be included in a JWS Header."}]},"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwt/verify(jwtstring:senderkey:recipientkey:nestedkeys:expectedissuer:expectedaudience:).json b/data/documentation/jose_swift/jwt/verify(jwtstring:senderkey:recipientkey:nestedkeys:expectedissuer:expectedaudience:).json new file mode 100644 index 0000000..d2901e8 --- /dev/null +++ b/data/documentation/jose_swift/jwt/verify(jwtstring:senderkey:recipientkey:nestedkeys:expectedissuer:expectedaudience:).json @@ -0,0 +1 @@ +{"metadata":{"symbolKind":"method","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"verify"},{"kind":"text","text":"("},{"kind":"externalParam","text":"jwtString"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":", "},{"text":"senderKey","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"recipientKey"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"nestedKeys","kind":"externalParam"},{"kind":"text","text":": ["},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"], ","kind":"text"},{"text":"expectedIssuer","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"expectedAudience"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:12JSONWebToken3JWTV","text":"JWT"},{"kind":"text","text":"<"},{"text":"C","kind":"typeIdentifier"},{"text":">","kind":"text"}],"externalID":"s:12JSONWebToken3JWTV6verify9jwtString9senderKey09recipientH010nestedKeys14expectedIssuer0L8AudienceACyxGSS_0aH03JWKVSgAOSayANGSSSgAQtKFZ","modules":[{"name":"jose-swift","relatedModules":["JSONWebToken"]}],"extendedModule":"JSONWebToken","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"C"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"text":".","type":"text"}]},"role":"symbol","title":"verify(jwtString:senderKey:recipientKey:nestedKeys:expectedIssuer:expectedAudience:)","roleHeading":"Type Method"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/verify(jwtString:senderKey:recipientKey:nestedKeys:expectedIssuer:expectedAudience:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWT"]]},"schemaVersion":{"patch":0,"minor":3,"major":0},"abstract":[{"type":"text","text":"Verifies a JWT string and returns a decoded JWT if successful."}],"variants":[{"paths":["\/documentation\/jose_swift\/jwt\/verify(jwtstring:senderkey:recipientkey:nestedkeys:expectedissuer:expectedaudience:)"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"verify","kind":"identifier"},{"kind":"text","text":"("},{"text":"jwtString","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":", ","kind":"text"},{"text":"senderKey","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier","text":"JWK"},{"kind":"text","text":"? = nil, "},{"text":"recipientKey","kind":"externalParam"},{"kind":"text","text":": "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"nestedKeys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"] = [], ","kind":"text"},{"text":"expectedIssuer","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"? = nil, ","kind":"text"},{"text":"expectedAudience","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"? = nil) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT","text":"JWT","preciseIdentifier":"s:12JSONWebToken3JWTV"},{"kind":"text","text":"<"},{"text":"C","kind":"typeIdentifier"},{"kind":"text","text":">"}]}]},{"kind":"parameters","parameters":[{"name":"jwtString","content":[{"inlineContent":[{"type":"text","text":"The JWT string to be verified and decoded."}],"type":"paragraph"}]},{"name":"senderKey","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An optional "},{"type":"codeVoice","code":"JWK"},{"type":"text","text":" representing the sender’s key, used for verifying a JWS."}]}]},{"name":"recipientKey","content":[{"inlineContent":[{"type":"text","text":"An optional "},{"type":"codeVoice","code":"JWK"},{"type":"text","text":" representing the recipient’s key, used for decrypting a JWE."}],"type":"paragraph"}]},{"name":"nestedKeys","content":[{"inlineContent":[{"text":"An array of ","type":"text"},{"code":"JWK","type":"codeVoice"},{"text":" used for verifying nested JWTs.","type":"text"}],"type":"paragraph"}]},{"name":"expectedIssuer","content":[{"inlineContent":[{"type":"text","text":"An optional expected issuer ("},{"code":"iss","type":"codeVoice"},{"type":"text","text":" claim) to validate."}],"type":"paragraph"}]},{"name":"expectedAudience","content":[{"inlineContent":[{"type":"text","text":"An optional expected audience ("},{"type":"codeVoice","code":"aud"},{"type":"text","text":" claim) to validate."}],"type":"paragraph"}]}]},{"content":[{"anchor":"return-value","text":"Return Value","level":2,"type":"heading"},{"type":"paragraph","inlineContent":[{"text":"A ","type":"text"},{"code":"JWT","type":"codeVoice"},{"type":"text","text":" instance containing the payload and format."}]}],"kind":"content"},{"kind":"content","content":[{"type":"heading","level":2,"text":"Discussion","anchor":"discussion"},{"inlineContent":[{"text":"This method supports both JWS (JSON Web Signature) and JWE (JSON Web Encryption) formats. It first determines the format of the JWT based on the number of components separated by dots in the JWT string. The method also handles nested JWTs, verifying each layer as needed.","type":"text"}],"type":"paragraph"},{"style":"note","type":"aside","name":"Throws","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":""},{"code":"JWTError","type":"codeVoice"},{"text":" if verification fails, the signature is invalid, claims validation fails, the JWT format is incorrect, or if nested JWT keys are missing.","type":"text"}]}]}]}],"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/JWT":{"kind":"symbol","title":"JWT","url":"\/documentation\/jose_swift\/jwt","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWT"}],"navigatorTitle":[{"text":"JWT","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT","type":"topic","abstract":[{"type":"codeVoice","code":"JWT"},{"type":"text","text":" represents a JSON Web Token which is a compact, URL-safe means of representing claims to be transferred between two parties."}]},"doc://jose-swift/documentation/jose_swift/JWT/verify(jwtString:senderKey:recipientKey:nestedKeys:expectedIssuer:expectedAudience:)":{"title":"verify(jwtString:senderKey:recipientKey:nestedKeys:expectedIssuer:expectedAudience:)","url":"\/documentation\/jose_swift\/jwt\/verify(jwtstring:senderkey:recipientkey:nestedkeys:expectedissuer:expectedaudience:)","kind":"symbol","abstract":[{"text":"Verifies a JWT string and returns a decoded JWT if successful.","type":"text"}],"type":"topic","conformance":{"constraints":[{"type":"codeVoice","code":"C"},{"text":" conforms to ","type":"text"},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"text":".","type":"text"}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWT\/verify(jwtString:senderKey:recipientKey:nestedKeys:expectedIssuer:expectedAudience:)","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"verify"},{"text":"(","kind":"text"},{"text":"jwtString","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":", "},{"text":"senderKey","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"recipientKey"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"nestedKeys","kind":"externalParam"},{"kind":"text","text":": ["},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":"], "},{"kind":"externalParam","text":"expectedIssuer"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"expectedAudience","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?) "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:12JSONWebToken3JWTV","text":"JWT","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"C"},{"text":">","kind":"text"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","type":"link"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwtregisteredfieldsclaims.json b/data/documentation/jose_swift/jwtregisteredfieldsclaims.json new file mode 100644 index 0000000..62daf96 --- /dev/null +++ b/data/documentation/jose_swift/jwtregisteredfieldsclaims.json @@ -0,0 +1 @@ +{"abstract":[{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"type":"text","text":" is a protocol defining the standard claims typically included in a JWT."},{"type":"text","text":" "},{"type":"text","text":"Conforming types can represent the payload of a JWT, encompassing both registered claim names and custom claims."}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwtregisteredfieldsclaims"]}],"kind":"symbol","topicSections":[{"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/audience","doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/expirationTime","doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/issuedAt","doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/issuer","doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/jwtID","doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/notBeforeTime","doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/subject"]},{"title":"Instance Methods","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/validateExtraClaims()"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWTRegisteredFieldsClaims","kind":"identifier"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","preciseIdentifier":"s:Se","text":"Decodable"},{"kind":"text","text":", "},{"preciseIdentifier":"s:SE","kind":"typeIdentifier","text":"Encodable"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"relationshipsSections":[{"identifiers":["doc:\/\/jose-swift\/Se","doc:\/\/jose-swift\/SE"],"kind":"relationships","title":"Inherits From","type":"inheritsFrom"},{"title":"Conforming Types","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl"],"kind":"relationships","type":"conformingTypes"}],"sections":[],"metadata":{"title":"JWTRegisteredFieldsClaims","symbolKind":"protocol","role":"symbol","externalID":"s:12JSONWebToken25JWTRegisteredFieldsClaimsP","modules":[{"name":"jose-swift"}],"roleHeading":"Protocol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"text":"JWTRegisteredFieldsClaims","kind":"identifier"}],"navigatorTitle":[{"text":"JWTRegisteredFieldsClaims","kind":"identifier"}]},"references":{"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims/issuedAt":{"title":"issuedAt","role":"symbol","kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/issuedat","required":true,"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"issuedAt"},{"kind":"text","text":": "},{"text":"Date","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/issuedAt","abstract":[]},"doc://jose-swift/documentation/jose_swift/DefaultJWTClaimsImpl":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/defaultjwtclaimsimpl","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/DefaultJWTClaimsImpl","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"navigatorTitle":[{"text":"DefaultJWTClaimsImpl","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"DefaultJWTClaimsImpl"},{"type":"text","text":" is a struct implementing the "},{"code":"JWTRegisteredFieldsClaims","type":"codeVoice"},{"type":"text","text":" protocol, providing a default set of claims."}],"title":"DefaultJWTClaimsImpl"},"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims/expirationTime":{"title":"expirationTime","role":"symbol","url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/expirationtime","required":true,"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/expirationTime","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"expirationTime","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DateV","text":"Date","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"abstract":[],"type":"topic"},"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims/issuer":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/issuer","required":true,"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/issuer","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"issuer"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?"}],"abstract":[],"title":"issuer"},"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims/subject":{"title":"subject","role":"symbol","url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/subject","required":true,"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/subject","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"subject","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"abstract":[],"type":"topic"},"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims/notBeforeTime":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/notbeforetime","required":true,"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/notBeforeTime","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"notBeforeTime"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DateV","text":"Date"},{"kind":"text","text":"?"}],"abstract":[],"title":"notBeforeTime"},"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims/audience":{"title":"audience","role":"symbol","url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/audience","required":true,"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/audience","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"audience","kind":"identifier"},{"kind":"text","text":": ["},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"]?","kind":"text"}],"abstract":[],"type":"topic"},"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWTRegisteredFieldsClaims","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"JWTRegisteredFieldsClaims"}],"abstract":[{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"type":"text","text":" is a protocol defining the standard claims typically included in a JWT."},{"type":"text","text":" "},{"type":"text","text":"Conforming types can represent the payload of a JWT, encompassing both registered claim names and custom claims."}],"title":"JWTRegisteredFieldsClaims"},"doc://jose-swift/SE":{"type":"unresolvable","identifier":"doc:\/\/jose-swift\/SE","title":"Swift.Encodable"},"doc://jose-swift/Se":{"type":"unresolvable","identifier":"doc:\/\/jose-swift\/Se","title":"Swift.Decodable"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims/jwtID":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwtID","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/jwtid","required":true,"title":"jwtID","role":"symbol","abstract":[],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/jwtID","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims/validateExtraClaims()":{"abstract":[{"text":"Validates extra claims in the JWT.","type":"text"}],"url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/validateextraclaims()","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/validateExtraClaims()","kind":"symbol","type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"validateExtraClaims","kind":"identifier"},{"kind":"text","text":"() "},{"text":"throws","kind":"keyword"}],"title":"validateExtraClaims()","required":true}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwtregisteredfieldsclaims/audience.json b/data/documentation/jose_swift/jwtregisteredfieldsclaims/audience.json new file mode 100644 index 0000000..ca4cc1e --- /dev/null +++ b/data/documentation/jose_swift/jwtregisteredfieldsclaims/audience.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"audience","kind":"identifier"},{"kind":"text","text":": ["},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"]? { "},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}]}]}],"sections":[],"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/audience","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/audience"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims"]]},"metadata":{"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"audience"},{"text":": [","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"]?"}],"roleHeading":"Instance Property","title":"audience","required":true,"modules":[{"name":"jose-swift"}],"role":"symbol","symbolKind":"property","externalID":"s:12JSONWebToken25JWTRegisteredFieldsClaimsP8audienceSaySSGSgvp"},"schemaVersion":{"major":0,"patch":0,"minor":3},"references":{"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims/audience":{"title":"audience","role":"symbol","url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/audience","required":true,"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/audience","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"audience","kind":"identifier"},{"kind":"text","text":": ["},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"]?","kind":"text"}],"abstract":[],"type":"topic"},"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWTRegisteredFieldsClaims","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"JWTRegisteredFieldsClaims"}],"abstract":[{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"type":"text","text":" is a protocol defining the standard claims typically included in a JWT."},{"type":"text","text":" "},{"type":"text","text":"Conforming types can represent the payload of a JWT, encompassing both registered claim names and custom claims."}],"title":"JWTRegisteredFieldsClaims"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwtregisteredfieldsclaims/expirationtime.json b/data/documentation/jose_swift/jwtregisteredfieldsclaims/expirationtime.json new file mode 100644 index 0000000..b254a54 --- /dev/null +++ b/data/documentation/jose_swift/jwtregisteredfieldsclaims/expirationtime.json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"patch":0,"minor":3},"sections":[],"variants":[{"paths":["\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/expirationtime"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"roleHeading":"Instance Property","symbolKind":"property","required":true,"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"expirationTime"},{"text":": ","kind":"text"},{"text":"Date","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DateV"},{"text":"?","kind":"text"}],"title":"expirationTime","externalID":"s:12JSONWebToken25JWTRegisteredFieldsClaimsP14expirationTime10Foundation4DateVSgvp","role":"symbol","modules":[{"name":"jose-swift"}]},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"expirationTime"},{"text":": ","kind":"text"},{"text":"Date","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"? { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"platforms":["macOS"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/expirationTime"},"references":{"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims/expirationTime":{"title":"expirationTime","role":"symbol","url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/expirationtime","required":true,"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/expirationTime","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"expirationTime","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DateV","text":"Date","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"abstract":[],"type":"topic"},"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWTRegisteredFieldsClaims","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"JWTRegisteredFieldsClaims"}],"abstract":[{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"type":"text","text":" is a protocol defining the standard claims typically included in a JWT."},{"type":"text","text":" "},{"type":"text","text":"Conforming types can represent the payload of a JWT, encompassing both registered claim names and custom claims."}],"title":"JWTRegisteredFieldsClaims"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwtregisteredfieldsclaims/issuedat.json b/data/documentation/jose_swift/jwtregisteredfieldsclaims/issuedat.json new file mode 100644 index 0000000..724b602 --- /dev/null +++ b/data/documentation/jose_swift/jwtregisteredfieldsclaims/issuedat.json @@ -0,0 +1 @@ +{"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"issuedAt"},{"text":": ","kind":"text"},{"text":"Date","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DateV"},{"text":"? { ","kind":"text"},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}]}],"kind":"declarations"}],"sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/issuedAt","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/issuedat"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims"]]},"metadata":{"role":"symbol","title":"issuedAt","symbolKind":"property","roleHeading":"Instance Property","externalID":"s:12JSONWebToken25JWTRegisteredFieldsClaimsP8issuedAt10Foundation4DateVSgvp","required":true,"modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"issuedAt"},{"kind":"text","text":": "},{"text":"Date","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DateV"},{"text":"?","kind":"text"}]},"references":{"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims/issuedAt":{"title":"issuedAt","role":"symbol","kind":"symbol","type":"topic","url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/issuedat","required":true,"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"issuedAt"},{"kind":"text","text":": "},{"text":"Date","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/issuedAt","abstract":[]},"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWTRegisteredFieldsClaims","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"JWTRegisteredFieldsClaims"}],"abstract":[{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"type":"text","text":" is a protocol defining the standard claims typically included in a JWT."},{"type":"text","text":" "},{"type":"text","text":"Conforming types can represent the payload of a JWT, encompassing both registered claim names and custom claims."}],"title":"JWTRegisteredFieldsClaims"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwtregisteredfieldsclaims/issuer.json b/data/documentation/jose_swift/jwtregisteredfieldsclaims/issuer.json new file mode 100644 index 0000000..a057f9e --- /dev/null +++ b/data/documentation/jose_swift/jwtregisteredfieldsclaims/issuer.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"issuer"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"? { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}]}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/issuer"},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/issuer"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims"]]},"metadata":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"issuer"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"roleHeading":"Instance Property","title":"issuer","required":true,"modules":[{"name":"jose-swift"}],"role":"symbol","symbolKind":"property","externalID":"s:12JSONWebToken25JWTRegisteredFieldsClaimsP6issuerSSSgvp"},"schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims/issuer":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/issuer","required":true,"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/issuer","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"issuer"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?"}],"abstract":[],"title":"issuer"},"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWTRegisteredFieldsClaims","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"JWTRegisteredFieldsClaims"}],"abstract":[{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"type":"text","text":" is a protocol defining the standard claims typically included in a JWT."},{"type":"text","text":" "},{"type":"text","text":"Conforming types can represent the payload of a JWT, encompassing both registered claim names and custom claims."}],"title":"JWTRegisteredFieldsClaims"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwtregisteredfieldsclaims/jwtid.json b/data/documentation/jose_swift/jwtregisteredfieldsclaims/jwtid.json new file mode 100644 index 0000000..e2187a7 --- /dev/null +++ b/data/documentation/jose_swift/jwtregisteredfieldsclaims/jwtid.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/jwtid"]}],"metadata":{"role":"symbol","externalID":"s:12JSONWebToken25JWTRegisteredFieldsClaimsP5jwtIDSSSgvp","title":"jwtID","roleHeading":"Instance Property","required":true,"symbolKind":"property","modules":[{"name":"jose-swift"}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"jwtID","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?"}]},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwtID","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"? { "},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims"]]},"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/jwtID"},"references":{"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims/jwtID":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwtID","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}],"url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/jwtid","required":true,"title":"jwtID","role":"symbol","abstract":[],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/jwtID","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWTRegisteredFieldsClaims","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"JWTRegisteredFieldsClaims"}],"abstract":[{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"type":"text","text":" is a protocol defining the standard claims typically included in a JWT."},{"type":"text","text":" "},{"type":"text","text":"Conforming types can represent the payload of a JWT, encompassing both registered claim names and custom claims."}],"title":"JWTRegisteredFieldsClaims"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwtregisteredfieldsclaims/notbeforetime.json b/data/documentation/jose_swift/jwtregisteredfieldsclaims/notbeforetime.json new file mode 100644 index 0000000..3e7a4c1 --- /dev/null +++ b/data/documentation/jose_swift/jwtregisteredfieldsclaims/notbeforetime.json @@ -0,0 +1 @@ +{"sections":[],"metadata":{"modules":[{"name":"jose-swift"}],"required":true,"symbolKind":"property","externalID":"s:12JSONWebToken25JWTRegisteredFieldsClaimsP13notBeforeTime10Foundation4DateVSgvp","roleHeading":"Instance Property","title":"notBeforeTime","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"notBeforeTime"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DateV","text":"Date"},{"text":"?","kind":"text"}]},"schemaVersion":{"patch":0,"major":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"notBeforeTime"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DateV","text":"Date","kind":"typeIdentifier"},{"kind":"text","text":"? { "},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}]}]}],"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/notBeforeTime","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/notbeforetime"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims"]]},"references":{"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims/notBeforeTime":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/notbeforetime","required":true,"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/notBeforeTime","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"notBeforeTime"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DateV","text":"Date"},{"kind":"text","text":"?"}],"abstract":[],"title":"notBeforeTime"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWTRegisteredFieldsClaims","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"JWTRegisteredFieldsClaims"}],"abstract":[{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"type":"text","text":" is a protocol defining the standard claims typically included in a JWT."},{"type":"text","text":" "},{"type":"text","text":"Conforming types can represent the payload of a JWT, encompassing both registered claim names and custom claims."}],"title":"JWTRegisteredFieldsClaims"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwtregisteredfieldsclaims/subject.json b/data/documentation/jose_swift/jwtregisteredfieldsclaims/subject.json new file mode 100644 index 0000000..f30d15f --- /dev/null +++ b/data/documentation/jose_swift/jwtregisteredfieldsclaims/subject.json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"minor":3,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims"]]},"variants":[{"paths":["\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/subject"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"subject","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"roleHeading":"Instance Property","title":"subject","required":true,"modules":[{"name":"jose-swift"}],"role":"symbol","symbolKind":"property","externalID":"s:12JSONWebToken25JWTRegisteredFieldsClaimsP7subjectSSSgvp"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/subject"},"sections":[],"kind":"symbol","primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"subject","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"? { ","kind":"text"},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims/subject":{"title":"subject","role":"symbol","url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/subject","required":true,"kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/subject","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"subject","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"abstract":[],"type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWTRegisteredFieldsClaims","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"JWTRegisteredFieldsClaims"}],"abstract":[{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"type":"text","text":" is a protocol defining the standard claims typically included in a JWT."},{"type":"text","text":" "},{"type":"text","text":"Conforming types can represent the payload of a JWT, encompassing both registered claim names and custom claims."}],"title":"JWTRegisteredFieldsClaims"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/jwtregisteredfieldsclaims/validateextraclaims().json b/data/documentation/jose_swift/jwtregisteredfieldsclaims/validateextraclaims().json new file mode 100644 index 0000000..6393e87 --- /dev/null +++ b/data/documentation/jose_swift/jwtregisteredfieldsclaims/validateextraclaims().json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/validateextraclaims()"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"modules":[{"name":"jose-swift"}],"roleHeading":"Instance Method","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"validateExtraClaims"},{"text":"() ","kind":"text"},{"text":"throws","kind":"keyword"}],"symbolKind":"method","externalID":"s:12JSONWebToken25JWTRegisteredFieldsClaimsP013validateExtraE0yyKF","title":"validateExtraClaims()","required":true,"role":"symbol"},"sections":[],"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/validateExtraClaims()","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims"]]},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"validateExtraClaims","kind":"identifier"},{"kind":"text","text":"() "},{"kind":"keyword","text":"throws"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"},{"kind":"content","content":[{"level":2,"text":"Discussion","type":"heading","anchor":"discussion"},{"name":"Throws","style":"note","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":""},{"type":"codeVoice","code":"JWTError"},{"type":"text","text":" if any claim validations fail."}]}],"type":"aside"}]}],"abstract":[{"type":"text","text":"Validates extra claims in the JWT."}],"references":{"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims/validateExtraClaims()":{"abstract":[{"text":"Validates extra claims in the JWT.","type":"text"}],"url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/validateextraclaims()","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims\/validateExtraClaims()","kind":"symbol","type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"validateExtraClaims","kind":"identifier"},{"kind":"text","text":"() "},{"text":"throws","kind":"keyword"}],"title":"validateExtraClaims()","required":true},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWTRegisteredFieldsClaims","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"JWTRegisteredFieldsClaims"}],"abstract":[{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"type":"text","text":" is a protocol defining the standard claims typically included in a JWT."},{"type":"text","text":" "},{"type":"text","text":"Conforming types can represent the payload of a JWT, encompassing both registered claim names and custom claims."}],"title":"JWTRegisteredFieldsClaims"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keyagreementz.json b/data/documentation/jose_swift/keyagreementz.json new file mode 100644 index 0000000..55f4c2f --- /dev/null +++ b/data/documentation/jose_swift/keyagreementz.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/keyagreementz"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyAgreementZ\/agreeUponZ(privateKey:publicKey:ephemeralKey:sender:)"],"title":"Instance Methods"}],"abstract":[{"type":"codeVoice","code":"KeyAgreementZ"},{"text":" is a protocol defining functionality for a key agreement mechanism to compute a shared secret, denoted as ‘Z’.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"KeyAgreementZ","kind":"identifier"}]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyAgreementZ","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"title":"KeyAgreementZ","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"KeyAgreementZ"}],"navigatorTitle":[{"kind":"identifier","text":"KeyAgreementZ"}],"roleHeading":"Protocol","externalID":"s:17JSONWebAlgorithms13KeyAgreementZP","symbolKind":"protocol","modules":[{"name":"jose-swift"}],"role":"symbol"},"references":{"doc://jose-swift/documentation/jose_swift/KeyAgreementZ/agreeUponZ(privateKey:publicKey:ephemeralKey:sender:)":{"abstract":[{"type":"text","text":"Computes a shared secret ‘Z’ using the provided private key, public key, and optionally an ephemeral key."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyAgreementZ\/agreeUponZ(privateKey:publicKey:ephemeralKey:sender:)","url":"\/documentation\/jose_swift\/keyagreementz\/agreeuponz(privatekey:publickey:ephemeralkey:sender:)","kind":"symbol","title":"agreeUponZ(privateKey:publicKey:ephemeralKey:sender:)","required":true,"role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"agreeUponZ"},{"text":"(","kind":"text"},{"text":"privateKey","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"publicKey","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"ephemeralKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"sender"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"}],"type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyAgreementZ":{"abstract":[{"type":"codeVoice","code":"KeyAgreementZ"},{"type":"text","text":" is a protocol defining functionality for a key agreement mechanism to compute a shared secret, denoted as ‘Z’."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyAgreementZ","url":"\/documentation\/jose_swift\/keyagreementz","kind":"symbol","title":"KeyAgreementZ","role":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"KeyAgreementZ"}],"type":"topic","navigatorTitle":[{"text":"KeyAgreementZ","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keyagreementz/agreeuponz(privatekey:publickey:ephemeralkey:sender:).json b/data/documentation/jose_swift/keyagreementz/agreeuponz(privatekey:publickey:ephemeralkey:sender:).json new file mode 100644 index 0000000..57c902a --- /dev/null +++ b/data/documentation/jose_swift/keyagreementz/agreeuponz(privatekey:publickey:ephemeralkey:sender:).json @@ -0,0 +1 @@ +{"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyAgreementZ\/agreeUponZ(privateKey:publicKey:ephemeralKey:sender:)"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyAgreementZ"]]},"abstract":[{"text":"Computes a shared secret ‘Z’ using the provided private key, public key, and optionally an ephemeral key.","type":"text"}],"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keyagreementz\/agreeuponz(privatekey:publickey:ephemeralkey:sender:)"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebAlgorithms13KeyAgreementZP10agreeUponZ07privateC006publicC009ephemeralC06sender10Foundation4DataV0aC03JWKV_A2NSgSbtKF","role":"symbol","required":true,"roleHeading":"Instance Method","symbolKind":"method","title":"agreeUponZ(privateKey:publicKey:ephemeralKey:sender:)","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"agreeUponZ"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"privateKey"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"publicKey"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"kind":"text","text":", "},{"kind":"externalParam","text":"ephemeralKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"text":"sender","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"agreeUponZ","kind":"identifier"},{"text":"(","kind":"text"},{"text":"privateKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":", ","kind":"text"},{"text":"publicKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":", ","kind":"text"},{"text":"ephemeralKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?, ","kind":"text"},{"text":"sender","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"languages":["swift"]}]},{"parameters":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"code":"JWK","type":"codeVoice"},{"type":"text","text":" instance representing the private key of the initiating party."}]}],"name":"privateKey"},{"content":[{"type":"paragraph","inlineContent":[{"text":"A ","type":"text"},{"type":"codeVoice","code":"JWK"},{"text":" instance representing the public key of the responding party.","type":"text"}]}],"name":"publicKey"},{"content":[{"inlineContent":[{"type":"text","text":"An optional "},{"code":"JWK","type":"codeVoice"},{"type":"text","text":" instance representing an ephemeral key used in the agreement process."},{"type":"text","text":" "},{"text":"Ephemeral keys are temporary and typically used for a single session or transaction.","type":"text"}],"type":"paragraph"}],"name":"ephemeralKey"},{"name":"sender","content":[{"inlineContent":[{"type":"text","text":"A Boolean value indicating whether the calling party is the sender or receiver in the key agreement process."},{"text":" ","type":"text"},{"text":"This information can influence how the shared secret is computed in certain protocols.","type":"text"}],"type":"paragraph"}]}],"kind":"parameters"},{"kind":"content","content":[{"level":2,"text":"Return Value","anchor":"return-value","type":"heading"},{"inlineContent":[{"text":"The computed shared secret as ","type":"text"},{"code":"Data","type":"codeVoice"},{"type":"text","text":"."}],"type":"paragraph"}]},{"content":[{"level":2,"type":"heading","text":"Discussion","anchor":"discussion"},{"type":"aside","name":"Throws","style":"note","content":[{"inlineContent":[{"type":"text","text":"An error if the shared secret cannot be computed. This could be due to incompatible keys, incorrect formats, or cryptographic issues specific to the key agreement algorithm."}],"type":"paragraph"}]}],"kind":"content"}],"references":{"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/KeyAgreementZ/agreeUponZ(privateKey:publicKey:ephemeralKey:sender:)":{"abstract":[{"type":"text","text":"Computes a shared secret ‘Z’ using the provided private key, public key, and optionally an ephemeral key."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyAgreementZ\/agreeUponZ(privateKey:publicKey:ephemeralKey:sender:)","url":"\/documentation\/jose_swift\/keyagreementz\/agreeuponz(privatekey:publickey:ephemeralkey:sender:)","kind":"symbol","title":"agreeUponZ(privateKey:publicKey:ephemeralKey:sender:)","required":true,"role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"agreeUponZ"},{"text":"(","kind":"text"},{"text":"privateKey","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"publicKey","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"ephemeralKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"sender"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"}],"type":"topic"},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","titleInlineContent":[{"type":"text","text":"RFC7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyAgreementZ":{"abstract":[{"type":"codeVoice","code":"KeyAgreementZ"},{"type":"text","text":" is a protocol defining functionality for a key agreement mechanism to compute a shared secret, denoted as ‘Z’."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyAgreementZ","url":"\/documentation\/jose_swift\/keyagreementz","kind":"symbol","title":"KeyAgreementZ","role":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"KeyAgreementZ"}],"type":"topic","navigatorTitle":[{"text":"KeyAgreementZ","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keyderivation.json b/data/documentation/jose_swift/keyderivation.json new file mode 100644 index 0000000..be15819 --- /dev/null +++ b/data/documentation/jose_swift/keyderivation.json @@ -0,0 +1 @@ +{"kind":"symbol","topicSections":[{"title":"Instance Methods","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyDerivation\/deriveKey(key:keyLengthInBits:algorithmId:partyUInfo:partyVInfo:tag:other:)-7tuyr"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyDerivation","interfaceLanguage":"swift"},"abstract":[{"type":"codeVoice","code":"KeyDerivation"},{"text":" is a protocol defining functionality for deriving cryptographic keys.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keyderivation"]}],"metadata":{"fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"KeyDerivation"}],"symbolKind":"protocol","modules":[{"name":"jose-swift"}],"title":"KeyDerivation","externalID":"s:17JSONWebAlgorithms13KeyDerivationP","role":"symbol","roleHeading":"Protocol","navigatorTitle":[{"kind":"identifier","text":"KeyDerivation"}]},"sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"KeyDerivation"}]}]}],"references":{"doc://jose-swift/documentation/jose_swift/KeyDerivation/deriveKey(key:keyLengthInBits:algorithmId:partyUInfo:partyVInfo:tag:other:)-7tuyr":{"url":"\/documentation\/jose_swift\/keyderivation\/derivekey(key:keylengthinbits:algorithmid:partyuinfo:partyvinfo:tag:other:)-7tuyr","title":"deriveKey(key:keyLengthInBits:algorithmId:partyUInfo:partyVInfo:tag:other:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyDerivation\/deriveKey(key:keyLengthInBits:algorithmId:partyUInfo:partyVInfo:tag:other:)-7tuyr","type":"topic","kind":"symbol","required":true,"role":"symbol","defaultImplementations":1,"abstract":[{"text":"Derives a key from the given input parameters using a specified key derivation function.","type":"text"}],"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"deriveKey","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"key"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"keyLengthInBits","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"algorithmId"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"partyUInfo","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"partyVInfo"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"tag"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"other"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":" : ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"]) "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}]},"doc://jose-swift/documentation/jose_swift/KeyDerivation":{"url":"\/documentation\/jose_swift\/keyderivation","title":"KeyDerivation","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyDerivation","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyDerivation"}],"abstract":[{"type":"codeVoice","code":"KeyDerivation"},{"text":" is a protocol defining functionality for deriving cryptographic keys.","type":"text"}],"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"KeyDerivation"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keyderivation/derivekey(key:keylengthinbits:algorithmid:partyuinfo:partyvinfo:tag:other:)-7fctc.json b/data/documentation/jose_swift/keyderivation/derivekey(key:keylengthinbits:algorithmid:partyuinfo:partyvinfo:tag:other:)-7fctc.json new file mode 100644 index 0000000..7c7e504 --- /dev/null +++ b/data/documentation/jose_swift/keyderivation/derivekey(key:keylengthinbits:algorithmid:partyuinfo:partyvinfo:tag:other:)-7fctc.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/keyderivation\/derivekey(key:keylengthinbits:algorithmid:partyuinfo:partyvinfo:tag:other:)-7fctc"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"type":"text","text":"Provides a default implementation of "},{"code":"deriveKey","type":"codeVoice"},{"type":"text","text":" with optional parameters set to their default values."}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyDerivation\/deriveKey(key:keyLengthInBits:algorithmId:partyUInfo:partyVInfo:tag:other:)-7fctc"},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyDerivation","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyDerivation\/deriveKey(key:keyLengthInBits:algorithmId:partyUInfo:partyVInfo:tag:other:)-7tuyr"]]},"kind":"symbol","metadata":{"title":"deriveKey(key:keyLengthInBits:algorithmId:partyUInfo:partyVInfo:tag:other:)","extendedModule":"JSONWebAlgorithms","modules":[{"name":"jose-swift","relatedModules":["JSONWebAlgorithms"]}],"role":"symbol","externalID":"s:17JSONWebAlgorithms13KeyDerivationPAAE06deriveC03key0F12LengthInBits11algorithmId10partyUInfo0L5VInfo3tag5other10Foundation4DataVAN_SiA4NSDySSANGtKF","roleHeading":"Instance Method","symbolKind":"method","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"deriveKey","kind":"identifier"},{"kind":"text","text":"("},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"keyLengthInBits"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"text":", ","kind":"text"},{"text":"algorithmId","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"partyUInfo","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"partyVInfo","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"tag"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"other","kind":"externalParam"},{"kind":"text","text":": ["},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":" : "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"]) "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}]},"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"deriveKey","kind":"identifier"},{"text":"(","kind":"text"},{"text":"key","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"keyLengthInBits","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"kind":"text","text":", "},{"kind":"externalParam","text":"algorithmId"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":" = Data(), "},{"kind":"externalParam","text":"partyUInfo"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":" = Data(), "},{"text":"partyVInfo","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":" = Data(), "},{"kind":"externalParam","text":"tag"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":" = Data(), ","kind":"text"},{"text":"other","kind":"externalParam"},{"text":": [","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"] = [:]) ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"content":[{"inlineContent":[{"text":"The input key material used for derivation.","type":"text"}],"type":"paragraph"}],"name":"key"},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The desired length of the derived key in bits."}]}],"name":"keyLengthInBits"},{"content":[{"inlineContent":[{"type":"text","text":"An optional identifier for the key derivation algorithm (default is empty)."}],"type":"paragraph"}],"name":"algorithmId"},{"content":[{"inlineContent":[{"type":"text","text":"Optional data specific to one party involved in the key derivation (default is empty)."}],"type":"paragraph"}],"name":"partyUInfo"},{"content":[{"inlineContent":[{"type":"text","text":"Optional data specific to the other party involved in the key derivation (default is empty)."}],"type":"paragraph"}],"name":"partyVInfo"},{"name":"tag","content":[{"inlineContent":[{"type":"text","text":"An optional tag used in the key derivation process (default is empty)."}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"type":"text","text":"An optional dictionary containing other relevant data for key derivation (default is empty)."}],"type":"paragraph"}],"name":"other"}]},{"content":[{"anchor":"return-value","type":"heading","text":"Return Value","level":2},{"inlineContent":[{"text":"The derived key as ","type":"text"},{"code":"Data","type":"codeVoice"},{"type":"text","text":"."}],"type":"paragraph"}],"kind":"content"},{"kind":"content","content":[{"type":"heading","text":"Discussion","level":2,"anchor":"discussion"},{"type":"aside","style":"note","name":"Throws","content":[{"inlineContent":[{"type":"text","text":"An error if key derivation fails."}],"type":"paragraph"}]}]}],"references":{"doc://jose-swift/documentation/jose_swift/KeyDerivation":{"url":"\/documentation\/jose_swift\/keyderivation","title":"KeyDerivation","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyDerivation","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyDerivation"}],"abstract":[{"type":"codeVoice","code":"KeyDerivation"},{"text":" is a protocol defining functionality for deriving cryptographic keys.","type":"text"}],"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"KeyDerivation"}]},"doc://jose-swift/documentation/jose_swift/KeyDerivation/deriveKey(key:keyLengthInBits:algorithmId:partyUInfo:partyVInfo:tag:other:)-7fctc":{"url":"\/documentation\/jose_swift\/keyderivation\/derivekey(key:keylengthinbits:algorithmid:partyuinfo:partyvinfo:tag:other:)-7fctc","title":"deriveKey(key:keyLengthInBits:algorithmId:partyUInfo:partyVInfo:tag:other:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyDerivation\/deriveKey(key:keyLengthInBits:algorithmId:partyUInfo:partyVInfo:tag:other:)-7fctc","kind":"symbol","role":"symbol","abstract":[{"text":"Provides a default implementation of ","type":"text"},{"type":"codeVoice","code":"deriveKey"},{"type":"text","text":" with optional parameters set to their default values."}],"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"deriveKey","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"text":"keyLengthInBits","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"kind":"text","text":", "},{"text":"algorithmId","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"partyUInfo","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"partyVInfo"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"tag"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"other","kind":"externalParam"},{"text":": [","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":" : "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyDerivation/deriveKey(key:keyLengthInBits:algorithmId:partyUInfo:partyVInfo:tag:other:)-7tuyr":{"url":"\/documentation\/jose_swift\/keyderivation\/derivekey(key:keylengthinbits:algorithmid:partyuinfo:partyvinfo:tag:other:)-7tuyr","title":"deriveKey(key:keyLengthInBits:algorithmId:partyUInfo:partyVInfo:tag:other:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyDerivation\/deriveKey(key:keyLengthInBits:algorithmId:partyUInfo:partyVInfo:tag:other:)-7tuyr","type":"topic","kind":"symbol","required":true,"role":"symbol","defaultImplementations":1,"abstract":[{"text":"Derives a key from the given input parameters using a specified key derivation function.","type":"text"}],"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"deriveKey","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"key"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"keyLengthInBits","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"algorithmId"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"partyUInfo","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"partyVInfo"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"tag"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"other"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":" : ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"]) "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keyderivation/derivekey(key:keylengthinbits:algorithmid:partyuinfo:partyvinfo:tag:other:)-7tuyr.json b/data/documentation/jose_swift/keyderivation/derivekey(key:keylengthinbits:algorithmid:partyuinfo:partyvinfo:tag:other:)-7tuyr.json new file mode 100644 index 0000000..4ed9915 --- /dev/null +++ b/data/documentation/jose_swift/keyderivation/derivekey(key:keylengthinbits:algorithmid:partyuinfo:partyvinfo:tag:other:)-7tuyr.json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"major":0,"minor":3},"abstract":[{"type":"text","text":"Derives a key from the given input parameters using a specified key derivation function."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"deriveKey"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"text":"keyLengthInBits","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"algorithmId","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":", "},{"text":"partyUInfo","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"partyVInfo","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"tag"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"other"},{"kind":"text","text":": ["},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":" : ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"]) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"languages":["swift"]}]},{"parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"text":"The input key material used for derivation.","type":"text"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"The desired length of the derived key in bits.","type":"text"}]}],"name":"keyLengthInBits"},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An identifier for the key derivation algorithm."}]}],"name":"algorithmId"},{"name":"partyUInfo","content":[{"inlineContent":[{"text":"Data specific to one party involved in the key derivation (usually the initiator).","type":"text"}],"type":"paragraph"}]},{"name":"partyVInfo","content":[{"type":"paragraph","inlineContent":[{"text":"Data specific to the other party involved in the key derivation (usually the responder).","type":"text"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A tag used in the key derivation process, providing additional context or information."}]}],"name":"tag"},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A dictionary containing other relevant data for key derivation."}]}],"name":"other"}],"kind":"parameters"},{"kind":"content","content":[{"text":"Return Value","type":"heading","level":2,"anchor":"return-value"},{"type":"paragraph","inlineContent":[{"text":"The derived key as ","type":"text"},{"type":"codeVoice","code":"Data"},{"text":".","type":"text"}]}]},{"content":[{"type":"heading","level":2,"anchor":"discussion","text":"Discussion"},{"style":"note","name":"Throws","content":[{"inlineContent":[{"text":"An error if key derivation fails. This could be due to incorrect input parameters, unsupported algorithm specifications, or other cryptographic issues.","type":"text"}],"type":"paragraph"}],"type":"aside"}],"kind":"content"}],"metadata":{"role":"symbol","externalID":"s:17JSONWebAlgorithms13KeyDerivationP06deriveC03key0F12LengthInBits11algorithmId10partyUInfo0L5VInfo3tag5other10Foundation4DataVAN_SiA4NSDySSANGtKF","symbolKind":"method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"deriveKey","kind":"identifier"},{"text":"(","kind":"text"},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"text":"keyLengthInBits","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"algorithmId"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":", "},{"text":"partyUInfo","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":", "},{"kind":"externalParam","text":"partyVInfo"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"tag"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"other","kind":"externalParam"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":" : "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"}],"modules":[{"name":"jose-swift"}],"roleHeading":"Instance Method","title":"deriveKey(key:keyLengthInBits:algorithmId:partyUInfo:partyVInfo:tag:other:)","required":true},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyDerivation"]]},"defaultImplementationsSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyDerivation\/deriveKey(key:keyLengthInBits:algorithmId:partyUInfo:partyVInfo:tag:other:)-7fctc"],"title":"KeyDerivation Implementations"}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyDerivation\/deriveKey(key:keyLengthInBits:algorithmId:partyUInfo:partyVInfo:tag:other:)-7tuyr"},"variants":[{"paths":["\/documentation\/jose_swift\/keyderivation\/derivekey(key:keylengthinbits:algorithmid:partyuinfo:partyvinfo:tag:other:)-7tuyr"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyDerivation/deriveKey(key:keyLengthInBits:algorithmId:partyUInfo:partyVInfo:tag:other:)-7fctc":{"url":"\/documentation\/jose_swift\/keyderivation\/derivekey(key:keylengthinbits:algorithmid:partyuinfo:partyvinfo:tag:other:)-7fctc","title":"deriveKey(key:keyLengthInBits:algorithmId:partyUInfo:partyVInfo:tag:other:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyDerivation\/deriveKey(key:keyLengthInBits:algorithmId:partyUInfo:partyVInfo:tag:other:)-7fctc","kind":"symbol","role":"symbol","abstract":[{"text":"Provides a default implementation of ","type":"text"},{"type":"codeVoice","code":"deriveKey"},{"type":"text","text":" with optional parameters set to their default values."}],"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"deriveKey","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"text":"keyLengthInBits","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"kind":"text","text":", "},{"text":"algorithmId","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"partyUInfo","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"partyVInfo"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"tag"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"other","kind":"externalParam"},{"text":": [","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":" : "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}]},"doc://jose-swift/documentation/jose_swift/KeyDerivation":{"url":"\/documentation\/jose_swift\/keyderivation","title":"KeyDerivation","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyDerivation","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyDerivation"}],"abstract":[{"type":"codeVoice","code":"KeyDerivation"},{"text":" is a protocol defining functionality for deriving cryptographic keys.","type":"text"}],"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"KeyDerivation"}]},"doc://jose-swift/documentation/jose_swift/KeyDerivation/deriveKey(key:keyLengthInBits:algorithmId:partyUInfo:partyVInfo:tag:other:)-7tuyr":{"url":"\/documentation\/jose_swift\/keyderivation\/derivekey(key:keylengthinbits:algorithmid:partyuinfo:partyvinfo:tag:other:)-7tuyr","title":"deriveKey(key:keyLengthInBits:algorithmId:partyUInfo:partyVInfo:tag:other:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyDerivation\/deriveKey(key:keyLengthInBits:algorithmId:partyUInfo:partyVInfo:tag:other:)-7tuyr","type":"topic","kind":"symbol","required":true,"role":"symbol","defaultImplementations":1,"abstract":[{"text":"Derives a key from the given input parameters using a specified key derivation function.","type":"text"}],"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"deriveKey","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"key"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"keyLengthInBits","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"algorithmId"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"partyUInfo","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"partyVInfo"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"tag"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"other"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":" : ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"]) "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keyencriptionresultmetadata.json b/data/documentation/jose_swift/keyencriptionresultmetadata.json new file mode 100644 index 0000000..34b2e22 --- /dev/null +++ b/data/documentation/jose_swift/keyencriptionresultmetadata.json @@ -0,0 +1 @@ +{"abstract":[{"code":"KeyEncriptionResultMetadata","type":"codeVoice"},{"type":"text","text":" is a struct representing the metadata of a key encryption result."}],"kind":"symbol","schemaVersion":{"patch":0,"major":0,"minor":3},"sections":[],"metadata":{"modules":[{"name":"jose-swift"}],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"KeyEncriptionResultMetadata"}],"role":"symbol","navigatorTitle":[{"text":"KeyEncriptionResultMetadata","kind":"identifier"}],"title":"KeyEncriptionResultMetadata","externalID":"s:17JSONWebAlgorithms27KeyEncriptionResultMetadataV","symbolKind":"struct","roleHeading":"Structure"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"variants":[{"paths":["\/documentation\/jose_swift\/keyencriptionresultmetadata"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyEncriptionResultMetadata"}],"languages":["swift"]}],"kind":"declarations"}],"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/init(encryptedKey:initializationVector:authenticationTag:pbs2saltInput:pbs2saltCount:otherMetadata:)"]},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/authenticationTag","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/encryptedKey","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/initializationVector","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/otherMetadata","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/pbs2saltCount","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/pbs2saltInput"],"title":"Instance Properties"}],"references":{"doc://jose-swift/documentation/jose_swift/KeyEncriptionResultMetadata/otherMetadata":{"title":"otherMetadata","kind":"symbol","url":"\/documentation\/jose_swift\/keyencriptionresultmetadata\/othermetadata","type":"topic","abstract":[{"type":"text","text":"Additional metadata that may be included in the encryption process."}],"fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"otherMetadata"},{"text":": [","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":" : ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"]","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/otherMetadata","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyEncriptionResultMetadata/pbs2saltCount":{"url":"\/documentation\/jose_swift\/keyencriptionresultmetadata\/pbs2saltcount","abstract":[{"text":"Optional iteration count for the PBES2 salt input.","type":"text"}],"kind":"symbol","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"pbs2saltCount"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"text":"?","kind":"text"}],"role":"symbol","type":"topic","title":"pbs2saltCount","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/pbs2saltCount"},"doc://jose-swift/documentation/jose_swift/KeyEncriptionResultMetadata/encryptedKey":{"url":"\/documentation\/jose_swift\/keyencriptionresultmetadata\/encryptedkey","title":"encryptedKey","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"encryptedKey","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"}],"role":"symbol","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/encryptedKey","type":"topic","abstract":[{"text":"The encrypted content encryption key (CEK).","type":"text"}]},"doc://jose-swift/documentation/jose_swift/KeyEncriptionResultMetadata/init(encryptedKey:initializationVector:authenticationTag:pbs2saltInput:pbs2saltCount:otherMetadata:)":{"title":"init(encryptedKey:initializationVector:authenticationTag:pbs2saltInput:pbs2saltCount:otherMetadata:)","role":"symbol","kind":"symbol","url":"\/documentation\/jose_swift\/keyencriptionresultmetadata\/init(encryptedkey:initializationvector:authenticationtag:pbs2saltinput:pbs2saltcount:othermetadata:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"encryptedKey"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"authenticationTag"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"pbs2saltInput"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"pbs2saltCount"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"text":"?, ","kind":"text"},{"text":"otherMetadata","kind":"externalParam"},{"text":": [","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":" : ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"])","kind":"text"}],"abstract":[{"text":"Initializes a new ","type":"text"},{"type":"codeVoice","code":"KeyEncriptionResultMetadata"},{"type":"text","text":" instance with the specified encryption result and metadata."}],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/init(encryptedKey:initializationVector:authenticationTag:pbs2saltInput:pbs2saltCount:otherMetadata:)"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyEncriptionResultMetadata":{"abstract":[{"type":"codeVoice","code":"KeyEncriptionResultMetadata"},{"type":"text","text":" is a struct representing the metadata of a key encryption result."}],"kind":"symbol","title":"KeyEncriptionResultMetadata","navigatorTitle":[{"text":"KeyEncriptionResultMetadata","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata","type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/keyencriptionresultmetadata","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyEncriptionResultMetadata"}]},"doc://jose-swift/documentation/jose_swift/KeyEncriptionResultMetadata/authenticationTag":{"abstract":[{"type":"text","text":"Optional authentication tag for verifying the integrity and authenticity of the encrypted key."}],"kind":"symbol","title":"authenticationTag","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/authenticationTag","type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/keyencriptionresultmetadata\/authenticationtag","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"authenticationTag","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?","kind":"text"}]},"doc://jose-swift/documentation/jose_swift/KeyEncriptionResultMetadata/initializationVector":{"url":"\/documentation\/jose_swift\/keyencriptionresultmetadata\/initializationvector","title":"initializationVector","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/initializationVector","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"initializationVector","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"abstract":[{"text":"Optional initialization vector associated with the key encryption.","type":"text"}],"role":"symbol","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyEncriptionResultMetadata/pbs2saltInput":{"abstract":[{"type":"text","text":"Optional PBES2 salt input used in the encryption process."}],"type":"topic","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"pbs2saltInput","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/keyencriptionresultmetadata\/pbs2saltinput","kind":"symbol","title":"pbs2saltInput","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/pbs2saltInput"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keyencriptionresultmetadata/authenticationtag.json b/data/documentation/jose_swift/keyencriptionresultmetadata/authenticationtag.json new file mode 100644 index 0000000..181ec8b --- /dev/null +++ b/data/documentation/jose_swift/keyencriptionresultmetadata/authenticationtag.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"tokens":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"authenticationTag"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/authenticationTag","interfaceLanguage":"swift"},"metadata":{"symbolKind":"property","externalID":"s:17JSONWebAlgorithms27KeyEncriptionResultMetadataV17authenticationTag10Foundation4DataVSgvp","title":"authenticationTag","role":"symbol","roleHeading":"Instance Property","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"authenticationTag","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":"?","kind":"text"}],"modules":[{"name":"jose-swift"}]},"variants":[{"paths":["\/documentation\/jose_swift\/keyencriptionresultmetadata\/authenticationtag"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"text":"Optional authentication tag for verifying the integrity and authenticity of the encrypted key.","type":"text"}],"references":{"doc://jose-swift/documentation/jose_swift/KeyEncriptionResultMetadata":{"abstract":[{"type":"codeVoice","code":"KeyEncriptionResultMetadata"},{"type":"text","text":" is a struct representing the metadata of a key encryption result."}],"kind":"symbol","title":"KeyEncriptionResultMetadata","navigatorTitle":[{"text":"KeyEncriptionResultMetadata","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata","type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/keyencriptionresultmetadata","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyEncriptionResultMetadata"}]},"doc://jose-swift/documentation/jose_swift/KeyEncriptionResultMetadata/authenticationTag":{"abstract":[{"type":"text","text":"Optional authentication tag for verifying the integrity and authenticity of the encrypted key."}],"kind":"symbol","title":"authenticationTag","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/authenticationTag","type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/keyencriptionresultmetadata\/authenticationtag","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"authenticationTag","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?","kind":"text"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keyencriptionresultmetadata/encryptedkey.json b/data/documentation/jose_swift/keyencriptionresultmetadata/encryptedkey.json new file mode 100644 index 0000000..d908cf3 --- /dev/null +++ b/data/documentation/jose_swift/keyencriptionresultmetadata/encryptedkey.json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"major":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"kind":"identifier","text":"encryptedKey"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keyencriptionresultmetadata\/encryptedkey"]}],"metadata":{"fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"encryptedKey"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"}],"title":"encryptedKey","modules":[{"name":"jose-swift"}],"role":"symbol","roleHeading":"Instance Property","symbolKind":"property","externalID":"s:17JSONWebAlgorithms27KeyEncriptionResultMetadataV09encryptedC010Foundation4DataVvp"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/encryptedKey"},"abstract":[{"text":"The encrypted content encryption key (CEK).","type":"text"}],"sections":[],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/KeyEncriptionResultMetadata/encryptedKey":{"url":"\/documentation\/jose_swift\/keyencriptionresultmetadata\/encryptedkey","title":"encryptedKey","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"encryptedKey","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"}],"role":"symbol","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/encryptedKey","type":"topic","abstract":[{"text":"The encrypted content encryption key (CEK).","type":"text"}]},"doc://jose-swift/documentation/jose_swift/KeyEncriptionResultMetadata":{"abstract":[{"type":"codeVoice","code":"KeyEncriptionResultMetadata"},{"type":"text","text":" is a struct representing the metadata of a key encryption result."}],"kind":"symbol","title":"KeyEncriptionResultMetadata","navigatorTitle":[{"text":"KeyEncriptionResultMetadata","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata","type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/keyencriptionresultmetadata","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyEncriptionResultMetadata"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keyencriptionresultmetadata/init(encryptedkey:initializationvector:authenticationtag:pbs2saltinput:pbs2saltcount:othermetadata:).json b/data/documentation/jose_swift/keyencriptionresultmetadata/init(encryptedkey:initializationvector:authenticationtag:pbs2saltinput:pbs2saltcount:othermetadata:).json new file mode 100644 index 0000000..492690b --- /dev/null +++ b/data/documentation/jose_swift/keyencriptionresultmetadata/init(encryptedkey:initializationvector:authenticationtag:pbs2saltinput:pbs2saltcount:othermetadata:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"tokens":[{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"text":"encryptedKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"authenticationTag"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"text":"pbs2saltInput","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"? = nil, "},{"text":"pbs2saltCount","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"otherMetadata"},{"text":": [","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":" : "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"text":"] = [:])","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"kind":"symbol","abstract":[{"text":"Initializes a new ","type":"text"},{"code":"KeyEncriptionResultMetadata","type":"codeVoice"},{"type":"text","text":" instance with the specified encryption result and metadata."}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata"]]},"metadata":{"title":"init(encryptedKey:initializationVector:authenticationTag:pbs2saltInput:pbs2saltCount:otherMetadata:)","symbolKind":"init","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"encryptedKey","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"initializationVector","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"text":"authenticationTag","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"text":"pbs2saltInput","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"pbs2saltCount"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"otherMetadata"},{"kind":"text","text":": ["},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":" : "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":"])"}],"modules":[{"name":"jose-swift"}],"roleHeading":"Initializer","externalID":"s:17JSONWebAlgorithms27KeyEncriptionResultMetadataV09encryptedC020initializationVector17authenticationTag13pbs2saltInput0L5Count05otherF0AC10Foundation4DataV_ALSgA2MSiSgSDySSALGtcfc","role":"symbol"},"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"paths":["\/documentation\/jose_swift\/keyencriptionresultmetadata\/init(encryptedkey:initializationvector:authenticationtag:pbs2saltinput:pbs2saltcount:othermetadata:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/init(encryptedKey:initializationVector:authenticationTag:pbs2saltInput:pbs2saltCount:otherMetadata:)","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyEncriptionResultMetadata":{"abstract":[{"type":"codeVoice","code":"KeyEncriptionResultMetadata"},{"type":"text","text":" is a struct representing the metadata of a key encryption result."}],"kind":"symbol","title":"KeyEncriptionResultMetadata","navigatorTitle":[{"text":"KeyEncriptionResultMetadata","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata","type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/keyencriptionresultmetadata","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyEncriptionResultMetadata"}]},"doc://jose-swift/documentation/jose_swift/KeyEncriptionResultMetadata/init(encryptedKey:initializationVector:authenticationTag:pbs2saltInput:pbs2saltCount:otherMetadata:)":{"title":"init(encryptedKey:initializationVector:authenticationTag:pbs2saltInput:pbs2saltCount:otherMetadata:)","role":"symbol","kind":"symbol","url":"\/documentation\/jose_swift\/keyencriptionresultmetadata\/init(encryptedkey:initializationvector:authenticationtag:pbs2saltinput:pbs2saltcount:othermetadata:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"encryptedKey"},{"text":": ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"initializationVector","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"authenticationTag"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"pbs2saltInput"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"pbs2saltCount"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"text":"?, ","kind":"text"},{"text":"otherMetadata","kind":"externalParam"},{"text":": [","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":" : ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"])","kind":"text"}],"abstract":[{"text":"Initializes a new ","type":"text"},{"type":"codeVoice","code":"KeyEncriptionResultMetadata"},{"type":"text","text":" instance with the specified encryption result and metadata."}],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/init(encryptedKey:initializationVector:authenticationTag:pbs2saltInput:pbs2saltCount:otherMetadata:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keyencriptionresultmetadata/initializationvector.json b/data/documentation/jose_swift/keyencriptionresultmetadata/initializationvector.json new file mode 100644 index 0000000..93be7cc --- /dev/null +++ b/data/documentation/jose_swift/keyencriptionresultmetadata/initializationvector.json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"minor":3,"major":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/initializationVector","interfaceLanguage":"swift"},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata"]]},"abstract":[{"text":"Optional initialization vector associated with the key encryption.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"initializationVector","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"kind":"text","text":"?"}],"platforms":["macOS"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keyencriptionresultmetadata\/initializationvector"]}],"metadata":{"title":"initializationVector","symbolKind":"property","modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebAlgorithms27KeyEncriptionResultMetadataV20initializationVector10Foundation4DataVSgvp","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"initializationVector","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"role":"symbol","roleHeading":"Instance Property"},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/KeyEncriptionResultMetadata":{"abstract":[{"type":"codeVoice","code":"KeyEncriptionResultMetadata"},{"type":"text","text":" is a struct representing the metadata of a key encryption result."}],"kind":"symbol","title":"KeyEncriptionResultMetadata","navigatorTitle":[{"text":"KeyEncriptionResultMetadata","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata","type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/keyencriptionresultmetadata","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyEncriptionResultMetadata"}]},"doc://jose-swift/documentation/jose_swift/KeyEncriptionResultMetadata/initializationVector":{"url":"\/documentation\/jose_swift\/keyencriptionresultmetadata\/initializationvector","title":"initializationVector","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/initializationVector","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"initializationVector","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"abstract":[{"text":"Optional initialization vector associated with the key encryption.","type":"text"}],"role":"symbol","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keyencriptionresultmetadata/othermetadata.json b/data/documentation/jose_swift/keyencriptionresultmetadata/othermetadata.json new file mode 100644 index 0000000..d11ebd0 --- /dev/null +++ b/data/documentation/jose_swift/keyencriptionresultmetadata/othermetadata.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/otherMetadata","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"otherMetadata"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":" : ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"]","kind":"text"}]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/keyencriptionresultmetadata\/othermetadata"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata"]]},"metadata":{"title":"otherMetadata","symbolKind":"property","roleHeading":"Instance Property","modules":[{"name":"jose-swift"}],"fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"otherMetadata","kind":"identifier"},{"kind":"text","text":": ["},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":" : "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":"]","kind":"text"}],"externalID":"s:17JSONWebAlgorithms27KeyEncriptionResultMetadataV05otherF0SDySS10Foundation4DataVGvp","role":"symbol"},"abstract":[{"type":"text","text":"Additional metadata that may be included in the encryption process."}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyEncriptionResultMetadata":{"abstract":[{"type":"codeVoice","code":"KeyEncriptionResultMetadata"},{"type":"text","text":" is a struct representing the metadata of a key encryption result."}],"kind":"symbol","title":"KeyEncriptionResultMetadata","navigatorTitle":[{"text":"KeyEncriptionResultMetadata","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata","type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/keyencriptionresultmetadata","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyEncriptionResultMetadata"}]},"doc://jose-swift/documentation/jose_swift/KeyEncriptionResultMetadata/otherMetadata":{"title":"otherMetadata","kind":"symbol","url":"\/documentation\/jose_swift\/keyencriptionresultmetadata\/othermetadata","type":"topic","abstract":[{"type":"text","text":"Additional metadata that may be included in the encryption process."}],"fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"otherMetadata"},{"text":": [","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":" : ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"]","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/otherMetadata","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keyencriptionresultmetadata/pbs2saltcount.json b/data/documentation/jose_swift/keyencriptionresultmetadata/pbs2saltcount.json new file mode 100644 index 0000000..7d39b49 --- /dev/null +++ b/data/documentation/jose_swift/keyencriptionresultmetadata/pbs2saltcount.json @@ -0,0 +1 @@ +{"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"pbs2saltCount"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"},{"kind":"text","text":"?"}],"platforms":["macOS"],"languages":["swift"]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/keyencriptionresultmetadata\/pbs2saltcount"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/pbs2saltCount"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata"]]},"metadata":{"roleHeading":"Instance Property","externalID":"s:17JSONWebAlgorithms27KeyEncriptionResultMetadataV13pbs2saltCountSiSgvp","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"pbs2saltCount","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"text":"?","kind":"text"}],"role":"symbol","title":"pbs2saltCount","modules":[{"name":"jose-swift"}],"symbolKind":"property"},"abstract":[{"type":"text","text":"Optional iteration count for the PBES2 salt input."}],"references":{"doc://jose-swift/documentation/jose_swift/KeyEncriptionResultMetadata":{"abstract":[{"type":"codeVoice","code":"KeyEncriptionResultMetadata"},{"type":"text","text":" is a struct representing the metadata of a key encryption result."}],"kind":"symbol","title":"KeyEncriptionResultMetadata","navigatorTitle":[{"text":"KeyEncriptionResultMetadata","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata","type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/keyencriptionresultmetadata","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyEncriptionResultMetadata"}]},"doc://jose-swift/documentation/jose_swift/KeyEncriptionResultMetadata/pbs2saltCount":{"url":"\/documentation\/jose_swift\/keyencriptionresultmetadata\/pbs2saltcount","abstract":[{"text":"Optional iteration count for the PBES2 salt input.","type":"text"}],"kind":"symbol","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"pbs2saltCount"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"text":"?","kind":"text"}],"role":"symbol","type":"topic","title":"pbs2saltCount","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/pbs2saltCount"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keyencriptionresultmetadata/pbs2saltinput.json b/data/documentation/jose_swift/keyencriptionresultmetadata/pbs2saltinput.json new file mode 100644 index 0000000..7662b06 --- /dev/null +++ b/data/documentation/jose_swift/keyencriptionresultmetadata/pbs2saltinput.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata"]]},"abstract":[{"text":"Optional PBES2 salt input used in the encryption process.","type":"text"}],"variants":[{"paths":["\/documentation\/jose_swift\/keyencriptionresultmetadata\/pbs2saltinput"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"metadata":{"symbolKind":"property","externalID":"s:17JSONWebAlgorithms27KeyEncriptionResultMetadataV13pbs2saltInput10Foundation4DataVSgvp","role":"symbol","title":"pbs2saltInput","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"pbs2saltInput"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"roleHeading":"Instance Property"},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"pbs2saltInput"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":"?","kind":"text"}],"languages":["swift"]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/pbs2saltInput"},"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://jose-swift/documentation/jose_swift/KeyEncriptionResultMetadata":{"abstract":[{"type":"codeVoice","code":"KeyEncriptionResultMetadata"},{"type":"text","text":" is a struct representing the metadata of a key encryption result."}],"kind":"symbol","title":"KeyEncriptionResultMetadata","navigatorTitle":[{"text":"KeyEncriptionResultMetadata","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata","type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/keyencriptionresultmetadata","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyEncriptionResultMetadata"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyEncriptionResultMetadata/pbs2saltInput":{"abstract":[{"type":"text","text":"Optional PBES2 salt input used in the encryption process."}],"type":"topic","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"pbs2saltInput","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"url":"\/documentation\/jose_swift\/keyencriptionresultmetadata\/pbs2saltinput","kind":"symbol","title":"pbs2saltInput","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata\/pbs2saltInput"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keyencryptionarguments.json b/data/documentation/jose_swift/keyencryptionarguments.json new file mode 100644 index 0000000..8db742f --- /dev/null +++ b/data/documentation/jose_swift/keyencryptionarguments.json @@ -0,0 +1 @@ +{"sections":[],"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyEncryptionArguments"}],"platforms":["macOS"]}],"kind":"declarations"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments"},"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"metadata":{"title":"KeyEncryptionArguments","roleHeading":"Enumeration","symbolKind":"enum","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyEncryptionArguments","kind":"identifier"}],"externalID":"s:17JSONWebAlgorithms22KeyEncryptionArgumentsO","role":"symbol","navigatorTitle":[{"text":"KeyEncryptionArguments","kind":"identifier"}]},"abstract":[{"type":"codeVoice","code":"KeyEncryptionArguments"},{"type":"text","text":" is an enumeration defining additional arguments that can be used in key encryption processes."}],"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/agreementPartyUInfo(_:)","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/agreementPartyVInfo(_:)","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/authenticationTag(_:)","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/customData(key:value:)","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/customJWK(key:value:)","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/initializationVector(_:)","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/pbs2saltCount(_:)","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/pbs2saltInput(_:)"],"title":"Enumeration Cases"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keyencryptionarguments"]}],"references":{"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments/authenticationTag(_:)":{"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"authenticationTag","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":")","kind":"text"}],"title":"KeyEncryptionArguments.authenticationTag(_:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/authenticationTag(_:)","role":"symbol","url":"\/documentation\/jose_swift\/keyencryptionarguments\/authenticationtag(_:)","abstract":[{"type":"text","text":"The authentication tag used to verify the integrity and authenticity of a message in authenticated encryption."}],"kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments/agreementPartyVInfo(_:)":{"kind":"symbol","title":"KeyEncryptionArguments.agreementPartyVInfo(_:)","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"agreementPartyVInfo","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":")"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/agreementPartyVInfo(_:)","url":"\/documentation\/jose_swift\/keyencryptionarguments\/agreementpartyvinfo(_:)","abstract":[{"text":"Data specific to the other party involved in the key agreement (usually the responder).","type":"text"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments/pbs2saltInput(_:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/pbs2saltInput(_:)","url":"\/documentation\/jose_swift\/keyencryptionarguments\/pbs2saltinput(_:)","role":"symbol","abstract":[{"type":"text","text":"PBES2 salt input used in key derivation functions."}],"title":"KeyEncryptionArguments.pbs2saltInput(_:)","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"pbs2saltInput","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":")","kind":"text"}],"kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments/initializationVector(_:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/initializationVector(_:)","abstract":[{"text":"The initialization vector used in certain encryption algorithms to provide additional randomness.","type":"text"}],"role":"symbol","type":"topic","title":"KeyEncryptionArguments.initializationVector(_:)","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"initializationVector","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":")"}],"url":"\/documentation\/jose_swift\/keyencryptionarguments\/initializationvector(_:)","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments/agreementPartyUInfo(_:)":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/agreementPartyUInfo(_:)","title":"KeyEncryptionArguments.agreementPartyUInfo(_:)","abstract":[{"text":"Data specific to one party involved in the key agreement (usually the initiator).","type":"text"}],"type":"topic","kind":"symbol","url":"\/documentation\/jose_swift\/keyencryptionarguments\/agreementpartyuinfo(_:)","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"agreementPartyUInfo"},{"text":"(","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":")","kind":"text"}]},"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments/pbs2saltCount(_:)":{"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"pbs2saltCount","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"},{"kind":"text","text":")"}],"title":"KeyEncryptionArguments.pbs2saltCount(_:)","abstract":[{"type":"text","text":"The iteration count for the PBES2 salt input in key derivation functions."}],"kind":"symbol","url":"\/documentation\/jose_swift\/keyencryptionarguments\/pbs2saltcount(_:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/pbs2saltCount(_:)","type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments":{"type":"topic","abstract":[{"type":"codeVoice","code":"KeyEncryptionArguments"},{"type":"text","text":" is an enumeration defining additional arguments that can be used in key encryption processes."}],"navigatorTitle":[{"kind":"identifier","text":"KeyEncryptionArguments"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyEncryptionArguments"}],"title":"KeyEncryptionArguments","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/keyencryptionarguments","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments"},"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments/customData(key:value:)":{"abstract":[{"type":"text","text":"Allows for custom data to be included, identified by a key."}],"type":"topic","kind":"symbol","url":"\/documentation\/jose_swift\/keyencryptionarguments\/customdata(key:value:)","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"customData"},{"text":"(","kind":"text"},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"value"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":")","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/customData(key:value:)","title":"KeyEncryptionArguments.customData(key:value:)"},"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments/customJWK(key:value:)":{"kind":"symbol","title":"KeyEncryptionArguments.customJWK(key:value:)","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"customJWK","kind":"identifier"},{"text":"(","kind":"text"},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"value"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":")"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/customJWK(key:value:)","url":"\/documentation\/jose_swift\/keyencryptionarguments\/customjwk(key:value:)","abstract":[{"text":"Allows for a custom JSON Web Key (JWK) to be included, identified by a key.","type":"text"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keyencryptionarguments/agreementpartyuinfo(_:).json b/data/documentation/jose_swift/keyencryptionarguments/agreementpartyuinfo(_:).json new file mode 100644 index 0000000..50aa0c1 --- /dev/null +++ b/data/documentation/jose_swift/keyencryptionarguments/agreementpartyuinfo(_:).json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/keyencryptionarguments\/agreementpartyuinfo(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"agreementPartyUInfo","kind":"identifier"},{"text":"(","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")"}]}],"kind":"declarations"}],"metadata":{"role":"symbol","roleHeading":"Case","modules":[{"name":"jose-swift"}],"title":"KeyEncryptionArguments.agreementPartyUInfo(_:)","symbolKind":"case","externalID":"s:17JSONWebAlgorithms22KeyEncryptionArgumentsO19agreementPartyUInfoyAC10Foundation4DataVcACmF","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"agreementPartyUInfo"},{"text":"(","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":")","kind":"text"}]},"abstract":[{"text":"Data specific to one party involved in the key agreement (usually the initiator).","type":"text"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/agreementPartyUInfo(_:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments"]]},"sections":[],"schemaVersion":{"patch":0,"minor":3,"major":0},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments/agreementPartyUInfo(_:)":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/agreementPartyUInfo(_:)","title":"KeyEncryptionArguments.agreementPartyUInfo(_:)","abstract":[{"text":"Data specific to one party involved in the key agreement (usually the initiator).","type":"text"}],"type":"topic","kind":"symbol","url":"\/documentation\/jose_swift\/keyencryptionarguments\/agreementpartyuinfo(_:)","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"agreementPartyUInfo"},{"text":"(","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":")","kind":"text"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments":{"type":"topic","abstract":[{"type":"codeVoice","code":"KeyEncryptionArguments"},{"type":"text","text":" is an enumeration defining additional arguments that can be used in key encryption processes."}],"navigatorTitle":[{"kind":"identifier","text":"KeyEncryptionArguments"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyEncryptionArguments"}],"title":"KeyEncryptionArguments","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/keyencryptionarguments","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keyencryptionarguments/agreementpartyvinfo(_:).json b/data/documentation/jose_swift/keyencryptionarguments/agreementpartyvinfo(_:).json new file mode 100644 index 0000000..c3cffc9 --- /dev/null +++ b/data/documentation/jose_swift/keyencryptionarguments/agreementpartyvinfo(_:).json @@ -0,0 +1 @@ +{"abstract":[{"text":"Data specific to the other party involved in the key agreement (usually the responder).","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keyencryptionarguments\/agreementpartyvinfo(_:)"]}],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/agreementPartyVInfo(_:)"},"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"modules":[{"name":"jose-swift"}],"title":"KeyEncryptionArguments.agreementPartyVInfo(_:)","roleHeading":"Case","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"agreementPartyVInfo","kind":"identifier"},{"text":"(","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":")"}],"symbolKind":"case","externalID":"s:17JSONWebAlgorithms22KeyEncryptionArgumentsO19agreementPartyVInfoyAC10Foundation4DataVcACmF","role":"symbol"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments"]]},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"agreementPartyVInfo","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":")"}]}]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments/agreementPartyVInfo(_:)":{"kind":"symbol","title":"KeyEncryptionArguments.agreementPartyVInfo(_:)","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"agreementPartyVInfo","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":")"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/agreementPartyVInfo(_:)","url":"\/documentation\/jose_swift\/keyencryptionarguments\/agreementpartyvinfo(_:)","abstract":[{"text":"Data specific to the other party involved in the key agreement (usually the responder).","type":"text"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments":{"type":"topic","abstract":[{"type":"codeVoice","code":"KeyEncryptionArguments"},{"type":"text","text":" is an enumeration defining additional arguments that can be used in key encryption processes."}],"navigatorTitle":[{"kind":"identifier","text":"KeyEncryptionArguments"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyEncryptionArguments"}],"title":"KeyEncryptionArguments","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/keyencryptionarguments","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keyencryptionarguments/authenticationtag(_:).json b/data/documentation/jose_swift/keyencryptionarguments/authenticationtag(_:).json new file mode 100644 index 0000000..896132b --- /dev/null +++ b/data/documentation/jose_swift/keyencryptionarguments/authenticationtag(_:).json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keyencryptionarguments\/authenticationtag(_:)"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"authenticationTag","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":")","kind":"text"}]}]}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments"]]},"metadata":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"authenticationTag","kind":"identifier"},{"kind":"text","text":"("},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":")","kind":"text"}],"title":"KeyEncryptionArguments.authenticationTag(_:)","symbolKind":"case","roleHeading":"Case","modules":[{"name":"jose-swift"}],"role":"symbol","externalID":"s:17JSONWebAlgorithms22KeyEncryptionArgumentsO17authenticationTagyAC10Foundation4DataVcACmF"},"sections":[],"abstract":[{"text":"The authentication tag used to verify the integrity and authenticity of a message in authenticated encryption.","type":"text"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/authenticationTag(_:)","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"major":0,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments/authenticationTag(_:)":{"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"authenticationTag","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":")","kind":"text"}],"title":"KeyEncryptionArguments.authenticationTag(_:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/authenticationTag(_:)","role":"symbol","url":"\/documentation\/jose_swift\/keyencryptionarguments\/authenticationtag(_:)","abstract":[{"type":"text","text":"The authentication tag used to verify the integrity and authenticity of a message in authenticated encryption."}],"kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments":{"type":"topic","abstract":[{"type":"codeVoice","code":"KeyEncryptionArguments"},{"type":"text","text":" is an enumeration defining additional arguments that can be used in key encryption processes."}],"navigatorTitle":[{"kind":"identifier","text":"KeyEncryptionArguments"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyEncryptionArguments"}],"title":"KeyEncryptionArguments","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/keyencryptionarguments","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keyencryptionarguments/customdata(key:value:).json b/data/documentation/jose_swift/keyencryptionarguments/customdata(key:value:).json new file mode 100644 index 0000000..09d08a1 --- /dev/null +++ b/data/documentation/jose_swift/keyencryptionarguments/customdata(key:value:).json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"Allows for custom data to be included, identified by a key."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"customData","kind":"identifier"},{"kind":"text","text":"("},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"value","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")"}],"platforms":["macOS"],"languages":["swift"]}]}],"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/customData(key:value:)"},"kind":"symbol","metadata":{"role":"symbol","symbolKind":"case","roleHeading":"Case","title":"KeyEncryptionArguments.customData(key:value:)","externalID":"s:17JSONWebAlgorithms22KeyEncryptionArgumentsO10customDatayACSS_10Foundation0G0VtcACmF","modules":[{"name":"jose-swift"}],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"customData","kind":"identifier"},{"kind":"text","text":"("},{"text":"key","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":", ","kind":"text"},{"text":"value","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")"}]},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments"]]},"variants":[{"paths":["\/documentation\/jose_swift\/keyencryptionarguments\/customdata(key:value:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments":{"type":"topic","abstract":[{"type":"codeVoice","code":"KeyEncryptionArguments"},{"type":"text","text":" is an enumeration defining additional arguments that can be used in key encryption processes."}],"navigatorTitle":[{"kind":"identifier","text":"KeyEncryptionArguments"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyEncryptionArguments"}],"title":"KeyEncryptionArguments","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/keyencryptionarguments","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments"},"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments/customData(key:value:)":{"abstract":[{"type":"text","text":"Allows for custom data to be included, identified by a key."}],"type":"topic","kind":"symbol","url":"\/documentation\/jose_swift\/keyencryptionarguments\/customdata(key:value:)","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"customData"},{"text":"(","kind":"text"},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"value"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":")","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/customData(key:value:)","title":"KeyEncryptionArguments.customData(key:value:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keyencryptionarguments/customjwk(key:value:).json b/data/documentation/jose_swift/keyencryptionarguments/customjwk(key:value:).json new file mode 100644 index 0000000..824dfe8 --- /dev/null +++ b/data/documentation/jose_swift/keyencryptionarguments/customjwk(key:value:).json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keyencryptionarguments\/customjwk(key:value:)"]}],"kind":"symbol","abstract":[{"type":"text","text":"Allows for a custom JSON Web Key (JWK) to be included, identified by a key."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"customJWK"},{"kind":"text","text":"("},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"value"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":")","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments"]]},"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/customJWK(key:value:)"},"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"externalID":"s:17JSONWebAlgorithms22KeyEncryptionArgumentsO9customJWKyACSS_0aC00G0VtcACmF","symbolKind":"case","role":"symbol","title":"KeyEncryptionArguments.customJWK(key:value:)","modules":[{"name":"jose-swift"}],"roleHeading":"Case","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"customJWK","kind":"identifier"},{"text":"(","kind":"text"},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"value","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":")","kind":"text"}]},"references":{"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments/customJWK(key:value:)":{"kind":"symbol","title":"KeyEncryptionArguments.customJWK(key:value:)","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"customJWK","kind":"identifier"},{"text":"(","kind":"text"},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"value"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":")"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/customJWK(key:value:)","url":"\/documentation\/jose_swift\/keyencryptionarguments\/customjwk(key:value:)","abstract":[{"text":"Allows for a custom JSON Web Key (JWK) to be included, identified by a key.","type":"text"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments":{"type":"topic","abstract":[{"type":"codeVoice","code":"KeyEncryptionArguments"},{"type":"text","text":" is an enumeration defining additional arguments that can be used in key encryption processes."}],"navigatorTitle":[{"kind":"identifier","text":"KeyEncryptionArguments"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyEncryptionArguments"}],"title":"KeyEncryptionArguments","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/keyencryptionarguments","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keyencryptionarguments/initializationvector(_:).json b/data/documentation/jose_swift/keyencryptionarguments/initializationvector(_:).json new file mode 100644 index 0000000..888a137 --- /dev/null +++ b/data/documentation/jose_swift/keyencryptionarguments/initializationvector(_:).json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/initializationVector(_:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keyencryptionarguments\/initializationvector(_:)"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"kind":"symbol","abstract":[{"type":"text","text":"The initialization vector used in certain encryption algorithms to provide additional randomness."}],"metadata":{"symbolKind":"case","role":"symbol","roleHeading":"Case","title":"KeyEncryptionArguments.initializationVector(_:)","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"initializationVector","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":")","kind":"text"}],"modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebAlgorithms22KeyEncryptionArgumentsO20initializationVectoryAC10Foundation4DataVcACmF"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"initializationVector"},{"text":"(","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":")","kind":"text"}],"languages":["swift"]}]}],"references":{"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments":{"type":"topic","abstract":[{"type":"codeVoice","code":"KeyEncryptionArguments"},{"type":"text","text":" is an enumeration defining additional arguments that can be used in key encryption processes."}],"navigatorTitle":[{"kind":"identifier","text":"KeyEncryptionArguments"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyEncryptionArguments"}],"title":"KeyEncryptionArguments","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/keyencryptionarguments","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments"},"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments/initializationVector(_:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/initializationVector(_:)","abstract":[{"text":"The initialization vector used in certain encryption algorithms to provide additional randomness.","type":"text"}],"role":"symbol","type":"topic","title":"KeyEncryptionArguments.initializationVector(_:)","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"initializationVector","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":")"}],"url":"\/documentation\/jose_swift\/keyencryptionarguments\/initializationvector(_:)","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keyencryptionarguments/pbs2saltcount(_:).json b/data/documentation/jose_swift/keyencryptionarguments/pbs2saltcount(_:).json new file mode 100644 index 0000000..2d04d52 --- /dev/null +++ b/data/documentation/jose_swift/keyencryptionarguments/pbs2saltcount(_:).json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keyencryptionarguments\/pbs2saltcount(_:)"]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments"]]},"metadata":{"modules":[{"name":"jose-swift"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"pbs2saltCount","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"},{"text":")","kind":"text"}],"title":"KeyEncryptionArguments.pbs2saltCount(_:)","roleHeading":"Case","externalID":"s:17JSONWebAlgorithms22KeyEncryptionArgumentsO13pbs2saltCountyACSicACmF","role":"symbol","symbolKind":"case"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"pbs2saltCount","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"},{"text":")","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}]}],"sections":[],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/pbs2saltCount(_:)"},"abstract":[{"type":"text","text":"The iteration count for the PBES2 salt input in key derivation functions."}],"references":{"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments":{"type":"topic","abstract":[{"type":"codeVoice","code":"KeyEncryptionArguments"},{"type":"text","text":" is an enumeration defining additional arguments that can be used in key encryption processes."}],"navigatorTitle":[{"kind":"identifier","text":"KeyEncryptionArguments"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyEncryptionArguments"}],"title":"KeyEncryptionArguments","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/keyencryptionarguments","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments"},"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments/pbs2saltCount(_:)":{"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"pbs2saltCount","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"},{"kind":"text","text":")"}],"title":"KeyEncryptionArguments.pbs2saltCount(_:)","abstract":[{"type":"text","text":"The iteration count for the PBES2 salt input in key derivation functions."}],"kind":"symbol","url":"\/documentation\/jose_swift\/keyencryptionarguments\/pbs2saltcount(_:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/pbs2saltCount(_:)","type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keyencryptionarguments/pbs2saltinput(_:).json b/data/documentation/jose_swift/keyencryptionarguments/pbs2saltinput(_:).json new file mode 100644 index 0000000..ade5879 --- /dev/null +++ b/data/documentation/jose_swift/keyencryptionarguments/pbs2saltinput(_:).json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"major":0,"minor":3},"variants":[{"paths":["\/documentation\/jose_swift\/keyencryptionarguments\/pbs2saltinput(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"pbs2saltInput","kind":"identifier"},{"kind":"text","text":"("},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":")"}],"languages":["swift"]}],"kind":"declarations"}],"metadata":{"externalID":"s:17JSONWebAlgorithms22KeyEncryptionArgumentsO13pbs2saltInputyAC10Foundation4DataVcACmF","role":"symbol","roleHeading":"Case","symbolKind":"case","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"pbs2saltInput","kind":"identifier"},{"kind":"text","text":"("},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")"}],"title":"KeyEncryptionArguments.pbs2saltInput(_:)"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/pbs2saltInput(_:)"},"sections":[],"abstract":[{"type":"text","text":"PBES2 salt input used in key derivation functions."}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments"]]},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments/pbs2saltInput(_:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments\/pbs2saltInput(_:)","url":"\/documentation\/jose_swift\/keyencryptionarguments\/pbs2saltinput(_:)","role":"symbol","abstract":[{"type":"text","text":"PBES2 salt input used in key derivation functions."}],"title":"KeyEncryptionArguments.pbs2saltInput(_:)","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"pbs2saltInput","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":")","kind":"text"}],"kind":"symbol","type":"topic"},"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments":{"type":"topic","abstract":[{"type":"codeVoice","code":"KeyEncryptionArguments"},{"type":"text","text":" is an enumeration defining additional arguments that can be used in key encryption processes."}],"navigatorTitle":[{"kind":"identifier","text":"KeyEncryptionArguments"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyEncryptionArguments"}],"title":"KeyEncryptionArguments","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/keyencryptionarguments","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keygeneration.json b/data/documentation/jose_swift/keygeneration.json new file mode 100644 index 0000000..0b3951b --- /dev/null +++ b/data/documentation/jose_swift/keygeneration.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGeneration","interfaceLanguage":"swift"},"topicSections":[{"title":"Instance Methods","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGeneration\/generateKeyPairJWK(purpose:)","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGeneration\/generatePrivateKey(purpose:)","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGeneration\/generateRandomKey()"]}],"abstract":[{"code":"KeyGeneration","type":"codeVoice"},{"type":"text","text":" is a protocol that defines functionality for generating cryptographic keys."}],"variants":[{"paths":["\/documentation\/jose_swift\/keygeneration"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"KeyGeneration","kind":"identifier"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"kind":"symbol","metadata":{"navigatorTitle":[{"text":"KeyGeneration","kind":"identifier"}],"roleHeading":"Protocol","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"KeyGeneration","kind":"identifier"}],"externalID":"s:17JSONWebAlgorithms13KeyGenerationP","modules":[{"name":"jose-swift"}],"symbolKind":"protocol","role":"symbol","title":"KeyGeneration"},"schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/KeyGeneration":{"url":"\/documentation\/jose_swift\/keygeneration","navigatorTitle":[{"kind":"identifier","text":"KeyGeneration"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"KeyGeneration"}],"title":"KeyGeneration","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGeneration","abstract":[{"code":"KeyGeneration","type":"codeVoice"},{"text":" is a protocol that defines functionality for generating cryptographic keys.","type":"text"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyGeneration/generateRandomKey()":{"url":"\/documentation\/jose_swift\/keygeneration\/generaterandomkey()","type":"topic","required":true,"role":"symbol","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGeneration\/generateRandomKey()","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"generateRandomKey"},{"text":"() ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"title":"generateRandomKey()","abstract":[{"type":"text","text":"Generates a random key suitable for cryptographic operations."}]},"doc://jose-swift/documentation/jose_swift/KeyGeneration/generateKeyPairJWK(purpose:)":{"url":"\/documentation\/jose_swift\/keygeneration\/generatekeypairjwk(purpose:)","title":"generateKeyPairJWK(purpose:)","required":true,"role":"symbol","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGeneration\/generateKeyPairJWK(purpose:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"generateKeyPairJWK","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"purpose"},{"kind":"text","text":": "},{"text":"KeyGenerationPurpose","preciseIdentifier":"s:17JSONWebAlgorithms20KeyGenerationPurposeO","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"}],"abstract":[{"type":"text","text":"Generates a key pair in JSON Web Key (JWK) format for a specified purpose."}],"type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyGeneration/generatePrivateKey(purpose:)":{"kind":"symbol","required":true,"title":"generatePrivateKey(purpose:)","url":"\/documentation\/jose_swift\/keygeneration\/generateprivatekey(purpose:)","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"generatePrivateKey"},{"kind":"text","text":"("},{"text":"purpose","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"KeyGenerationPurpose","preciseIdentifier":"s:17JSONWebAlgorithms20KeyGenerationPurposeO"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGeneration\/generatePrivateKey(purpose:)","abstract":[{"type":"text","text":"Generates a private key for a specified purpose."}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keygeneration/generatekeypairjwk(purpose:).json b/data/documentation/jose_swift/keygeneration/generatekeypairjwk(purpose:).json new file mode 100644 index 0000000..0e4a45b --- /dev/null +++ b/data/documentation/jose_swift/keygeneration/generatekeypairjwk(purpose:).json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keygeneration\/generatekeypairjwk(purpose:)"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGeneration"]]},"sections":[],"abstract":[{"type":"text","text":"Generates a key pair in JSON Web Key (JWK) format for a specified purpose."}],"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGeneration\/generateKeyPairJWK(purpose:)","interfaceLanguage":"swift"},"metadata":{"roleHeading":"Instance Method","symbolKind":"method","externalID":"s:17JSONWebAlgorithms13KeyGenerationP08generateC7PairJWK7purpose0aC00G0VAA0cD7PurposeO_tKF","modules":[{"name":"jose-swift"}],"title":"generateKeyPairJWK(purpose:)","required":true,"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"generateKeyPairJWK"},{"text":"(","kind":"text"},{"text":"purpose","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"KeyGenerationPurpose","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms20KeyGenerationPurposeO"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"}],"role":"symbol"},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"generateKeyPairJWK"},{"kind":"text","text":"("},{"text":"purpose","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms20KeyGenerationPurposeO","kind":"typeIdentifier","text":"KeyGenerationPurpose","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"},{"parameters":[{"name":"purpose","content":[{"type":"paragraph","inlineContent":[{"text":"The purpose for which the key pair is being generated.","type":"text"}]}]}],"kind":"parameters"},{"content":[{"text":"Return Value","type":"heading","level":2,"anchor":"return-value"},{"type":"paragraph","inlineContent":[{"text":"A ","type":"text"},{"code":"JWK","type":"codeVoice"},{"type":"text","text":" object representing the key pair."}]}],"kind":"content"},{"kind":"content","content":[{"level":2,"type":"heading","text":"Discussion","anchor":"discussion"},{"type":"aside","style":"note","content":[{"inlineContent":[{"text":"An error if the key pair generation process fails.","type":"text"}],"type":"paragraph"}],"name":"Throws"}]}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyGeneration":{"url":"\/documentation\/jose_swift\/keygeneration","navigatorTitle":[{"kind":"identifier","text":"KeyGeneration"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"KeyGeneration"}],"title":"KeyGeneration","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGeneration","abstract":[{"code":"KeyGeneration","type":"codeVoice"},{"text":" is a protocol that defines functionality for generating cryptographic keys.","type":"text"}],"role":"symbol"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"text":"RFC7517","type":"text"}],"title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/KeyGeneration/generateKeyPairJWK(purpose:)":{"url":"\/documentation\/jose_swift\/keygeneration\/generatekeypairjwk(purpose:)","title":"generateKeyPairJWK(purpose:)","required":true,"role":"symbol","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGeneration\/generateKeyPairJWK(purpose:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"generateKeyPairJWK","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"purpose"},{"kind":"text","text":": "},{"text":"KeyGenerationPurpose","preciseIdentifier":"s:17JSONWebAlgorithms20KeyGenerationPurposeO","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"}],"abstract":[{"type":"text","text":"Generates a key pair in JSON Web Key (JWK) format for a specified purpose."}],"type":"topic"},"doc://jose-swift/documentation/jose_swift/KeyGenerationPurpose":{"kind":"symbol","role":"symbol","navigatorTitle":[{"text":"KeyGenerationPurpose","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"KeyGenerationPurpose"},{"type":"text","text":" is an enumeration representing the intended purpose of a generated key."}],"url":"\/documentation\/jose_swift\/keygenerationpurpose","title":"KeyGenerationPurpose","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose","type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyGenerationPurpose"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keygeneration/generateprivatekey(purpose:).json b/data/documentation/jose_swift/keygeneration/generateprivatekey(purpose:).json new file mode 100644 index 0000000..192d7bc --- /dev/null +++ b/data/documentation/jose_swift/keygeneration/generateprivatekey(purpose:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGeneration"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keygeneration\/generateprivatekey(purpose:)"]}],"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGeneration\/generatePrivateKey(purpose:)","interfaceLanguage":"swift"},"metadata":{"required":true,"externalID":"s:17JSONWebAlgorithms13KeyGenerationP015generatePrivateC07purpose10Foundation4DataVAA0cD7PurposeO_tKF","role":"symbol","title":"generatePrivateKey(purpose:)","symbolKind":"method","roleHeading":"Instance Method","modules":[{"name":"jose-swift"}],"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"generatePrivateKey","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"purpose"},{"text":": ","kind":"text"},{"text":"KeyGenerationPurpose","preciseIdentifier":"s:17JSONWebAlgorithms20KeyGenerationPurposeO","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}]},"sections":[],"abstract":[{"text":"Generates a private key for a specified purpose.","type":"text"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"generatePrivateKey","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"purpose"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"KeyGenerationPurpose","preciseIdentifier":"s:17JSONWebAlgorithms20KeyGenerationPurposeO","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"}],"languages":["swift"]}]},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The purpose for which the key is being generated, either signing or key agreement."}]}],"name":"purpose"}]},{"content":[{"type":"heading","anchor":"return-value","level":2,"text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"A private key as "},{"type":"codeVoice","code":"Data"},{"text":".","type":"text"}]}],"kind":"content"},{"kind":"content","content":[{"type":"heading","anchor":"discussion","level":2,"text":"Discussion"},{"type":"aside","style":"note","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An error if the key generation process fails."}]}],"name":"Throws"}]}],"references":{"doc://jose-swift/documentation/jose_swift/KeyGeneration":{"url":"\/documentation\/jose_swift\/keygeneration","navigatorTitle":[{"kind":"identifier","text":"KeyGeneration"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"KeyGeneration"}],"title":"KeyGeneration","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGeneration","abstract":[{"code":"KeyGeneration","type":"codeVoice"},{"text":" is a protocol that defines functionality for generating cryptographic keys.","type":"text"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyGeneration/generatePrivateKey(purpose:)":{"kind":"symbol","required":true,"title":"generatePrivateKey(purpose:)","url":"\/documentation\/jose_swift\/keygeneration\/generateprivatekey(purpose:)","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"generatePrivateKey"},{"kind":"text","text":"("},{"text":"purpose","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"KeyGenerationPurpose","preciseIdentifier":"s:17JSONWebAlgorithms20KeyGenerationPurposeO"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGeneration\/generatePrivateKey(purpose:)","abstract":[{"type":"text","text":"Generates a private key for a specified purpose."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyGenerationPurpose":{"kind":"symbol","role":"symbol","navigatorTitle":[{"text":"KeyGenerationPurpose","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"KeyGenerationPurpose"},{"type":"text","text":" is an enumeration representing the intended purpose of a generated key."}],"url":"\/documentation\/jose_swift\/keygenerationpurpose","title":"KeyGenerationPurpose","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose","type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyGenerationPurpose"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keygeneration/generaterandomkey().json b/data/documentation/jose_swift/keygeneration/generaterandomkey().json new file mode 100644 index 0000000..a61dd73 --- /dev/null +++ b/data/documentation/jose_swift/keygeneration/generaterandomkey().json @@ -0,0 +1 @@ +{"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGeneration\/generateRandomKey()"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGeneration"]]},"abstract":[{"text":"Generates a random key suitable for cryptographic operations.","type":"text"}],"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keygeneration\/generaterandomkey()"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"roleHeading":"Instance Method","role":"symbol","symbolKind":"method","required":true,"externalID":"s:17JSONWebAlgorithms13KeyGenerationP014generateRandomC010Foundation4DataVyKF","modules":[{"name":"jose-swift"}],"title":"generateRandomKey()","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"generateRandomKey","kind":"identifier"},{"text":"() ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}]},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"generateRandomKey"},{"text":"() ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"}],"languages":["swift"]}],"kind":"declarations"},{"content":[{"type":"heading","anchor":"return-value","text":"Return Value","level":2},{"type":"paragraph","inlineContent":[{"type":"text","text":"A random key as "},{"code":"Data","type":"codeVoice"},{"type":"text","text":"."}]}],"kind":"content"},{"kind":"content","content":[{"level":2,"type":"heading","text":"Discussion","anchor":"discussion"},{"style":"note","content":[{"type":"paragraph","inlineContent":[{"text":"An error if the key generation process fails.","type":"text"}]}],"name":"Throws","type":"aside"}]}],"references":{"doc://jose-swift/documentation/jose_swift/KeyGeneration":{"url":"\/documentation\/jose_swift\/keygeneration","navigatorTitle":[{"kind":"identifier","text":"KeyGeneration"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"KeyGeneration"}],"title":"KeyGeneration","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGeneration","abstract":[{"code":"KeyGeneration","type":"codeVoice"},{"text":" is a protocol that defines functionality for generating cryptographic keys.","type":"text"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyGeneration/generateRandomKey()":{"url":"\/documentation\/jose_swift\/keygeneration\/generaterandomkey()","type":"topic","required":true,"role":"symbol","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGeneration\/generateRandomKey()","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"generateRandomKey"},{"text":"() ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"title":"generateRandomKey()","abstract":[{"type":"text","text":"Generates a random key suitable for cryptographic operations."}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keygenerationpurpose.json b/data/documentation/jose_swift/keygenerationpurpose.json new file mode 100644 index 0000000..61f53c0 --- /dev/null +++ b/data/documentation/jose_swift/keygenerationpurpose.json @@ -0,0 +1 @@ +{"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"abstract":[{"type":"codeVoice","code":"KeyGenerationPurpose"},{"text":" is an enumeration representing the intended purpose of a generated key.","type":"text"}],"variants":[{"paths":["\/documentation\/jose_swift\/keygenerationpurpose"],"traits":[{"interfaceLanguage":"swift"}]}],"topicSections":[{"title":"Enumeration Cases","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose\/keyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose\/signing"]},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose\/Equatable-Implementations"],"generated":true,"title":"Default Implementations"}],"relationshipsSections":[{"kind":"relationships","title":"Conforms To","identifiers":["doc:\/\/jose-swift\/SQ","doc:\/\/jose-swift\/SH"],"type":"conformsTo"}],"metadata":{"roleHeading":"Enumeration","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"KeyGenerationPurpose","kind":"identifier"}],"modules":[{"name":"jose-swift"}],"role":"symbol","title":"KeyGenerationPurpose","navigatorTitle":[{"text":"KeyGenerationPurpose","kind":"identifier"}],"symbolKind":"enum","externalID":"s:17JSONWebAlgorithms20KeyGenerationPurposeO"},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"KeyGenerationPurpose"}],"languages":["swift"]}]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://jose-swift/documentation/jose_swift/KeyGenerationPurpose/keyAgreement":{"role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"keyAgreement","kind":"identifier"}],"title":"KeyGenerationPurpose.keyAgreement","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose\/keyAgreement","type":"topic","url":"\/documentation\/jose_swift\/keygenerationpurpose\/keyagreement","abstract":[{"type":"text","text":"Key generation for key agreement purposes."},{"type":"text","text":" "},{"type":"text","text":"Indicates that the generated key will be used in cryptographic key agreement protocols to securely exchange keys."}],"kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"kind":"symbol","url":"\/documentation\/jose_swift","role":"collection","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift","type":"topic","abstract":[],"title":"jose-swift"},"doc://jose-swift/documentation/jose_swift/KeyGenerationPurpose":{"kind":"symbol","role":"symbol","navigatorTitle":[{"text":"KeyGenerationPurpose","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"KeyGenerationPurpose"},{"type":"text","text":" is an enumeration representing the intended purpose of a generated key."}],"url":"\/documentation\/jose_swift\/keygenerationpurpose","title":"KeyGenerationPurpose","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose","type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyGenerationPurpose"}]},"doc://jose-swift/documentation/jose_swift/KeyGenerationPurpose/Equatable-Implementations":{"abstract":[],"kind":"article","role":"collectionGroup","url":"\/documentation\/jose_swift\/keygenerationpurpose\/equatable-implementations","title":"Equatable Implementations","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose\/Equatable-Implementations"},"doc://jose-swift/documentation/jose_swift/KeyGenerationPurpose/signing":{"abstract":[{"type":"text","text":"Key generation for signing purposes."},{"type":"text","text":" "},{"type":"text","text":"Indicates that the generated key will be used for signing data to ensure its integrity and authenticity."}],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"signing","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keygenerationpurpose\/signing","title":"KeyGenerationPurpose.signing","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose\/signing"},"doc://jose-swift/SQ":{"identifier":"doc:\/\/jose-swift\/SQ","title":"Swift.Equatable","type":"unresolvable"},"doc://jose-swift/SH":{"identifier":"doc:\/\/jose-swift\/SH","title":"Swift.Hashable","type":"unresolvable"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keygenerationpurpose/!=(_:_:).json b/data/documentation/jose_swift/keygenerationpurpose/!=(_:_:).json new file mode 100644 index 0000000..a179a82 --- /dev/null +++ b/data/documentation/jose_swift/keygenerationpurpose/!=(_:_:).json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keygenerationpurpose\/!=(_:_:)"]}],"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"kind":"internalParam","text":"lhs"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"text":", ","kind":"text"},{"text":"rhs","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}],"platforms":["macOS"]}],"kind":"declarations"}],"metadata":{"extendedModule":"Swift","roleHeading":"Operator","externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17JSONWebAlgorithms20KeyGenerationPurposeO","title":"!=(_:_:)","modules":[{"relatedModules":["Swift"],"name":"jose-swift"}],"role":"symbol","symbolKind":"op","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose\/!=(_:_:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose\/Equatable-Implementations"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"Equatable.!=(_:_:)"},{"text":".","type":"text"}],"references":{"doc://jose-swift/documentation/jose_swift/KeyGenerationPurpose":{"kind":"symbol","role":"symbol","navigatorTitle":[{"text":"KeyGenerationPurpose","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"KeyGenerationPurpose"},{"type":"text","text":" is an enumeration representing the intended purpose of a generated key."}],"url":"\/documentation\/jose_swift\/keygenerationpurpose","title":"KeyGenerationPurpose","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose","type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyGenerationPurpose"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyGenerationPurpose/!=(_:_:)":{"abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose\/!=(_:_:)","url":"\/documentation\/jose_swift\/keygenerationpurpose\/!=(_:_:)","kind":"symbol","title":"!=(_:_:)","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"type":"topic"},"doc://jose-swift/documentation/jose_swift/KeyGenerationPurpose/Equatable-Implementations":{"abstract":[],"kind":"article","role":"collectionGroup","url":"\/documentation\/jose_swift\/keygenerationpurpose\/equatable-implementations","title":"Equatable Implementations","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose\/Equatable-Implementations"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keygenerationpurpose/equatable-implementations.json b/data/documentation/jose_swift/keygenerationpurpose/equatable-implementations.json new file mode 100644 index 0000000..991fbb4 --- /dev/null +++ b/data/documentation/jose_swift/keygenerationpurpose/equatable-implementations.json @@ -0,0 +1 @@ +{"kind":"article","metadata":{"modules":[{"name":"jose-swift"}],"role":"collectionGroup","title":"Equatable Implementations"},"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose"]]},"topicSections":[{"title":"Operators","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose\/!=(_:_:)"],"generated":true}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose\/Equatable-Implementations"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keygenerationpurpose\/equatable-implementations"]}],"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/KeyGenerationPurpose":{"kind":"symbol","role":"symbol","navigatorTitle":[{"text":"KeyGenerationPurpose","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"KeyGenerationPurpose"},{"type":"text","text":" is an enumeration representing the intended purpose of a generated key."}],"url":"\/documentation\/jose_swift\/keygenerationpurpose","title":"KeyGenerationPurpose","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose","type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyGenerationPurpose"}]},"doc://jose-swift/documentation/jose_swift/KeyGenerationPurpose/!=(_:_:)":{"abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose\/!=(_:_:)","url":"\/documentation\/jose_swift\/keygenerationpurpose\/!=(_:_:)","kind":"symbol","title":"!=(_:_:)","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keygenerationpurpose/keyagreement.json b/data/documentation/jose_swift/keygenerationpurpose/keyagreement.json new file mode 100644 index 0000000..c7bbca5 --- /dev/null +++ b/data/documentation/jose_swift/keygenerationpurpose/keyagreement.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/keygenerationpurpose\/keyagreement"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"title":"KeyGenerationPurpose.keyAgreement","externalID":"s:17JSONWebAlgorithms20KeyGenerationPurposeO12keyAgreementyA2CmF","symbolKind":"case","roleHeading":"Case","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyAgreement"}],"role":"symbol"},"sections":[],"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose\/keyAgreement","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose"]]},"abstract":[{"type":"text","text":"Key generation for key agreement purposes."},{"type":"text","text":" "},{"text":"Indicates that the generated key will be used in cryptographic key agreement protocols to securely exchange keys.","type":"text"}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"keyAgreement","kind":"identifier"}],"platforms":["macOS"]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift/KeyGenerationPurpose/keyAgreement":{"role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"keyAgreement","kind":"identifier"}],"title":"KeyGenerationPurpose.keyAgreement","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose\/keyAgreement","type":"topic","url":"\/documentation\/jose_swift\/keygenerationpurpose\/keyagreement","abstract":[{"type":"text","text":"Key generation for key agreement purposes."},{"type":"text","text":" "},{"type":"text","text":"Indicates that the generated key will be used in cryptographic key agreement protocols to securely exchange keys."}],"kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyGenerationPurpose":{"kind":"symbol","role":"symbol","navigatorTitle":[{"text":"KeyGenerationPurpose","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"KeyGenerationPurpose"},{"type":"text","text":" is an enumeration representing the intended purpose of a generated key."}],"url":"\/documentation\/jose_swift\/keygenerationpurpose","title":"KeyGenerationPurpose","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose","type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyGenerationPurpose"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keygenerationpurpose/signing.json b/data/documentation/jose_swift/keygenerationpurpose/signing.json new file mode 100644 index 0000000..5b279b6 --- /dev/null +++ b/data/documentation/jose_swift/keygenerationpurpose/signing.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"abstract":[{"type":"text","text":"Key generation for signing purposes."},{"text":" ","type":"text"},{"type":"text","text":"Indicates that the generated key will be used for signing data to ensure its integrity and authenticity."}],"kind":"symbol","metadata":{"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"signing"}],"modules":[{"name":"jose-swift"}],"symbolKind":"case","role":"symbol","title":"KeyGenerationPurpose.signing","roleHeading":"Case","externalID":"s:17JSONWebAlgorithms20KeyGenerationPurposeO7signingyA2CmF"},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose\/signing"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"signing","kind":"identifier"}],"languages":["swift"],"platforms":["macOS"]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/keygenerationpurpose\/signing"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/KeyGenerationPurpose/signing":{"abstract":[{"type":"text","text":"Key generation for signing purposes."},{"type":"text","text":" "},{"type":"text","text":"Indicates that the generated key will be used for signing data to ensure its integrity and authenticity."}],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"signing","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keygenerationpurpose\/signing","title":"KeyGenerationPurpose.signing","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose\/signing"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyGenerationPurpose":{"kind":"symbol","role":"symbol","navigatorTitle":[{"text":"KeyGenerationPurpose","kind":"identifier"}],"abstract":[{"type":"codeVoice","code":"KeyGenerationPurpose"},{"type":"text","text":" is an enumeration representing the intended purpose of a generated key."}],"url":"\/documentation\/jose_swift\/keygenerationpurpose","title":"KeyGenerationPurpose","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyGenerationPurpose","type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyGenerationPurpose"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm.json b/data/documentation/jose_swift/keymanagementalgorithm.json new file mode 100644 index 0000000..76f7cf4 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/keymanagementalgorithm"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"relationshipsSections":[{"kind":"relationships","title":"Conforms To","type":"conformsTo","identifiers":["doc:\/\/jose-swift\/Se","doc:\/\/jose-swift\/SE","doc:\/\/jose-swift\/SQ","doc:\/\/jose-swift\/SH","doc:\/\/jose-swift\/SY"]}],"sections":[],"kind":"symbol","metadata":{"symbolKind":"enum","roleHeading":"Enumeration","role":"symbol","navigatorTitle":[{"text":"KeyManagementAlgorithm","kind":"identifier"}],"externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"modules":[{"name":"jose-swift"}],"title":"KeyManagementAlgorithm"},"abstract":[{"type":"text","text":"Supported JWE cryptographic algorithms for key management."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"KeyManagementAlgorithm"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"overview","type":"heading","text":"Overview","level":2},{"inlineContent":[{"text":"For more information, see ","type":"text"},{"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7518#section-4.1","isActive":true}],"type":"paragraph"}]}],"topicSections":[{"title":"Enumeration Cases","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/a128GCMKW","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/a128KW","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/a192GCMKW","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/a192KW","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/a256GCMKW","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/a256KW","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/direct","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdh1PU","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdh1PUA128KW","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdh1PUA192KW","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdh1PUA256KW","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdhES","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdhESA128KW","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdhESA192KW","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdhESA256KW","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/pbes2HS256A128KW","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/pbes2HS384A192KW","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/pbes2HS512A256KW","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/rsa1_5","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/rsaOAEP","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/rsaOAEP256"]},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/init(rawValue:)"],"title":"Initializers"},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/agreement","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/derivation","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/family-swift.property","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/unwrapper","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/wrapper"],"title":"Instance Properties"},{"title":"Enumerations","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum"]},{"generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Equatable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/RawRepresentable-Implementations"],"title":"Default Implementations"}],"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/wrapper":{"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"wrapper"},{"kind":"text","text":": "},{"text":"KeyWrapping","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms11KeyWrappingP"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/wrapper","kind":"symbol","type":"topic","title":"wrapper","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/wrapper","abstract":[{"type":"text","text":"Provides a "},{"code":"KeyWrapping","type":"codeVoice"},{"text":" instance suitable for the key management algorithm.","type":"text"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/direct":{"kind":"symbol","title":"KeyManagementAlgorithm.direct","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"direct","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/direct","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/direct","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/SH":{"type":"unresolvable","title":"Swift.Hashable","identifier":"doc:\/\/jose-swift\/SH"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/a128KW":{"role":"symbol","type":"topic","title":"KeyManagementAlgorithm.a128KW","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"a128KW","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/a128KW","kind":"symbol","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/a128kw","abstract":[]},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Equatable-Implementations":{"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/equatable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Equatable-Implementations","title":"Equatable Implementations","kind":"article","abstract":[],"type":"topic","role":"collectionGroup"},"https://www.rfc-editor.org/rfc/rfc7518#section-4.1":{"titleInlineContent":[{"text":"RFC7518 Section 4.1","type":"text"}],"type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7518#section-4.1","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7518#section-4.1","title":"RFC7518 Section 4.1"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/rsaOAEP256":{"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"rsaOAEP256"}],"kind":"symbol","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/rsaoaep256","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/rsaOAEP256","abstract":[],"title":"KeyManagementAlgorithm.rsaOAEP256","type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/a192GCMKW":{"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/a192gcmkw","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/a192GCMKW","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"a192GCMKW","kind":"identifier"}],"title":"KeyManagementAlgorithm.a192GCMKW","kind":"symbol","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/pbes2HS384A192KW":{"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/pbes2hs384a192kw","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/pbes2HS384A192KW","abstract":[],"type":"topic","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"pbes2HS384A192KW","kind":"identifier"}],"kind":"symbol","title":"KeyManagementAlgorithm.pbes2HS384A192KW","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/family-swift.property":{"title":"family","type":"topic","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/family-swift.property","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"family"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"KeyManagementAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO0A10EncryptionE6FamilyO","text":"Family"}],"abstract":[{"text":"Property to determine the family of the cryptographic algorithm.","type":"text"},{"text":" ","type":"text"},{"text":"Based on the algorithm used, it categorizes into one of the defined families.","type":"text"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.property"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/ecdhES":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdhES","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/ecdhes","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"ecdhES","kind":"identifier"}],"title":"KeyManagementAlgorithm.ecdhES","kind":"symbol","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/rsa1_5":{"abstract":[],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"rsa1_5","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/rsa1_5","title":"KeyManagementAlgorithm.rsa1_5","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/rsa1_5"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/ecdhESA192KW":{"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/ecdhesa192kw","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdhESA192KW","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"ecdhESA192KW","kind":"identifier"}],"title":"KeyManagementAlgorithm.ecdhESA192KW","kind":"symbol","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/ecdh1PU":{"abstract":[],"type":"topic","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ecdh1PU","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/ecdh1pu","kind":"symbol","title":"KeyManagementAlgorithm.ecdh1PU","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdh1PU"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/derivation":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/derivation","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/derivation","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"derivation","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms13KeyDerivationP","text":"KeyDerivation"},{"text":"?","kind":"text"}],"title":"derivation","kind":"symbol","abstract":[{"type":"text","text":"Provides a "},{"type":"codeVoice","code":"KeyDerivation"},{"text":" instance suitable for the key management algorithm.","type":"text"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/a192KW":{"role":"symbol","type":"topic","title":"KeyManagementAlgorithm.a192KW","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"a192KW","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/a192KW","kind":"symbol","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/a192kw","abstract":[]},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/init(rawValue:)":{"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/init(rawvalue:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/init(rawValue:)","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"?("},{"text":"rawValue","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":")"}],"title":"init(rawValue:)","kind":"symbol","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/a128GCMKW":{"title":"KeyManagementAlgorithm.a128GCMKW","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/a128GCMKW","abstract":[],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/a128gcmkw","type":"topic","kind":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"a128GCMKW","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/ecdhESA128KW":{"type":"topic","abstract":[],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdhESA128KW","title":"KeyManagementAlgorithm.ecdhESA128KW","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/ecdhesa128kw","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ecdhESA128KW","kind":"identifier"}],"kind":"symbol"},"doc://jose-swift/SQ":{"title":"Swift.Equatable","type":"unresolvable","identifier":"doc:\/\/jose-swift\/SQ"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/pbes2HS512A256KW":{"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/pbes2hs512a256kw","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/pbes2HS512A256KW","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"pbes2HS512A256KW","kind":"identifier"}],"title":"KeyManagementAlgorithm.pbes2HS512A256KW","kind":"symbol","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/SY":{"title":"Swift.RawRepresentable","type":"unresolvable","identifier":"doc:\/\/jose-swift\/SY"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/ecdh1PUA128KW":{"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/ecdh1pua128kw","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdh1PUA128KW","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ecdh1PUA128KW"}],"title":"KeyManagementAlgorithm.ecdh1PUA128KW","kind":"symbol","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/unwrapper":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/unwrapper","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/unwrapper","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"unwrapper","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"KeyUnwrapping","preciseIdentifier":"s:17JSONWebAlgorithms13KeyUnwrappingP"},{"kind":"text","text":"?"}],"title":"unwrapper","kind":"symbol","abstract":[{"text":"Provides a ","type":"text"},{"type":"codeVoice","code":"KeyUnwrapping"},{"type":"text","text":" instance suitable for the key management algorithm."}],"type":"topic","role":"symbol"},"doc://jose-swift/Se":{"title":"Swift.Decodable","type":"unresolvable","identifier":"doc:\/\/jose-swift\/Se"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/rsaOAEP":{"title":"KeyManagementAlgorithm.rsaOAEP","abstract":[],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/rsaoaep","kind":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"rsaOAEP","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/rsaOAEP","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/a256GCMKW":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/a256GCMKW","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/a256gcmkw","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"a256GCMKW"}],"title":"KeyManagementAlgorithm.a256GCMKW","kind":"symbol","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/a256KW":{"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/a256kw","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/a256KW","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"a256KW","kind":"identifier"}],"title":"KeyManagementAlgorithm.a256KW","kind":"symbol","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/ecdhESA256KW":{"abstract":[],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"ecdhESA256KW","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/ecdhesa256kw","title":"KeyManagementAlgorithm.ecdhESA256KW","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdhESA256KW"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Family","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Family"}],"title":"KeyManagementAlgorithm.Family","abstract":[{"type":"codeVoice","code":"Family"},{"type":"text","text":" is an enumeration representing different families of cryptographic algorithms."}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum","type":"topic"},"doc://jose-swift/SE":{"title":"Swift.Encodable","type":"unresolvable","identifier":"doc:\/\/jose-swift\/SE"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/RawRepresentable-Implementations":{"title":"RawRepresentable Implementations","role":"collectionGroup","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/rawrepresentable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/RawRepresentable-Implementations","abstract":[],"type":"topic","kind":"article"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/agreement":{"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/agreement","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/agreement","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"agreement"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"KeyAgreementZ","preciseIdentifier":"s:17JSONWebAlgorithms13KeyAgreementZP"},{"text":"?","kind":"text"}],"title":"agreement","kind":"symbol","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/pbes2HS256A128KW":{"type":"topic","title":"KeyManagementAlgorithm.pbes2HS256A128KW","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/pbes2HS256A128KW","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"pbes2HS256A128KW","kind":"identifier"}],"abstract":[],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/pbes2hs256a128kw","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/ecdh1PUA256KW":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdh1PUA256KW","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/ecdh1pua256kw","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ecdh1PUA256KW"}],"title":"KeyManagementAlgorithm.ecdh1PUA256KW","kind":"symbol","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/ecdh1PUA192KW":{"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/ecdh1pua192kw","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdh1PUA192KW","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"ecdh1PUA192KW","kind":"identifier"}],"title":"KeyManagementAlgorithm.ecdh1PUA192KW","kind":"symbol","abstract":[],"type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/!=(_:_:).json b/data/documentation/jose_swift/keymanagementalgorithm/!=(_:_:).json new file mode 100644 index 0000000..c116b15 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/!=(_:_:).json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/!=(_:_:)","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"kind":"internalParam","text":"lhs"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"text":"rhs","kind":"internalParam"},{"kind":"text","text":": "},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"languages":["swift"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/!=(_:_:)"]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"symbol","sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Equatable-Implementations"]]},"metadata":{"title":"!=(_:_:)","roleHeading":"Operator","symbolKind":"op","modules":[{"name":"jose-swift","relatedModules":["Swift"]}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"text":", ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}],"extendedModule":"Swift","externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17JSONWebAlgorithms22KeyManagementAlgorithmO","role":"symbol"},"abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"Equatable.!=(_:_:)"},{"text":".","type":"text"}],"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Equatable-Implementations":{"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/equatable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Equatable-Implementations","title":"Equatable Implementations","kind":"article","abstract":[],"type":"topic","role":"collectionGroup"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/!=(_:_:)":{"type":"topic","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/!=(_:_:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/!=(_:_:)","kind":"symbol","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"abstract":[],"title":"!=(_:_:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/a128gcmkw.json b/data/documentation/jose_swift/keymanagementalgorithm/a128gcmkw.json new file mode 100644 index 0000000..fdc153a --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/a128gcmkw.json @@ -0,0 +1 @@ +{"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/a128GCMKW","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"a128GCMKW","kind":"identifier"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"schemaVersion":{"patch":0,"minor":3,"major":0},"metadata":{"symbolKind":"case","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO9a128GCMKWyA2CmF","roleHeading":"Case","modules":[{"name":"jose-swift"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"a128GCMKW","kind":"identifier"}],"title":"KeyManagementAlgorithm.a128GCMKW","role":"symbol"},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/a128gcmkw"]}],"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/a128GCMKW":{"title":"KeyManagementAlgorithm.a128GCMKW","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/a128GCMKW","abstract":[],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/a128gcmkw","type":"topic","kind":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"a128GCMKW","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/a128kw.json b/data/documentation/jose_swift/keymanagementalgorithm/a128kw.json new file mode 100644 index 0000000..b75990d --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/a128kw.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"metadata":{"title":"KeyManagementAlgorithm.a128KW","symbolKind":"case","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO6a128KWyA2CmF","role":"symbol","modules":[{"name":"jose-swift"}],"roleHeading":"Case","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"a128KW","kind":"identifier"}]},"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/a128KW","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"a128KW","kind":"identifier"}],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/a128kw"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/a128KW":{"role":"symbol","type":"topic","title":"KeyManagementAlgorithm.a128KW","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"a128KW","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/a128KW","kind":"symbol","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/a128kw","abstract":[]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/a192gcmkw.json b/data/documentation/jose_swift/keymanagementalgorithm/a192gcmkw.json new file mode 100644 index 0000000..0b81398 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/a192gcmkw.json @@ -0,0 +1 @@ +{"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"metadata":{"role":"symbol","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO9a192GCMKWyA2CmF","symbolKind":"case","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"a192GCMKW"}],"roleHeading":"Case","modules":[{"name":"jose-swift"}],"title":"KeyManagementAlgorithm.a192GCMKW"},"variants":[{"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/a192gcmkw"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"a192GCMKW"}]}],"kind":"declarations"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/a192GCMKW"},"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/a192GCMKW":{"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/a192gcmkw","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/a192GCMKW","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"a192GCMKW","kind":"identifier"}],"title":"KeyManagementAlgorithm.a192GCMKW","kind":"symbol","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/a192kw.json b/data/documentation/jose_swift/keymanagementalgorithm/a192kw.json new file mode 100644 index 0000000..72d4285 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/a192kw.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/a192KW"},"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"role":"symbol","title":"KeyManagementAlgorithm.a192KW","modules":[{"name":"jose-swift"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"a192KW"}],"symbolKind":"case","roleHeading":"Case","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO6a192KWyA2CmF"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"a192KW","kind":"identifier"}],"languages":["swift"],"platforms":["macOS"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"sections":[],"variants":[{"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/a192kw"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/a192KW":{"role":"symbol","type":"topic","title":"KeyManagementAlgorithm.a192KW","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"a192KW","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/a192KW","kind":"symbol","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/a192kw","abstract":[]},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/a256gcmkw.json b/data/documentation/jose_swift/keymanagementalgorithm/a256gcmkw.json new file mode 100644 index 0000000..784d046 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/a256gcmkw.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/a256gcmkw"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/a256GCMKW"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"a256GCMKW"}],"languages":["swift"],"platforms":["macOS"]}]}],"sections":[],"metadata":{"externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO9a256GCMKWyA2CmF","role":"symbol","modules":[{"name":"jose-swift"}],"title":"KeyManagementAlgorithm.a256GCMKW","symbolKind":"case","roleHeading":"Case","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"a256GCMKW","kind":"identifier"}]},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/a256GCMKW":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/a256GCMKW","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/a256gcmkw","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"a256GCMKW"}],"title":"KeyManagementAlgorithm.a256GCMKW","kind":"symbol","abstract":[],"type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/a256kw.json b/data/documentation/jose_swift/keymanagementalgorithm/a256kw.json new file mode 100644 index 0000000..12f445c --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/a256kw.json @@ -0,0 +1 @@ +{"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/a256KW","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"a256KW"}]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/a256kw"]}],"metadata":{"title":"KeyManagementAlgorithm.a256KW","symbolKind":"case","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"a256KW","kind":"identifier"}],"modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO6a256KWyA2CmF","role":"symbol","roleHeading":"Case"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/a256KW":{"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/a256kw","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/a256KW","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"a256KW","kind":"identifier"}],"title":"KeyManagementAlgorithm.a256KW","kind":"symbol","abstract":[],"type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/agreement.json b/data/documentation/jose_swift/keymanagementalgorithm/agreement.json new file mode 100644 index 0000000..a72af2d --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/agreement.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/agreement"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/agreement"},"metadata":{"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"agreement"},{"kind":"text","text":": "},{"text":"KeyAgreementZ","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms13KeyAgreementZP"},{"text":"?","kind":"text"}],"title":"agreement","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO9agreementAA0C10AgreementZ_pSgvp","role":"symbol","roleHeading":"Instance Property","symbolKind":"property","modules":[{"name":"jose-swift"}]},"kind":"symbol","primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"agreement"},{"kind":"text","text":": "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyAgreementZ","kind":"typeIdentifier","text":"KeyAgreementZ","preciseIdentifier":"s:17JSONWebAlgorithms13KeyAgreementZP"},{"text":"? { ","kind":"text"},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/agreement":{"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/agreement","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/agreement","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"agreement"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"KeyAgreementZ","preciseIdentifier":"s:17JSONWebAlgorithms13KeyAgreementZP"},{"text":"?","kind":"text"}],"title":"agreement","kind":"symbol","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyAgreementZ":{"abstract":[{"type":"codeVoice","code":"KeyAgreementZ"},{"type":"text","text":" is a protocol defining functionality for a key agreement mechanism to compute a shared secret, denoted as ‘Z’."}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyAgreementZ","url":"\/documentation\/jose_swift\/keyagreementz","kind":"symbol","title":"KeyAgreementZ","role":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"KeyAgreementZ"}],"type":"topic","navigatorTitle":[{"text":"KeyAgreementZ","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/derivation.json b/data/documentation/jose_swift/keymanagementalgorithm/derivation.json new file mode 100644 index 0000000..e256c67 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/derivation.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/derivation"]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/derivation","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"derivation","kind":"identifier"},{"text":": ","kind":"text"},{"text":"KeyDerivation","preciseIdentifier":"s:17JSONWebAlgorithms13KeyDerivationP","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyDerivation"},{"text":"? { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"languages":["swift"]}],"kind":"declarations"},{"content":[{"level":2,"text":"Return Value","type":"heading","anchor":"return-value"},{"type":"paragraph","inlineContent":[{"text":"An instance conforming to the ","type":"text"},{"code":"KeyDerivation","type":"codeVoice"},{"text":" protocol, or `nil","type":"text"}]}],"kind":"content"}],"metadata":{"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"derivation","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"KeyDerivation","preciseIdentifier":"s:17JSONWebAlgorithms13KeyDerivationP"},{"text":"?","kind":"text"}],"title":"derivation","modules":[{"name":"jose-swift"}],"role":"symbol","roleHeading":"Instance Property","symbolKind":"property","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO10derivationAA0C10Derivation_pSgvp"},"sections":[],"kind":"symbol","abstract":[{"text":"Provides a ","type":"text"},{"type":"codeVoice","code":"KeyDerivation"},{"type":"text","text":" instance suitable for the key management algorithm."}],"references":{"doc://jose-swift/documentation/jose_swift/KeyDerivation":{"url":"\/documentation\/jose_swift\/keyderivation","title":"KeyDerivation","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyDerivation","kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyDerivation"}],"abstract":[{"type":"codeVoice","code":"KeyDerivation"},{"text":" is a protocol defining functionality for deriving cryptographic keys.","type":"text"}],"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"KeyDerivation"}]},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/derivation":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/derivation","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/derivation","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"derivation","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms13KeyDerivationP","text":"KeyDerivation"},{"text":"?","kind":"text"}],"title":"derivation","kind":"symbol","abstract":[{"type":"text","text":"Provides a "},{"type":"codeVoice","code":"KeyDerivation"},{"text":" instance suitable for the key management algorithm.","type":"text"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/direct.json b/data/documentation/jose_swift/keymanagementalgorithm/direct.json new file mode 100644 index 0000000..ccd74cd --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/direct.json @@ -0,0 +1 @@ +{"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"direct"}],"languages":["swift"]}]}],"metadata":{"title":"KeyManagementAlgorithm.direct","modules":[{"name":"jose-swift"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"direct","kind":"identifier"}],"symbolKind":"case","role":"symbol","roleHeading":"Case","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO6directyA2CmF"},"variants":[{"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/direct"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/direct","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/direct":{"kind":"symbol","title":"KeyManagementAlgorithm.direct","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"direct","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/direct","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/direct","abstract":[],"type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/ecdh1pu.json b/data/documentation/jose_swift/keymanagementalgorithm/ecdh1pu.json new file mode 100644 index 0000000..efb446d --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/ecdh1pu.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/ecdh1pu"]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdh1PU","interfaceLanguage":"swift"},"metadata":{"modules":[{"name":"jose-swift"}],"roleHeading":"Case","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"ecdh1PU","kind":"identifier"}],"symbolKind":"case","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO7ecdh1PUyA2CmF","title":"KeyManagementAlgorithm.ecdh1PU","role":"symbol"},"schemaVersion":{"major":0,"patch":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"kind":"symbol","sections":[],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"ecdh1PU","kind":"identifier"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/ecdh1PU":{"abstract":[],"type":"topic","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ecdh1PU","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/ecdh1pu","kind":"symbol","title":"KeyManagementAlgorithm.ecdh1PU","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdh1PU"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/ecdh1pua128kw.json b/data/documentation/jose_swift/keymanagementalgorithm/ecdh1pua128kw.json new file mode 100644 index 0000000..9e4a948 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/ecdh1pua128kw.json @@ -0,0 +1 @@ +{"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdh1PUA128KW","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ecdh1PUA128KW","kind":"identifier"}]}]}],"metadata":{"externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO13ecdh1PUA128KWyA2CmF","symbolKind":"case","title":"KeyManagementAlgorithm.ecdh1PUA128KW","role":"symbol","modules":[{"name":"jose-swift"}],"roleHeading":"Case","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"ecdh1PUA128KW","kind":"identifier"}]},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/ecdh1pua128kw"]}],"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/ecdh1PUA128KW":{"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/ecdh1pua128kw","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdh1PUA128KW","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ecdh1PUA128KW"}],"title":"KeyManagementAlgorithm.ecdh1PUA128KW","kind":"symbol","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/ecdh1pua192kw.json b/data/documentation/jose_swift/keymanagementalgorithm/ecdh1pua192kw.json new file mode 100644 index 0000000..037ac00 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/ecdh1pua192kw.json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"patch":0,"minor":3},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ecdh1PUA192KW","kind":"identifier"}]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"metadata":{"title":"KeyManagementAlgorithm.ecdh1PUA192KW","role":"symbol","modules":[{"name":"jose-swift"}],"roleHeading":"Case","symbolKind":"case","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"ecdh1PUA192KW"}],"externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO13ecdh1PUA192KWyA2CmF"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdh1PUA192KW","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/ecdh1pua192kw"]}],"sections":[],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/ecdh1PUA192KW":{"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/ecdh1pua192kw","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdh1PUA192KW","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"ecdh1PUA192KW","kind":"identifier"}],"title":"KeyManagementAlgorithm.ecdh1PUA192KW","kind":"symbol","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/ecdh1pua256kw.json b/data/documentation/jose_swift/keymanagementalgorithm/ecdh1pua256kw.json new file mode 100644 index 0000000..6e73ffd --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/ecdh1pua256kw.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ecdh1PUA256KW"}],"platforms":["macOS"]}]}],"metadata":{"title":"KeyManagementAlgorithm.ecdh1PUA256KW","symbolKind":"case","modules":[{"name":"jose-swift"}],"roleHeading":"Case","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO13ecdh1PUA256KWyA2CmF","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ecdh1PUA256KW"}],"role":"symbol"},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdh1PUA256KW"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/ecdh1pua256kw"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/ecdh1PUA256KW":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdh1PUA256KW","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/ecdh1pua256kw","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ecdh1PUA256KW"}],"title":"KeyManagementAlgorithm.ecdh1PUA256KW","kind":"symbol","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/ecdhes.json b/data/documentation/jose_swift/keymanagementalgorithm/ecdhes.json new file mode 100644 index 0000000..c55d860 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/ecdhes.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/ecdhes"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"metadata":{"modules":[{"name":"jose-swift"}],"roleHeading":"Case","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"ecdhES","kind":"identifier"}],"symbolKind":"case","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO6ecdhESyA2CmF","title":"KeyManagementAlgorithm.ecdhES","role":"symbol"},"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ecdhES"}],"platforms":["macOS"],"languages":["swift"]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdhES","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/ecdhES":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdhES","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/ecdhes","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"ecdhES","kind":"identifier"}],"title":"KeyManagementAlgorithm.ecdhES","kind":"symbol","abstract":[],"type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/ecdhesa128kw.json b/data/documentation/jose_swift/keymanagementalgorithm/ecdhesa128kw.json new file mode 100644 index 0000000..805d5ab --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/ecdhesa128kw.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ecdhESA128KW"}],"platforms":["macOS"]}]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdhESA128KW","interfaceLanguage":"swift"},"metadata":{"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ecdhESA128KW","kind":"identifier"}],"symbolKind":"case","modules":[{"name":"jose-swift"}],"title":"KeyManagementAlgorithm.ecdhESA128KW","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO12ecdhESA128KWyA2CmF","role":"symbol","roleHeading":"Case"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/ecdhesa128kw"]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/ecdhESA128KW":{"type":"topic","abstract":[],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdhESA128KW","title":"KeyManagementAlgorithm.ecdhESA128KW","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/ecdhesa128kw","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ecdhESA128KW","kind":"identifier"}],"kind":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/ecdhesa192kw.json b/data/documentation/jose_swift/keymanagementalgorithm/ecdhesa192kw.json new file mode 100644 index 0000000..86c7e8a --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/ecdhesa192kw.json @@ -0,0 +1 @@ +{"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"metadata":{"title":"KeyManagementAlgorithm.ecdhESA192KW","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO12ecdhESA192KWyA2CmF","symbolKind":"case","roleHeading":"Case","role":"symbol","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"ecdhESA192KW","kind":"identifier"}]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/ecdhesa192kw"]}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ecdhESA192KW","kind":"identifier"}]}],"kind":"declarations"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdhESA192KW"},"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/ecdhESA192KW":{"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/ecdhesa192kw","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdhESA192KW","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"ecdhESA192KW","kind":"identifier"}],"title":"KeyManagementAlgorithm.ecdhESA192KW","kind":"symbol","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/ecdhesa256kw.json b/data/documentation/jose_swift/keymanagementalgorithm/ecdhesa256kw.json new file mode 100644 index 0000000..9129514 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/ecdhesa256kw.json @@ -0,0 +1 @@ +{"kind":"symbol","primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"ecdhESA256KW","kind":"identifier"}],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/ecdhesa256kw"]}],"metadata":{"role":"symbol","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO12ecdhESA256KWyA2CmF","symbolKind":"case","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"ecdhESA256KW"}],"modules":[{"name":"jose-swift"}],"roleHeading":"Case","title":"KeyManagementAlgorithm.ecdhESA256KW"},"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdhESA256KW"},"schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/ecdhESA256KW":{"abstract":[],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"ecdhESA256KW","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/ecdhesa256kw","title":"KeyManagementAlgorithm.ecdhESA256KW","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/ecdhESA256KW"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/encode(to:).json b/data/documentation/jose_swift/keymanagementalgorithm/encode(to:).json new file mode 100644 index 0000000..f3c1707 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/encode(to:).json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/encode(to:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/RawRepresentable-Implementations"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/encode(to:)"]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"kind":"symbol","abstract":[{"type":"text","text":"Inherited from "},{"code":"RawRepresentable.encode(to:)","type":"codeVoice"},{"type":"text","text":"."}],"metadata":{"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"encode","kind":"identifier"},{"kind":"text","text":"("},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"modules":[{"name":"jose-swift","relatedModules":["Swift"]}],"roleHeading":"Instance Method","role":"symbol","extendedModule":"Swift","externalID":"s:SYsSERzSS8RawValueSYRtzrlE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:17JSONWebAlgorithms22KeyManagementAlgorithmO","title":"encode(to:)","symbolKind":"method","conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"code":"Encodable","type":"codeVoice"},{"text":" and ","type":"text"},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" is "},{"type":"codeVoice","code":"String"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}]}},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"encode","kind":"identifier"},{"kind":"text","text":"("},{"text":"to","kind":"externalParam"},{"kind":"text","text":" "},{"text":"encoder","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7EncoderP","kind":"typeIdentifier","text":"Encoder"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}]}]}],"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/encode(to:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Encodable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" is "},{"code":"String","type":"codeVoice"},{"type":"text","text":"."}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/encode(to:)","title":"encode(to:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"encode"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7EncoderP","text":"Encoder","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"type":"topic","abstract":[],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/encode(to:)","kind":"symbol","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/RawRepresentable-Implementations":{"title":"RawRepresentable Implementations","role":"collectionGroup","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/rawrepresentable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/RawRepresentable-Implementations","abstract":[],"type":"topic","kind":"article"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/equatable-implementations.json b/data/documentation/jose_swift/keymanagementalgorithm/equatable-implementations.json new file mode 100644 index 0000000..e20c951 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/equatable-implementations.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/equatable-implementations"]}],"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Equatable-Implementations","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"article","metadata":{"modules":[{"name":"jose-swift"}],"role":"collectionGroup","title":"Equatable Implementations"},"topicSections":[{"title":"Operators","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/!=(_:_:)"],"generated":true}],"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/!=(_:_:)":{"type":"topic","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/!=(_:_:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/!=(_:_:)","kind":"symbol","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"abstract":[],"title":"!=(_:_:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum.json b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum.json new file mode 100644 index 0000000..fb97372 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"Family","kind":"identifier"}],"languages":["swift"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO0A10EncryptionE6FamilyO","role":"symbol","extendedModule":"JSONWebAlgorithms","symbolKind":"enum","modules":[{"name":"jose-swift","relatedModules":["JSONWebAlgorithms"]}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"Family","kind":"identifier"}],"title":"KeyManagementAlgorithm.Family","roleHeading":"Enumeration","navigatorTitle":[{"text":"Family","kind":"identifier"}]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum","interfaceLanguage":"swift"},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/aes","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/direct","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/ecdh1pu","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/ecdhes","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/pbes2","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/rsa"],"title":"Enumeration Cases"},{"title":"Initializers","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/init(rawValue:)"]},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/Equatable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/RawRepresentable-Implementations"],"generated":true,"title":"Default Implementations"}],"abstract":[{"code":"Family","type":"codeVoice"},{"type":"text","text":" is an enumeration representing different families of cryptographic algorithms."}],"relationshipsSections":[{"kind":"relationships","identifiers":["doc:\/\/jose-swift\/s12CaseIterableP","doc:\/\/jose-swift\/SQ","doc:\/\/jose-swift\/SH","doc:\/\/jose-swift\/SY"],"title":"Conforms To","type":"conformsTo"}],"kind":"symbol","references":{"doc://jose-swift/SQ":{"title":"Swift.Equatable","type":"unresolvable","identifier":"doc:\/\/jose-swift\/SQ"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum/aes":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/aes","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"aes"}],"role":"symbol","title":"KeyManagementAlgorithm.Family.aes","type":"topic","kind":"symbol","abstract":[{"type":"text","text":"AES (Advanced Encryption Standard) family of algorithms."}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/aes"},"doc://jose-swift/SY":{"title":"Swift.RawRepresentable","type":"unresolvable","identifier":"doc:\/\/jose-swift\/SY"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Family","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Family"}],"title":"KeyManagementAlgorithm.Family","abstract":[{"type":"codeVoice","code":"Family"},{"type":"text","text":" is an enumeration representing different families of cryptographic algorithms."}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum","type":"topic"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum/rsa":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/rsa","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"rsa","kind":"identifier"}],"role":"symbol","title":"KeyManagementAlgorithm.Family.rsa","type":"topic","kind":"symbol","abstract":[{"type":"text","text":"RSA family of algorithms."}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/rsa"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum/Equatable-Implementations":{"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/equatable-implementations","kind":"article","title":"Equatable Implementations","role":"collectionGroup","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/Equatable-Implementations","type":"topic"},"doc://jose-swift/s12CaseIterableP":{"title":"Swift.CaseIterable","identifier":"doc:\/\/jose-swift\/s12CaseIterableP","type":"unresolvable"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/SH":{"identifier":"doc:\/\/jose-swift\/SH","type":"unresolvable","title":"Swift.Hashable"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum/ecdh1pu":{"kind":"symbol","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/ecdh1pu","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/ecdh1pu","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ecdh1pu"}],"abstract":[{"type":"text","text":"ECDH-1PU family of algorithms, a variant of ECDH used in some key agreement protocols."}],"title":"KeyManagementAlgorithm.Family.ecdh1pu","type":"topic"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum/RawRepresentable-Implementations":{"kind":"article","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/rawrepresentable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/RawRepresentable-Implementations","role":"collectionGroup","abstract":[],"title":"RawRepresentable Implementations","type":"topic"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum/init(rawValue:)":{"kind":"symbol","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/init(rawvalue:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/init(rawValue:)","role":"symbol","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"rawValue"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[],"title":"init(rawValue:)","type":"topic"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum/pbes2":{"kind":"symbol","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/pbes2","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/pbes2","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"pbes2"}],"abstract":[{"text":"PBES2 (Password-Based Encryption Scheme 2) family of algorithms.","type":"text"}],"title":"KeyManagementAlgorithm.Family.pbes2","type":"topic"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum/direct":{"kind":"symbol","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/direct","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/direct","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"direct"}],"abstract":[{"text":"Direct use of a shared symmetric key.","type":"text"}],"title":"KeyManagementAlgorithm.Family.direct","type":"topic"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum/ecdhes":{"abstract":[{"type":"text","text":"ECDH-ES (Elliptic Curve Diffie-Hellman Ephemeral Static) family of algorithms."}],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/ecdhes","title":"KeyManagementAlgorithm.Family.ecdhes","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/ecdhes","role":"symbol","kind":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"ecdhes","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/!=(_:_:).json b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/!=(_:_:).json new file mode 100644 index 0000000..5173483 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/!=(_:_:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/Equatable-Implementations"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/!=(_:_:)","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"text":"lhs","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"text":"rhs","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","metadata":{"modules":[{"name":"jose-swift","relatedModules":["Swift"]}],"symbolKind":"op","roleHeading":"Operator","extendedModule":"Swift","title":"!=(_:_:)","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17JSONWebAlgorithms22KeyManagementAlgorithmO0A10EncryptionE6FamilyO","role":"symbol"},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/!=(_:_:)"]}],"abstract":[{"text":"Inherited from ","type":"text"},{"code":"Equatable.!=(_:_:)","type":"codeVoice"},{"type":"text","text":"."}],"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Family","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Family"}],"title":"KeyManagementAlgorithm.Family","abstract":[{"type":"codeVoice","code":"Family"},{"type":"text","text":" is an enumeration representing different families of cryptographic algorithms."}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum","type":"topic"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum/!=(_:_:)":{"role":"symbol","type":"topic","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/!=(_:_:)","abstract":[],"title":"!=(_:_:)","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/!=(_:_:)"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum/Equatable-Implementations":{"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/equatable-implementations","kind":"article","title":"Equatable Implementations","role":"collectionGroup","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/Equatable-Implementations","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/aes.json b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/aes.json new file mode 100644 index 0000000..c23db80 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/aes.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/aes","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/aes"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"aes","kind":"identifier"}]}],"kind":"declarations"}],"schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum"]]},"abstract":[{"type":"text","text":"AES (Advanced Encryption Standard) family of algorithms."}],"kind":"symbol","metadata":{"externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO0A10EncryptionE6FamilyO3aesyA2FmF","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"aes"}],"role":"symbol","title":"KeyManagementAlgorithm.Family.aes","symbolKind":"case","roleHeading":"Case","modules":[{"name":"jose-swift"}]},"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum/aes":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/aes","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"aes"}],"role":"symbol","title":"KeyManagementAlgorithm.Family.aes","type":"topic","kind":"symbol","abstract":[{"type":"text","text":"AES (Advanced Encryption Standard) family of algorithms."}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/aes"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Family","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Family"}],"title":"KeyManagementAlgorithm.Family","abstract":[{"type":"codeVoice","code":"Family"},{"type":"text","text":" is an enumeration representing different families of cryptographic algorithms."}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum","type":"topic"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/direct.json b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/direct.json new file mode 100644 index 0000000..4077f4e --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/direct.json @@ -0,0 +1 @@ +{"metadata":{"modules":[{"name":"jose-swift"}],"symbolKind":"case","title":"KeyManagementAlgorithm.Family.direct","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO0A10EncryptionE6FamilyO6directyA2FmF","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"direct"}],"roleHeading":"Case","role":"symbol"},"sections":[],"kind":"symbol","abstract":[{"type":"text","text":"Direct use of a shared symmetric key."}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"direct","kind":"identifier"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/direct"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/direct"},"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum"]]},"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Family","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Family"}],"title":"KeyManagementAlgorithm.Family","abstract":[{"type":"codeVoice","code":"Family"},{"type":"text","text":" is an enumeration representing different families of cryptographic algorithms."}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum/direct":{"kind":"symbol","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/direct","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/direct","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"direct"}],"abstract":[{"text":"Direct use of a shared symmetric key.","type":"text"}],"title":"KeyManagementAlgorithm.Family.direct","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/ecdh1pu.json b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/ecdh1pu.json new file mode 100644 index 0000000..6bbd7f7 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/ecdh1pu.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"major":0,"patch":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ecdh1pu"}],"platforms":["macOS"],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum"]]},"metadata":{"role":"symbol","title":"KeyManagementAlgorithm.Family.ecdh1pu","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ecdh1pu"}],"modules":[{"name":"jose-swift"}],"symbolKind":"case","roleHeading":"Case","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO0A10EncryptionE6FamilyO7ecdh1puyA2FmF"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/ecdh1pu","interfaceLanguage":"swift"},"abstract":[{"text":"ECDH-1PU family of algorithms, a variant of ECDH used in some key agreement protocols.","type":"text"}],"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/ecdh1pu"]}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Family","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Family"}],"title":"KeyManagementAlgorithm.Family","abstract":[{"type":"codeVoice","code":"Family"},{"type":"text","text":" is an enumeration representing different families of cryptographic algorithms."}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum","type":"topic"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum/ecdh1pu":{"kind":"symbol","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/ecdh1pu","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/ecdh1pu","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ecdh1pu"}],"abstract":[{"type":"text","text":"ECDH-1PU family of algorithms, a variant of ECDH used in some key agreement protocols."}],"title":"KeyManagementAlgorithm.Family.ecdh1pu","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/ecdhes.json b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/ecdhes.json new file mode 100644 index 0000000..4a219dc --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/ecdhes.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/ecdhes","interfaceLanguage":"swift"},"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ecdhes"}]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/ecdhes"]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"metadata":{"modules":[{"name":"jose-swift"}],"roleHeading":"Case","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"ecdhes","kind":"identifier"}],"symbolKind":"case","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO0A10EncryptionE6FamilyO6ecdhesyA2FmF","title":"KeyManagementAlgorithm.Family.ecdhes","role":"symbol"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum"]]},"abstract":[{"type":"text","text":"ECDH-ES (Elliptic Curve Diffie-Hellman Ephemeral Static) family of algorithms."}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Family","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Family"}],"title":"KeyManagementAlgorithm.Family","abstract":[{"type":"codeVoice","code":"Family"},{"type":"text","text":" is an enumeration representing different families of cryptographic algorithms."}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum","type":"topic"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum/ecdhes":{"abstract":[{"type":"text","text":"ECDH-ES (Elliptic Curve Diffie-Hellman Ephemeral Static) family of algorithms."}],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/ecdhes","title":"KeyManagementAlgorithm.Family.ecdhes","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/ecdhes","role":"symbol","kind":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"ecdhes","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/equatable-implementations.json b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/equatable-implementations.json new file mode 100644 index 0000000..3125e0e --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/equatable-implementations.json @@ -0,0 +1 @@ +{"metadata":{"role":"collectionGroup","modules":[{"name":"jose-swift"}],"title":"Equatable Implementations"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/equatable-implementations"]}],"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/!=(_:_:)"],"generated":true,"title":"Operators"}],"kind":"article","sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/Equatable-Implementations"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum"]]},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum/!=(_:_:)":{"role":"symbol","type":"topic","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/!=(_:_:)","abstract":[],"title":"!=(_:_:)","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/!=(_:_:)"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Family","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Family"}],"title":"KeyManagementAlgorithm.Family","abstract":[{"type":"codeVoice","code":"Family"},{"type":"text","text":" is an enumeration representing different families of cryptographic algorithms."}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/hash(into:).json b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/hash(into:).json new file mode 100644 index 0000000..1179f4a --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/hash(into:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"hash"},{"text":"(","kind":"text"},{"text":"into","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"hasher"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Hasher","preciseIdentifier":"s:s6HasherV","kind":"typeIdentifier"},{"kind":"text","text":")"}]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/RawRepresentable-Implementations"]]},"sections":[],"metadata":{"symbolKind":"method","extendedModule":"Swift","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"text":" and ","type":"text"},{"code":"RawValue","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"text":".","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"roleHeading":"Instance Method","role":"symbol","modules":[{"name":"jose-swift","relatedModules":["Swift"]}],"title":"hash(into:)","externalID":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:17JSONWebAlgorithms22KeyManagementAlgorithmO0A10EncryptionE6FamilyO","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"hash","kind":"identifier"},{"text":"(","kind":"text"},{"text":"into","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:s6HasherV","kind":"typeIdentifier","text":"Hasher"},{"kind":"text","text":")"}]},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/hash(into:)"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/hash(into:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"RawRepresentable.hash(into:)"},{"type":"text","text":"."}],"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum/RawRepresentable-Implementations":{"kind":"article","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/rawrepresentable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/RawRepresentable-Implementations","role":"collectionGroup","abstract":[],"title":"RawRepresentable Implementations","type":"topic"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Family","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Family"}],"title":"KeyManagementAlgorithm.Family","abstract":[{"type":"codeVoice","code":"Family"},{"type":"text","text":" is an enumeration representing different families of cryptographic algorithms."}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum","type":"topic"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum/hash(into:)":{"title":"hash(into:)","role":"symbol","kind":"symbol","type":"topic","conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":"."}]},"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/hash(into:)","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/hash(into:)","abstract":[],"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"hash"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"into"},{"text":": ","kind":"text"},{"kind":"keyword","text":"inout"},{"kind":"text","text":" "},{"text":"Hasher","kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV"},{"text":")","kind":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/hashvalue.json b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/hashvalue.json new file mode 100644 index 0000000..a9c894c --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/hashvalue.json @@ -0,0 +1 @@ +{"kind":"symbol","abstract":[{"type":"text","text":"Inherited from "},{"code":"RawRepresentable.hashValue","type":"codeVoice"},{"text":".","type":"text"}],"metadata":{"role":"symbol","title":"hashValue","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"hashValue","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Int","preciseIdentifier":"s:Si","kind":"typeIdentifier"}],"modules":[{"name":"jose-swift","relatedModules":["Swift"]}],"conformance":{"constraints":[{"code":"Self","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"text":".","type":"text"}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"extendedModule":"Swift","symbolKind":"property","roleHeading":"Instance Property","externalID":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:17JSONWebAlgorithms22KeyManagementAlgorithmO0A10EncryptionE6FamilyO"},"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/RawRepresentable-Implementations"]]},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"hashValue","kind":"identifier"},{"kind":"text","text":": "},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/hashValue","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/hashvalue"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum/RawRepresentable-Implementations":{"kind":"article","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/rawrepresentable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/RawRepresentable-Implementations","role":"collectionGroup","abstract":[],"title":"RawRepresentable Implementations","type":"topic"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Family","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Family"}],"title":"KeyManagementAlgorithm.Family","abstract":[{"type":"codeVoice","code":"Family"},{"type":"text","text":" is an enumeration representing different families of cryptographic algorithms."}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum","type":"topic"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum/hashValue":{"conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"text":".","type":"text"}]},"title":"hashValue","kind":"symbol","type":"topic","abstract":[],"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"hashValue"},{"text":": ","kind":"text"},{"text":"Int","preciseIdentifier":"s:Si","kind":"typeIdentifier"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/hashValue","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/hashvalue"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/init(rawvalue:).json b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/init(rawvalue:).json new file mode 100644 index 0000000..2446a79 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/init(rawvalue:).json @@ -0,0 +1 @@ +{"metadata":{"symbolKind":"init","role":"symbol","title":"init(rawValue:)","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO0A10EncryptionE6FamilyO8rawValueAFSgSS_tcfc","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"identifier","text":"init"},{"text":"?(","kind":"text"},{"text":"rawValue","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}],"roleHeading":"Initializer"},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/init(rawValue:)","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"init","kind":"keyword"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"rawValue"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/init(rawvalue:)"]}],"abstract":[{"text":"Inherited from ","type":"text"},{"code":"RawRepresentable.init(rawValue:)","type":"codeVoice"},{"text":".","type":"text"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum"]]},"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Family","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Family"}],"title":"KeyManagementAlgorithm.Family","abstract":[{"type":"codeVoice","code":"Family"},{"type":"text","text":" is an enumeration representing different families of cryptographic algorithms."}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum","type":"topic"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum/init(rawValue:)":{"kind":"symbol","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/init(rawvalue:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/init(rawValue:)","role":"symbol","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"rawValue"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[],"title":"init(rawValue:)","type":"topic"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/pbes2.json b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/pbes2.json new file mode 100644 index 0000000..6bb0e2c --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/pbes2.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/pbes2"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum"]]},"sections":[],"abstract":[{"text":"PBES2 (Password-Based Encryption Scheme 2) family of algorithms.","type":"text"}],"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/pbes2"},"metadata":{"modules":[{"name":"jose-swift"}],"roleHeading":"Case","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"pbes2"}],"symbolKind":"case","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO0A10EncryptionE6FamilyO5pbes2yA2FmF","title":"KeyManagementAlgorithm.Family.pbes2","role":"symbol"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"pbes2","kind":"identifier"}]}],"kind":"declarations"}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Family","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Family"}],"title":"KeyManagementAlgorithm.Family","abstract":[{"type":"codeVoice","code":"Family"},{"type":"text","text":" is an enumeration representing different families of cryptographic algorithms."}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum","type":"topic"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum/pbes2":{"kind":"symbol","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/pbes2","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/pbes2","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"pbes2"}],"abstract":[{"text":"PBES2 (Password-Based Encryption Scheme 2) family of algorithms.","type":"text"}],"title":"KeyManagementAlgorithm.Family.pbes2","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/rawrepresentable-implementations.json b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/rawrepresentable-implementations.json new file mode 100644 index 0000000..f46ae99 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/rawrepresentable-implementations.json @@ -0,0 +1 @@ +{"kind":"article","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum"]]},"metadata":{"title":"RawRepresentable Implementations","modules":[{"name":"jose-swift"}],"role":"collectionGroup"},"variants":[{"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/rawrepresentable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/RawRepresentable-Implementations"},"sections":[],"schemaVersion":{"minor":3,"major":0,"patch":0},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/hashValue"],"generated":true,"title":"Instance Properties"},{"generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/hash(into:)"],"title":"Instance Methods"}],"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Family","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Family"}],"title":"KeyManagementAlgorithm.Family","abstract":[{"type":"codeVoice","code":"Family"},{"type":"text","text":" is an enumeration representing different families of cryptographic algorithms."}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum","type":"topic"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum/hash(into:)":{"title":"hash(into:)","role":"symbol","kind":"symbol","type":"topic","conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":"."}]},"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/hash(into:)","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/hash(into:)","abstract":[],"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"hash"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"into"},{"text":": ","kind":"text"},{"kind":"keyword","text":"inout"},{"kind":"text","text":" "},{"text":"Hasher","kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV"},{"text":")","kind":"text"}]},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum/hashValue":{"conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"text":".","type":"text"}]},"title":"hashValue","kind":"symbol","type":"topic","abstract":[],"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"hashValue"},{"text":": ","kind":"text"},{"text":"Int","preciseIdentifier":"s:Si","kind":"typeIdentifier"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/hashValue","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/hashvalue"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/rsa.json b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/rsa.json new file mode 100644 index 0000000..0df56c8 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/rsa.json @@ -0,0 +1 @@ +{"kind":"symbol","schemaVersion":{"minor":3,"major":0,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum"]]},"metadata":{"roleHeading":"Case","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO0A10EncryptionE6FamilyO3rsayA2FmF","title":"KeyManagementAlgorithm.Family.rsa","modules":[{"name":"jose-swift"}],"role":"symbol","symbolKind":"case","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"rsa","kind":"identifier"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/rsa"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"rsa","kind":"identifier"}],"languages":["swift"]}],"kind":"declarations"}],"sections":[],"abstract":[{"type":"text","text":"RSA family of algorithms."}],"variants":[{"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/rsa"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Family","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Family"}],"title":"KeyManagementAlgorithm.Family","abstract":[{"type":"codeVoice","code":"Family"},{"type":"text","text":" is an enumeration representing different families of cryptographic algorithms."}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum","type":"topic"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum/rsa":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum\/rsa","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"rsa","kind":"identifier"}],"role":"symbol","title":"KeyManagementAlgorithm.Family.rsa","type":"topic","kind":"symbol","abstract":[{"type":"text","text":"RSA family of algorithms."}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/rsa"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/family-swift.property.json b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.property.json new file mode 100644 index 0000000..d1bbcd1 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/family-swift.property.json @@ -0,0 +1 @@ +{"metadata":{"roleHeading":"Instance Property","symbolKind":"property","modules":[{"name":"jose-swift","relatedModules":["JSONWebAlgorithms"]}],"title":"family","extendedModule":"JSONWebAlgorithms","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO0A10EncryptionE6familyAcDE6FamilyOvp","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"family"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","text":"KeyManagementAlgorithm"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO0A10EncryptionE6FamilyO","text":"Family"}]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/family-swift.property","interfaceLanguage":"swift"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"family"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO","text":"KeyManagementAlgorithm"},{"kind":"text","text":"."},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum","text":"Family","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO0A10EncryptionE6FamilyO"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"}],"sections":[],"abstract":[{"type":"text","text":"Property to determine the family of the cryptographic algorithm."},{"type":"text","text":" "},{"type":"text","text":"Based on the algorithm used, it categorizes into one of the defined families."}],"variants":[{"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.property"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/family-swift.property":{"title":"family","type":"topic","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/family-swift.property","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"family"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"KeyManagementAlgorithm","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO0A10EncryptionE6FamilyO","text":"Family"}],"abstract":[{"text":"Property to determine the family of the cryptographic algorithm.","type":"text"},{"text":" ","type":"text"},{"text":"Based on the algorithm used, it categorizes into one of the defined families.","type":"text"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.property"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/Family-swift.enum":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/Family-swift.enum","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Family","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Family"}],"title":"KeyManagementAlgorithm.Family","abstract":[{"type":"codeVoice","code":"Family"},{"type":"text","text":" is an enumeration representing different families of cryptographic algorithms."}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum","type":"topic"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/hash(into:).json b/data/documentation/jose_swift/keymanagementalgorithm/hash(into:).json new file mode 100644 index 0000000..e21fa89 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/hash(into:).json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/hash(into:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/RawRepresentable-Implementations"]]},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"RawRepresentable.hash(into:)"},{"type":"text","text":"."}],"variants":[{"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/hash(into:)"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","metadata":{"extendedModule":"Swift","externalID":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:17JSONWebAlgorithms22KeyManagementAlgorithmO","role":"symbol","symbolKind":"method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"hash","kind":"identifier"},{"text":"(","kind":"text"},{"text":"into","kind":"externalParam"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:s6HasherV","kind":"typeIdentifier","text":"Hasher"},{"text":")","kind":"text"}],"modules":[{"relatedModules":["Swift"],"name":"jose-swift"}],"roleHeading":"Instance Method","title":"hash(into:)","conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}]}},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"hash"},{"kind":"text","text":"("},{"kind":"externalParam","text":"into"},{"kind":"text","text":" "},{"text":"hasher","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:s6HasherV","text":"Hasher","kind":"typeIdentifier"},{"kind":"text","text":")"}],"languages":["swift"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/hash(into:)":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/hash(into:)","abstract":[],"kind":"symbol","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}]},"title":"hash(into:)","type":"topic","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/hash(into:)","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"hash","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"into"},{"text":": ","kind":"text"},{"kind":"keyword","text":"inout"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV","text":"Hasher"},{"text":")","kind":"text"}]},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/RawRepresentable-Implementations":{"title":"RawRepresentable Implementations","role":"collectionGroup","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/rawrepresentable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/RawRepresentable-Implementations","abstract":[],"type":"topic","kind":"article"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/hashvalue.json b/data/documentation/jose_swift/keymanagementalgorithm/hashvalue.json new file mode 100644 index 0000000..0df280e --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/hashvalue.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/RawRepresentable-Implementations"]]},"sections":[],"metadata":{"title":"hashValue","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"hashValue"},{"text":": ","kind":"text"},{"text":"Int","preciseIdentifier":"s:Si","kind":"typeIdentifier"}],"conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":"."}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"roleHeading":"Instance Property","modules":[{"relatedModules":["Swift"],"name":"jose-swift"}],"extendedModule":"Swift","externalID":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:17JSONWebAlgorithms22KeyManagementAlgorithmO","symbolKind":"property"},"kind":"symbol","abstract":[{"type":"text","text":"Inherited from "},{"code":"RawRepresentable.hashValue","type":"codeVoice"},{"text":".","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/hashvalue"]}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"hashValue","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"kind":"text","text":" { "},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/hashValue","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/RawRepresentable-Implementations":{"title":"RawRepresentable Implementations","role":"collectionGroup","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/rawrepresentable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/RawRepresentable-Implementations","abstract":[],"type":"topic","kind":"article"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/hashValue":{"title":"hashValue","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"hashValue","kind":"identifier"},{"kind":"text","text":": "},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/hashvalue","conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/hashValue","type":"topic","kind":"symbol","abstract":[]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/init(from:).json b/data/documentation/jose_swift/keymanagementalgorithm/init(from:).json new file mode 100644 index 0000000..123f35c --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/init(from:).json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/init(from:)"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/RawRepresentable-Implementations"]]},"metadata":{"title":"init(from:)","extendedModule":"Swift","externalID":"s:SYsSeRzSS8RawValueSYRtzrlE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:17JSONWebAlgorithms22KeyManagementAlgorithmO","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Decodable"},{"text":" and ","type":"text"},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" is "},{"code":"String","type":"codeVoice"},{"text":".","type":"text"}]},"role":"symbol","modules":[{"name":"jose-swift","relatedModules":["Swift"]}],"roleHeading":"Initializer","symbolKind":"init","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP","text":"Decoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}]},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"init","kind":"keyword"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"decoder"},{"text":": ","kind":"text"},{"text":"Decoder","preciseIdentifier":"s:s7DecoderP","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/init(from:)","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"kind":"symbol","abstract":[{"text":"Inherited from ","type":"text"},{"code":"RawRepresentable.init(from:)","type":"codeVoice"},{"type":"text","text":"."}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/RawRepresentable-Implementations":{"title":"RawRepresentable Implementations","role":"collectionGroup","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/rawrepresentable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/RawRepresentable-Implementations","abstract":[],"type":"topic","kind":"article"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/init(from:)":{"kind":"symbol","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/init(from:)","title":"init(from:)","abstract":[],"type":"topic","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Decodable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" is "},{"code":"String","type":"codeVoice"},{"type":"text","text":"."}]},"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/init(from:)","role":"symbol","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7DecoderP","kind":"typeIdentifier","text":"Decoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/init(rawvalue:).json b/data/documentation/jose_swift/keymanagementalgorithm/init(rawvalue:).json new file mode 100644 index 0000000..a3f7213 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/init(rawvalue:).json @@ -0,0 +1 @@ +{"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/init(rawValue:)"},"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","abstract":[{"type":"text","text":"Inherited from "},{"code":"RawRepresentable.init(rawValue:)","type":"codeVoice"},{"type":"text","text":"."}],"metadata":{"roleHeading":"Initializer","role":"symbol","symbolKind":"init","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"identifier","text":"init"},{"text":"?(","kind":"text"},{"kind":"externalParam","text":"rawValue"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}],"title":"init(rawValue:)","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO8rawValueACSgSS_tcfc"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"init","kind":"keyword"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"rawValue"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/init(rawvalue:)"]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/init(rawValue:)":{"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/init(rawvalue:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/init(rawValue:)","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"?("},{"text":"rawValue","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":")"}],"title":"init(rawValue:)","kind":"symbol","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/pbes2hs256a128kw.json b/data/documentation/jose_swift/keymanagementalgorithm/pbes2hs256a128kw.json new file mode 100644 index 0000000..df23029 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/pbes2hs256a128kw.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"pbes2HS256A128KW"}],"languages":["swift"],"platforms":["macOS"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/pbes2hs256a128kw"]}],"kind":"symbol","metadata":{"title":"KeyManagementAlgorithm.pbes2HS256A128KW","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO16pbes2HS256A128KWyA2CmF","modules":[{"name":"jose-swift"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"pbes2HS256A128KW","kind":"identifier"}],"symbolKind":"case","role":"symbol","roleHeading":"Case"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/pbes2HS256A128KW","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/pbes2HS256A128KW":{"type":"topic","title":"KeyManagementAlgorithm.pbes2HS256A128KW","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/pbes2HS256A128KW","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"pbes2HS256A128KW","kind":"identifier"}],"abstract":[],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/pbes2hs256a128kw","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/pbes2hs384a192kw.json b/data/documentation/jose_swift/keymanagementalgorithm/pbes2hs384a192kw.json new file mode 100644 index 0000000..c2e9e4f --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/pbes2hs384a192kw.json @@ -0,0 +1 @@ +{"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"pbes2HS384A192KW","kind":"identifier"}],"symbolKind":"case","roleHeading":"Case","title":"KeyManagementAlgorithm.pbes2HS384A192KW","role":"symbol","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO16pbes2HS384A192KWyA2CmF"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/pbes2HS384A192KW"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"pbes2HS384A192KW"}]}]}],"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/pbes2hs384a192kw"]}],"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/pbes2HS384A192KW":{"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/pbes2hs384a192kw","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/pbes2HS384A192KW","abstract":[],"type":"topic","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"pbes2HS384A192KW","kind":"identifier"}],"kind":"symbol","title":"KeyManagementAlgorithm.pbes2HS384A192KW","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/pbes2hs512a256kw.json b/data/documentation/jose_swift/keymanagementalgorithm/pbes2hs512a256kw.json new file mode 100644 index 0000000..80cc668 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/pbes2hs512a256kw.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"variants":[{"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/pbes2hs512a256kw"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"kind":"symbol","metadata":{"externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO16pbes2HS512A256KWyA2CmF","symbolKind":"case","role":"symbol","title":"KeyManagementAlgorithm.pbes2HS512A256KW","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"pbes2HS512A256KW","kind":"identifier"}],"roleHeading":"Case"},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"pbes2HS512A256KW"}]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/pbes2HS512A256KW","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/pbes2HS512A256KW":{"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/pbes2hs512a256kw","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/pbes2HS512A256KW","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"pbes2HS512A256KW","kind":"identifier"}],"title":"KeyManagementAlgorithm.pbes2HS512A256KW","kind":"symbol","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/rawrepresentable-implementations.json b/data/documentation/jose_swift/keymanagementalgorithm/rawrepresentable-implementations.json new file mode 100644 index 0000000..19b6bb8 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/rawrepresentable-implementations.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/RawRepresentable-Implementations","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/rawrepresentable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"article","topicSections":[{"generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/init(from:)"],"title":"Initializers"},{"title":"Instance Properties","generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/hashValue"]},{"title":"Instance Methods","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/encode(to:)","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/hash(into:)"],"generated":true}],"metadata":{"modules":[{"name":"jose-swift"}],"role":"collectionGroup","title":"RawRepresentable Implementations"},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/hashValue":{"title":"hashValue","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"hashValue","kind":"identifier"},{"kind":"text","text":": "},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/hashvalue","conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/hashValue","type":"topic","kind":"symbol","abstract":[]},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/hash(into:)":{"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/hash(into:)","abstract":[],"kind":"symbol","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}]},"title":"hash(into:)","type":"topic","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/hash(into:)","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"hash","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"into"},{"text":": ","kind":"text"},{"kind":"keyword","text":"inout"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV","text":"Hasher"},{"text":")","kind":"text"}]},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/encode(to:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Encodable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" is "},{"code":"String","type":"codeVoice"},{"type":"text","text":"."}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/encode(to:)","title":"encode(to:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"encode"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7EncoderP","text":"Encoder","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"type":"topic","abstract":[],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/encode(to:)","kind":"symbol","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/init(from:)":{"kind":"symbol","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/init(from:)","title":"init(from:)","abstract":[],"type":"topic","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Decodable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" is "},{"code":"String","type":"codeVoice"},{"type":"text","text":"."}]},"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/init(from:)","role":"symbol","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s7DecoderP","kind":"typeIdentifier","text":"Decoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/rsa1_5.json b/data/documentation/jose_swift/keymanagementalgorithm/rsa1_5.json new file mode 100644 index 0000000..8834ddf --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/rsa1_5.json @@ -0,0 +1 @@ +{"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"rsa1_5"}],"languages":["swift"],"platforms":["macOS"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/rsa1_5"]}],"metadata":{"role":"symbol","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO6rsa1_5yA2CmF","symbolKind":"case","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"rsa1_5","kind":"identifier"}],"modules":[{"name":"jose-swift"}],"roleHeading":"Case","title":"KeyManagementAlgorithm.rsa1_5"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/rsa1_5","interfaceLanguage":"swift"},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/rsa1_5":{"abstract":[],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"rsa1_5","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/rsa1_5","title":"KeyManagementAlgorithm.rsa1_5","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/rsa1_5"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/rsaoaep.json b/data/documentation/jose_swift/keymanagementalgorithm/rsaoaep.json new file mode 100644 index 0000000..4edaf57 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/rsaoaep.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"rsaOAEP","kind":"identifier"}],"platforms":["macOS"],"languages":["swift"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/rsaoaep"]}],"kind":"symbol","metadata":{"title":"KeyManagementAlgorithm.rsaOAEP","symbolKind":"case","modules":[{"name":"jose-swift"}],"roleHeading":"Case","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO7rsaOAEPyA2CmF","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"rsaOAEP"}],"role":"symbol"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/rsaOAEP"},"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/rsaOAEP":{"title":"KeyManagementAlgorithm.rsaOAEP","abstract":[],"url":"\/documentation\/jose_swift\/keymanagementalgorithm\/rsaoaep","kind":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"rsaOAEP","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/rsaOAEP","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/rsaoaep256.json b/data/documentation/jose_swift/keymanagementalgorithm/rsaoaep256.json new file mode 100644 index 0000000..05918fb --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/rsaoaep256.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"variants":[{"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/rsaoaep256"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/rsaOAEP256","interfaceLanguage":"swift"},"kind":"symbol","metadata":{"title":"KeyManagementAlgorithm.rsaOAEP256","symbolKind":"case","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO10rsaOAEP256yA2CmF","role":"symbol","roleHeading":"Case","modules":[{"name":"jose-swift"}],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"rsaOAEP256","kind":"identifier"}]},"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"rsaOAEP256"}],"languages":["swift"]}]}],"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/rsaOAEP256":{"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"rsaOAEP256"}],"kind":"symbol","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/rsaoaep256","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/rsaOAEP256","abstract":[],"title":"KeyManagementAlgorithm.rsaOAEP256","type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/unwrapper.json b/data/documentation/jose_swift/keymanagementalgorithm/unwrapper.json new file mode 100644 index 0000000..68b93b7 --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/unwrapper.json @@ -0,0 +1 @@ +{"metadata":{"title":"unwrapper","symbolKind":"property","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"unwrapper"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms13KeyUnwrappingP","kind":"typeIdentifier","text":"KeyUnwrapping"},{"kind":"text","text":"?"}],"modules":[{"name":"jose-swift"}],"roleHeading":"Instance Property","externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO9unwrapperAA0C10Unwrapping_pSgvp","role":"symbol"},"abstract":[{"type":"text","text":"Provides a "},{"type":"codeVoice","code":"KeyUnwrapping"},{"type":"text","text":" instance suitable for the key management algorithm."}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"variants":[{"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/unwrapper"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"unwrapper","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyUnwrapping","preciseIdentifier":"s:17JSONWebAlgorithms13KeyUnwrappingP","text":"KeyUnwrapping"},{"text":"? { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"languages":["swift"]}],"kind":"declarations"},{"kind":"content","content":[{"type":"heading","anchor":"return-value","level":2,"text":"Return Value"},{"type":"paragraph","inlineContent":[{"text":"An instance conforming to the ","type":"text"},{"code":"KeyUnwrapping","type":"codeVoice"},{"text":" protocol, or `nil","type":"text"}]}]}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/unwrapper"},"schemaVersion":{"patch":0,"minor":3,"major":0},"references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/unwrapper":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/unwrapper","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/unwrapper","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"unwrapper","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"KeyUnwrapping","preciseIdentifier":"s:17JSONWebAlgorithms13KeyUnwrappingP"},{"kind":"text","text":"?"}],"title":"unwrapper","kind":"symbol","abstract":[{"text":"Provides a ","type":"text"},{"type":"codeVoice","code":"KeyUnwrapping"},{"type":"text","text":" instance suitable for the key management algorithm."}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyUnwrapping":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyUnwrapping","url":"\/documentation\/jose_swift\/keyunwrapping","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyUnwrapping"}],"title":"KeyUnwrapping","kind":"symbol","abstract":[{"type":"codeVoice","code":"KeyUnwrapping"},{"text":" is a protocol defining functionality for decrypting (unwrapping) an encrypted content encryption key (CEK).","type":"text"}],"type":"topic","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyUnwrapping"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keymanagementalgorithm/wrapper.json b/data/documentation/jose_swift/keymanagementalgorithm/wrapper.json new file mode 100644 index 0000000..e87554f --- /dev/null +++ b/data/documentation/jose_swift/keymanagementalgorithm/wrapper.json @@ -0,0 +1 @@ +{"metadata":{"externalID":"s:17JSONWebAlgorithms22KeyManagementAlgorithmO7wrapperAA0C8Wrapping_pSgvp","modules":[{"name":"jose-swift"}],"title":"wrapper","roleHeading":"Instance Property","symbolKind":"property","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"wrapper","kind":"identifier"},{"kind":"text","text":": "},{"text":"KeyWrapping","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms11KeyWrappingP"},{"kind":"text","text":"?"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/wrapper"},"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"text":"Provides a ","type":"text"},{"type":"codeVoice","code":"KeyWrapping"},{"text":" instance suitable for the key management algorithm.","type":"text"}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"wrapper","kind":"identifier"},{"text":": ","kind":"text"},{"text":"KeyWrapping","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms11KeyWrappingP","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyWrapping"},{"kind":"text","text":"? { "},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"languages":["swift"]}],"kind":"declarations"},{"content":[{"text":"Return Value","type":"heading","anchor":"return-value","level":2},{"type":"paragraph","inlineContent":[{"type":"text","text":"An instance conforming to the "},{"code":"KeyWrapping","type":"codeVoice"},{"type":"text","text":" protocol, or "},{"type":"codeVoice","code":"nil"},{"type":"text","text":" if wrapping is not supported for the algorithm."}]}],"kind":"content"}],"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm"]]},"variants":[{"paths":["\/documentation\/jose_swift\/keymanagementalgorithm\/wrapper"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm/wrapper":{"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"wrapper"},{"kind":"text","text":": "},{"text":"KeyWrapping","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms11KeyWrappingP"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm\/wrapper","kind":"symbol","type":"topic","title":"wrapper","url":"\/documentation\/jose_swift\/keymanagementalgorithm\/wrapper","abstract":[{"type":"text","text":"Provides a "},{"code":"KeyWrapping","type":"codeVoice"},{"text":" instance suitable for the key management algorithm.","type":"text"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyManagementAlgorithm":{"abstract":[{"text":"Supported JWE cryptographic algorithms for key management.","type":"text"}],"role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyManagementAlgorithm","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"KeyManagementAlgorithm","kind":"identifier"}],"url":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","navigatorTitle":[{"kind":"identifier","text":"KeyManagementAlgorithm"}],"type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyWrapping":{"fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"KeyWrapping","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyWrapping","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyWrapping"}],"type":"topic","title":"KeyWrapping","url":"\/documentation\/jose_swift\/keywrapping","abstract":[{"code":"KeyWrapping","type":"codeVoice"},{"type":"text","text":" is a protocol defining functionality for encrypting (wrapping) a content encryption key (CEK)."}],"role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keyunwrapping.json b/data/documentation/jose_swift/keyunwrapping.json new file mode 100644 index 0000000..77c04d5 --- /dev/null +++ b/data/documentation/jose_swift/keyunwrapping.json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"major":0,"minor":3},"abstract":[{"type":"codeVoice","code":"KeyUnwrapping"},{"type":"text","text":" is a protocol defining functionality for decrypting (unwrapping) an encrypted content encryption key (CEK)."}],"sections":[],"metadata":{"externalID":"s:17JSONWebAlgorithms13KeyUnwrappingP","roleHeading":"Protocol","title":"KeyUnwrapping","role":"symbol","navigatorTitle":[{"text":"KeyUnwrapping","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"text":"KeyUnwrapping","kind":"identifier"}],"modules":[{"name":"jose-swift"}],"symbolKind":"protocol"},"topicSections":[{"title":"Instance Methods","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyUnwrapping\/contentKeyDecrypt(encryptedKey:using:arguments:)"]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyUnwrapping","interfaceLanguage":"swift"},"kind":"symbol","primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"KeyUnwrapping","kind":"identifier"}],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/jose_swift\/keyunwrapping"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyUnwrapping":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyUnwrapping","url":"\/documentation\/jose_swift\/keyunwrapping","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyUnwrapping"}],"title":"KeyUnwrapping","kind":"symbol","abstract":[{"type":"codeVoice","code":"KeyUnwrapping"},{"text":" is a protocol defining functionality for decrypting (unwrapping) an encrypted content encryption key (CEK).","type":"text"}],"type":"topic","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyUnwrapping"}]},"doc://jose-swift/documentation/jose_swift/KeyUnwrapping/contentKeyDecrypt(encryptedKey:using:arguments:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyUnwrapping\/contentKeyDecrypt(encryptedKey:using:arguments:)","url":"\/documentation\/jose_swift\/keyunwrapping\/contentkeydecrypt(encryptedkey:using:arguments:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"contentKeyDecrypt"},{"text":"(","kind":"text"},{"text":"encryptedKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"using","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"arguments"},{"text":": [","kind":"text"},{"text":"KeyEncryptionArguments","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyEncryptionArgumentsO"},{"text":"]) ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"}],"title":"contentKeyDecrypt(encryptedKey:using:arguments:)","required":true,"kind":"symbol","abstract":[{"type":"text","text":"Decrypts (unwraps) an encrypted content encryption key using a specified JSON Web Key (JWK) and additional arguments."}],"type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keyunwrapping/contentkeydecrypt(encryptedkey:using:arguments:).json b/data/documentation/jose_swift/keyunwrapping/contentkeydecrypt(encryptedkey:using:arguments:).json new file mode 100644 index 0000000..0c65118 --- /dev/null +++ b/data/documentation/jose_swift/keyunwrapping/contentkeydecrypt(encryptedkey:using:arguments:).json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"Decrypts (unwraps) an encrypted content encryption key using a specified JSON Web Key (JWK) and additional arguments."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keyunwrapping\/contentkeydecrypt(encryptedkey:using:arguments:)"]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"required":true,"title":"contentKeyDecrypt(encryptedKey:using:arguments:)","symbolKind":"method","modules":[{"name":"jose-swift"}],"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"contentKeyDecrypt","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"encryptedKey"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"using","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"arguments","kind":"externalParam"},{"kind":"text","text":": ["},{"text":"KeyEncryptionArguments","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyEncryptionArgumentsO"},{"text":"]) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"}],"externalID":"s:17JSONWebAlgorithms13KeyUnwrappingP07contentC7Decrypt09encryptedC05using9arguments10Foundation4DataVAJ_0aC03JWKVSayAA0C19EncryptionArgumentsOGtKF","roleHeading":"Instance Method","role":"symbol"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"contentKeyDecrypt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"encryptedKey"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"using"},{"text":": ","kind":"text"},{"text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"arguments"},{"text":": [","kind":"text"},{"text":"KeyEncryptionArguments","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyEncryptionArgumentsO","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments"},{"text":"]) ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"platforms":["macOS"]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"name":"encryptedKey","content":[{"type":"paragraph","inlineContent":[{"text":"The encrypted content encryption key to be decrypted (unwrapped).","type":"text"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"codeVoice","code":"JWK"},{"type":"text","text":" used for the decryption process."}]}],"name":"using"},{"content":[{"type":"paragraph","inlineContent":[{"text":"An array of ","type":"text"},{"type":"codeVoice","code":"KeyEncryptionArguments"},{"type":"text","text":" providing additional information required for decryption."}]}],"name":"arguments"}]},{"content":[{"text":"Return Value","anchor":"return-value","type":"heading","level":2},{"inlineContent":[{"type":"text","text":"The decrypted content encryption key as "},{"code":"Data","type":"codeVoice"},{"type":"text","text":"."}],"type":"paragraph"}],"kind":"content"},{"kind":"content","content":[{"level":2,"text":"Discussion","anchor":"discussion","type":"heading"},{"content":[{"inlineContent":[{"type":"text","text":"An error if key unwrapping fails. This could be due to incorrect keys, incompatible arguments, or other cryptographic issues."}],"type":"paragraph"}],"type":"aside","name":"Throws","style":"note"}]}],"kind":"symbol","sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyUnwrapping"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyUnwrapping\/contentKeyDecrypt(encryptedKey:using:arguments:)"},"references":{"doc://jose-swift/documentation/jose_swift/KeyUnwrapping/contentKeyDecrypt(encryptedKey:using:arguments:)":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyUnwrapping\/contentKeyDecrypt(encryptedKey:using:arguments:)","url":"\/documentation\/jose_swift\/keyunwrapping\/contentkeydecrypt(encryptedkey:using:arguments:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"contentKeyDecrypt"},{"text":"(","kind":"text"},{"text":"encryptedKey","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"using","kind":"externalParam"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"arguments"},{"text":": [","kind":"text"},{"text":"KeyEncryptionArguments","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyEncryptionArgumentsO"},{"text":"]) ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"}],"title":"contentKeyDecrypt(encryptedKey:using:arguments:)","required":true,"kind":"symbol","abstract":[{"type":"text","text":"Decrypts (unwraps) an encrypted content encryption key using a specified JSON Web Key (JWK) and additional arguments."}],"type":"topic","role":"symbol"},"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyUnwrapping":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyUnwrapping","url":"\/documentation\/jose_swift\/keyunwrapping","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyUnwrapping"}],"title":"KeyUnwrapping","kind":"symbol","abstract":[{"type":"codeVoice","code":"KeyUnwrapping"},{"text":" is a protocol defining functionality for decrypting (unwrapping) an encrypted content encryption key (CEK).","type":"text"}],"type":"topic","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyUnwrapping"}]},"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments":{"type":"topic","abstract":[{"type":"codeVoice","code":"KeyEncryptionArguments"},{"type":"text","text":" is an enumeration defining additional arguments that can be used in key encryption processes."}],"navigatorTitle":[{"kind":"identifier","text":"KeyEncryptionArguments"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyEncryptionArguments"}],"title":"KeyEncryptionArguments","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/keyencryptionarguments","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keywrapping.json b/data/documentation/jose_swift/keywrapping.json new file mode 100644 index 0000000..8a6fe5d --- /dev/null +++ b/data/documentation/jose_swift/keywrapping.json @@ -0,0 +1 @@ +{"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"KeyWrapping","kind":"identifier"}],"platforms":["macOS"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyWrapping","interfaceLanguage":"swift"},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/KeyWrapping\/contentKeyEncrypt(cek:using:arguments:)"],"title":"Instance Methods"}],"metadata":{"role":"symbol","title":"KeyWrapping","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"KeyWrapping","kind":"identifier"}],"modules":[{"name":"jose-swift"}],"symbolKind":"protocol","navigatorTitle":[{"text":"KeyWrapping","kind":"identifier"}],"roleHeading":"Protocol","externalID":"s:17JSONWebAlgorithms11KeyWrappingP"},"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"code":"KeyWrapping","type":"codeVoice"},{"text":" is a protocol defining functionality for encrypting (wrapping) a content encryption key (CEK).","type":"text"}],"variants":[{"paths":["\/documentation\/jose_swift\/keywrapping"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/KeyWrapping/contentKeyEncrypt(cek:using:arguments:)":{"role":"symbol","type":"topic","title":"contentKeyEncrypt(cek:using:arguments:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"contentKeyEncrypt","kind":"identifier"},{"text":"(","kind":"text"},{"text":"cek","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"using","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"arguments"},{"kind":"text","text":": ["},{"preciseIdentifier":"s:17JSONWebAlgorithms22KeyEncryptionArgumentsO","kind":"typeIdentifier","text":"KeyEncryptionArguments"},{"text":"]) ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"KeyEncriptionResultMetadata","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms27KeyEncriptionResultMetadataV"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyWrapping\/contentKeyEncrypt(cek:using:arguments:)","kind":"symbol","url":"\/documentation\/jose_swift\/keywrapping\/contentkeyencrypt(cek:using:arguments:)","abstract":[{"text":"Encrypts (wraps) a content encryption key using a specified JSON Web Key (JWK) and additional arguments.","type":"text"}],"required":true},"doc://jose-swift/documentation/jose_swift/KeyWrapping":{"fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"KeyWrapping","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyWrapping","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyWrapping"}],"type":"topic","title":"KeyWrapping","url":"\/documentation\/jose_swift\/keywrapping","abstract":[{"code":"KeyWrapping","type":"codeVoice"},{"type":"text","text":" is a protocol defining functionality for encrypting (wrapping) a content encryption key (CEK)."}],"role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/keywrapping/contentkeyencrypt(cek:using:arguments:).json b/data/documentation/jose_swift/keywrapping/contentkeyencrypt(cek:using:arguments:).json new file mode 100644 index 0000000..12e7a79 --- /dev/null +++ b/data/documentation/jose_swift/keywrapping/contentkeyencrypt(cek:using:arguments:).json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"Encrypts (wraps) a content encryption key using a specified JSON Web Key (JWK) and additional arguments."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/keywrapping\/contentkeyencrypt(cek:using:arguments:)"]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"metadata":{"modules":[{"name":"jose-swift"}],"roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"contentKeyEncrypt","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"cek"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"using","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"arguments"},{"text":": [","kind":"text"},{"preciseIdentifier":"s:17JSONWebAlgorithms22KeyEncryptionArgumentsO","kind":"typeIdentifier","text":"KeyEncryptionArguments"},{"text":"]) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms27KeyEncriptionResultMetadataV","text":"KeyEncriptionResultMetadata"}],"symbolKind":"method","externalID":"s:17JSONWebAlgorithms11KeyWrappingP07contentC7Encrypt3cek5using9argumentsAA0C24EncriptionResultMetadataV10Foundation4DataV_0aC03JWKVSayAA0C19EncryptionArgumentsOGtKF","title":"contentKeyEncrypt(cek:using:arguments:)","required":true,"role":"symbol"},"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"contentKeyEncrypt","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"cek"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"using","kind":"externalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"arguments"},{"text":": [","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments","text":"KeyEncryptionArguments","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms22KeyEncryptionArgumentsO"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:17JSONWebAlgorithms27KeyEncriptionResultMetadataV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata","text":"KeyEncriptionResultMetadata","kind":"typeIdentifier"}],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"cek","content":[{"inlineContent":[{"type":"text","text":"The content encryption key to be encrypted (wrapped)."}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"The ","type":"text"},{"code":"JWK","type":"codeVoice"},{"type":"text","text":" used for the encryption process."}]}],"name":"using"},{"name":"arguments","content":[{"inlineContent":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"KeyEncryptionArguments"},{"type":"text","text":" providing additional information required for encryption."}],"type":"paragraph"}]}]},{"content":[{"level":2,"type":"heading","text":"Return Value","anchor":"return-value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"KeyEncriptionResultMetadata"},{"type":"text","text":" containing the encrypted key and associated metadata."}]}],"kind":"content"},{"content":[{"type":"heading","anchor":"discussion","text":"Discussion","level":2},{"style":"note","name":"Throws","type":"aside","content":[{"inlineContent":[{"text":"An error if key wrapping fails. This could be due to incorrect keys, incompatible arguments, or other cryptographic issues.","type":"text"}],"type":"paragraph"}]}],"kind":"content"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyWrapping\/contentKeyEncrypt(cek:using:arguments:)"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/KeyWrapping"]]},"references":{"doc://jose-swift/documentation/jose_swift/KeyWrapping":{"fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"KeyWrapping","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyWrapping","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"KeyWrapping"}],"type":"topic","title":"KeyWrapping","url":"\/documentation\/jose_swift\/keywrapping","abstract":[{"code":"KeyWrapping","type":"codeVoice"},{"type":"text","text":" is a protocol defining functionality for encrypting (wrapping) a content encryption key (CEK)."}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/KeyEncriptionResultMetadata":{"abstract":[{"type":"codeVoice","code":"KeyEncriptionResultMetadata"},{"type":"text","text":" is a struct representing the metadata of a key encryption result."}],"kind":"symbol","title":"KeyEncriptionResultMetadata","navigatorTitle":[{"text":"KeyEncriptionResultMetadata","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncriptionResultMetadata","type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/keyencriptionresultmetadata","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyEncriptionResultMetadata"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/KeyWrapping/contentKeyEncrypt(cek:using:arguments:)":{"role":"symbol","type":"topic","title":"contentKeyEncrypt(cek:using:arguments:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"contentKeyEncrypt","kind":"identifier"},{"text":"(","kind":"text"},{"text":"cek","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"using","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"arguments"},{"kind":"text","text":": ["},{"preciseIdentifier":"s:17JSONWebAlgorithms22KeyEncryptionArgumentsO","kind":"typeIdentifier","text":"KeyEncryptionArguments"},{"text":"]) ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"KeyEncriptionResultMetadata","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms27KeyEncriptionResultMetadataV"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyWrapping\/contentKeyEncrypt(cek:using:arguments:)","kind":"symbol","url":"\/documentation\/jose_swift\/keywrapping\/contentkeyencrypt(cek:using:arguments:)","abstract":[{"text":"Encrypts (wraps) a content encryption key using a specified JSON Web Key (JWK) and additional arguments.","type":"text"}],"required":true},"doc://jose-swift/documentation/jose_swift/KeyEncryptionArguments":{"type":"topic","abstract":[{"type":"codeVoice","code":"KeyEncryptionArguments"},{"type":"text","text":" is an enumeration defining additional arguments that can be used in key encryption processes."}],"navigatorTitle":[{"kind":"identifier","text":"KeyEncryptionArguments"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"KeyEncryptionArguments"}],"title":"KeyEncryptionArguments","kind":"symbol","role":"symbol","url":"\/documentation\/jose_swift\/keyencryptionarguments","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/KeyEncryptionArguments"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/secp256k1.json b/data/documentation/jose_swift/secp256k1.json new file mode 100644 index 0000000..a7220e0 --- /dev/null +++ b/data/documentation/jose_swift/secp256k1.json @@ -0,0 +1 @@ +{"metadata":{"title":"secp256k1","roleHeading":"Extended Module","modules":[{"name":"jose-swift"}],"externalID":"s:m:s:e:s:e:s:e:s:9secp256k1AAO12KeyAgreementO06PublicB0V17JSONWebAlgorithmsE17jwkRepresentation0eB03JWKVvp","role":"collection","symbolKind":"extension"},"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"symbol","topicSections":[{"title":"Extended Types","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1"]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1","interfaceLanguage":"swift"},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"variants":[{"paths":["\/documentation\/jose_swift\/secp256k1"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/secp256k1":{"kind":"symbol","url":"\/documentation\/jose_swift\/secp256k1","role":"collection","abstract":[],"type":"topic","title":"secp256k1","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1","title":"secp256k1","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","navigatorTitle":[{"kind":"identifier","text":"secp256k1"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/secp256k1/secp256k1.json b/data/documentation/jose_swift/secp256k1/secp256k1.json new file mode 100644 index 0000000..7a256c9 --- /dev/null +++ b/data/documentation/jose_swift/secp256k1/secp256k1.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1"]]},"topicSections":[{"title":"Extended Types","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1"},"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"symbol","sections":[],"metadata":{"extendedModule":"secp256k1","modules":[{"relatedModules":["secp256k1"],"name":"jose-swift"}],"role":"symbol","navigatorTitle":[{"text":"secp256k1","kind":"identifier"}],"externalID":"s:e:s:e:s:e:s:9secp256k1AAO12KeyAgreementO06PublicB0V17JSONWebAlgorithmsE17jwkRepresentation0eB03JWKVvp","title":"secp256k1","symbolKind":"extension","roleHeading":"Extended Type"},"variants":[{"paths":["\/documentation\/jose_swift\/secp256k1\/secp256k1"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1","title":"secp256k1","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","navigatorTitle":[{"kind":"identifier","text":"secp256k1"}]},"doc://jose-swift/documentation/jose_swift/secp256k1":{"kind":"symbol","url":"\/documentation\/jose_swift\/secp256k1","role":"collection","abstract":[],"type":"topic","title":"secp256k1","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing":{"kind":"symbol","abstract":[],"role":"symbol","navigatorTitle":[{"text":"Signing","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing","type":"topic","title":"secp256k1.Signing"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement","title":"secp256k1.KeyAgreement","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement","navigatorTitle":[{"kind":"identifier","text":"KeyAgreement"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement.json b/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement.json new file mode 100644 index 0000000..5034154 --- /dev/null +++ b/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement.json @@ -0,0 +1 @@ +{"metadata":{"roleHeading":"Extended Type","title":"secp256k1.KeyAgreement","navigatorTitle":[{"text":"KeyAgreement","kind":"identifier"}],"extendedModule":"secp256k1","externalID":"s:e:s:e:s:9secp256k1AAO12KeyAgreementO06PublicB0V17JSONWebAlgorithmsE17jwkRepresentation0eB03JWKVvp","role":"symbol","modules":[{"relatedModules":["secp256k1"],"name":"jose-swift"}],"symbolKind":"extension"},"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"symbol","sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1"]]},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PublicKey"],"title":"Extended Structures"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement"]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift/secp256k1":{"kind":"symbol","url":"\/documentation\/jose_swift\/secp256k1","role":"collection","abstract":[],"type":"topic","title":"secp256k1","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement","title":"secp256k1.KeyAgreement","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement","navigatorTitle":[{"kind":"identifier","text":"KeyAgreement"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1","title":"secp256k1","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","navigatorTitle":[{"kind":"identifier","text":"secp256k1"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement/PublicKey":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/publickey","title":"secp256k1.KeyAgreement.PublicKey","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PublicKey","navigatorTitle":[{"kind":"identifier","text":"PublicKey"}],"fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"secp256k1","preciseIdentifier":"s:9secp256k1AAO"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO","text":"KeyAgreement"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO06PublicB0V","text":"PublicKey"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement/PrivateKey":{"role":"symbol","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"title":"secp256k1.KeyAgreement.PrivateKey","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/privatekey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey","type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"secp256k1","kind":"identifier","preciseIdentifier":"s:9secp256k1AAO"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO","text":"KeyAgreement"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO07PrivateB0V","text":"PrivateKey"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey.json b/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey.json new file mode 100644 index 0000000..e459e8e --- /dev/null +++ b/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey.json @@ -0,0 +1 @@ +{"kind":"symbol","relationshipsSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable"],"kind":"relationships","type":"conformsTo","title":"Conforms To"}],"metadata":{"extendedModule":"secp256k1","roleHeading":"Extended Structure","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"secp256k1","preciseIdentifier":"s:9secp256k1AAO","kind":"identifier"},{"text":".","kind":"text"},{"text":"KeyAgreement","kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO07PrivateB0V","text":"PrivateKey"}],"role":"symbol","externalID":"s:e:s:9secp256k1AAO12KeyAgreementO07PrivateB0V17JSONWebAlgorithmsE016sharedSecretFrombC006publicB5Share10Foundation4DataV0eB03JWKV_tKF","modules":[{"name":"jose-swift","relatedModules":["secp256k1"]}],"title":"secp256k1.KeyAgreement.PrivateKey","symbolKind":"extension","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}]},"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement"]]},"topicSections":[{"generated":true,"title":"Default Implementations","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey\/SharedKeyAgreement-Implementations"]}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"preciseIdentifier":"s:9secp256k1AAO","text":"secp256k1","kind":"typeIdentifier"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO","text":"KeyAgreement"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO07PrivateB0V","text":"PrivateKey"}],"languages":["swift"]}],"kind":"declarations"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey"},"variants":[{"paths":["\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/privatekey"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement/PrivateKey/JWKRepresentable-Implementations":{"role":"collectionGroup","type":"topic","title":"JWKRepresentable Implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations","kind":"article","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/privatekey\/jwkrepresentable-implementations","abstract":[]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/secp256k1":{"kind":"symbol","url":"\/documentation\/jose_swift\/secp256k1","role":"collection","abstract":[],"type":"topic","title":"secp256k1","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1"},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1","title":"secp256k1","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","navigatorTitle":[{"kind":"identifier","text":"secp256k1"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement","title":"secp256k1.KeyAgreement","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement","navigatorTitle":[{"kind":"identifier","text":"KeyAgreement"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement/PrivateKey":{"role":"symbol","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"title":"secp256k1.KeyAgreement.PrivateKey","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/privatekey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey","type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"secp256k1","kind":"identifier","preciseIdentifier":"s:9secp256k1AAO"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO","text":"KeyAgreement"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO07PrivateB0V","text":"PrivateKey"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement/PrivateKey/SharedKeyAgreement-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey\/SharedKeyAgreement-Implementations","title":"SharedKeyAgreement Implementations","kind":"article","abstract":[],"role":"collectionGroup","type":"topic","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/privatekey\/sharedkeyagreement-implementations"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/jwkrepresentable-implementations.json b/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/jwkrepresentable-implementations.json new file mode 100644 index 0000000..4394050 --- /dev/null +++ b/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/jwkrepresentable-implementations.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey"]]},"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/privatekey\/jwkrepresentable-implementations"]}],"kind":"article","topicSections":[{"title":"Instance Properties","generated":true,"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey\/jwkRepresentation"]}],"metadata":{"modules":[{"name":"jose-swift"}],"title":"JWKRepresentable Implementations","role":"collectionGroup"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations","interfaceLanguage":"swift"},"references":{"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1","title":"secp256k1","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","navigatorTitle":[{"kind":"identifier","text":"secp256k1"}]},"doc://jose-swift/documentation/jose_swift/secp256k1":{"kind":"symbol","url":"\/documentation\/jose_swift\/secp256k1","role":"collection","abstract":[],"type":"topic","title":"secp256k1","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement","title":"secp256k1.KeyAgreement","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement","navigatorTitle":[{"kind":"identifier","text":"KeyAgreement"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement/PrivateKey":{"role":"symbol","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"title":"secp256k1.KeyAgreement.PrivateKey","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/privatekey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey","type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"secp256k1","kind":"identifier","preciseIdentifier":"s:9secp256k1AAO"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO","text":"KeyAgreement"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO07PrivateB0V","text":"PrivateKey"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement/PrivateKey/jwkRepresentation":{"kind":"symbol","title":"jwkRepresentation","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey\/jwkRepresentation","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/privatekey\/jwkrepresentation","abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"code":"secp256k1.KeyAgreement.PrivateKey","type":"codeVoice"},{"text":" instance.","type":"text"}],"type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/jwkrepresentation.json b/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/jwkrepresentation.json new file mode 100644 index 0000000..7015b28 --- /dev/null +++ b/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/jwkrepresentation.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations"]]},"metadata":{"symbolKind":"property","roleHeading":"Instance Property","modules":[{"relatedModules":["secp256k1"],"name":"jose-swift"}],"externalID":"s:9secp256k1AAO12KeyAgreementO07PrivateB0V17JSONWebAlgorithmsE17jwkRepresentation0eB03JWKVvp","title":"jwkRepresentation","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwkRepresentation"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"}],"extendedModule":"secp256k1","role":"symbol"},"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey\/jwkRepresentation"},"sections":[],"kind":"symbol","abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"code":"secp256k1.KeyAgreement.PrivateKey","type":"codeVoice"},{"text":" instance.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwkRepresentation","kind":"identifier"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"languages":["swift"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/privatekey\/jwkrepresentation"]}],"references":{"doc://jose-swift/documentation/jose_swift/secp256k1":{"kind":"symbol","url":"\/documentation\/jose_swift\/secp256k1","role":"collection","abstract":[],"type":"topic","title":"secp256k1","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement/PrivateKey/JWKRepresentable-Implementations":{"role":"collectionGroup","type":"topic","title":"JWKRepresentable Implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey\/JWKRepresentable-Implementations","kind":"article","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/privatekey\/jwkrepresentable-implementations","abstract":[]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement/PrivateKey":{"role":"symbol","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"title":"secp256k1.KeyAgreement.PrivateKey","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/privatekey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey","type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"secp256k1","kind":"identifier","preciseIdentifier":"s:9secp256k1AAO"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO","text":"KeyAgreement"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO07PrivateB0V","text":"PrivateKey"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement/PrivateKey/jwkRepresentation":{"kind":"symbol","title":"jwkRepresentation","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey\/jwkRepresentation","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/privatekey\/jwkrepresentation","abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"code":"secp256k1.KeyAgreement.PrivateKey","type":"codeVoice"},{"text":" instance.","type":"text"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement","title":"secp256k1.KeyAgreement","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement","navigatorTitle":[{"kind":"identifier","text":"KeyAgreement"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1","title":"secp256k1","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","navigatorTitle":[{"kind":"identifier","text":"secp256k1"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"type":"text","text":"RFC7517"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/sharedkeyagreement-implementations.json b/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/sharedkeyagreement-implementations.json new file mode 100644 index 0000000..8e666ae --- /dev/null +++ b/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/sharedkeyagreement-implementations.json @@ -0,0 +1 @@ +{"topicSections":[{"title":"Instance Methods","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey\/sharedSecretFromKeyAgreement(publicKeyShare:)"],"generated":true}],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"modules":[{"name":"jose-swift"}],"role":"collectionGroup","title":"SharedKeyAgreement Implementations"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/privatekey\/sharedkeyagreement-implementations"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey\/SharedKeyAgreement-Implementations"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey"]]},"kind":"article","sections":[],"references":{"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement","title":"secp256k1.KeyAgreement","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement","navigatorTitle":[{"kind":"identifier","text":"KeyAgreement"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement/PrivateKey":{"role":"symbol","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"title":"secp256k1.KeyAgreement.PrivateKey","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/privatekey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey","type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"secp256k1","kind":"identifier","preciseIdentifier":"s:9secp256k1AAO"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO","text":"KeyAgreement"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO07PrivateB0V","text":"PrivateKey"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement/PrivateKey/sharedSecretFromKeyAgreement(publicKeyShare:)":{"role":"symbol","abstract":[],"title":"sharedSecretFromKeyAgreement(publicKeyShare:)","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/privatekey\/sharedsecretfromkeyagreement(publickeyshare:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey\/sharedSecretFromKeyAgreement(publicKeyShare:)","type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"sharedSecretFromKeyAgreement"},{"text":"(","kind":"text"},{"text":"publicKeyShare","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"}]},"doc://jose-swift/documentation/jose_swift/secp256k1":{"kind":"symbol","url":"\/documentation\/jose_swift\/secp256k1","role":"collection","abstract":[],"type":"topic","title":"secp256k1","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1","title":"secp256k1","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","navigatorTitle":[{"kind":"identifier","text":"secp256k1"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:).json b/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:).json new file mode 100644 index 0000000..56a1708 --- /dev/null +++ b/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey\/SharedKeyAgreement-Implementations"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey\/sharedSecretFromKeyAgreement(publicKeyShare:)"},"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"roleHeading":"Instance Method","role":"symbol","symbolKind":"method","extendedModule":"secp256k1","modules":[{"name":"jose-swift","relatedModules":["secp256k1"]}],"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"sharedSecretFromKeyAgreement","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"publicKeyShare"},{"kind":"text","text":": "},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"title":"sharedSecretFromKeyAgreement(publicKeyShare:)","externalID":"s:9secp256k1AAO12KeyAgreementO07PrivateB0V17JSONWebAlgorithmsE016sharedSecretFrombC006publicB5Share10Foundation4DataV0eB03JWKV_tKF"},"kind":"symbol","sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"sharedSecretFromKeyAgreement","kind":"identifier"},{"kind":"text","text":"("},{"text":"publicKeyShare","kind":"externalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"platforms":["macOS"]}]}],"abstract":[{"text":"Inherited from ","type":"text"},{"code":"SharedKeyAgreement.sharedSecretFromKeyAgreement(publicKeyShare:)","type":"codeVoice"},{"type":"text","text":"."}],"variants":[{"paths":["\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/privatekey\/sharedsecretfromkeyagreement(publickeyshare:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1","title":"secp256k1","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","navigatorTitle":[{"kind":"identifier","text":"secp256k1"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement/PrivateKey/SharedKeyAgreement-Implementations":{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey\/SharedKeyAgreement-Implementations","title":"SharedKeyAgreement Implementations","kind":"article","abstract":[],"role":"collectionGroup","type":"topic","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/privatekey\/sharedkeyagreement-implementations"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","type":"link","titleInlineContent":[{"type":"text","text":"RFC7517"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement","title":"secp256k1.KeyAgreement","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement","navigatorTitle":[{"kind":"identifier","text":"KeyAgreement"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement/PrivateKey":{"role":"symbol","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PrivateKey"}],"title":"secp256k1.KeyAgreement.PrivateKey","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/privatekey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey","type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"secp256k1","kind":"identifier","preciseIdentifier":"s:9secp256k1AAO"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO","text":"KeyAgreement"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO07PrivateB0V","text":"PrivateKey"}]},"doc://jose-swift/documentation/jose_swift/secp256k1":{"kind":"symbol","url":"\/documentation\/jose_swift\/secp256k1","role":"collection","abstract":[],"type":"topic","title":"secp256k1","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement/PrivateKey/sharedSecretFromKeyAgreement(publicKeyShare:)":{"role":"symbol","abstract":[],"title":"sharedSecretFromKeyAgreement(publicKeyShare:)","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/privatekey\/sharedsecretfromkeyagreement(publickeyshare:)","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PrivateKey\/sharedSecretFromKeyAgreement(publicKeyShare:)","type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"sharedSecretFromKeyAgreement"},{"text":"(","kind":"text"},{"text":"publicKeyShare","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement/publickey.json b/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement/publickey.json new file mode 100644 index 0000000..ae489cd --- /dev/null +++ b/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement/publickey.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PublicKey"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"secp256k1","kind":"typeIdentifier","preciseIdentifier":"s:9secp256k1AAO"},{"text":".","kind":"text"},{"text":"KeyAgreement","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO06PublicB0V","text":"PublicKey","kind":"typeIdentifier"}],"languages":["swift"]}],"kind":"declarations"}],"sections":[],"topicSections":[{"generated":true,"title":"Default Implementations","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations"]}],"relationshipsSections":[{"type":"conformsTo","title":"Conforms To","kind":"relationships","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable"]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/publickey"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement"]]},"metadata":{"navigatorTitle":[{"kind":"identifier","text":"PublicKey"}],"roleHeading":"Extended Structure","symbolKind":"extension","externalID":"s:e:s:9secp256k1AAO12KeyAgreementO06PublicB0V17JSONWebAlgorithmsE17jwkRepresentation0eB03JWKVvp","modules":[{"name":"jose-swift","relatedModules":["secp256k1"]}],"title":"secp256k1.KeyAgreement.PublicKey","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:9secp256k1AAO","kind":"identifier","text":"secp256k1"},{"text":".","kind":"text"},{"text":"KeyAgreement","kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO"},{"kind":"text","text":"."},{"preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO06PublicB0V","kind":"identifier","text":"PublicKey"}],"role":"symbol","extendedModule":"secp256k1"},"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement/PublicKey":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/publickey","title":"secp256k1.KeyAgreement.PublicKey","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PublicKey","navigatorTitle":[{"kind":"identifier","text":"PublicKey"}],"fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"secp256k1","preciseIdentifier":"s:9secp256k1AAO"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO","text":"KeyAgreement"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO06PublicB0V","text":"PublicKey"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement/PublicKey/JWKRepresentable-Implementations":{"type":"topic","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/publickey\/jwkrepresentable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations","title":"JWKRepresentable Implementations","abstract":[],"kind":"article","role":"collectionGroup"},"doc://jose-swift/documentation/jose_swift/secp256k1":{"kind":"symbol","url":"\/documentation\/jose_swift\/secp256k1","role":"collection","abstract":[],"type":"topic","title":"secp256k1","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement","title":"secp256k1.KeyAgreement","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement","navigatorTitle":[{"kind":"identifier","text":"KeyAgreement"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1","title":"secp256k1","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","navigatorTitle":[{"kind":"identifier","text":"secp256k1"}]},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement/publickey/jwkrepresentable-implementations.json b/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement/publickey/jwkrepresentable-implementations.json new file mode 100644 index 0000000..f3a9dd0 --- /dev/null +++ b/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement/publickey/jwkrepresentable-implementations.json @@ -0,0 +1 @@ +{"kind":"article","topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PublicKey\/jwkRepresentation"],"generated":true,"title":"Instance Properties"}],"sections":[],"variants":[{"paths":["\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/publickey\/jwkrepresentable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PublicKey"]]},"metadata":{"modules":[{"name":"jose-swift"}],"role":"collectionGroup","title":"JWKRepresentable Implementations"},"schemaVersion":{"minor":3,"major":0,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/secp256k1":{"kind":"symbol","url":"\/documentation\/jose_swift\/secp256k1","role":"collection","abstract":[],"type":"topic","title":"secp256k1","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement/PublicKey":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/publickey","title":"secp256k1.KeyAgreement.PublicKey","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PublicKey","navigatorTitle":[{"kind":"identifier","text":"PublicKey"}],"fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"secp256k1","preciseIdentifier":"s:9secp256k1AAO"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO","text":"KeyAgreement"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO06PublicB0V","text":"PublicKey"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement/PublicKey/jwkRepresentation":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/publickey\/jwkrepresentation","title":"jwkRepresentation","abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"code":"secp256k1.KeyAgreement.PublicKey","type":"codeVoice"},{"type":"text","text":" instance."}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PublicKey\/jwkRepresentation","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"jwkRepresentation"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement","title":"secp256k1.KeyAgreement","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement","navigatorTitle":[{"kind":"identifier","text":"KeyAgreement"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1","title":"secp256k1","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","navigatorTitle":[{"kind":"identifier","text":"secp256k1"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement/publickey/jwkrepresentation.json b/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement/publickey/jwkrepresentation.json new file mode 100644 index 0000000..4fb5449 --- /dev/null +++ b/data/documentation/jose_swift/secp256k1/secp256k1/keyagreement/publickey/jwkrepresentation.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PublicKey","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PublicKey\/jwkRepresentation"},"sections":[],"abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"type":"codeVoice","code":"secp256k1.KeyAgreement.PublicKey"},{"type":"text","text":" instance."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/publickey\/jwkrepresentation"]}],"kind":"symbol","metadata":{"role":"symbol","externalID":"s:9secp256k1AAO12KeyAgreementO06PublicB0V17JSONWebAlgorithmsE17jwkRepresentation0eB03JWKVvp","extendedModule":"secp256k1","symbolKind":"property","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"}],"modules":[{"relatedModules":["secp256k1"],"name":"jose-swift"}],"roleHeading":"Instance Property","title":"jwkRepresentation"},"schemaVersion":{"patch":0,"major":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"text":"JWK","kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"kind":"text","text":" { "},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"platforms":["macOS"]}]}],"references":{"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement/PublicKey":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/publickey","title":"secp256k1.KeyAgreement.PublicKey","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PublicKey","navigatorTitle":[{"kind":"identifier","text":"PublicKey"}],"fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"secp256k1","preciseIdentifier":"s:9secp256k1AAO"},{"text":".","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO","text":"KeyAgreement"},{"kind":"text","text":"."},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO12KeyAgreementO06PublicB0V","text":"PublicKey"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement/PublicKey/jwkRepresentation":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/publickey\/jwkrepresentation","title":"jwkRepresentation","abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"code":"secp256k1.KeyAgreement.PublicKey","type":"codeVoice"},{"type":"text","text":" instance."}],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PublicKey\/jwkRepresentation","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"jwkRepresentation"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1","title":"secp256k1","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","navigatorTitle":[{"kind":"identifier","text":"secp256k1"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement","title":"secp256k1.KeyAgreement","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement","navigatorTitle":[{"kind":"identifier","text":"KeyAgreement"}]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"titleInlineContent":[{"text":"RFC7517","type":"text"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/KeyAgreement/PublicKey/JWKRepresentable-Implementations":{"type":"topic","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/publickey\/jwkrepresentable-implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/KeyAgreement\/PublicKey\/JWKRepresentable-Implementations","title":"JWKRepresentable Implementations","abstract":[],"kind":"article","role":"collectionGroup"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/secp256k1":{"kind":"symbol","url":"\/documentation\/jose_swift\/secp256k1","role":"collection","abstract":[],"type":"topic","title":"secp256k1","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/secp256k1/secp256k1/signing.json b/data/documentation/jose_swift/secp256k1/secp256k1/signing.json new file mode 100644 index 0000000..f536cbb --- /dev/null +++ b/data/documentation/jose_swift/secp256k1/secp256k1/signing.json @@ -0,0 +1 @@ +{"kind":"symbol","topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PublicKey"],"title":"Extended Structures"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing"]}],"metadata":{"extendedModule":"secp256k1","title":"secp256k1.Signing","symbolKind":"extension","modules":[{"name":"jose-swift","relatedModules":["secp256k1"]}],"externalID":"s:e:s:e:s:9secp256k1AAO7SigningO10PrivateKeyV17JSONWebAlgorithmsE17jwkRepresentation0eD03JWKVvp","role":"symbol","navigatorTitle":[{"text":"Signing","kind":"identifier"}],"roleHeading":"Extended Type"},"references":{"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing/PublicKey":{"title":"secp256k1.Signing.PublicKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/publickey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PublicKey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO","text":"secp256k1"},{"text":".","kind":"text"},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9secp256k1AAO7SigningO"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9secp256k1AAO7SigningO9PublicKeyV","text":"PublicKey","kind":"identifier"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing/PrivateKey":{"kind":"symbol","abstract":[],"role":"symbol","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PrivateKey","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO","text":"secp256k1"},{"kind":"text","text":"."},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9secp256k1AAO7SigningO"},{"text":".","kind":"text"},{"text":"PrivateKey","kind":"identifier","preciseIdentifier":"s:9secp256k1AAO7SigningO10PrivateKeyV"}],"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/privatekey","type":"topic","title":"secp256k1.Signing.PrivateKey"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing":{"kind":"symbol","abstract":[],"role":"symbol","navigatorTitle":[{"text":"Signing","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing","type":"topic","title":"secp256k1.Signing"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1","title":"secp256k1","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","navigatorTitle":[{"kind":"identifier","text":"secp256k1"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/secp256k1":{"kind":"symbol","url":"\/documentation\/jose_swift\/secp256k1","role":"collection","abstract":[],"type":"topic","title":"secp256k1","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/secp256k1/secp256k1/signing/privatekey.json b/data/documentation/jose_swift/secp256k1/secp256k1/signing/privatekey.json new file mode 100644 index 0000000..54734bb --- /dev/null +++ b/data/documentation/jose_swift/secp256k1/secp256k1/signing/privatekey.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/privatekey"],"traits":[{"interfaceLanguage":"swift"}]}],"topicSections":[{"title":"Default Implementations","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PrivateKey\/JWKRepresentable-Implementations"],"generated":true}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"preciseIdentifier":"s:9secp256k1AAO","text":"secp256k1","kind":"typeIdentifier"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:9secp256k1AAO7SigningO","text":"Signing"},{"kind":"text","text":"."},{"text":"PrivateKey","kind":"typeIdentifier","preciseIdentifier":"s:9secp256k1AAO7SigningO10PrivateKeyV"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing"]]},"sections":[],"metadata":{"extendedModule":"secp256k1","modules":[{"relatedModules":["secp256k1"],"name":"jose-swift"}],"role":"symbol","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}],"fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"secp256k1","kind":"identifier","preciseIdentifier":"s:9secp256k1AAO"},{"kind":"text","text":"."},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9secp256k1AAO7SigningO"},{"kind":"text","text":"."},{"kind":"identifier","text":"PrivateKey","preciseIdentifier":"s:9secp256k1AAO7SigningO10PrivateKeyV"}],"symbolKind":"extension","title":"secp256k1.Signing.PrivateKey","roleHeading":"Extended Structure","externalID":"s:e:s:9secp256k1AAO7SigningO10PrivateKeyV17JSONWebAlgorithmsE17jwkRepresentation0eD03JWKVvp"},"relationshipsSections":[{"type":"conformsTo","kind":"relationships","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable"],"title":"Conforms To"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PrivateKey"},"references":{"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1","title":"secp256k1","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","navigatorTitle":[{"kind":"identifier","text":"secp256k1"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing/PrivateKey":{"kind":"symbol","abstract":[],"role":"symbol","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PrivateKey","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO","text":"secp256k1"},{"kind":"text","text":"."},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9secp256k1AAO7SigningO"},{"text":".","kind":"text"},{"text":"PrivateKey","kind":"identifier","preciseIdentifier":"s:9secp256k1AAO7SigningO10PrivateKeyV"}],"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/privatekey","type":"topic","title":"secp256k1.Signing.PrivateKey"},"doc://jose-swift/documentation/jose_swift/secp256k1":{"kind":"symbol","url":"\/documentation\/jose_swift\/secp256k1","role":"collection","abstract":[],"type":"topic","title":"secp256k1","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing/PrivateKey/JWKRepresentable-Implementations":{"kind":"article","abstract":[],"role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PrivateKey\/JWKRepresentable-Implementations","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/privatekey\/jwkrepresentable-implementations","type":"topic","title":"JWKRepresentable Implementations"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing":{"kind":"symbol","abstract":[],"role":"symbol","navigatorTitle":[{"text":"Signing","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing","type":"topic","title":"secp256k1.Signing"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/secp256k1/secp256k1/signing/privatekey/jwkrepresentable-implementations.json b/data/documentation/jose_swift/secp256k1/secp256k1/signing/privatekey/jwkrepresentable-implementations.json new file mode 100644 index 0000000..9431baa --- /dev/null +++ b/data/documentation/jose_swift/secp256k1/secp256k1/signing/privatekey/jwkrepresentable-implementations.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PrivateKey"]]},"metadata":{"title":"JWKRepresentable Implementations","role":"collectionGroup","modules":[{"name":"jose-swift"}]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/privatekey\/jwkrepresentable-implementations"]}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PrivateKey\/JWKRepresentable-Implementations"},"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"article","topicSections":[{"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PrivateKey\/jwkRepresentation"],"generated":true}],"references":{"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing/PrivateKey/jwkRepresentation":{"abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"code":"secp256k1.KeyAgreement.PrivateKey","type":"codeVoice"},{"type":"text","text":" instance."}],"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/privatekey\/jwkrepresentation","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PrivateKey\/jwkRepresentation","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"jwkRepresentation"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"}],"role":"symbol","title":"jwkRepresentation","type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/secp256k1":{"kind":"symbol","url":"\/documentation\/jose_swift\/secp256k1","role":"collection","abstract":[],"type":"topic","title":"secp256k1","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing":{"kind":"symbol","abstract":[],"role":"symbol","navigatorTitle":[{"text":"Signing","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing","type":"topic","title":"secp256k1.Signing"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1","title":"secp256k1","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","navigatorTitle":[{"kind":"identifier","text":"secp256k1"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing/PrivateKey":{"kind":"symbol","abstract":[],"role":"symbol","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PrivateKey","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO","text":"secp256k1"},{"kind":"text","text":"."},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9secp256k1AAO7SigningO"},{"text":".","kind":"text"},{"text":"PrivateKey","kind":"identifier","preciseIdentifier":"s:9secp256k1AAO7SigningO10PrivateKeyV"}],"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/privatekey","type":"topic","title":"secp256k1.Signing.PrivateKey"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/secp256k1/secp256k1/signing/privatekey/jwkrepresentation.json b/data/documentation/jose_swift/secp256k1/secp256k1/signing/privatekey/jwkrepresentation.json new file mode 100644 index 0000000..930fbe2 --- /dev/null +++ b/data/documentation/jose_swift/secp256k1/secp256k1/signing/privatekey/jwkrepresentation.json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"type":"codeVoice","code":"secp256k1.KeyAgreement.PrivateKey"},{"type":"text","text":" instance."}],"kind":"symbol","metadata":{"title":"jwkRepresentation","symbolKind":"property","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwkRepresentation"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"}],"extendedModule":"secp256k1","modules":[{"relatedModules":["secp256k1"],"name":"jose-swift"}],"roleHeading":"Instance Property","externalID":"s:9secp256k1AAO7SigningO10PrivateKeyV17JSONWebAlgorithmsE17jwkRepresentation0eD03JWKVvp","role":"symbol"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PrivateKey\/jwkRepresentation","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/privatekey\/jwkrepresentation"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PrivateKey","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PrivateKey\/JWKRepresentable-Implementations"]]},"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift/secp256k1":{"kind":"symbol","url":"\/documentation\/jose_swift\/secp256k1","role":"collection","abstract":[],"type":"topic","title":"secp256k1","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing":{"kind":"symbol","abstract":[],"role":"symbol","navigatorTitle":[{"text":"Signing","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing","type":"topic","title":"secp256k1.Signing"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","titleInlineContent":[{"text":"RFC7517","type":"text"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1","title":"secp256k1","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","navigatorTitle":[{"kind":"identifier","text":"secp256k1"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing/PrivateKey/JWKRepresentable-Implementations":{"kind":"article","abstract":[],"role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PrivateKey\/JWKRepresentable-Implementations","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/privatekey\/jwkrepresentable-implementations","type":"topic","title":"JWKRepresentable Implementations"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing/PrivateKey":{"kind":"symbol","abstract":[],"role":"symbol","navigatorTitle":[{"text":"PrivateKey","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PrivateKey","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO","text":"secp256k1"},{"kind":"text","text":"."},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9secp256k1AAO7SigningO"},{"text":".","kind":"text"},{"text":"PrivateKey","kind":"identifier","preciseIdentifier":"s:9secp256k1AAO7SigningO10PrivateKeyV"}],"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/privatekey","type":"topic","title":"secp256k1.Signing.PrivateKey"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing/PrivateKey/jwkRepresentation":{"abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"code":"secp256k1.KeyAgreement.PrivateKey","type":"codeVoice"},{"type":"text","text":" instance."}],"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/privatekey\/jwkrepresentation","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PrivateKey\/jwkRepresentation","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"jwkRepresentation"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"}],"role":"symbol","title":"jwkRepresentation","type":"topic","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/secp256k1/secp256k1/signing/publickey.json b/data/documentation/jose_swift/secp256k1/secp256k1/signing/publickey.json new file mode 100644 index 0000000..26b8e35 --- /dev/null +++ b/data/documentation/jose_swift/secp256k1/secp256k1/signing/publickey.json @@ -0,0 +1 @@ +{"metadata":{"roleHeading":"Extended Structure","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}],"symbolKind":"extension","title":"secp256k1.Signing.PublicKey","modules":[{"relatedModules":["secp256k1"],"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","text":"secp256k1","preciseIdentifier":"s:9secp256k1AAO"},{"text":".","kind":"text"},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9secp256k1AAO7SigningO"},{"kind":"text","text":"."},{"text":"PublicKey","kind":"identifier","preciseIdentifier":"s:9secp256k1AAO7SigningO9PublicKeyV"}],"externalID":"s:e:s:9secp256k1AAO7SigningO9PublicKeyV17JSONWebAlgorithmsE17jwkRepresentation0eD03JWKVvp","extendedModule":"secp256k1","role":"symbol"},"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PublicKey","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"major":0,"patch":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"secp256k1","kind":"typeIdentifier","preciseIdentifier":"s:9secp256k1AAO"},{"text":".","kind":"text"},{"text":"Signing","kind":"typeIdentifier","preciseIdentifier":"s:9secp256k1AAO7SigningO"},{"text":".","kind":"text"},{"text":"PublicKey","preciseIdentifier":"s:9secp256k1AAO7SigningO9PublicKeyV","kind":"typeIdentifier"}],"platforms":["macOS"],"languages":["swift"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/publickey"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing"]]},"topicSections":[{"generated":true,"title":"Default Implementations","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PublicKey\/JWKRepresentable-Implementations"]}],"relationshipsSections":[{"type":"conformsTo","title":"Conforms To","kind":"relationships","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable"]}],"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing":{"kind":"symbol","abstract":[],"role":"symbol","navigatorTitle":[{"text":"Signing","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing","type":"topic","title":"secp256k1.Signing"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing/PublicKey/JWKRepresentable-Implementations":{"kind":"article","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/publickey\/jwkrepresentable-implementations","abstract":[],"role":"collectionGroup","type":"topic","title":"JWKRepresentable Implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PublicKey\/JWKRepresentable-Implementations"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing/PublicKey":{"title":"secp256k1.Signing.PublicKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/publickey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PublicKey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO","text":"secp256k1"},{"text":".","kind":"text"},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9secp256k1AAO7SigningO"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9secp256k1AAO7SigningO9PublicKeyV","text":"PublicKey","kind":"identifier"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1","title":"secp256k1","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","navigatorTitle":[{"kind":"identifier","text":"secp256k1"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWKRepresentable":{"url":"\/documentation\/jose_swift\/jwkrepresentable","kind":"symbol","title":"JWKRepresentable","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWKRepresentable","role":"symbol","navigatorTitle":[{"text":"JWKRepresentable","kind":"identifier"}],"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"JWKRepresentable","kind":"identifier"}],"abstract":[{"text":"A protocol for types that can be represented as a JWK.","type":"text"}]},"doc://jose-swift/documentation/jose_swift/secp256k1":{"kind":"symbol","url":"\/documentation\/jose_swift\/secp256k1","role":"collection","abstract":[],"type":"topic","title":"secp256k1","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/secp256k1/secp256k1/signing/publickey/jwkrepresentable-implementations.json b/data/documentation/jose_swift/secp256k1/secp256k1/signing/publickey/jwkrepresentable-implementations.json new file mode 100644 index 0000000..b183278 --- /dev/null +++ b/data/documentation/jose_swift/secp256k1/secp256k1/signing/publickey/jwkrepresentable-implementations.json @@ -0,0 +1 @@ +{"kind":"article","schemaVersion":{"patch":0,"minor":3,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PublicKey"]]},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PublicKey\/jwkRepresentation"],"generated":true,"title":"Instance Properties"}],"metadata":{"title":"JWKRepresentable Implementations","role":"collectionGroup","modules":[{"name":"jose-swift"}]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PublicKey\/JWKRepresentable-Implementations","interfaceLanguage":"swift"},"sections":[],"variants":[{"paths":["\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/publickey\/jwkrepresentable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing/PublicKey/jwkRepresentation":{"title":"jwkRepresentation","kind":"symbol","abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"code":"secp256k1.KeyAgreement.PublicKey","type":"codeVoice"},{"type":"text","text":" instance."}],"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/publickey\/jwkrepresentation","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PublicKey\/jwkRepresentation","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwkRepresentation"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing":{"kind":"symbol","abstract":[],"role":"symbol","navigatorTitle":[{"text":"Signing","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing","type":"topic","title":"secp256k1.Signing"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing/PublicKey":{"title":"secp256k1.Signing.PublicKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/publickey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PublicKey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO","text":"secp256k1"},{"text":".","kind":"text"},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9secp256k1AAO7SigningO"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9secp256k1AAO7SigningO9PublicKeyV","text":"PublicKey","kind":"identifier"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/secp256k1":{"kind":"symbol","url":"\/documentation\/jose_swift\/secp256k1","role":"collection","abstract":[],"type":"topic","title":"secp256k1","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1","title":"secp256k1","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","navigatorTitle":[{"kind":"identifier","text":"secp256k1"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/secp256k1/secp256k1/signing/publickey/jwkrepresentation.json b/data/documentation/jose_swift/secp256k1/secp256k1/signing/publickey/jwkrepresentation.json new file mode 100644 index 0000000..302027b --- /dev/null +++ b/data/documentation/jose_swift/secp256k1/secp256k1/signing/publickey/jwkrepresentation.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PublicKey\/jwkRepresentation","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwkRepresentation"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/publickey\/jwkrepresentation"]}],"metadata":{"externalID":"s:9secp256k1AAO7SigningO9PublicKeyV17JSONWebAlgorithmsE17jwkRepresentation0eD03JWKVvp","modules":[{"name":"jose-swift","relatedModules":["secp256k1"]}],"extendedModule":"secp256k1","symbolKind":"property","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"jwkRepresentation","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"}],"role":"symbol","roleHeading":"Instance Property","title":"jwkRepresentation"},"abstract":[{"text":"Returns the JWK representation of a ","type":"text"},{"code":"secp256k1.KeyAgreement.PublicKey","type":"codeVoice"},{"type":"text","text":" instance."}],"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PublicKey","doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PublicKey\/JWKRepresentable-Implementations"]]},"references":{"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1":{"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1","title":"secp256k1","abstract":[],"type":"topic","kind":"symbol","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1","navigatorTitle":[{"kind":"identifier","text":"secp256k1"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/secp256k1":{"kind":"symbol","url":"\/documentation\/jose_swift\/secp256k1","role":"collection","abstract":[],"type":"topic","title":"secp256k1","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1"},"https://www.rfc-editor.org/rfc/rfc7517":{"title":"RFC7517","type":"link","titleInlineContent":[{"text":"RFC7517","type":"text"}],"url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing/PublicKey/jwkRepresentation":{"title":"jwkRepresentation","kind":"symbol","abstract":[{"type":"text","text":"Returns the JWK representation of a "},{"code":"secp256k1.KeyAgreement.PublicKey","type":"codeVoice"},{"type":"text","text":" instance."}],"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/publickey\/jwkrepresentation","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PublicKey\/jwkRepresentation","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"jwkRepresentation"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing":{"kind":"symbol","abstract":[],"role":"symbol","navigatorTitle":[{"text":"Signing","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing","type":"topic","title":"secp256k1.Signing"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing/PublicKey":{"title":"secp256k1.Signing.PublicKey","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/publickey","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PublicKey","navigatorTitle":[{"text":"PublicKey","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"s:9secp256k1AAO","text":"secp256k1"},{"text":".","kind":"text"},{"kind":"identifier","text":"Signing","preciseIdentifier":"s:9secp256k1AAO7SigningO"},{"text":".","kind":"text"},{"preciseIdentifier":"s:9secp256k1AAO7SigningO9PublicKeyV","text":"PublicKey","kind":"identifier"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/secp256k1/secp256k1/Signing/PublicKey/JWKRepresentable-Implementations":{"kind":"article","url":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/publickey\/jwkrepresentable-implementations","abstract":[],"role":"collectionGroup","type":"topic","title":"JWKRepresentable Implementations","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/secp256k1\/secp256k1\/Signing\/PublicKey\/JWKRepresentable-Implementations"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signer.json b/data/documentation/jose_swift/signer.json new file mode 100644 index 0000000..1a6d845 --- /dev/null +++ b/data/documentation/jose_swift/signer.json @@ -0,0 +1 @@ +{"metadata":{"title":"Signer","symbolKind":"protocol","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"Signer","kind":"identifier"}],"modules":[{"name":"jose-swift"}],"role":"symbol","roleHeading":"Protocol","externalID":"s:17JSONWebAlgorithms6SignerP","navigatorTitle":[{"kind":"identifier","text":"Signer"}]},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/Signer"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Signer"}]}],"kind":"declarations"}],"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/signer"]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/Signer\/algorithm"],"title":"Instance Properties"},{"title":"Instance Methods","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/Signer\/sign(data:key:)"]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/Signer/algorithm":{"abstract":[],"required":true,"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Signer\/algorithm","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"algorithm"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"url":"\/documentation\/jose_swift\/signer\/algorithm","title":"algorithm","type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/Signer/sign(data:key:)":{"title":"sign(data:key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"sign","kind":"identifier"},{"text":"(","kind":"text"},{"text":"data","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":", "},{"text":"key","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"role":"symbol","type":"topic","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Signer\/sign(data:key:)","url":"\/documentation\/jose_swift\/signer\/sign(data:key:)","required":true,"abstract":[]},"doc://jose-swift/documentation/jose_swift/Signer":{"role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"text":"Signer","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Signer","title":"Signer","abstract":[],"kind":"symbol","url":"\/documentation\/jose_swift\/signer","navigatorTitle":[{"text":"Signer","kind":"identifier"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signer/algorithm.json b/data/documentation/jose_swift/signer/algorithm.json new file mode 100644 index 0000000..fca8fe3 --- /dev/null +++ b/data/documentation/jose_swift/signer/algorithm.json @@ -0,0 +1 @@ +{"metadata":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"algorithm","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}],"modules":[{"name":"jose-swift"}],"role":"symbol","symbolKind":"property","title":"algorithm","roleHeading":"Instance Property","required":true,"externalID":"s:17JSONWebAlgorithms6SignerP9algorithmSSvp"},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"algorithm","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/Signer\/algorithm","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/Signer"]]},"kind":"symbol","schemaVersion":{"patch":0,"major":0,"minor":3},"variants":[{"paths":["\/documentation\/jose_swift\/signer\/algorithm"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/Signer":{"role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"text":"Signer","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Signer","title":"Signer","abstract":[],"kind":"symbol","url":"\/documentation\/jose_swift\/signer","navigatorTitle":[{"text":"Signer","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/Signer/algorithm":{"abstract":[],"required":true,"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Signer\/algorithm","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"algorithm"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"url":"\/documentation\/jose_swift\/signer\/algorithm","title":"algorithm","type":"topic","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signer/sign(data:key:).json b/data/documentation/jose_swift/signer/sign(data:key:).json new file mode 100644 index 0000000..ab6211d --- /dev/null +++ b/data/documentation/jose_swift/signer/sign(data:key:).json @@ -0,0 +1 @@ +{"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"sign","kind":"identifier"},{"kind":"text","text":"("},{"text":"data","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"}]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/Signer\/sign(data:key:)","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/Signer"]]},"metadata":{"title":"sign(data:key:)","externalID":"s:17JSONWebAlgorithms6SignerP4sign4data3key10Foundation4DataVAI_0A3Key3JWKVtKF","roleHeading":"Instance Method","required":true,"symbolKind":"method","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"sign"},{"kind":"text","text":"("},{"text":"data","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10JSONWebKey3JWKV","text":"JWK","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"role":"symbol"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/signer\/sign(data:key:)"]}],"references":{"doc://jose-swift/documentation/jose_swift/Signer":{"role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"text":"Signer","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Signer","title":"Signer","abstract":[],"kind":"symbol","url":"\/documentation\/jose_swift\/signer","navigatorTitle":[{"text":"Signer","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/Signer/sign(data:key:)":{"title":"sign(data:key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"sign","kind":"identifier"},{"text":"(","kind":"text"},{"text":"data","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":", "},{"text":"key","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"}],"role":"symbol","type":"topic","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Signer\/sign(data:key:)","url":"\/documentation\/jose_swift\/signer\/sign(data:key:)","required":true,"abstract":[]},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"type":"text","text":"RFC7517"}],"type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","title":"RFC7517"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm.json b/data/documentation/jose_swift/signingalgorithm.json new file mode 100644 index 0000000..cc8bf3a --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm.json @@ -0,0 +1 @@ +{"abstract":[{"type":"codeVoice","code":"SigningAlgorithm"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs).","type":"text"}],"topicSections":[{"title":"Enumeration Cases","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/ES256","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/ES256K","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/ES384","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/ES512","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/EdDSA","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/HS256","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/HS384","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/HS512","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/PS256","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/PS384","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/PS512","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/RS256","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/RS384","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/RS512","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/invalid","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/none"]},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/init(rawValue:)"],"title":"Initializers"},{"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/cryptoSigner","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/cryptoVerifier"]},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/Equatable-Implementations","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/RawRepresentable-Implementations"],"generated":true,"title":"Default Implementations"}],"variants":[{"paths":["\/documentation\/jose_swift\/signingalgorithm"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"symbolKind":"enum","modules":[{"name":"jose-swift"}],"title":"SigningAlgorithm","externalID":"s:17JSONWebAlgorithms16SigningAlgorithmO","roleHeading":"Enumeration","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"SigningAlgorithm"}],"navigatorTitle":[{"text":"SigningAlgorithm","kind":"identifier"}]},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"schemaVersion":{"patch":0,"minor":3,"major":0},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"SigningAlgorithm","kind":"identifier"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"},{"content":[{"anchor":"overview","text":"Overview","level":2,"type":"heading"},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"codeVoice","code":"HS256"},{"type":"text","text":", "},{"code":"HS384","type":"codeVoice"},{"type":"text","text":", "},{"code":"HS512","type":"codeVoice"},{"type":"text","text":": HMAC (Hash-based Message Authentication Code) using SHA-256, SHA-384, and SHA-512 hash functions, respectively."}]}]},{"content":[{"inlineContent":[{"type":"codeVoice","code":"RS256"},{"text":", ","type":"text"},{"type":"codeVoice","code":"RS384"},{"type":"text","text":", "},{"code":"RS512","type":"codeVoice"},{"text":": RSASSA-PKCS1-v1_5 signature algorithm using SHA-256, SHA-384, and SHA-512 hash functions, respectively.","type":"text"}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"code":"ES256","type":"codeVoice"},{"type":"text","text":", "},{"type":"codeVoice","code":"ES384"},{"type":"text","text":", "},{"code":"ES512","type":"codeVoice"},{"type":"text","text":": ECDSA (Elliptic Curve Digital Signature Algorithm) using P-256, P-384, and P-521 curves along with SHA-256, SHA-384, and SHA-512 hash functions, respectively."}]}]},{"content":[{"inlineContent":[{"code":"ES256K","type":"codeVoice"},{"type":"text","text":": ECDSA using the secp256k1 curve and SHA-256 hash function."}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"type":"codeVoice","code":"PS256"},{"type":"text","text":", "},{"type":"codeVoice","code":"PS384"},{"type":"text","text":", "},{"type":"codeVoice","code":"PS512"},{"text":": RSASSA-PSS (RSA Probabilistic Signature Scheme) using SHA-256, SHA-384, and SHA-512 hash functions, respectively, and MGF1 (Mask Generation Function 1).","type":"text"}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"code":"none","type":"codeVoice"},{"text":": Represents the absence of a digital signature or MAC.","type":"text"}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"codeVoice","code":"invalid"},{"text":": A placeholder for an invalid or unsupported algorithm, useful for error handling or invalid state representation.","type":"text"}]}]}]}],"kind":"content"}],"relationshipsSections":[{"identifiers":["doc:\/\/jose-swift\/Se","doc:\/\/jose-swift\/SE","doc:\/\/jose-swift\/SQ","doc:\/\/jose-swift\/SH","doc:\/\/jose-swift\/SY"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/init(rawValue:)":{"title":"init(rawValue:)","kind":"symbol","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"?("},{"text":"rawValue","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/init(rawValue:)","url":"\/documentation\/jose_swift\/signingalgorithm\/init(rawvalue:)","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/ES512":{"kind":"symbol","title":"SigningAlgorithm.ES512","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"ES512","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/ES512","url":"\/documentation\/jose_swift\/signingalgorithm\/es512","abstract":[{"type":"text","text":"ECDSA using P-521 and SHA-512"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/ES256":{"title":"SigningAlgorithm.ES256","kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm\/es256","type":"topic","abstract":[{"text":"ECDSA using P-256 and SHA-256","type":"text"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ES256"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/ES256","role":"symbol"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/invalid":{"abstract":[{"text":"Invalid algorithm that will always fail","type":"text"}],"title":"SigningAlgorithm.invalid","role":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm\/invalid","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"invalid","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/invalid","type":"topic","kind":"symbol"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]},"doc://jose-swift/SE":{"identifier":"doc:\/\/jose-swift\/SE","title":"Swift.Encodable","type":"unresolvable"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/RS512":{"type":"topic","url":"\/documentation\/jose_swift\/signingalgorithm\/rs512","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/RS512","title":"SigningAlgorithm.RS512","abstract":[{"type":"text","text":"RSASSA-PKCS1-v1_5 using SHA-512"}],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"RS512"}]},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/PS256":{"title":"SigningAlgorithm.PS256","url":"\/documentation\/jose_swift\/signingalgorithm\/ps256","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PS256","kind":"identifier"}],"type":"topic","kind":"symbol","abstract":[{"type":"text","text":"RSASSA-PSS using SHA-256 and MGF1 with SHA-256"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/PS256"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/cryptoVerifier":{"kind":"symbol","title":"cryptoVerifier","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"cryptoVerifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms8VerifierP","text":"Verifier"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/cryptoVerifier","url":"\/documentation\/jose_swift\/signingalgorithm\/cryptoverifier","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/SY":{"type":"unresolvable","title":"Swift.RawRepresentable","identifier":"doc:\/\/jose-swift\/SY"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/PS384":{"abstract":[{"type":"text","text":"RSASSA-PSS using SHA-384 and MGF1 with SHA-384"}],"type":"topic","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PS384","kind":"identifier"}],"url":"\/documentation\/jose_swift\/signingalgorithm\/ps384","kind":"symbol","title":"SigningAlgorithm.PS384","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/PS384"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/PS512":{"kind":"symbol","title":"SigningAlgorithm.PS512","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"PS512"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/PS512","url":"\/documentation\/jose_swift\/signingalgorithm\/ps512","abstract":[{"type":"text","text":"RSASSA-PSS using SHA-512 and MGF1 with SHA-512"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/ES256K":{"title":"SigningAlgorithm.ES256K","kind":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ES256K"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/ES256K","url":"\/documentation\/jose_swift\/signingalgorithm\/es256k","abstract":[{"type":"text","text":"ECDSA using secp256k1 and SHA-256"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/RS256":{"kind":"symbol","title":"SigningAlgorithm.RS256","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"RS256"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/RS256","url":"\/documentation\/jose_swift\/signingalgorithm\/rs256","abstract":[{"type":"text","text":"RSASSA-PKCS1-v1_5 using SHA-256"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/cryptoSigner":{"kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"cryptoSigner"},{"text":": ","kind":"text"},{"text":"Signer","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms6SignerP"},{"kind":"text","text":"?"}],"role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/signingalgorithm\/cryptosigner","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/cryptoSigner","title":"cryptoSigner","abstract":[]},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/ES384":{"title":"SigningAlgorithm.ES384","kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm\/es384","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ES384"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/ES384","type":"topic","abstract":[{"text":"ECDSA using P-384 and SHA-384","type":"text"}],"role":"symbol"},"doc://jose-swift/SQ":{"type":"unresolvable","title":"Swift.Equatable","identifier":"doc:\/\/jose-swift\/SQ"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/Equatable-Implementations":{"abstract":[],"type":"topic","kind":"article","url":"\/documentation\/jose_swift\/signingalgorithm\/equatable-implementations","title":"Equatable Implementations","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/Equatable-Implementations"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/RawRepresentable-Implementations":{"kind":"article","title":"RawRepresentable Implementations","abstract":[],"role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/RawRepresentable-Implementations","type":"topic","url":"\/documentation\/jose_swift\/signingalgorithm\/rawrepresentable-implementations"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/RS384":{"kind":"symbol","title":"SigningAlgorithm.RS384","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"RS384"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/RS384","url":"\/documentation\/jose_swift\/signingalgorithm\/rs384","abstract":[{"type":"text","text":"RSASSA-PKCS1-v1_5 using SHA-384"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/HS256":{"title":"SigningAlgorithm.HS256","kind":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"HS256"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/HS256","url":"\/documentation\/jose_swift\/signingalgorithm\/hs256","abstract":[{"type":"text","text":"HMAC using SHA-256"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/HS384":{"kind":"symbol","title":"SigningAlgorithm.HS384","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"HS384"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/HS384","url":"\/documentation\/jose_swift\/signingalgorithm\/hs384","abstract":[{"type":"text","text":"HMAC using SHA-384"}],"type":"topic","role":"symbol"},"doc://jose-swift/Se":{"type":"unresolvable","title":"Swift.Decodable","identifier":"doc:\/\/jose-swift\/Se"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/EdDSA":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm\/eddsa","type":"topic","role":"symbol","title":"SigningAlgorithm.EdDSA","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/EdDSA","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"EdDSA"}],"abstract":[{"text":"EdDSA using Ed25519","type":"text"}]},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/HS512":{"kind":"symbol","abstract":[{"type":"text","text":"HMAC using SHA-512"}],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"HS512","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/HS512","title":"SigningAlgorithm.HS512","type":"topic","url":"\/documentation\/jose_swift\/signingalgorithm\/hs512","role":"symbol"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/none":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm\/none","role":"symbol","abstract":[{"type":"text","text":"No digital signature or MAC performed"}],"type":"topic","title":"SigningAlgorithm.none","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/none","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"none"}]},"doc://jose-swift/SH":{"type":"unresolvable","title":"Swift.Hashable","identifier":"doc:\/\/jose-swift\/SH"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/!=(_:_:).json b/data/documentation/jose_swift/signingalgorithm/!=(_:_:).json new file mode 100644 index 0000000..ff5c18a --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/!=(_:_:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/Equatable-Implementations"]]},"abstract":[{"text":"Inherited from ","type":"text"},{"code":"Equatable.!=(_:_:)","type":"codeVoice"},{"text":".","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/signingalgorithm\/!=(_:_:)"]}],"sections":[],"kind":"symbol","metadata":{"symbolKind":"op","externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17JSONWebAlgorithms16SigningAlgorithmO","extendedModule":"Swift","roleHeading":"Operator","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"role":"symbol","modules":[{"relatedModules":["Swift"],"name":"jose-swift"}],"title":"!=(_:_:)"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"text":"lhs","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"rhs","kind":"internalParam"},{"kind":"text","text":": "},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"languages":["swift"],"platforms":["macOS"]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/!=(_:_:)"},"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/!=(_:_:)":{"abstract":[],"kind":"symbol","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"text":") -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"url":"\/documentation\/jose_swift\/signingalgorithm\/!=(_:_:)","title":"!=(_:_:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/!=(_:_:)"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/Equatable-Implementations":{"abstract":[],"type":"topic","kind":"article","url":"\/documentation\/jose_swift\/signingalgorithm\/equatable-implementations","title":"Equatable Implementations","role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/Equatable-Implementations"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/cryptosigner.json b/data/documentation/jose_swift/signingalgorithm/cryptosigner.json new file mode 100644 index 0000000..3a1f30b --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/cryptosigner.json @@ -0,0 +1 @@ +{"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm"]]},"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/signingalgorithm\/cryptosigner"]}],"metadata":{"roleHeading":"Instance Property","role":"symbol","symbolKind":"property","externalID":"s:17JSONWebAlgorithms16SigningAlgorithmO12cryptoSignerAA0F0_pSgvp","modules":[{"name":"jose-swift"}],"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"cryptoSigner","kind":"identifier"},{"kind":"text","text":": "},{"text":"Signer","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms6SignerP"},{"kind":"text","text":"?"}],"title":"cryptoSigner"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/cryptoSigner"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"cryptoSigner"},{"kind":"text","text":": "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Signer","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms6SignerP","text":"Signer"},{"text":"? { ","kind":"text"},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}]}],"kind":"declarations"}],"references":{"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/Signer":{"role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"text":"Signer","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Signer","title":"Signer","abstract":[],"kind":"symbol","url":"\/documentation\/jose_swift\/signer","navigatorTitle":[{"text":"Signer","kind":"identifier"}]},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/cryptoSigner":{"kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"cryptoSigner"},{"text":": ","kind":"text"},{"text":"Signer","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms6SignerP"},{"kind":"text","text":"?"}],"role":"symbol","type":"topic","url":"\/documentation\/jose_swift\/signingalgorithm\/cryptosigner","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/cryptoSigner","title":"cryptoSigner","abstract":[]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/cryptoverifier.json b/data/documentation/jose_swift/signingalgorithm/cryptoverifier.json new file mode 100644 index 0000000..2bc18c3 --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/cryptoverifier.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm"]]},"metadata":{"externalID":"s:17JSONWebAlgorithms16SigningAlgorithmO14cryptoVerifierAA0F0_pSgvp","symbolKind":"property","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"cryptoVerifier","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Verifier","kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms8VerifierP"},{"text":"?","kind":"text"}],"role":"symbol","roleHeading":"Instance Property","title":"cryptoVerifier","modules":[{"name":"jose-swift"}]},"schemaVersion":{"minor":3,"major":0,"patch":0},"kind":"symbol","sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/cryptoVerifier","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"cryptoVerifier","kind":"identifier"},{"kind":"text","text":": "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Verifier","preciseIdentifier":"s:17JSONWebAlgorithms8VerifierP","kind":"typeIdentifier","text":"Verifier"},{"text":"? { ","kind":"text"},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/signingalgorithm\/cryptoverifier"]}],"references":{"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]},"doc://jose-swift/documentation/jose_swift/Verifier":{"abstract":[],"navigatorTitle":[{"text":"Verifier","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Verifier"}],"url":"\/documentation\/jose_swift\/verifier","kind":"symbol","title":"Verifier","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Verifier"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/cryptoVerifier":{"kind":"symbol","title":"cryptoVerifier","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"cryptoVerifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:17JSONWebAlgorithms8VerifierP","text":"Verifier"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/cryptoVerifier","url":"\/documentation\/jose_swift\/signingalgorithm\/cryptoverifier","abstract":[],"type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/eddsa.json b/data/documentation/jose_swift/signingalgorithm/eddsa.json new file mode 100644 index 0000000..85a16f1 --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/eddsa.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/signingalgorithm\/eddsa"]}],"abstract":[{"type":"text","text":"EdDSA using Ed25519"}],"sections":[],"schemaVersion":{"patch":0,"minor":3,"major":0},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"EdDSA","kind":"identifier"}],"platforms":["macOS"]}],"kind":"declarations"}],"metadata":{"externalID":"s:17JSONWebAlgorithms16SigningAlgorithmO5EdDSAyA2CmF","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"EdDSA"}],"title":"SigningAlgorithm.EdDSA","modules":[{"name":"jose-swift"}],"roleHeading":"Case","symbolKind":"case"},"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/EdDSA"},"references":{"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/EdDSA":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm\/eddsa","type":"topic","role":"symbol","title":"SigningAlgorithm.EdDSA","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/EdDSA","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"EdDSA"}],"abstract":[{"text":"EdDSA using Ed25519","type":"text"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/encode(to:).json b/data/documentation/jose_swift/signingalgorithm/encode(to:).json new file mode 100644 index 0000000..2b361ac --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/encode(to:).json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/jose_swift\/signingalgorithm\/encode(to:)"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","abstract":[{"text":"Inherited from ","type":"text"},{"code":"RawRepresentable.encode(to:)","type":"codeVoice"},{"text":".","type":"text"}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"to"},{"kind":"text","text":" "},{"text":"encoder","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"languages":["swift"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/RawRepresentable-Implementations"]]},"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/encode(to:)"},"metadata":{"roleHeading":"Instance Method","title":"encode(to:)","role":"symbol","externalID":"s:SYsSERzSS8RawValueSYRtzrlE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:17JSONWebAlgorithms16SigningAlgorithmO","modules":[{"name":"jose-swift","relatedModules":["Swift"]}],"conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Encodable"},{"text":" and ","type":"text"},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" is "},{"type":"codeVoice","code":"String"},{"type":"text","text":"."}]},"extendedModule":"Swift","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"encode"},{"kind":"text","text":"("},{"text":"to","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s7EncoderP","text":"Encoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"symbolKind":"method"},"references":{"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/encode(to:)":{"url":"\/documentation\/jose_swift\/signingalgorithm\/encode(to:)","kind":"symbol","title":"encode(to:)","conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"code":"Encodable","type":"codeVoice"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"text":" is ","type":"text"},{"type":"codeVoice","code":"String"},{"type":"text","text":"."}]},"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/encode(to:)","type":"topic","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Encoder","kind":"typeIdentifier","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"abstract":[],"role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/RawRepresentable-Implementations":{"kind":"article","title":"RawRepresentable Implementations","abstract":[],"role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/RawRepresentable-Implementations","type":"topic","url":"\/documentation\/jose_swift\/signingalgorithm\/rawrepresentable-implementations"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/equatable-implementations.json b/data/documentation/jose_swift/signingalgorithm/equatable-implementations.json new file mode 100644 index 0000000..8b91fdb --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/equatable-implementations.json @@ -0,0 +1 @@ +{"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/Equatable-Implementations","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm"]]},"kind":"article","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/signingalgorithm\/equatable-implementations"]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"modules":[{"name":"jose-swift"}],"role":"collectionGroup","title":"Equatable Implementations"},"topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/!=(_:_:)"],"generated":true,"title":"Operators"}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/!=(_:_:)":{"abstract":[],"kind":"symbol","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"text":") -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"url":"\/documentation\/jose_swift\/signingalgorithm\/!=(_:_:)","title":"!=(_:_:)","type":"topic","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/!=(_:_:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/es256.json b/data/documentation/jose_swift/signingalgorithm/es256.json new file mode 100644 index 0000000..bf72acd --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/es256.json @@ -0,0 +1 @@ +{"kind":"symbol","abstract":[{"type":"text","text":"ECDSA using P-256 and SHA-256"}],"schemaVersion":{"patch":0,"minor":3,"major":0},"sections":[],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/ES256","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"ES256","kind":"identifier"}],"platforms":["macOS"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/signingalgorithm\/es256"]}],"metadata":{"title":"SigningAlgorithm.ES256","symbolKind":"case","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ES256","kind":"identifier"}],"modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebAlgorithms16SigningAlgorithmO5ES256yA2CmF","role":"symbol","roleHeading":"Case"},"references":{"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/ES256":{"title":"SigningAlgorithm.ES256","kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm\/es256","type":"topic","abstract":[{"text":"ECDSA using P-256 and SHA-256","type":"text"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ES256"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/ES256","role":"symbol"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/es256k.json b/data/documentation/jose_swift/signingalgorithm/es256k.json new file mode 100644 index 0000000..12a2eb7 --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/es256k.json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"ES256K","kind":"identifier"}],"languages":["swift"],"platforms":["macOS"]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/ES256K","interfaceLanguage":"swift"},"metadata":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"ES256K","kind":"identifier"}],"externalID":"s:17JSONWebAlgorithms16SigningAlgorithmO6ES256KyA2CmF","roleHeading":"Case","role":"symbol","symbolKind":"case","title":"SigningAlgorithm.ES256K","modules":[{"name":"jose-swift"}]},"abstract":[{"type":"text","text":"ECDSA using secp256k1 and SHA-256"}],"variants":[{"paths":["\/documentation\/jose_swift\/signingalgorithm\/es256k"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm"]]},"references":{"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/ES256K":{"title":"SigningAlgorithm.ES256K","kind":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ES256K"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/ES256K","url":"\/documentation\/jose_swift\/signingalgorithm\/es256k","abstract":[{"type":"text","text":"ECDSA using secp256k1 and SHA-256"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/es384.json b/data/documentation/jose_swift/signingalgorithm/es384.json new file mode 100644 index 0000000..4c2f9aa --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/es384.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/ES384"},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm"]]},"metadata":{"title":"SigningAlgorithm.ES384","symbolKind":"case","modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebAlgorithms16SigningAlgorithmO5ES384yA2CmF","roleHeading":"Case","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"ES384","kind":"identifier"}],"role":"symbol"},"variants":[{"paths":["\/documentation\/jose_swift\/signingalgorithm\/es384"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","abstract":[{"text":"ECDSA using P-384 and SHA-384","type":"text"}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ES384"}]}],"kind":"declarations"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/ES384":{"title":"SigningAlgorithm.ES384","kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm\/es384","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ES384"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/ES384","type":"topic","abstract":[{"text":"ECDSA using P-384 and SHA-384","type":"text"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/es512.json b/data/documentation/jose_swift/signingalgorithm/es512.json new file mode 100644 index 0000000..422aa5f --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/es512.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/ES512","interfaceLanguage":"swift"},"kind":"symbol","abstract":[{"type":"text","text":"ECDSA using P-521 and SHA-512"}],"metadata":{"externalID":"s:17JSONWebAlgorithms16SigningAlgorithmO5ES512yA2CmF","symbolKind":"case","roleHeading":"Case","modules":[{"name":"jose-swift"}],"title":"SigningAlgorithm.ES512","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ES512"}]},"schemaVersion":{"minor":3,"patch":0,"major":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"ES512","kind":"identifier"}]}]}],"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/signingalgorithm\/es512"]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/ES512":{"kind":"symbol","title":"SigningAlgorithm.ES512","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"ES512","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/ES512","url":"\/documentation\/jose_swift\/signingalgorithm\/es512","abstract":[{"type":"text","text":"ECDSA using P-521 and SHA-512"}],"type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/hash(into:).json b/data/documentation/jose_swift/signingalgorithm/hash(into:).json new file mode 100644 index 0000000..d1ea056 --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/hash(into:).json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"patch":0,"minor":3},"metadata":{"extendedModule":"Swift","modules":[{"name":"jose-swift","relatedModules":["Swift"]}],"title":"hash(into:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"hash","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"into"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:s6HasherV","kind":"typeIdentifier","text":"Hasher"},{"kind":"text","text":")"}],"roleHeading":"Instance Method","externalID":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:17JSONWebAlgorithms16SigningAlgorithmO","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}]},"role":"symbol","symbolKind":"method"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/hash(into:)","interfaceLanguage":"swift"},"abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"RawRepresentable.hash(into:)"},{"text":".","type":"text"}],"variants":[{"paths":["\/documentation\/jose_swift\/signingalgorithm\/hash(into:)"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"hash","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"into"},{"kind":"text","text":" "},{"kind":"internalParam","text":"hasher"},{"text":": ","kind":"text"},{"kind":"keyword","text":"inout"},{"kind":"text","text":" "},{"text":"Hasher","kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV"},{"text":")","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/RawRepresentable-Implementations"]]},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/hash(into:)":{"abstract":[],"conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"constraints":[{"code":"Self","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":"."}],"conformancePrefix":[{"text":"Conforms when","type":"text"}]},"type":"topic","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"hash","kind":"identifier"},{"text":"(","kind":"text"},{"text":"into","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Hasher","kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV"},{"text":")","kind":"text"}],"url":"\/documentation\/jose_swift\/signingalgorithm\/hash(into:)","kind":"symbol","title":"hash(into:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/hash(into:)"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/RawRepresentable-Implementations":{"kind":"article","title":"RawRepresentable Implementations","abstract":[],"role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/RawRepresentable-Implementations","type":"topic","url":"\/documentation\/jose_swift\/signingalgorithm\/rawrepresentable-implementations"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/hashvalue.json b/data/documentation/jose_swift/signingalgorithm/hashvalue.json new file mode 100644 index 0000000..eb6bb42 --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/hashvalue.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/hashValue"},"metadata":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"hashValue","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"extendedModule":"Swift","title":"hashValue","roleHeading":"Instance Property","role":"symbol","modules":[{"name":"jose-swift","relatedModules":["Swift"]}],"externalID":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:17JSONWebAlgorithms16SigningAlgorithmO","symbolKind":"property","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}]}},"kind":"symbol","abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"RawRepresentable.hashValue"},{"type":"text","text":"."}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"hashValue"},{"kind":"text","text":": "},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}]}],"kind":"declarations"}],"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/signingalgorithm\/hashvalue"]}],"schemaVersion":{"patch":0,"minor":3,"major":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/RawRepresentable-Implementations"]]},"references":{"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/RawRepresentable-Implementations":{"kind":"article","title":"RawRepresentable Implementations","abstract":[],"role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/RawRepresentable-Implementations","type":"topic","url":"\/documentation\/jose_swift\/signingalgorithm\/rawrepresentable-implementations"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/hashValue":{"abstract":[],"conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"constraints":[{"code":"Self","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"text":".","type":"text"}]},"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"hashValue","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Int","preciseIdentifier":"s:Si","kind":"typeIdentifier"}],"url":"\/documentation\/jose_swift\/signingalgorithm\/hashvalue","kind":"symbol","title":"hashValue","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/hashValue"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/hs256.json b/data/documentation/jose_swift/signingalgorithm/hs256.json new file mode 100644 index 0000000..04f0ac6 --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/hs256.json @@ -0,0 +1 @@ +{"abstract":[{"text":"HMAC using SHA-256","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/signingalgorithm\/hs256"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"modules":[{"name":"jose-swift"}],"roleHeading":"Case","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"HS256","kind":"identifier"}],"symbolKind":"case","externalID":"s:17JSONWebAlgorithms16SigningAlgorithmO5HS256yA2CmF","title":"SigningAlgorithm.HS256","role":"symbol"},"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"HS256","kind":"identifier"}],"platforms":["macOS"],"languages":["swift"]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/HS256","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm"]]},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/HS256":{"title":"SigningAlgorithm.HS256","kind":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"HS256"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/HS256","url":"\/documentation\/jose_swift\/signingalgorithm\/hs256","abstract":[{"type":"text","text":"HMAC using SHA-256"}],"type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/hs384.json b/data/documentation/jose_swift/signingalgorithm/hs384.json new file mode 100644 index 0000000..d6c6fba --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/hs384.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/HS384","interfaceLanguage":"swift"},"sections":[],"kind":"symbol","schemaVersion":{"patch":0,"minor":3,"major":0},"variants":[{"paths":["\/documentation\/jose_swift\/signingalgorithm\/hs384"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"HS384"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"metadata":{"symbolKind":"case","externalID":"s:17JSONWebAlgorithms16SigningAlgorithmO5HS384yA2CmF","role":"symbol","title":"SigningAlgorithm.HS384","modules":[{"name":"jose-swift"}],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"HS384"}],"roleHeading":"Case"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm"]]},"abstract":[{"text":"HMAC using SHA-384","type":"text"}],"references":{"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/HS384":{"kind":"symbol","title":"SigningAlgorithm.HS384","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"HS384"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/HS384","url":"\/documentation\/jose_swift\/signingalgorithm\/hs384","abstract":[{"type":"text","text":"HMAC using SHA-384"}],"type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/hs512.json b/data/documentation/jose_swift/signingalgorithm/hs512.json new file mode 100644 index 0000000..b07ec33 --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/hs512.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm"]]},"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"abstract":[{"text":"HMAC using SHA-512","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"HS512","kind":"identifier"}]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/HS512","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/signingalgorithm\/hs512"]}],"metadata":{"title":"SigningAlgorithm.HS512","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"HS512","kind":"identifier"}],"roleHeading":"Case","role":"symbol","modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebAlgorithms16SigningAlgorithmO5HS512yA2CmF","symbolKind":"case"},"sections":[],"references":{"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/HS512":{"kind":"symbol","abstract":[{"type":"text","text":"HMAC using SHA-512"}],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"HS512","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/HS512","title":"SigningAlgorithm.HS512","type":"topic","url":"\/documentation\/jose_swift\/signingalgorithm\/hs512","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/init(from:).json b/data/documentation/jose_swift/signingalgorithm/init(from:).json new file mode 100644 index 0000000..4d2d2fb --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/init(from:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"text":" ","kind":"text"},{"text":"decoder","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"platforms":["macOS"],"languages":["swift"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/RawRepresentable-Implementations"]]},"variants":[{"paths":["\/documentation\/jose_swift\/signingalgorithm\/init(from:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"symbolKind":"init","roleHeading":"Initializer","role":"symbol","externalID":"s:SYsSeRzSS8RawValueSYRtzrlE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:17JSONWebAlgorithms16SigningAlgorithmO","conformance":{"constraints":[{"code":"Self","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Decodable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" is "},{"type":"codeVoice","code":"String"},{"text":".","type":"text"}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"text":": ","kind":"text"},{"text":"Decoder","preciseIdentifier":"s:s7DecoderP","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"modules":[{"relatedModules":["Swift"],"name":"jose-swift"}],"title":"init(from:)","extendedModule":"Swift"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/init(from:)","interfaceLanguage":"swift"},"sections":[],"kind":"symbol","abstract":[{"type":"text","text":"Inherited from "},{"code":"RawRepresentable.init(from:)","type":"codeVoice"},{"type":"text","text":"."}],"references":{"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/RawRepresentable-Implementations":{"kind":"article","title":"RawRepresentable Implementations","abstract":[],"role":"collectionGroup","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/RawRepresentable-Implementations","type":"topic","url":"\/documentation\/jose_swift\/signingalgorithm\/rawrepresentable-implementations"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/init(from:)":{"abstract":[],"conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Decodable"},{"text":" and ","type":"text"},{"code":"RawValue","type":"codeVoice"},{"text":" is ","type":"text"},{"code":"String","type":"codeVoice"},{"text":".","type":"text"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}]},"type":"topic","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"url":"\/documentation\/jose_swift\/signingalgorithm\/init(from:)","kind":"symbol","title":"init(from:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/init(from:)"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/init(rawvalue:).json b/data/documentation/jose_swift/signingalgorithm/init(rawvalue:).json new file mode 100644 index 0000000..8a0e88b --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/init(rawvalue:).json @@ -0,0 +1 @@ +{"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/signingalgorithm\/init(rawvalue:)"]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm"]]},"metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"rawValue"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"externalID":"s:17JSONWebAlgorithms16SigningAlgorithmO8rawValueACSgSS_tcfc","title":"init(rawValue:)","role":"symbol","modules":[{"name":"jose-swift"}],"roleHeading":"Initializer","symbolKind":"init"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"RawRepresentable.init(rawValue:)"},{"type":"text","text":"."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"init"},{"text":"?(","kind":"text"},{"kind":"externalParam","text":"rawValue"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"platforms":["macOS"]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/init(rawValue:)","interfaceLanguage":"swift"},"sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/init(rawValue:)":{"title":"init(rawValue:)","kind":"symbol","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"?("},{"text":"rawValue","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/init(rawValue:)","url":"\/documentation\/jose_swift\/signingalgorithm\/init(rawvalue:)","abstract":[],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/invalid.json b/data/documentation/jose_swift/signingalgorithm/invalid.json new file mode 100644 index 0000000..5f10ba7 --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/invalid.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","abstract":[{"type":"text","text":"Invalid algorithm that will always fail"}],"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"invalid","kind":"identifier"}],"languages":["swift"],"platforms":["macOS"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/signingalgorithm\/invalid"]}],"metadata":{"symbolKind":"case","role":"symbol","roleHeading":"Case","title":"SigningAlgorithm.invalid","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"invalid"}],"modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebAlgorithms16SigningAlgorithmO7invalidyA2CmF"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/invalid"},"references":{"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/invalid":{"abstract":[{"text":"Invalid algorithm that will always fail","type":"text"}],"title":"SigningAlgorithm.invalid","role":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm\/invalid","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"invalid","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/invalid","type":"topic","kind":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/none.json b/data/documentation/jose_swift/signingalgorithm/none.json new file mode 100644 index 0000000..08dcb65 --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/none.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/none"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm"]]},"kind":"symbol","abstract":[{"text":"No digital signature or MAC performed","type":"text"}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"none"}],"languages":["swift"]}],"kind":"declarations"}],"metadata":{"symbolKind":"case","role":"symbol","externalID":"s:17JSONWebAlgorithms16SigningAlgorithmO4noneyA2CmF","modules":[{"name":"jose-swift"}],"roleHeading":"Case","title":"SigningAlgorithm.none","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"none","kind":"identifier"}]},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/signingalgorithm\/none"]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/none":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm\/none","role":"symbol","abstract":[{"type":"text","text":"No digital signature or MAC performed"}],"type":"topic","title":"SigningAlgorithm.none","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/none","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"none"}]},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/ps256.json b/data/documentation/jose_swift/signingalgorithm/ps256.json new file mode 100644 index 0000000..055e35a --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/ps256.json @@ -0,0 +1 @@ +{"kind":"symbol","sections":[],"variants":[{"paths":["\/documentation\/jose_swift\/signingalgorithm\/ps256"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm"]]},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/PS256","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"PS256"}],"languages":["swift"],"platforms":["macOS"]}]}],"metadata":{"title":"SigningAlgorithm.PS256","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"PS256","kind":"identifier"}],"roleHeading":"Case","externalID":"s:17JSONWebAlgorithms16SigningAlgorithmO5PS256yA2CmF","symbolKind":"case","modules":[{"name":"jose-swift"}],"role":"symbol"},"schemaVersion":{"minor":3,"patch":0,"major":0},"abstract":[{"type":"text","text":"RSASSA-PSS using SHA-256 and MGF1 with SHA-256"}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/PS256":{"title":"SigningAlgorithm.PS256","url":"\/documentation\/jose_swift\/signingalgorithm\/ps256","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PS256","kind":"identifier"}],"type":"topic","kind":"symbol","abstract":[{"type":"text","text":"RSASSA-PSS using SHA-256 and MGF1 with SHA-256"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/PS256"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/ps384.json b/data/documentation/jose_swift/signingalgorithm/ps384.json new file mode 100644 index 0000000..34004ff --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/ps384.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/PS384"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm"]]},"schemaVersion":{"minor":3,"major":0,"patch":0},"metadata":{"modules":[{"name":"jose-swift"}],"roleHeading":"Case","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"PS384","kind":"identifier"}],"symbolKind":"case","externalID":"s:17JSONWebAlgorithms16SigningAlgorithmO5PS384yA2CmF","title":"SigningAlgorithm.PS384","role":"symbol"},"sections":[],"abstract":[{"text":"RSASSA-PSS using SHA-384 and MGF1 with SHA-384","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"PS384","kind":"identifier"}],"languages":["swift"]}]}],"variants":[{"paths":["\/documentation\/jose_swift\/signingalgorithm\/ps384"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/PS384":{"abstract":[{"type":"text","text":"RSASSA-PSS using SHA-384 and MGF1 with SHA-384"}],"type":"topic","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PS384","kind":"identifier"}],"url":"\/documentation\/jose_swift\/signingalgorithm\/ps384","kind":"symbol","title":"SigningAlgorithm.PS384","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/PS384"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/ps512.json b/data/documentation/jose_swift/signingalgorithm/ps512.json new file mode 100644 index 0000000..46fb3f1 --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/ps512.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm"]]},"sections":[],"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/signingalgorithm\/ps512"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"symbolKind":"case","externalID":"s:17JSONWebAlgorithms16SigningAlgorithmO5PS512yA2CmF","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"PS512"}],"modules":[{"name":"jose-swift"}],"title":"SigningAlgorithm.PS512","roleHeading":"Case","role":"symbol"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"PS512","kind":"identifier"}],"languages":["swift"],"platforms":["macOS"]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/PS512","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"RSASSA-PSS using SHA-512 and MGF1 with SHA-512"}],"references":{"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/PS512":{"kind":"symbol","title":"SigningAlgorithm.PS512","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"PS512"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/PS512","url":"\/documentation\/jose_swift\/signingalgorithm\/ps512","abstract":[{"type":"text","text":"RSASSA-PSS using SHA-512 and MGF1 with SHA-512"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/rawrepresentable-implementations.json b/data/documentation/jose_swift/signingalgorithm/rawrepresentable-implementations.json new file mode 100644 index 0000000..7918c8e --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/rawrepresentable-implementations.json @@ -0,0 +1 @@ +{"kind":"article","schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/init(from:)"],"generated":true},{"title":"Instance Properties","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/hashValue"],"generated":true},{"generated":true,"title":"Instance Methods","identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/encode(to:)","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/hash(into:)"]}],"metadata":{"title":"RawRepresentable Implementations","modules":[{"name":"jose-swift"}],"role":"collectionGroup"},"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/RawRepresentable-Implementations","interfaceLanguage":"swift"},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/signingalgorithm\/rawrepresentable-implementations"]}],"references":{"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/encode(to:)":{"url":"\/documentation\/jose_swift\/signingalgorithm\/encode(to:)","kind":"symbol","title":"encode(to:)","conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"code":"Encodable","type":"codeVoice"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"text":" is ","type":"text"},{"type":"codeVoice","code":"String"},{"type":"text","text":"."}]},"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/encode(to:)","type":"topic","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Encoder","kind":"typeIdentifier","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"abstract":[],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/hashValue":{"abstract":[],"conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"constraints":[{"code":"Self","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"text":".","type":"text"}]},"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"hashValue","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Int","preciseIdentifier":"s:Si","kind":"typeIdentifier"}],"url":"\/documentation\/jose_swift\/signingalgorithm\/hashvalue","kind":"symbol","title":"hashValue","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/hashValue"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/init(from:)":{"abstract":[],"conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Decodable"},{"text":" and ","type":"text"},{"code":"RawValue","type":"codeVoice"},{"text":" is ","type":"text"},{"code":"String","type":"codeVoice"},{"text":".","type":"text"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}]},"type":"topic","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"url":"\/documentation\/jose_swift\/signingalgorithm\/init(from:)","kind":"symbol","title":"init(from:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/init(from:)"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/hash(into:)":{"abstract":[],"conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"constraints":[{"code":"Self","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":"."}],"conformancePrefix":[{"text":"Conforms when","type":"text"}]},"type":"topic","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"hash","kind":"identifier"},{"text":"(","kind":"text"},{"text":"into","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Hasher","kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV"},{"text":")","kind":"text"}],"url":"\/documentation\/jose_swift\/signingalgorithm\/hash(into:)","kind":"symbol","title":"hash(into:)","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/hash(into:)"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/rs256.json b/data/documentation/jose_swift/signingalgorithm/rs256.json new file mode 100644 index 0000000..21376fa --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/rs256.json @@ -0,0 +1 @@ +{"kind":"symbol","abstract":[{"type":"text","text":"RSASSA-PKCS1-v1_5 using SHA-256"}],"schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/RS256"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"RS256"}],"platforms":["macOS"],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/signingalgorithm\/rs256"]}],"metadata":{"title":"SigningAlgorithm.RS256","symbolKind":"case","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"RS256","kind":"identifier"}],"modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebAlgorithms16SigningAlgorithmO5RS256yA2CmF","role":"symbol","roleHeading":"Case"},"references":{"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/RS256":{"kind":"symbol","title":"SigningAlgorithm.RS256","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"RS256"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/RS256","url":"\/documentation\/jose_swift\/signingalgorithm\/rs256","abstract":[{"type":"text","text":"RSASSA-PKCS1-v1_5 using SHA-256"}],"type":"topic","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/rs384.json b/data/documentation/jose_swift/signingalgorithm/rs384.json new file mode 100644 index 0000000..a1f44e3 --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/rs384.json @@ -0,0 +1 @@ +{"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm"]]},"metadata":{"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"RS384","kind":"identifier"}],"title":"SigningAlgorithm.RS384","modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebAlgorithms16SigningAlgorithmO5RS384yA2CmF","symbolKind":"case","roleHeading":"Case","role":"symbol"},"abstract":[{"type":"text","text":"RSASSA-PKCS1-v1_5 using SHA-384"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"RS384","kind":"identifier"}],"languages":["swift"],"platforms":["macOS"]}]}],"kind":"symbol","identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/RS384","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/jose_swift\/signingalgorithm\/rs384"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/RS384":{"kind":"symbol","title":"SigningAlgorithm.RS384","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"RS384"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/RS384","url":"\/documentation\/jose_swift\/signingalgorithm\/rs384","abstract":[{"type":"text","text":"RSASSA-PKCS1-v1_5 using SHA-384"}],"type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/signingalgorithm/rs512.json b/data/documentation/jose_swift/signingalgorithm/rs512.json new file mode 100644 index 0000000..2a1df0d --- /dev/null +++ b/data/documentation/jose_swift/signingalgorithm/rs512.json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"major":0,"minor":3},"variants":[{"paths":["\/documentation\/jose_swift\/signingalgorithm\/rs512"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"abstract":[{"text":"RSASSA-PKCS1-v1_5 using SHA-512","type":"text"}],"metadata":{"roleHeading":"Case","symbolKind":"case","externalID":"s:17JSONWebAlgorithms16SigningAlgorithmO5RS512yA2CmF","modules":[{"name":"jose-swift"}],"title":"SigningAlgorithm.RS512","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"RS512"}],"role":"symbol"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"RS512"}],"platforms":["macOS"],"languages":["swift"]}]}],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/RS512"},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm"]]},"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm/RS512":{"type":"topic","url":"\/documentation\/jose_swift\/signingalgorithm\/rs512","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm\/RS512","title":"SigningAlgorithm.RS512","abstract":[{"type":"text","text":"RSASSA-PKCS1-v1_5 using SHA-512"}],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"RS512"}]},"doc://jose-swift/documentation/jose_swift/SigningAlgorithm":{"kind":"symbol","url":"\/documentation\/jose_swift\/signingalgorithm","role":"symbol","type":"topic","abstract":[{"code":"SigningAlgorithm","type":"codeVoice"},{"text":" represents the various supported algorithms for signing in a JSON Web Signature (JWS).","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case of this enum represents a different cryptographic algorithm used for digital signatures or message authentication codes (MACs)."}],"navigatorTitle":[{"kind":"identifier","text":"SigningAlgorithm"}],"title":"SigningAlgorithm","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/SigningAlgorithm","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SigningAlgorithm"}]}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/validateclaims(claims:expectedissuer:expectedaudience:).json b/data/documentation/jose_swift/validateclaims(claims:expectedissuer:expectedaudience:).json new file mode 100644 index 0000000..30fea2b --- /dev/null +++ b/data/documentation/jose_swift/validateclaims(claims:expectedissuer:expectedaudience:).json @@ -0,0 +1 @@ +{"sections":[],"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"validateClaims"},{"text":"(","kind":"text"},{"text":"claims","kind":"externalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims","preciseIdentifier":"s:12JSONWebToken25JWTRegisteredFieldsClaimsP","text":"JWTRegisteredFieldsClaims","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"expectedIssuer"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"? = nil, "},{"text":"expectedAudience","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"? = nil) "},{"kind":"keyword","text":"throws"}]}],"kind":"declarations"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/validateClaims(claims:expectedIssuer:expectedAudience:)","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"metadata":{"title":"validateClaims(claims:expectedIssuer:expectedAudience:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"validateClaims","kind":"identifier"},{"text":"(","kind":"text"},{"text":"claims","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:12JSONWebToken25JWTRegisteredFieldsClaimsP","text":"JWTRegisteredFieldsClaims"},{"kind":"text","text":", "},{"text":"expectedIssuer","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"expectedAudience"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"}],"roleHeading":"Function","externalID":"s:12JSONWebToken14validateClaims6claims14expectedIssuer0F8AudienceyAA019JWTRegisteredFieldsD0_p_SSSgAGtKF","symbolKind":"func","modules":[{"name":"jose-swift"}],"role":"symbol"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/validateclaims(claims:expectedissuer:expectedaudience:)"]}],"references":{"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"doc://jose-swift/documentation/jose_swift/JWTRegisteredFieldsClaims":{"type":"topic","role":"symbol","url":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims","kind":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWTRegisteredFieldsClaims","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"JWTRegisteredFieldsClaims","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"JWTRegisteredFieldsClaims"}],"abstract":[{"type":"codeVoice","code":"JWTRegisteredFieldsClaims"},{"type":"text","text":" is a protocol defining the standard claims typically included in a JWT."},{"type":"text","text":" "},{"type":"text","text":"Conforming types can represent the payload of a JWT, encompassing both registered claim names and custom claims."}],"title":"JWTRegisteredFieldsClaims"},"doc://jose-swift/documentation/jose_swift/validateClaims(claims:expectedIssuer:expectedAudience:)":{"kind":"symbol","title":"validateClaims(claims:expectedIssuer:expectedAudience:)","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"validateClaims","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"claims"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:12JSONWebToken25JWTRegisteredFieldsClaimsP","text":"JWTRegisteredFieldsClaims"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"expectedIssuer"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"text":"expectedAudience","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?) ","kind":"text"},{"kind":"keyword","text":"throws"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/validateClaims(claims:expectedIssuer:expectedAudience:)","url":"\/documentation\/jose_swift\/validateclaims(claims:expectedissuer:expectedaudience:)","abstract":[],"type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/verifier.json b/data/documentation/jose_swift/verifier.json new file mode 100644 index 0000000..8b82a4e --- /dev/null +++ b/data/documentation/jose_swift/verifier.json @@ -0,0 +1 @@ +{"metadata":{"navigatorTitle":[{"kind":"identifier","text":"Verifier"}],"role":"symbol","externalID":"s:17JSONWebAlgorithms8VerifierP","symbolKind":"protocol","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"Verifier","kind":"identifier"}],"roleHeading":"Protocol","modules":[{"name":"jose-swift"}],"title":"Verifier"},"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","topicSections":[{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/Verifier\/algorithm"],"title":"Instance Properties"},{"identifiers":["doc:\/\/jose-swift\/documentation\/jose_swift\/Verifier\/verify(data:signature:key:)"],"title":"Instance Methods"}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/Verifier","interfaceLanguage":"swift"},"sections":[],"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift"]]},"variants":[{"paths":["\/documentation\/jose_swift\/verifier"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"Verifier","kind":"identifier"}],"languages":["swift"],"platforms":["macOS"]}]}],"references":{"doc://jose-swift/documentation/jose_swift/Verifier":{"abstract":[],"navigatorTitle":[{"text":"Verifier","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Verifier"}],"url":"\/documentation\/jose_swift\/verifier","kind":"symbol","title":"Verifier","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Verifier"},"doc://jose-swift/documentation/jose_swift/Verifier/verify(data:signature:key:)":{"abstract":[],"type":"topic","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"verify"},{"text":"(","kind":"text"},{"text":"data","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"signature"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"url":"\/documentation\/jose_swift\/verifier\/verify(data:signature:key:)","kind":"symbol","title":"verify(data:signature:key:)","required":true,"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Verifier\/verify(data:signature:key:)","role":"symbol"},"doc://jose-swift/documentation/jose_swift/Verifier/algorithm":{"title":"algorithm","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/verifier\/algorithm","required":true,"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Verifier\/algorithm","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"algorithm","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/verifier/algorithm.json b/data/documentation/jose_swift/verifier/algorithm.json new file mode 100644 index 0000000..b81dfe4 --- /dev/null +++ b/data/documentation/jose_swift/verifier/algorithm.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/Verifier"]]},"kind":"symbol","sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"role":"symbol","title":"algorithm","roleHeading":"Instance Property","symbolKind":"property","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"algorithm","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"modules":[{"name":"jose-swift"}],"required":true,"externalID":"s:17JSONWebAlgorithms8VerifierP9algorithmSSvp"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"algorithm","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"identifier":{"url":"doc:\/\/jose-swift\/documentation\/jose_swift\/Verifier\/algorithm","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/jose_swift\/verifier\/algorithm"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://jose-swift/documentation/jose_swift/Verifier/algorithm":{"title":"algorithm","kind":"symbol","abstract":[],"url":"\/documentation\/jose_swift\/verifier\/algorithm","required":true,"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Verifier\/algorithm","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"algorithm","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"role":"symbol"},"doc://jose-swift/documentation/jose_swift/Verifier":{"abstract":[],"navigatorTitle":[{"text":"Verifier","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Verifier"}],"url":"\/documentation\/jose_swift\/verifier","kind":"symbol","title":"Verifier","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Verifier"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"}}} \ No newline at end of file diff --git a/data/documentation/jose_swift/verifier/verify(data:signature:key:).json b/data/documentation/jose_swift/verifier/verify(data:signature:key:).json new file mode 100644 index 0000000..e22555c --- /dev/null +++ b/data/documentation/jose_swift/verifier/verify(data:signature:key:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/jose-swift\/documentation\/jose_swift","doc:\/\/jose-swift\/documentation\/jose_swift\/Verifier"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jose_swift\/verifier\/verify(data:signature:key:)"]}],"sections":[],"kind":"symbol","metadata":{"roleHeading":"Instance Method","required":true,"modules":[{"name":"jose-swift"}],"externalID":"s:17JSONWebAlgorithms8VerifierP6verify4data9signature3keySb10Foundation4DataV_AJ0A3Key3JWKVSgtKF","symbolKind":"method","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"verify","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"data"},{"text":": ","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"signature"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier","text":"Data"},{"text":", ","kind":"text"},{"text":"key","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier","text":"JWK"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"role":"symbol","title":"verify(data:signature:key:)"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"verify"},{"text":"(","kind":"text"},{"text":"data","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":", "},{"text":"signature","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"kind":"text","text":", "},{"text":"key","kind":"externalParam"},{"kind":"text","text":": "},{"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV","kind":"typeIdentifier"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"languages":["swift"],"platforms":["macOS"]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/jose-swift\/documentation\/jose_swift\/Verifier\/verify(data:signature:key:)"},"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://jose-swift/documentation/jose_swift/Verifier":{"abstract":[],"navigatorTitle":[{"text":"Verifier","kind":"identifier"}],"type":"topic","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Verifier"}],"url":"\/documentation\/jose_swift\/verifier","kind":"symbol","title":"Verifier","role":"symbol","identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Verifier"},"doc://jose-swift/documentation/jose_swift/Verifier/verify(data:signature:key:)":{"abstract":[],"type":"topic","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"verify"},{"text":"(","kind":"text"},{"text":"data","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"signature"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV","text":"Data"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"JWK","preciseIdentifier":"s:10JSONWebKey3JWKV"},{"text":"?) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"url":"\/documentation\/jose_swift\/verifier\/verify(data:signature:key:)","kind":"symbol","title":"verify(data:signature:key:)","required":true,"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/Verifier\/verify(data:signature:key:)","role":"symbol"},"doc://jose-swift/documentation/jose_swift":{"role":"collection","kind":"symbol","title":"jose-swift","type":"topic","url":"\/documentation\/jose_swift","abstract":[],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift"},"https://www.rfc-editor.org/rfc/rfc7517":{"identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","type":"link","url":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517","titleInlineContent":[{"text":"RFC7517","type":"text"}],"title":"RFC7517"},"doc://jose-swift/documentation/jose_swift/JWK":{"kind":"symbol","title":"JWK","url":"\/documentation\/jose_swift\/jwk","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWK","kind":"identifier"}],"navigatorTitle":[{"text":"JWK","kind":"identifier"}],"identifier":"doc:\/\/jose-swift\/documentation\/jose_swift\/JWK","type":"topic","abstract":[{"text":"A JSON Web Key (JWK) representation ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/www.rfc-editor.org\/rfc\/rfc7517"}]}}} \ No newline at end of file diff --git a/developer-og-twitter.jpg b/developer-og-twitter.jpg new file mode 100644 index 0000000..63c4835 Binary files /dev/null and b/developer-og-twitter.jpg differ diff --git a/developer-og.jpg b/developer-og.jpg new file mode 100644 index 0000000..4db8408 Binary files /dev/null and b/developer-og.jpg differ diff --git a/documentation/jose_swift/contentcompressionalgorithm/!=(_:_:)/index.html b/documentation/jose_swift/contentcompressionalgorithm/!=(_:_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentcompressionalgorithm/!=(_:_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentcompressionalgorithm/compressor/index.html b/documentation/jose_swift/contentcompressionalgorithm/compressor/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentcompressionalgorithm/compressor/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentcompressionalgorithm/decompressor/index.html b/documentation/jose_swift/contentcompressionalgorithm/decompressor/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentcompressionalgorithm/decompressor/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentcompressionalgorithm/deflate/index.html b/documentation/jose_swift/contentcompressionalgorithm/deflate/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentcompressionalgorithm/deflate/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentcompressionalgorithm/encode(to:)/index.html b/documentation/jose_swift/contentcompressionalgorithm/encode(to:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentcompressionalgorithm/encode(to:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentcompressionalgorithm/equatable-implementations/index.html b/documentation/jose_swift/contentcompressionalgorithm/equatable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentcompressionalgorithm/equatable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentcompressionalgorithm/hash(into:)/index.html b/documentation/jose_swift/contentcompressionalgorithm/hash(into:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentcompressionalgorithm/hash(into:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentcompressionalgorithm/hashvalue/index.html b/documentation/jose_swift/contentcompressionalgorithm/hashvalue/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentcompressionalgorithm/hashvalue/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentcompressionalgorithm/index.html b/documentation/jose_swift/contentcompressionalgorithm/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentcompressionalgorithm/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentcompressionalgorithm/init(from:)/index.html b/documentation/jose_swift/contentcompressionalgorithm/init(from:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentcompressionalgorithm/init(from:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentcompressionalgorithm/init(rawvalue:)/index.html b/documentation/jose_swift/contentcompressionalgorithm/init(rawvalue:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentcompressionalgorithm/init(rawvalue:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentcompressionalgorithm/rawrepresentable-implementations/index.html b/documentation/jose_swift/contentcompressionalgorithm/rawrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentcompressionalgorithm/rawrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentcompressor/compress(input:)/index.html b/documentation/jose_swift/contentcompressor/compress(input:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentcompressor/compress(input:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentcompressor/index.html b/documentation/jose_swift/contentcompressor/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentcompressor/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentdecompressor/decompress(input:)/index.html b/documentation/jose_swift/contentdecompressor/decompress(input:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentdecompressor/decompress(input:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentdecompressor/index.html b/documentation/jose_swift/contentdecompressor/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentdecompressor/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentdecryptor/decrypt(cipher:using:arguments:)/index.html b/documentation/jose_swift/contentdecryptor/decrypt(cipher:using:arguments:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentdecryptor/decrypt(cipher:using:arguments:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentdecryptor/index.html b/documentation/jose_swift/contentdecryptor/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentdecryptor/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionalgorithm/!=(_:_:)/index.html b/documentation/jose_swift/contentencryptionalgorithm/!=(_:_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionalgorithm/!=(_:_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionalgorithm/a128cbchs256/index.html b/documentation/jose_swift/contentencryptionalgorithm/a128cbchs256/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionalgorithm/a128cbchs256/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionalgorithm/a128gcm/index.html b/documentation/jose_swift/contentencryptionalgorithm/a128gcm/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionalgorithm/a128gcm/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionalgorithm/a192cbchs384/index.html b/documentation/jose_swift/contentencryptionalgorithm/a192cbchs384/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionalgorithm/a192cbchs384/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionalgorithm/a192gcm/index.html b/documentation/jose_swift/contentencryptionalgorithm/a192gcm/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionalgorithm/a192gcm/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionalgorithm/a256cbchs512/index.html b/documentation/jose_swift/contentencryptionalgorithm/a256cbchs512/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionalgorithm/a256cbchs512/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionalgorithm/a256gcm/index.html b/documentation/jose_swift/contentencryptionalgorithm/a256gcm/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionalgorithm/a256gcm/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionalgorithm/decryptor/index.html b/documentation/jose_swift/contentencryptionalgorithm/decryptor/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionalgorithm/decryptor/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionalgorithm/encode(to:)/index.html b/documentation/jose_swift/contentencryptionalgorithm/encode(to:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionalgorithm/encode(to:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionalgorithm/encryptor/index.html b/documentation/jose_swift/contentencryptionalgorithm/encryptor/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionalgorithm/encryptor/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionalgorithm/equatable-implementations/index.html b/documentation/jose_swift/contentencryptionalgorithm/equatable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionalgorithm/equatable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionalgorithm/hash(into:)/index.html b/documentation/jose_swift/contentencryptionalgorithm/hash(into:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionalgorithm/hash(into:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionalgorithm/hashvalue/index.html b/documentation/jose_swift/contentencryptionalgorithm/hashvalue/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionalgorithm/hashvalue/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionalgorithm/index.html b/documentation/jose_swift/contentencryptionalgorithm/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionalgorithm/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionalgorithm/init(from:)/index.html b/documentation/jose_swift/contentencryptionalgorithm/init(from:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionalgorithm/init(from:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionalgorithm/init(rawvalue:)/index.html b/documentation/jose_swift/contentencryptionalgorithm/init(rawvalue:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionalgorithm/init(rawvalue:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionalgorithm/initializationvectorsizeinbits/index.html b/documentation/jose_swift/contentencryptionalgorithm/initializationvectorsizeinbits/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionalgorithm/initializationvectorsizeinbits/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionalgorithm/keysizeinbits/index.html b/documentation/jose_swift/contentencryptionalgorithm/keysizeinbits/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionalgorithm/keysizeinbits/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionalgorithm/rawrepresentable-implementations/index.html b/documentation/jose_swift/contentencryptionalgorithm/rawrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionalgorithm/rawrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionarguments/additionalauthenticationdata(_:)/index.html b/documentation/jose_swift/contentencryptionarguments/additionalauthenticationdata(_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionarguments/additionalauthenticationdata(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionarguments/authenticationtag(_:)/index.html b/documentation/jose_swift/contentencryptionarguments/authenticationtag(_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionarguments/authenticationtag(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionarguments/customdata(key:value:)/index.html b/documentation/jose_swift/contentencryptionarguments/customdata(key:value:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionarguments/customdata(key:value:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionarguments/customjwk(key:value:)/index.html b/documentation/jose_swift/contentencryptionarguments/customjwk(key:value:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionarguments/customjwk(key:value:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionarguments/index.html b/documentation/jose_swift/contentencryptionarguments/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionarguments/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionarguments/initializationvector(_:)/index.html b/documentation/jose_swift/contentencryptionarguments/initializationvector(_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionarguments/initializationvector(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionarguments/keysizeinbits(_:)/index.html b/documentation/jose_swift/contentencryptionarguments/keysizeinbits(_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionarguments/keysizeinbits(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionresult/authenticationdata/index.html b/documentation/jose_swift/contentencryptionresult/authenticationdata/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionresult/authenticationdata/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionresult/cipher/index.html b/documentation/jose_swift/contentencryptionresult/cipher/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionresult/cipher/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptionresult/index.html b/documentation/jose_swift/contentencryptionresult/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptionresult/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptor/encrypt(payload:using:arguments:)/index.html b/documentation/jose_swift/contentencryptor/encrypt(payload:using:arguments:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptor/encrypt(payload:using:arguments:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptor/generatecek()/index.html b/documentation/jose_swift/contentencryptor/generatecek()/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptor/generatecek()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptor/generateinitializationvector()/index.html b/documentation/jose_swift/contentencryptor/generateinitializationvector()/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptor/generateinitializationvector()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/contentencryptor/index.html b/documentation/jose_swift/contentencryptor/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/contentencryptor/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/curve25519/index.html b/documentation/jose_swift/cryptokit/curve25519/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/curve25519/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/curve25519/keyagreement/index.html b/documentation/jose_swift/cryptokit/curve25519/keyagreement/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/curve25519/keyagreement/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/index.html b/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/jwkrepresentable-implementations/index.html b/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/jwkrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/jwkrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/jwkrepresentation/index.html b/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/jwkrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/jwkrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/sharedkeyagreement-implementations/index.html b/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/sharedkeyagreement-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/sharedkeyagreement-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:)/index.html b/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/curve25519/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/curve25519/keyagreement/publickey/index.html b/documentation/jose_swift/cryptokit/curve25519/keyagreement/publickey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/curve25519/keyagreement/publickey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/curve25519/keyagreement/publickey/jwkrepresentable-implementations/index.html b/documentation/jose_swift/cryptokit/curve25519/keyagreement/publickey/jwkrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/curve25519/keyagreement/publickey/jwkrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/curve25519/keyagreement/publickey/jwkrepresentation/index.html b/documentation/jose_swift/cryptokit/curve25519/keyagreement/publickey/jwkrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/curve25519/keyagreement/publickey/jwkrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/curve25519/signing/index.html b/documentation/jose_swift/cryptokit/curve25519/signing/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/curve25519/signing/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/curve25519/signing/privatekey/index.html b/documentation/jose_swift/cryptokit/curve25519/signing/privatekey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/curve25519/signing/privatekey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/curve25519/signing/privatekey/jwkrepresentable-implementations/index.html b/documentation/jose_swift/cryptokit/curve25519/signing/privatekey/jwkrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/curve25519/signing/privatekey/jwkrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/curve25519/signing/privatekey/jwkrepresentation/index.html b/documentation/jose_swift/cryptokit/curve25519/signing/privatekey/jwkrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/curve25519/signing/privatekey/jwkrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/curve25519/signing/publickey/index.html b/documentation/jose_swift/cryptokit/curve25519/signing/publickey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/curve25519/signing/publickey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/curve25519/signing/publickey/jwkrepresentable-implementations/index.html b/documentation/jose_swift/cryptokit/curve25519/signing/publickey/jwkrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/curve25519/signing/publickey/jwkrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/curve25519/signing/publickey/jwkrepresentation/index.html b/documentation/jose_swift/cryptokit/curve25519/signing/publickey/jwkrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/curve25519/signing/publickey/jwkrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/index.html b/documentation/jose_swift/cryptokit/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p256/index.html b/documentation/jose_swift/cryptokit/p256/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p256/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p256/keyagreement/index.html b/documentation/jose_swift/cryptokit/p256/keyagreement/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p256/keyagreement/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/index.html b/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/jwkrepresentable-implementations/index.html b/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/jwkrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/jwkrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/jwkrepresentation/index.html b/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/jwkrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/jwkrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/sharedkeyagreement-implementations/index.html b/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/sharedkeyagreement-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/sharedkeyagreement-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:)/index.html b/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p256/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p256/keyagreement/publickey/index.html b/documentation/jose_swift/cryptokit/p256/keyagreement/publickey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p256/keyagreement/publickey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p256/keyagreement/publickey/jwkrepresentable-implementations/index.html b/documentation/jose_swift/cryptokit/p256/keyagreement/publickey/jwkrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p256/keyagreement/publickey/jwkrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p256/keyagreement/publickey/jwkrepresentation/index.html b/documentation/jose_swift/cryptokit/p256/keyagreement/publickey/jwkrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p256/keyagreement/publickey/jwkrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p256/signing/index.html b/documentation/jose_swift/cryptokit/p256/signing/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p256/signing/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p256/signing/privatekey/index.html b/documentation/jose_swift/cryptokit/p256/signing/privatekey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p256/signing/privatekey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p256/signing/privatekey/jwkrepresentable-implementations/index.html b/documentation/jose_swift/cryptokit/p256/signing/privatekey/jwkrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p256/signing/privatekey/jwkrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p256/signing/privatekey/jwkrepresentation/index.html b/documentation/jose_swift/cryptokit/p256/signing/privatekey/jwkrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p256/signing/privatekey/jwkrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p256/signing/publickey/index.html b/documentation/jose_swift/cryptokit/p256/signing/publickey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p256/signing/publickey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p256/signing/publickey/jwkrepresentable-implementations/index.html b/documentation/jose_swift/cryptokit/p256/signing/publickey/jwkrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p256/signing/publickey/jwkrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p256/signing/publickey/jwkrepresentation/index.html b/documentation/jose_swift/cryptokit/p256/signing/publickey/jwkrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p256/signing/publickey/jwkrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p384/index.html b/documentation/jose_swift/cryptokit/p384/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p384/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p384/keyagreement/index.html b/documentation/jose_swift/cryptokit/p384/keyagreement/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p384/keyagreement/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/index.html b/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/jwkrepresentable-implementations/index.html b/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/jwkrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/jwkrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/jwkrepresentation/index.html b/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/jwkrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/jwkrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/sharedkeyagreement-implementations/index.html b/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/sharedkeyagreement-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/sharedkeyagreement-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:)/index.html b/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p384/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p384/keyagreement/publickey/index.html b/documentation/jose_swift/cryptokit/p384/keyagreement/publickey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p384/keyagreement/publickey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p384/keyagreement/publickey/jwkrepresentable-implementations/index.html b/documentation/jose_swift/cryptokit/p384/keyagreement/publickey/jwkrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p384/keyagreement/publickey/jwkrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p384/keyagreement/publickey/jwkrepresentation/index.html b/documentation/jose_swift/cryptokit/p384/keyagreement/publickey/jwkrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p384/keyagreement/publickey/jwkrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p384/signing/index.html b/documentation/jose_swift/cryptokit/p384/signing/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p384/signing/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p384/signing/privatekey/index.html b/documentation/jose_swift/cryptokit/p384/signing/privatekey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p384/signing/privatekey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p384/signing/privatekey/jwkrepresentable-implementations/index.html b/documentation/jose_swift/cryptokit/p384/signing/privatekey/jwkrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p384/signing/privatekey/jwkrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p384/signing/privatekey/jwkrepresentation/index.html b/documentation/jose_swift/cryptokit/p384/signing/privatekey/jwkrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p384/signing/privatekey/jwkrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p384/signing/publickey/index.html b/documentation/jose_swift/cryptokit/p384/signing/publickey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p384/signing/publickey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p384/signing/publickey/jwkrepresentable-implementations/index.html b/documentation/jose_swift/cryptokit/p384/signing/publickey/jwkrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p384/signing/publickey/jwkrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p384/signing/publickey/jwkrepresentation/index.html b/documentation/jose_swift/cryptokit/p384/signing/publickey/jwkrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p384/signing/publickey/jwkrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p521/index.html b/documentation/jose_swift/cryptokit/p521/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p521/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p521/keyagreement/index.html b/documentation/jose_swift/cryptokit/p521/keyagreement/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p521/keyagreement/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/index.html b/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/jwkrepresentable-implementations/index.html b/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/jwkrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/jwkrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/jwkrepresentation/index.html b/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/jwkrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/jwkrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/sharedkeyagreement-implementations/index.html b/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/sharedkeyagreement-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/sharedkeyagreement-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:)/index.html b/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p521/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p521/keyagreement/publickey/index.html b/documentation/jose_swift/cryptokit/p521/keyagreement/publickey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p521/keyagreement/publickey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p521/keyagreement/publickey/jwkrepresentable-implementations/index.html b/documentation/jose_swift/cryptokit/p521/keyagreement/publickey/jwkrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p521/keyagreement/publickey/jwkrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p521/keyagreement/publickey/jwkrepresentation/index.html b/documentation/jose_swift/cryptokit/p521/keyagreement/publickey/jwkrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p521/keyagreement/publickey/jwkrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p521/signing/index.html b/documentation/jose_swift/cryptokit/p521/signing/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p521/signing/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p521/signing/privatekey/index.html b/documentation/jose_swift/cryptokit/p521/signing/privatekey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p521/signing/privatekey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p521/signing/privatekey/jwkrepresentable-implementations/index.html b/documentation/jose_swift/cryptokit/p521/signing/privatekey/jwkrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p521/signing/privatekey/jwkrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p521/signing/privatekey/jwkrepresentation/index.html b/documentation/jose_swift/cryptokit/p521/signing/privatekey/jwkrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p521/signing/privatekey/jwkrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p521/signing/publickey/index.html b/documentation/jose_swift/cryptokit/p521/signing/publickey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p521/signing/publickey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p521/signing/publickey/jwkrepresentable-implementations/index.html b/documentation/jose_swift/cryptokit/p521/signing/publickey/jwkrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p521/signing/publickey/jwkrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/cryptokit/p521/signing/publickey/jwkrepresentation/index.html b/documentation/jose_swift/cryptokit/p521/signing/publickey/jwkrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/cryptokit/p521/signing/publickey/jwkrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/curve448/index.html b/documentation/jose_swift/curve448/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/curve448/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/curve448/keyagreement/index.html b/documentation/jose_swift/curve448/keyagreement/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/curve448/keyagreement/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/curve448/keyagreement/privatekey/index.html b/documentation/jose_swift/curve448/keyagreement/privatekey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/curve448/keyagreement/privatekey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/curve448/keyagreement/privatekey/init()/index.html b/documentation/jose_swift/curve448/keyagreement/privatekey/init()/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/curve448/keyagreement/privatekey/init()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/curve448/keyagreement/privatekey/init(rawrepresentation:)/index.html b/documentation/jose_swift/curve448/keyagreement/privatekey/init(rawrepresentation:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/curve448/keyagreement/privatekey/init(rawrepresentation:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/curve448/keyagreement/privatekey/jwkrepresentable-implementations/index.html b/documentation/jose_swift/curve448/keyagreement/privatekey/jwkrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/curve448/keyagreement/privatekey/jwkrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/curve448/keyagreement/privatekey/jwkrepresentation/index.html b/documentation/jose_swift/curve448/keyagreement/privatekey/jwkrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/curve448/keyagreement/privatekey/jwkrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/curve448/keyagreement/privatekey/publickey/index.html b/documentation/jose_swift/curve448/keyagreement/privatekey/publickey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/curve448/keyagreement/privatekey/publickey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/curve448/keyagreement/privatekey/rawrepresentation/index.html b/documentation/jose_swift/curve448/keyagreement/privatekey/rawrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/curve448/keyagreement/privatekey/rawrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/curve448/keyagreement/privatekey/sharedsecretfromkeyagreement(with:)/index.html b/documentation/jose_swift/curve448/keyagreement/privatekey/sharedsecretfromkeyagreement(with:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/curve448/keyagreement/privatekey/sharedsecretfromkeyagreement(with:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/curve448/keyagreement/publickey/index.html b/documentation/jose_swift/curve448/keyagreement/publickey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/curve448/keyagreement/publickey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/curve448/keyagreement/publickey/init(rawrepresentation:)/index.html b/documentation/jose_swift/curve448/keyagreement/publickey/init(rawrepresentation:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/curve448/keyagreement/publickey/init(rawrepresentation:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/curve448/keyagreement/publickey/jwkrepresentable-implementations/index.html b/documentation/jose_swift/curve448/keyagreement/publickey/jwkrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/curve448/keyagreement/publickey/jwkrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/curve448/keyagreement/publickey/jwkrepresentation/index.html b/documentation/jose_swift/curve448/keyagreement/publickey/jwkrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/curve448/keyagreement/publickey/jwkrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/curve448/keyagreement/publickey/rawrepresentation/index.html b/documentation/jose_swift/curve448/keyagreement/publickey/rawrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/curve448/keyagreement/publickey/rawrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/agreementpartyuinfo/index.html b/documentation/jose_swift/defaultjweheaderimpl/agreementpartyuinfo/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/agreementpartyuinfo/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/agreementpartyvinfo/index.html b/documentation/jose_swift/defaultjweheaderimpl/agreementpartyvinfo/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/agreementpartyvinfo/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/authenticationtag/index.html b/documentation/jose_swift/defaultjweheaderimpl/authenticationtag/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/authenticationtag/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/compressionalgorithm/index.html b/documentation/jose_swift/defaultjweheaderimpl/compressionalgorithm/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/compressionalgorithm/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/contenttype/index.html b/documentation/jose_swift/defaultjweheaderimpl/contenttype/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/contenttype/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/critical/index.html b/documentation/jose_swift/defaultjweheaderimpl/critical/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/critical/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/decodable-implementations/index.html b/documentation/jose_swift/defaultjweheaderimpl/decodable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/decodable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/encodable-implementations/index.html b/documentation/jose_swift/defaultjweheaderimpl/encodable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/encodable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/encode(to:)/index.html b/documentation/jose_swift/defaultjweheaderimpl/encode(to:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/encode(to:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/encodingalgorithm/index.html b/documentation/jose_swift/defaultjweheaderimpl/encodingalgorithm/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/encodingalgorithm/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/ephemeralpublickey/index.html b/documentation/jose_swift/defaultjweheaderimpl/ephemeralpublickey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/ephemeralpublickey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/index.html b/documentation/jose_swift/defaultjweheaderimpl/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/init(from:)-1kybm/index.html b/documentation/jose_swift/defaultjweheaderimpl/init(from:)-1kybm/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/init(from:)-1kybm/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/init(from:)-5clf3/index.html b/documentation/jose_swift/defaultjweheaderimpl/init(from:)-5clf3/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/init(from:)-5clf3/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-80pr/index.html b/documentation/jose_swift/defaultjweheaderimpl/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-80pr/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-80pr/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-8izc9/index.html b/documentation/jose_swift/defaultjweheaderimpl/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-8izc9/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-8izc9/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/initializationvector/index.html b/documentation/jose_swift/defaultjweheaderimpl/initializationvector/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/initializationvector/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/jweregisteredfieldsheader-implementations/index.html b/documentation/jose_swift/defaultjweheaderimpl/jweregisteredfieldsheader-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/jweregisteredfieldsheader-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/jwk/index.html b/documentation/jose_swift/defaultjweheaderimpl/jwk/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/jwk/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/jwkseturl/index.html b/documentation/jose_swift/defaultjweheaderimpl/jwkseturl/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/jwkseturl/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/keyid/index.html b/documentation/jose_swift/defaultjweheaderimpl/keyid/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/keyid/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/keymanagementalgorithm/index.html b/documentation/jose_swift/defaultjweheaderimpl/keymanagementalgorithm/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/keymanagementalgorithm/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/pbes2saltcount/index.html b/documentation/jose_swift/defaultjweheaderimpl/pbes2saltcount/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/pbes2saltcount/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/pbes2saltinput/index.html b/documentation/jose_swift/defaultjweheaderimpl/pbes2saltinput/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/pbes2saltinput/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/senderkeyid/index.html b/documentation/jose_swift/defaultjweheaderimpl/senderkeyid/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/senderkeyid/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/type/index.html b/documentation/jose_swift/defaultjweheaderimpl/type/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/type/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/x509certificatechain/index.html b/documentation/jose_swift/defaultjweheaderimpl/x509certificatechain/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/x509certificatechain/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/x509certificatesha1thumbprint/index.html b/documentation/jose_swift/defaultjweheaderimpl/x509certificatesha1thumbprint/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/x509certificatesha1thumbprint/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/x509certificatesha256thumbprint/index.html b/documentation/jose_swift/defaultjweheaderimpl/x509certificatesha256thumbprint/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/x509certificatesha256thumbprint/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjweheaderimpl/x509url/index.html b/documentation/jose_swift/defaultjweheaderimpl/x509url/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjweheaderimpl/x509url/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwejson/index.html b/documentation/jose_swift/defaultjwejson/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwejson/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwsheaderimpl/algorithm/index.html b/documentation/jose_swift/defaultjwsheaderimpl/algorithm/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwsheaderimpl/algorithm/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwsheaderimpl/contenttype/index.html b/documentation/jose_swift/defaultjwsheaderimpl/contenttype/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwsheaderimpl/contenttype/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwsheaderimpl/critical/index.html b/documentation/jose_swift/defaultjwsheaderimpl/critical/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwsheaderimpl/critical/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwsheaderimpl/decodable-implementations/index.html b/documentation/jose_swift/defaultjwsheaderimpl/decodable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwsheaderimpl/decodable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwsheaderimpl/encodable-implementations/index.html b/documentation/jose_swift/defaultjwsheaderimpl/encodable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwsheaderimpl/encodable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwsheaderimpl/encode(to:)/index.html b/documentation/jose_swift/defaultjwsheaderimpl/encode(to:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwsheaderimpl/encode(to:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwsheaderimpl/index.html b/documentation/jose_swift/defaultjwsheaderimpl/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwsheaderimpl/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwsheaderimpl/init(algorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:)/index.html b/documentation/jose_swift/defaultjwsheaderimpl/init(algorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwsheaderimpl/init(algorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwsheaderimpl/init(from:)-1rqkx/index.html b/documentation/jose_swift/defaultjwsheaderimpl/init(from:)-1rqkx/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwsheaderimpl/init(from:)-1rqkx/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwsheaderimpl/init(from:)-8tlhj/index.html b/documentation/jose_swift/defaultjwsheaderimpl/init(from:)-8tlhj/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwsheaderimpl/init(from:)-8tlhj/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwsheaderimpl/jwk/index.html b/documentation/jose_swift/defaultjwsheaderimpl/jwk/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwsheaderimpl/jwk/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwsheaderimpl/jwkseturl/index.html b/documentation/jose_swift/defaultjwsheaderimpl/jwkseturl/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwsheaderimpl/jwkseturl/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwsheaderimpl/keyid/index.html b/documentation/jose_swift/defaultjwsheaderimpl/keyid/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwsheaderimpl/keyid/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwsheaderimpl/type/index.html b/documentation/jose_swift/defaultjwsheaderimpl/type/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwsheaderimpl/type/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwsheaderimpl/x509certificatechain/index.html b/documentation/jose_swift/defaultjwsheaderimpl/x509certificatechain/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwsheaderimpl/x509certificatechain/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwsheaderimpl/x509certificatesha1thumbprint/index.html b/documentation/jose_swift/defaultjwsheaderimpl/x509certificatesha1thumbprint/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwsheaderimpl/x509certificatesha1thumbprint/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwsheaderimpl/x509certificatesha256thumbprint/index.html b/documentation/jose_swift/defaultjwsheaderimpl/x509certificatesha256thumbprint/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwsheaderimpl/x509certificatesha256thumbprint/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwsheaderimpl/x509url/index.html b/documentation/jose_swift/defaultjwsheaderimpl/x509url/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwsheaderimpl/x509url/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwsjson/index.html b/documentation/jose_swift/defaultjwsjson/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwsjson/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwtclaimsimpl/audience/index.html b/documentation/jose_swift/defaultjwtclaimsimpl/audience/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwtclaimsimpl/audience/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwtclaimsimpl/decodable-implementations/index.html b/documentation/jose_swift/defaultjwtclaimsimpl/decodable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwtclaimsimpl/decodable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwtclaimsimpl/encodable-implementations/index.html b/documentation/jose_swift/defaultjwtclaimsimpl/encodable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwtclaimsimpl/encodable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwtclaimsimpl/encode(to:)/index.html b/documentation/jose_swift/defaultjwtclaimsimpl/encode(to:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwtclaimsimpl/encode(to:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwtclaimsimpl/expirationtime/index.html b/documentation/jose_swift/defaultjwtclaimsimpl/expirationtime/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwtclaimsimpl/expirationtime/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwtclaimsimpl/index.html b/documentation/jose_swift/defaultjwtclaimsimpl/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwtclaimsimpl/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwtclaimsimpl/init(from:)/index.html b/documentation/jose_swift/defaultjwtclaimsimpl/init(from:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwtclaimsimpl/init(from:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwtclaimsimpl/init(issuer:subject:audience:expirationtime:notbeforetime:issuedat:jwtid:)/index.html b/documentation/jose_swift/defaultjwtclaimsimpl/init(issuer:subject:audience:expirationtime:notbeforetime:issuedat:jwtid:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwtclaimsimpl/init(issuer:subject:audience:expirationtime:notbeforetime:issuedat:jwtid:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwtclaimsimpl/issuedat/index.html b/documentation/jose_swift/defaultjwtclaimsimpl/issuedat/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwtclaimsimpl/issuedat/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwtclaimsimpl/issuer/index.html b/documentation/jose_swift/defaultjwtclaimsimpl/issuer/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwtclaimsimpl/issuer/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwtclaimsimpl/jwtid/index.html b/documentation/jose_swift/defaultjwtclaimsimpl/jwtid/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwtclaimsimpl/jwtid/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwtclaimsimpl/notbeforetime/index.html b/documentation/jose_swift/defaultjwtclaimsimpl/notbeforetime/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwtclaimsimpl/notbeforetime/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwtclaimsimpl/subject/index.html b/documentation/jose_swift/defaultjwtclaimsimpl/subject/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwtclaimsimpl/subject/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/defaultjwtclaimsimpl/validateextraclaims()/index.html b/documentation/jose_swift/defaultjwtclaimsimpl/validateextraclaims()/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/defaultjwtclaimsimpl/validateextraclaims()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/index.html b/documentation/jose_swift/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwaregisteredfieldsheader/agreementpartyuinfo/index.html b/documentation/jose_swift/jwaregisteredfieldsheader/agreementpartyuinfo/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwaregisteredfieldsheader/agreementpartyuinfo/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwaregisteredfieldsheader/agreementpartyvinfo/index.html b/documentation/jose_swift/jwaregisteredfieldsheader/agreementpartyvinfo/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwaregisteredfieldsheader/agreementpartyvinfo/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwaregisteredfieldsheader/authenticationtag/index.html b/documentation/jose_swift/jwaregisteredfieldsheader/authenticationtag/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwaregisteredfieldsheader/authenticationtag/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwaregisteredfieldsheader/ephemeralpublickey/index.html b/documentation/jose_swift/jwaregisteredfieldsheader/ephemeralpublickey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwaregisteredfieldsheader/ephemeralpublickey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwaregisteredfieldsheader/index.html b/documentation/jose_swift/jwaregisteredfieldsheader/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwaregisteredfieldsheader/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwaregisteredfieldsheader/initializationvector/index.html b/documentation/jose_swift/jwaregisteredfieldsheader/initializationvector/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwaregisteredfieldsheader/initializationvector/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwaregisteredfieldsheader/pbes2saltcount/index.html b/documentation/jose_swift/jwaregisteredfieldsheader/pbes2saltcount/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwaregisteredfieldsheader/pbes2saltcount/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwaregisteredfieldsheader/pbes2saltinput/index.html b/documentation/jose_swift/jwaregisteredfieldsheader/pbes2saltinput/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwaregisteredfieldsheader/pbes2saltinput/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/additionalauthenticateddata/index.html b/documentation/jose_swift/jwe/additionalauthenticateddata/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/additionalauthenticateddata/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/authenticationtag/index.html b/documentation/jose_swift/jwe/authenticationtag/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/authenticationtag/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/cipher/index.html b/documentation/jose_swift/jwe/cipher/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/cipher/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/compactserialization()/index.html b/documentation/jose_swift/jwe/compactserialization()/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/compactserialization()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/decrypt(compactstring:senderkey:recipientkey:sharedkey:)/index.html b/documentation/jose_swift/jwe/decrypt(compactstring:senderkey:recipientkey:sharedkey:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/decrypt(compactstring:senderkey:recipientkey:sharedkey:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/decrypt(jwejson:senderkey:recipientkey:sharedkey:tryallrecipients:)-3j231/index.html b/documentation/jose_swift/jwe/decrypt(jwejson:senderkey:recipientkey:sharedkey:tryallrecipients:)-3j231/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/decrypt(jwejson:senderkey:recipientkey:sharedkey:tryallrecipients:)-3j231/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/decrypt(jwejson:senderkey:recipientkey:sharedkey:tryallrecipients:)-3j446/index.html b/documentation/jose_swift/jwe/decrypt(jwejson:senderkey:recipientkey:sharedkey:tryallrecipients:)-3j446/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/decrypt(jwejson:senderkey:recipientkey:sharedkey:tryallrecipients:)-3j446/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/decrypt(senderkey:recipientkey:sharedkey:)/index.html b/documentation/jose_swift/jwe/decrypt(senderkey:recipientkey:sharedkey:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/decrypt(senderkey:recipientkey:sharedkey:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/encryptedkey/index.html b/documentation/jose_swift/jwe/encryptedkey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/encryptedkey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/encryptionmodule/index.html b/documentation/jose_swift/jwe/encryptionmodule/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/encryptionmodule/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/index.html b/documentation/jose_swift/jwe/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/init(compactstring:)/index.html b/documentation/jose_swift/jwe/init(compactstring:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/init(compactstring:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/init(payload:keymanagementalg:encryptionalgorithm:senderkey:recipientkey:cek:initializationvector:additionalauthenticationdata:)/index.html b/documentation/jose_swift/jwe/init(payload:keymanagementalg:encryptionalgorithm:senderkey:recipientkey:cek:initializationvector:additionalauthenticationdata:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/init(payload:keymanagementalg:encryptionalgorithm:senderkey:recipientkey:cek:initializationvector:additionalauthenticationdata:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/init(payload:keymanagementalg:encryptionalgorithm:unprotectedheader:senderkey:recipientkey:cek:additionalauthenticationdata:)/index.html b/documentation/jose_swift/jwe/init(payload:keymanagementalg:encryptionalgorithm:unprotectedheader:senderkey:recipientkey:cek:additionalauthenticationdata:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/init(payload:keymanagementalg:encryptionalgorithm:unprotectedheader:senderkey:recipientkey:cek:additionalauthenticationdata:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/init(payload:protectedheader:unprotectedheader:senderkey:recipientkey:cek:initializationvector:additionalauthenticationdata:)/index.html b/documentation/jose_swift/jwe/init(payload:protectedheader:unprotectedheader:senderkey:recipientkey:cek:initializationvector:additionalauthenticationdata:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/init(payload:protectedheader:unprotectedheader:senderkey:recipientkey:cek:initializationvector:additionalauthenticationdata:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/init(protectedheader:encryptedkey:initializationvector:cipher:authenticationtag:)/index.html b/documentation/jose_swift/jwe/init(protectedheader:encryptedkey:initializationvector:cipher:authenticationtag:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/init(protectedheader:encryptedkey:initializationvector:cipher:authenticationtag:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/init(protectedheader:protectedheaderdata:cipher:unprotectedheader:unprotectedheaderdata:encryptedkey:initializationvector:authenticationtag:additionalauthenticateddata:)/index.html b/documentation/jose_swift/jwe/init(protectedheader:protectedheaderdata:cipher:unprotectedheader:unprotectedheaderdata:encryptedkey:initializationvector:authenticationtag:additionalauthenticateddata:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/init(protectedheader:protectedheaderdata:cipher:unprotectedheader:unprotectedheaderdata:encryptedkey:initializationvector:authenticationtag:additionalauthenticateddata:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/initializationvector/index.html b/documentation/jose_swift/jwe/initializationvector/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/initializationvector/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/jsonserialization(payload:encryptionalgorithm:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:)/index.html b/documentation/jose_swift/jwe/jsonserialization(payload:encryptionalgorithm:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/jsonserialization(payload:encryptionalgorithm:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/jsonserialization(payload:encryptionalgorithm:unprotectedheader:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:)/index.html b/documentation/jose_swift/jwe/jsonserialization(payload:encryptionalgorithm:unprotectedheader:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/jsonserialization(payload:encryptionalgorithm:unprotectedheader:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/jsonserialization(payload:protectedheader:unprotectedheader:senderkey:recipientkeys:cek:initializationvector:additionalauthenticationdata:)/index.html b/documentation/jose_swift/jwe/jsonserialization(payload:protectedheader:unprotectedheader:senderkey:recipientkeys:cek:initializationvector:additionalauthenticationdata:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/jsonserialization(payload:protectedheader:unprotectedheader:senderkey:recipientkeys:cek:initializationvector:additionalauthenticationdata:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/jsonserialization(payload:protectedheader:unprotectedheader:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:)/index.html b/documentation/jose_swift/jwe/jsonserialization(payload:protectedheader:unprotectedheader:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/jsonserialization(payload:protectedheader:unprotectedheader:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/protectedheader/index.html b/documentation/jose_swift/jwe/protectedheader/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/protectedheader/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/protectedheaderdata/index.html b/documentation/jose_swift/jwe/protectedheaderdata/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/protectedheaderdata/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/unprotectedheader/index.html b/documentation/jose_swift/jwe/unprotectedheader/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/unprotectedheader/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwe/unprotectedheaderdata/index.html b/documentation/jose_swift/jwe/unprotectedheaderdata/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwe/unprotectedheaderdata/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwedecryptor/decrypt(protectedheader:unprotectedheader:cipher:recipientheader:encryptedkey:initializationvector:authenticationtag:additionalauthenticationdata:senderkey:recipientkey:sharedkey:)/index.html b/documentation/jose_swift/jwedecryptor/decrypt(protectedheader:unprotectedheader:cipher:recipientheader:encryptedkey:initializationvector:authenticationtag:additionalauthenticationdata:senderkey:recipientkey:sharedkey:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwedecryptor/decrypt(protectedheader:unprotectedheader:cipher:recipientheader:encryptedkey:initializationvector:authenticationtag:additionalauthenticationdata:senderkey:recipientkey:sharedkey:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwedecryptor/index.html b/documentation/jose_swift/jwedecryptor/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwedecryptor/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwedecryptor/supportedcontentencryptionalgorithms/index.html b/documentation/jose_swift/jwedecryptor/supportedcontentencryptionalgorithms/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwedecryptor/supportedcontentencryptionalgorithms/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwedecryptor/supportedkeymanagmentalgorithms/index.html b/documentation/jose_swift/jwedecryptor/supportedkeymanagmentalgorithms/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwedecryptor/supportedkeymanagmentalgorithms/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweencryptionmodule/default/index.html b/documentation/jose_swift/jweencryptionmodule/default/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweencryptionmodule/default/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweencryptionmodule/index.html b/documentation/jose_swift/jweencryptionmodule/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweencryptionmodule/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweencryptionmodule/multidecryptor/index.html b/documentation/jose_swift/jweencryptionmodule/multidecryptor/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweencryptionmodule/multidecryptor/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweencryptionmodule/multiencryptor/index.html b/documentation/jose_swift/jweencryptionmodule/multiencryptor/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweencryptionmodule/multiencryptor/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweencryptionmodule/registeredencryptions/index.html b/documentation/jose_swift/jweencryptionmodule/registeredencryptions/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweencryptionmodule/registeredencryptions/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweencryptionprovider/!=(_:_:)/index.html b/documentation/jose_swift/jweencryptionprovider/!=(_:_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweencryptionprovider/!=(_:_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweencryptionprovider/==(_:_:)/index.html b/documentation/jose_swift/jweencryptionprovider/==(_:_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweencryptionprovider/==(_:_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweencryptionprovider/equatable-implementations/index.html b/documentation/jose_swift/jweencryptionprovider/equatable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweencryptionprovider/equatable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweencryptionprovider/family/index.html b/documentation/jose_swift/jweencryptionprovider/family/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweencryptionprovider/family/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweencryptionprovider/hash(into:)/index.html b/documentation/jose_swift/jweencryptionprovider/hash(into:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweencryptionprovider/hash(into:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweencryptionprovider/index.html b/documentation/jose_swift/jweencryptionprovider/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweencryptionprovider/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweencryptionprovider/init(family:encryptor:decryptor:)/index.html b/documentation/jose_swift/jweencryptionprovider/init(family:encryptor:decryptor:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweencryptionprovider/init(family:encryptor:decryptor:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweencryptionprovider/supportskeyalgorithm(_:)/index.html b/documentation/jose_swift/jweencryptionprovider/supportskeyalgorithm(_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweencryptionprovider/supportskeyalgorithm(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweencryptor/encrypt(payload:senderkey:recipientkey:protectedheader:unprotectedheader:recipientheader:cek:initializationvector:additionalauthenticationdata:hasmultirecipients:)/index.html b/documentation/jose_swift/jweencryptor/encrypt(payload:senderkey:recipientkey:protectedheader:unprotectedheader:recipientheader:cek:initializationvector:additionalauthenticationdata:hasmultirecipients:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweencryptor/encrypt(payload:senderkey:recipientkey:protectedheader:unprotectedheader:recipientheader:cek:initializationvector:additionalauthenticationdata:hasmultirecipients:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweencryptor/index.html b/documentation/jose_swift/jweencryptor/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweencryptor/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweencryptor/supportedcontentencryptionalgorithms/index.html b/documentation/jose_swift/jweencryptor/supportedcontentencryptionalgorithms/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweencryptor/supportedcontentencryptionalgorithms/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweencryptor/supportedkeymanagmentalgorithms/index.html b/documentation/jose_swift/jweencryptor/supportedkeymanagmentalgorithms/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweencryptor/supportedkeymanagmentalgorithms/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwejson/addtionalauthenticateddata/index.html b/documentation/jose_swift/jwejson/addtionalauthenticateddata/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwejson/addtionalauthenticateddata/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwejson/authenticationtag/index.html b/documentation/jose_swift/jwejson/authenticationtag/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwejson/authenticationtag/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwejson/ciphertext/index.html b/documentation/jose_swift/jwejson/ciphertext/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwejson/ciphertext/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwejson/decodable-implementations/index.html b/documentation/jose_swift/jwejson/decodable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwejson/decodable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwejson/encodable-implementations/index.html b/documentation/jose_swift/jwejson/encodable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwejson/encodable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwejson/encode(to:)/index.html b/documentation/jose_swift/jwejson/encode(to:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwejson/encode(to:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwejson/getkids()/index.html b/documentation/jose_swift/jwejson/getkids()/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwejson/getkids()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwejson/index.html b/documentation/jose_swift/jwejson/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwejson/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwejson/init(from:)/index.html b/documentation/jose_swift/jwejson/init(from:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwejson/init(from:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwejson/initializationvector/index.html b/documentation/jose_swift/jwejson/initializationvector/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwejson/initializationvector/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwejson/protected/index.html b/documentation/jose_swift/jwejson/protected/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwejson/protected/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwejson/protecteddata/index.html b/documentation/jose_swift/jwejson/protecteddata/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwejson/protecteddata/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwejson/recipient/decodable-implementations/index.html b/documentation/jose_swift/jwejson/recipient/decodable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwejson/recipient/decodable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwejson/recipient/encodable-implementations/index.html b/documentation/jose_swift/jwejson/recipient/encodable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwejson/recipient/encodable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwejson/recipient/encode(to:)/index.html b/documentation/jose_swift/jwejson/recipient/encode(to:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwejson/recipient/encode(to:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwejson/recipient/getkid()/index.html b/documentation/jose_swift/jwejson/recipient/getkid()/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwejson/recipient/getkid()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwejson/recipient/index.html b/documentation/jose_swift/jwejson/recipient/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwejson/recipient/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwejson/recipient/init(from:)/index.html b/documentation/jose_swift/jwejson/recipient/init(from:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwejson/recipient/init(from:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwejson/recipients/index.html b/documentation/jose_swift/jwejson/recipients/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwejson/recipients/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwejson/sharedprotected/index.html b/documentation/jose_swift/jwejson/sharedprotected/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwejson/sharedprotected/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwejson/sharedprotecteddata/index.html b/documentation/jose_swift/jwejson/sharedprotecteddata/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwejson/sharedprotecteddata/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwemultidecryptor/decrypt(protectedheader:unprotectedheader:cipher:recipients:initializationvector:authenticationtag:senderkey:recipientkey:sharedkey:additionalauthenticationdata:tryallrecipients:encryptionmodule:)/index.html b/documentation/jose_swift/jwemultidecryptor/decrypt(protectedheader:unprotectedheader:cipher:recipients:initializationvector:authenticationtag:senderkey:recipientkey:sharedkey:additionalauthenticationdata:tryallrecipients:encryptionmodule:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwemultidecryptor/decrypt(protectedheader:unprotectedheader:cipher:recipients:initializationvector:authenticationtag:senderkey:recipientkey:sharedkey:additionalauthenticationdata:tryallrecipients:encryptionmodule:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwemultidecryptor/index.html b/documentation/jose_swift/jwemultidecryptor/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwemultidecryptor/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwemultiencryptor/encrypt(payload:senderkey:recipients:protectedheader:unprotectedheader:cek:initializationvector:additionalauthenticationdata:encryptionmodule:)/index.html b/documentation/jose_swift/jwemultiencryptor/encrypt(payload:senderkey:recipients:protectedheader:unprotectedheader:cek:initializationvector:additionalauthenticationdata:encryptionmodule:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwemultiencryptor/encrypt(payload:senderkey:recipients:protectedheader:unprotectedheader:cek:initializationvector:additionalauthenticationdata:encryptionmodule:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwemultiencryptor/encrypt(payload:senderkey:recipientskeys:protectedheader:unprotectedheader:cek:initializationvector:additionalauthenticationdata:encryptionmodule:)/index.html b/documentation/jose_swift/jwemultiencryptor/encrypt(payload:senderkey:recipientskeys:protectedheader:unprotectedheader:cek:initializationvector:additionalauthenticationdata:encryptionmodule:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwemultiencryptor/encrypt(payload:senderkey:recipientskeys:protectedheader:unprotectedheader:cek:initializationvector:additionalauthenticationdata:encryptionmodule:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwemultiencryptor/index.html b/documentation/jose_swift/jwemultiencryptor/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwemultiencryptor/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweparts/index.html b/documentation/jose_swift/jweparts/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweparts/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweregisteredfieldsheader/compressionalgorithm/index.html b/documentation/jose_swift/jweregisteredfieldsheader/compressionalgorithm/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweregisteredfieldsheader/compressionalgorithm/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweregisteredfieldsheader/contenttype/index.html b/documentation/jose_swift/jweregisteredfieldsheader/contenttype/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweregisteredfieldsheader/contenttype/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweregisteredfieldsheader/critical/index.html b/documentation/jose_swift/jweregisteredfieldsheader/critical/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweregisteredfieldsheader/critical/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweregisteredfieldsheader/decodable-implementations/index.html b/documentation/jose_swift/jweregisteredfieldsheader/decodable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweregisteredfieldsheader/decodable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweregisteredfieldsheader/encodingalgorithm/index.html b/documentation/jose_swift/jweregisteredfieldsheader/encodingalgorithm/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweregisteredfieldsheader/encodingalgorithm/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweregisteredfieldsheader/index.html b/documentation/jose_swift/jweregisteredfieldsheader/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweregisteredfieldsheader/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweregisteredfieldsheader/init(from:)/index.html b/documentation/jose_swift/jweregisteredfieldsheader/init(from:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweregisteredfieldsheader/init(from:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweregisteredfieldsheader/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-1fdve/index.html b/documentation/jose_swift/jweregisteredfieldsheader/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-1fdve/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweregisteredfieldsheader/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-1fdve/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweregisteredfieldsheader/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-90jlq/index.html b/documentation/jose_swift/jweregisteredfieldsheader/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-90jlq/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweregisteredfieldsheader/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-90jlq/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweregisteredfieldsheader/jwk/index.html b/documentation/jose_swift/jweregisteredfieldsheader/jwk/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweregisteredfieldsheader/jwk/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweregisteredfieldsheader/jwkseturl/index.html b/documentation/jose_swift/jweregisteredfieldsheader/jwkseturl/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweregisteredfieldsheader/jwkseturl/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweregisteredfieldsheader/keyid/index.html b/documentation/jose_swift/jweregisteredfieldsheader/keyid/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweregisteredfieldsheader/keyid/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweregisteredfieldsheader/keymanagementalgorithm/index.html b/documentation/jose_swift/jweregisteredfieldsheader/keymanagementalgorithm/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweregisteredfieldsheader/keymanagementalgorithm/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweregisteredfieldsheader/senderkeyid/index.html b/documentation/jose_swift/jweregisteredfieldsheader/senderkeyid/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweregisteredfieldsheader/senderkeyid/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweregisteredfieldsheader/type/index.html b/documentation/jose_swift/jweregisteredfieldsheader/type/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweregisteredfieldsheader/type/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweregisteredfieldsheader/x509certificatechain/index.html b/documentation/jose_swift/jweregisteredfieldsheader/x509certificatechain/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweregisteredfieldsheader/x509certificatechain/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweregisteredfieldsheader/x509certificatesha1thumbprint/index.html b/documentation/jose_swift/jweregisteredfieldsheader/x509certificatesha1thumbprint/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweregisteredfieldsheader/x509certificatesha1thumbprint/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweregisteredfieldsheader/x509certificatesha256thumbprint/index.html b/documentation/jose_swift/jweregisteredfieldsheader/x509certificatesha256thumbprint/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweregisteredfieldsheader/x509certificatesha256thumbprint/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jweregisteredfieldsheader/x509url/index.html b/documentation/jose_swift/jweregisteredfieldsheader/x509url/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jweregisteredfieldsheader/x509url/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/!=(_:_:)/index.html b/documentation/jose_swift/jwk/!=(_:_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/!=(_:_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/algorithm/index.html b/documentation/jose_swift/jwk/algorithm/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/algorithm/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/cryptographiccurve/!=(_:_:)/index.html b/documentation/jose_swift/jwk/cryptographiccurve/!=(_:_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/cryptographiccurve/!=(_:_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/cryptographiccurve/ed25519/index.html b/documentation/jose_swift/jwk/cryptographiccurve/ed25519/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/cryptographiccurve/ed25519/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/cryptographiccurve/ed448/index.html b/documentation/jose_swift/jwk/cryptographiccurve/ed448/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/cryptographiccurve/ed448/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/cryptographiccurve/encode(to:)/index.html b/documentation/jose_swift/jwk/cryptographiccurve/encode(to:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/cryptographiccurve/encode(to:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/cryptographiccurve/equatable-implementations/index.html b/documentation/jose_swift/jwk/cryptographiccurve/equatable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/cryptographiccurve/equatable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/cryptographiccurve/hash(into:)/index.html b/documentation/jose_swift/jwk/cryptographiccurve/hash(into:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/cryptographiccurve/hash(into:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/cryptographiccurve/hashvalue/index.html b/documentation/jose_swift/jwk/cryptographiccurve/hashvalue/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/cryptographiccurve/hashvalue/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/cryptographiccurve/index.html b/documentation/jose_swift/jwk/cryptographiccurve/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/cryptographiccurve/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/cryptographiccurve/init(from:)/index.html b/documentation/jose_swift/jwk/cryptographiccurve/init(from:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/cryptographiccurve/init(from:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/cryptographiccurve/init(rawvalue:)/index.html b/documentation/jose_swift/jwk/cryptographiccurve/init(rawvalue:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/cryptographiccurve/init(rawvalue:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/cryptographiccurve/p256/index.html b/documentation/jose_swift/jwk/cryptographiccurve/p256/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/cryptographiccurve/p256/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/cryptographiccurve/p384/index.html b/documentation/jose_swift/jwk/cryptographiccurve/p384/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/cryptographiccurve/p384/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/cryptographiccurve/p521/index.html b/documentation/jose_swift/jwk/cryptographiccurve/p521/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/cryptographiccurve/p521/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/cryptographiccurve/rawrepresentable-implementations/index.html b/documentation/jose_swift/jwk/cryptographiccurve/rawrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/cryptographiccurve/rawrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/cryptographiccurve/secp256k1/index.html b/documentation/jose_swift/jwk/cryptographiccurve/secp256k1/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/cryptographiccurve/secp256k1/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/cryptographiccurve/x25519/index.html b/documentation/jose_swift/jwk/cryptographiccurve/x25519/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/cryptographiccurve/x25519/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/cryptographiccurve/x448/index.html b/documentation/jose_swift/jwk/cryptographiccurve/x448/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/cryptographiccurve/x448/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/cryptokitrepresentation(type:)/index.html b/documentation/jose_swift/jwk/cryptokitrepresentation(type:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/cryptokitrepresentation(type:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/curve/index.html b/documentation/jose_swift/jwk/curve/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/curve/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/d/index.html b/documentation/jose_swift/jwk/d/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/d/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/decodable-implementations/index.html b/documentation/jose_swift/jwk/decodable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/decodable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/dp/index.html b/documentation/jose_swift/jwk/dp/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/dp/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/dq/index.html b/documentation/jose_swift/jwk/dq/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/dq/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/e/index.html b/documentation/jose_swift/jwk/e/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/e/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/encodable-implementations/index.html b/documentation/jose_swift/jwk/encodable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/encodable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/encode(to:)/index.html b/documentation/jose_swift/jwk/encode(to:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/encode(to:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/equatable-implementations/index.html b/documentation/jose_swift/jwk/equatable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/equatable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/error/!=(_:_:)/index.html b/documentation/jose_swift/jwk/error/!=(_:_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/error/!=(_:_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/error/equatable-implementations/index.html b/documentation/jose_swift/jwk/error/equatable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/error/equatable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/error/error-implementations/index.html b/documentation/jose_swift/jwk/error/error-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/error/error-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/error/index.html b/documentation/jose_swift/jwk/error/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/error/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/error/jweincompatiblekeys/index.html b/documentation/jose_swift/jwk/error/jweincompatiblekeys/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/error/jweincompatiblekeys/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/error/keynotfound/index.html b/documentation/jose_swift/jwk/error/keynotfound/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/error/keynotfound/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/error/keywithidnotfound(_:)/index.html b/documentation/jose_swift/jwk/error/keywithidnotfound(_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/error/keywithidnotfound(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/error/localizeddescription/index.html b/documentation/jose_swift/jwk/error/localizeddescription/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/error/localizeddescription/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/error/missingdcomponent/index.html b/documentation/jose_swift/jwk/error/missingdcomponent/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/error/missingdcomponent/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/error/missingecomponent/index.html b/documentation/jose_swift/jwk/error/missingecomponent/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/error/missingecomponent/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/error/missingncomponent/index.html b/documentation/jose_swift/jwk/error/missingncomponent/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/error/missingncomponent/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/error/missingprimescomponent/index.html b/documentation/jose_swift/jwk/error/missingprimescomponent/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/error/missingprimescomponent/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/error/missingxcomponent/index.html b/documentation/jose_swift/jwk/error/missingxcomponent/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/error/missingxcomponent/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/error/missingycomponent/index.html b/documentation/jose_swift/jwk/error/missingycomponent/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/error/missingycomponent/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/error/notsupported/index.html b/documentation/jose_swift/jwk/error/notsupported/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/error/notsupported/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/index.html b/documentation/jose_swift/jwk/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/init(from:)/index.html b/documentation/jose_swift/jwk/init(from:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/init(from:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/init(keytype:publickeyuse:keyoperations:algorithm:key:keyid:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:curve:e:p:q:n:dp:dq:qi:x:y:d:)/index.html b/documentation/jose_swift/jwk/init(keytype:publickeyuse:keyoperations:algorithm:key:keyid:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:curve:e:p:q:n:dp:dq:qi:x:y:d:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/init(keytype:publickeyuse:keyoperations:algorithm:key:keyid:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:curve:e:p:q:n:dp:dq:qi:x:y:d:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/jwkrepresentable-implementations/index.html b/documentation/jose_swift/jwk/jwkrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/jwkrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/jwkrepresentation/index.html b/documentation/jose_swift/jwk/jwkrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/jwkrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/key/index.html b/documentation/jose_swift/jwk/key/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/key/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keygeneration/index.html b/documentation/jose_swift/jwk/keygeneration/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keygeneration/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keyid/index.html b/documentation/jose_swift/jwk/keyid/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keyid/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keyoperations-swift.enum/!=(_:_:)/index.html b/documentation/jose_swift/jwk/keyoperations-swift.enum/!=(_:_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keyoperations-swift.enum/!=(_:_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keyoperations-swift.enum/decrypt/index.html b/documentation/jose_swift/jwk/keyoperations-swift.enum/decrypt/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keyoperations-swift.enum/decrypt/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keyoperations-swift.enum/derivebits/index.html b/documentation/jose_swift/jwk/keyoperations-swift.enum/derivebits/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keyoperations-swift.enum/derivebits/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keyoperations-swift.enum/derivekey/index.html b/documentation/jose_swift/jwk/keyoperations-swift.enum/derivekey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keyoperations-swift.enum/derivekey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keyoperations-swift.enum/encode(to:)/index.html b/documentation/jose_swift/jwk/keyoperations-swift.enum/encode(to:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keyoperations-swift.enum/encode(to:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keyoperations-swift.enum/encrypt/index.html b/documentation/jose_swift/jwk/keyoperations-swift.enum/encrypt/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keyoperations-swift.enum/encrypt/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keyoperations-swift.enum/equatable-implementations/index.html b/documentation/jose_swift/jwk/keyoperations-swift.enum/equatable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keyoperations-swift.enum/equatable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keyoperations-swift.enum/hash(into:)/index.html b/documentation/jose_swift/jwk/keyoperations-swift.enum/hash(into:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keyoperations-swift.enum/hash(into:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keyoperations-swift.enum/hashvalue/index.html b/documentation/jose_swift/jwk/keyoperations-swift.enum/hashvalue/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keyoperations-swift.enum/hashvalue/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keyoperations-swift.enum/index.html b/documentation/jose_swift/jwk/keyoperations-swift.enum/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keyoperations-swift.enum/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keyoperations-swift.enum/init(from:)/index.html b/documentation/jose_swift/jwk/keyoperations-swift.enum/init(from:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keyoperations-swift.enum/init(from:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keyoperations-swift.enum/init(rawvalue:)/index.html b/documentation/jose_swift/jwk/keyoperations-swift.enum/init(rawvalue:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keyoperations-swift.enum/init(rawvalue:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keyoperations-swift.enum/rawrepresentable-implementations/index.html b/documentation/jose_swift/jwk/keyoperations-swift.enum/rawrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keyoperations-swift.enum/rawrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keyoperations-swift.enum/sign/index.html b/documentation/jose_swift/jwk/keyoperations-swift.enum/sign/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keyoperations-swift.enum/sign/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keyoperations-swift.enum/unwrapkey/index.html b/documentation/jose_swift/jwk/keyoperations-swift.enum/unwrapkey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keyoperations-swift.enum/unwrapkey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keyoperations-swift.enum/verify/index.html b/documentation/jose_swift/jwk/keyoperations-swift.enum/verify/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keyoperations-swift.enum/verify/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keyoperations-swift.enum/wrapkey/index.html b/documentation/jose_swift/jwk/keyoperations-swift.enum/wrapkey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keyoperations-swift.enum/wrapkey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keyoperations-swift.property/index.html b/documentation/jose_swift/jwk/keyoperations-swift.property/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keyoperations-swift.property/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keytype-swift.enum/!=(_:_:)/index.html b/documentation/jose_swift/jwk/keytype-swift.enum/!=(_:_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keytype-swift.enum/!=(_:_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keytype-swift.enum/ellipticcurve/index.html b/documentation/jose_swift/jwk/keytype-swift.enum/ellipticcurve/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keytype-swift.enum/ellipticcurve/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keytype-swift.enum/encode(to:)/index.html b/documentation/jose_swift/jwk/keytype-swift.enum/encode(to:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keytype-swift.enum/encode(to:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keytype-swift.enum/equatable-implementations/index.html b/documentation/jose_swift/jwk/keytype-swift.enum/equatable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keytype-swift.enum/equatable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keytype-swift.enum/hash(into:)/index.html b/documentation/jose_swift/jwk/keytype-swift.enum/hash(into:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keytype-swift.enum/hash(into:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keytype-swift.enum/hashvalue/index.html b/documentation/jose_swift/jwk/keytype-swift.enum/hashvalue/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keytype-swift.enum/hashvalue/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keytype-swift.enum/index.html b/documentation/jose_swift/jwk/keytype-swift.enum/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keytype-swift.enum/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keytype-swift.enum/init(from:)/index.html b/documentation/jose_swift/jwk/keytype-swift.enum/init(from:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keytype-swift.enum/init(from:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keytype-swift.enum/init(rawvalue:)/index.html b/documentation/jose_swift/jwk/keytype-swift.enum/init(rawvalue:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keytype-swift.enum/init(rawvalue:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keytype-swift.enum/octetkeypair/index.html b/documentation/jose_swift/jwk/keytype-swift.enum/octetkeypair/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keytype-swift.enum/octetkeypair/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keytype-swift.enum/octetsequence/index.html b/documentation/jose_swift/jwk/keytype-swift.enum/octetsequence/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keytype-swift.enum/octetsequence/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keytype-swift.enum/rawrepresentable-implementations/index.html b/documentation/jose_swift/jwk/keytype-swift.enum/rawrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keytype-swift.enum/rawrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keytype-swift.enum/rsa/index.html b/documentation/jose_swift/jwk/keytype-swift.enum/rsa/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keytype-swift.enum/rsa/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/keytype-swift.property/index.html b/documentation/jose_swift/jwk/keytype-swift.property/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/keytype-swift.property/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/n/index.html b/documentation/jose_swift/jwk/n/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/n/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/p/index.html b/documentation/jose_swift/jwk/p/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/p/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/publickey/index.html b/documentation/jose_swift/jwk/publickey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/publickey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/publickeyuse-swift.enum/!=(_:_:)/index.html b/documentation/jose_swift/jwk/publickeyuse-swift.enum/!=(_:_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/publickeyuse-swift.enum/!=(_:_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/publickeyuse-swift.enum/encode(to:)/index.html b/documentation/jose_swift/jwk/publickeyuse-swift.enum/encode(to:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/publickeyuse-swift.enum/encode(to:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/publickeyuse-swift.enum/encryption/index.html b/documentation/jose_swift/jwk/publickeyuse-swift.enum/encryption/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/publickeyuse-swift.enum/encryption/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/publickeyuse-swift.enum/equatable-implementations/index.html b/documentation/jose_swift/jwk/publickeyuse-swift.enum/equatable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/publickeyuse-swift.enum/equatable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/publickeyuse-swift.enum/hash(into:)/index.html b/documentation/jose_swift/jwk/publickeyuse-swift.enum/hash(into:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/publickeyuse-swift.enum/hash(into:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/publickeyuse-swift.enum/hashvalue/index.html b/documentation/jose_swift/jwk/publickeyuse-swift.enum/hashvalue/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/publickeyuse-swift.enum/hashvalue/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/publickeyuse-swift.enum/index.html b/documentation/jose_swift/jwk/publickeyuse-swift.enum/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/publickeyuse-swift.enum/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/publickeyuse-swift.enum/init(from:)/index.html b/documentation/jose_swift/jwk/publickeyuse-swift.enum/init(from:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/publickeyuse-swift.enum/init(from:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/publickeyuse-swift.enum/init(rawvalue:)/index.html b/documentation/jose_swift/jwk/publickeyuse-swift.enum/init(rawvalue:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/publickeyuse-swift.enum/init(rawvalue:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/publickeyuse-swift.enum/rawrepresentable-implementations/index.html b/documentation/jose_swift/jwk/publickeyuse-swift.enum/rawrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/publickeyuse-swift.enum/rawrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/publickeyuse-swift.enum/signature/index.html b/documentation/jose_swift/jwk/publickeyuse-swift.enum/signature/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/publickeyuse-swift.enum/signature/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/publickeyuse-swift.property/index.html b/documentation/jose_swift/jwk/publickeyuse-swift.property/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/publickeyuse-swift.property/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/q/index.html b/documentation/jose_swift/jwk/q/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/q/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/qi/index.html b/documentation/jose_swift/jwk/qi/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/qi/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/thumbprint(with:)/index.html b/documentation/jose_swift/jwk/thumbprint(with:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/thumbprint(with:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/x/index.html b/documentation/jose_swift/jwk/x/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/x/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/x509certificatechain/index.html b/documentation/jose_swift/jwk/x509certificatechain/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/x509certificatechain/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/x509certificatesha1thumbprint/index.html b/documentation/jose_swift/jwk/x509certificatesha1thumbprint/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/x509certificatesha1thumbprint/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/x509certificatesha256thumbprint/index.html b/documentation/jose_swift/jwk/x509certificatesha256thumbprint/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/x509certificatesha256thumbprint/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/x509url/index.html b/documentation/jose_swift/jwk/x509url/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/x509url/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwk/y/index.html b/documentation/jose_swift/jwk/y/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwk/y/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwkrepresentable/index.html b/documentation/jose_swift/jwkrepresentable/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwkrepresentable/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwkrepresentable/jwkrepresentation/index.html b/documentation/jose_swift/jwkrepresentable/jwkrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwkrepresentable/jwkrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwkrepresentable/publickey/index.html b/documentation/jose_swift/jwkrepresentable/publickey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwkrepresentable/publickey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwkset/index.html b/documentation/jose_swift/jwkset/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwkset/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwkset/init(from:)/index.html b/documentation/jose_swift/jwkset/init(from:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwkset/init(from:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwkset/init(keys:)/index.html b/documentation/jose_swift/jwkset/init(keys:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwkset/init(keys:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwkset/key(withid:)/index.html b/documentation/jose_swift/jwkset/key(withid:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwkset/key(withid:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwkset/key(withpublickeyuse:)/index.html b/documentation/jose_swift/jwkset/key(withpublickeyuse:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwkset/key(withpublickeyuse:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwkset/keys/index.html b/documentation/jose_swift/jwkset/keys/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwkset/keys/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwkset/keysuitableforkeyagreement(with:)/index.html b/documentation/jose_swift/jwkset/keysuitableforkeyagreement(with:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwkset/keysuitableforkeyagreement(with:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/compactserialization/index.html b/documentation/jose_swift/jws/compactserialization/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/compactserialization/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/index.html b/documentation/jose_swift/jws/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/init(jwsstring:)/index.html b/documentation/jose_swift/jws/init(jwsstring:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/init(jwsstring:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/init(jwsstring:headertype:)/index.html b/documentation/jose_swift/jws/init(jwsstring:headertype:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/init(jwsstring:headertype:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/init(payload:key:)/index.html b/documentation/jose_swift/jws/init(payload:key:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/init(payload:key:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/init(payload:protectedheader:key:)/index.html b/documentation/jose_swift/jws/init(payload:protectedheader:key:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/init(payload:protectedheader:key:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/init(payload:protectedheaderdata:key:)/index.html b/documentation/jose_swift/jws/init(payload:protectedheaderdata:key:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/init(payload:protectedheaderdata:key:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/init(protectedheader:data:signature:)/index.html b/documentation/jose_swift/jws/init(protectedheader:data:signature:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/init(protectedheader:data:signature:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/init(protectedheaderdata:data:signature:)/index.html b/documentation/jose_swift/jws/init(protectedheaderdata:data:signature:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/init(protectedheaderdata:data:signature:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/jsonserialization(payload:keys:)/index.html b/documentation/jose_swift/jws/jsonserialization(payload:keys:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/jsonserialization(payload:keys:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/jsonserialization(payload:protectedheader:unprotectedheader:keys:)/index.html b/documentation/jose_swift/jws/jsonserialization(payload:protectedheader:unprotectedheader:keys:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/jsonserialization(payload:protectedheader:unprotectedheader:keys:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/jsonserializationflattened(payload:key:)/index.html b/documentation/jose_swift/jws/jsonserializationflattened(payload:key:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/jsonserializationflattened(payload:key:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/jsonserializationflattened(payload:protectedheader:unprotectedheader:key:)-9og9d/index.html b/documentation/jose_swift/jws/jsonserializationflattened(payload:protectedheader:unprotectedheader:key:)-9og9d/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/jsonserializationflattened(payload:protectedheader:unprotectedheader:key:)-9og9d/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/jsonserializationflattened(payload:protectedheader:unprotectedheader:key:)-wuj8/index.html b/documentation/jose_swift/jws/jsonserializationflattened(payload:protectedheader:unprotectedheader:key:)-wuj8/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/jsonserializationflattened(payload:protectedheader:unprotectedheader:key:)-wuj8/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/jwserror/couldnotdecodecompletejsonorflattened/index.html b/documentation/jose_swift/jws/jwserror/couldnotdecodecompletejsonorflattened/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/jwserror/couldnotdecodecompletejsonorflattened/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/jwserror/error-implementations/index.html b/documentation/jose_swift/jws/jwserror/error-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/jwserror/error-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/jwserror/errordescription/index.html b/documentation/jose_swift/jws/jwserror/errordescription/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/jwserror/errordescription/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/jwserror/failurereason/index.html b/documentation/jose_swift/jws/jwserror/failurereason/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/jwserror/failurereason/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/jwserror/helpanchor/index.html b/documentation/jose_swift/jws/jwserror/helpanchor/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/jwserror/helpanchor/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/jwserror/index.html b/documentation/jose_swift/jws/jwserror/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/jwserror/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/jwserror/invalidstring/index.html b/documentation/jose_swift/jws/jwserror/invalidstring/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/jwserror/invalidstring/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/jwserror/keyalgorithmandheaderalgorithmarenotequal(header:key:)/index.html b/documentation/jose_swift/jws/jwserror/keyalgorithmandheaderalgorithmarenotequal(header:key:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/jwserror/keyalgorithmandheaderalgorithmarenotequal(header:key:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/jwserror/localizeddescription/index.html b/documentation/jose_swift/jws/jwserror/localizeddescription/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/jwserror/localizeddescription/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/jwserror/localizederror-implementations/index.html b/documentation/jose_swift/jws/jwserror/localizederror-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/jwserror/localizederror-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/jwserror/missingalgorithm/index.html b/documentation/jose_swift/jws/jwserror/missingalgorithm/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/jwserror/missingalgorithm/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/jwserror/missingcurve/index.html b/documentation/jose_swift/jws/jwserror/missingcurve/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/jwserror/missingcurve/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/jwserror/missingkey/index.html b/documentation/jose_swift/jws/jwserror/missingkey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/jwserror/missingkey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/jwserror/missingkid/index.html b/documentation/jose_swift/jws/jwserror/missingkid/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/jwserror/missingkid/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/jwserror/multiplesignaturescantbeflattened/index.html b/documentation/jose_swift/jws/jwserror/multiplesignaturescantbeflattened/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/jwserror/multiplesignaturescantbeflattened/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/jwserror/nosignatureforjwk(jwkalg:jwkkid:)/index.html b/documentation/jose_swift/jws/jwserror/nosignatureforjwk(jwkalg:jwkkid:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/jwserror/nosignatureforjwk(jwkalg:jwkkid:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/jwserror/protectedheaderalgorithmandheaderalgorithmarenotequal(header:protectedheader:)/index.html b/documentation/jose_swift/jws/jwserror/protectedheaderalgorithmandheaderalgorithmarenotequal(header:protectedheader:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/jwserror/protectedheaderalgorithmandheaderalgorithmarenotequal(header:protectedheader:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/jwserror/recoverysuggestion/index.html b/documentation/jose_swift/jws/jwserror/recoverysuggestion/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/jwserror/recoverysuggestion/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/jwserror/somethingwentwrong/index.html b/documentation/jose_swift/jws/jwserror/somethingwentwrong/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/jwserror/somethingwentwrong/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/jwserror/unsupportedalgorithm(keytype:algorithm:curve:)/index.html b/documentation/jose_swift/jws/jwserror/unsupportedalgorithm(keytype:algorithm:curve:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/jwserror/unsupportedalgorithm(keytype:algorithm:curve:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/payload/index.html b/documentation/jose_swift/jws/payload/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/payload/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/protectedheader/index.html b/documentation/jose_swift/jws/protectedheader/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/protectedheader/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/protectedheaderdata/index.html b/documentation/jose_swift/jws/protectedheaderdata/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/protectedheaderdata/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/signature/index.html b/documentation/jose_swift/jws/signature/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/signature/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/verify(jwsjson:jwk:validateall:)/index.html b/documentation/jose_swift/jws/verify(jwsjson:jwk:validateall:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/verify(jwsjson:jwk:validateall:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/verify(jwsjson:jwks:allneedtoverify:)/index.html b/documentation/jose_swift/jws/verify(jwsjson:jwks:allneedtoverify:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/verify(jwsjson:jwks:allneedtoverify:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jws/verify(key:)/index.html b/documentation/jose_swift/jws/verify(key:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jws/verify(key:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjson/flattened()/index.html b/documentation/jose_swift/jwsjson/flattened()/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjson/flattened()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjson/getkids()/index.html b/documentation/jose_swift/jwsjson/getkids()/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjson/getkids()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjson/index.html b/documentation/jose_swift/jwsjson/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjson/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjson/init(from:)/index.html b/documentation/jose_swift/jwsjson/init(from:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjson/init(from:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjson/payload/index.html b/documentation/jose_swift/jwsjson/payload/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjson/payload/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjson/signature/decodable-implementations/index.html b/documentation/jose_swift/jwsjson/signature/decodable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjson/signature/decodable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjson/signature/encodable-implementations/index.html b/documentation/jose_swift/jwsjson/signature/encodable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjson/signature/encodable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjson/signature/encode(to:)/index.html b/documentation/jose_swift/jwsjson/signature/encode(to:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjson/signature/encode(to:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjson/signature/getkid()/index.html b/documentation/jose_swift/jwsjson/signature/getkid()/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjson/signature/getkid()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjson/signature/index.html b/documentation/jose_swift/jwsjson/signature/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjson/signature/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjson/signature/init(from:)/index.html b/documentation/jose_swift/jwsjson/signature/init(from:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjson/signature/init(from:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjson/signature/init(protecteddata:protected:headerdata:header:signature:)/index.html b/documentation/jose_swift/jwsjson/signature/init(protecteddata:protected:headerdata:header:signature:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjson/signature/init(protecteddata:protected:headerdata:header:signature:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjson/signature/jws(payload:)/index.html b/documentation/jose_swift/jwsjson/signature/jws(payload:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjson/signature/jws(payload:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjson/signature/protectedheader/index.html b/documentation/jose_swift/jwsjson/signature/protectedheader/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjson/signature/protectedheader/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjson/signature/protectedheaderdata/index.html b/documentation/jose_swift/jwsjson/signature/protectedheaderdata/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjson/signature/protectedheaderdata/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjson/signature/signature/index.html b/documentation/jose_swift/jwsjson/signature/signature/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjson/signature/signature/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjson/signature/unprotectedheader/index.html b/documentation/jose_swift/jwsjson/signature/unprotectedheader/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjson/signature/unprotectedheader/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjson/signature/unprotectedheaderdata/index.html b/documentation/jose_swift/jwsjson/signature/unprotectedheaderdata/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjson/signature/unprotectedheaderdata/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjson/signatures/index.html b/documentation/jose_swift/jwsjson/signatures/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjson/signatures/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjsonflattened/decodable-implementations/index.html b/documentation/jose_swift/jwsjsonflattened/decodable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjsonflattened/decodable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjsonflattened/encodable-implementations/index.html b/documentation/jose_swift/jwsjsonflattened/encodable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjsonflattened/encodable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjsonflattened/encode(to:)/index.html b/documentation/jose_swift/jwsjsonflattened/encode(to:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjsonflattened/encode(to:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjsonflattened/encodedheader/index.html b/documentation/jose_swift/jwsjsonflattened/encodedheader/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjsonflattened/encodedheader/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjsonflattened/encodedpayload/index.html b/documentation/jose_swift/jwsjsonflattened/encodedpayload/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjsonflattened/encodedpayload/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjsonflattened/encodedprotectedheader/index.html b/documentation/jose_swift/jwsjsonflattened/encodedprotectedheader/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjsonflattened/encodedprotectedheader/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjsonflattened/encodedsignature/index.html b/documentation/jose_swift/jwsjsonflattened/encodedsignature/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjsonflattened/encodedsignature/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjsonflattened/fulljson()/index.html b/documentation/jose_swift/jwsjsonflattened/fulljson()/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjsonflattened/fulljson()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjsonflattened/getkid()/index.html b/documentation/jose_swift/jwsjsonflattened/getkid()/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjsonflattened/getkid()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjsonflattened/index.html b/documentation/jose_swift/jwsjsonflattened/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjsonflattened/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjsonflattened/init(from:)/index.html b/documentation/jose_swift/jwsjsonflattened/init(from:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjsonflattened/init(from:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjsonflattened/init(fulljson:)/index.html b/documentation/jose_swift/jwsjsonflattened/init(fulljson:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjsonflattened/init(fulljson:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjsonflattened/init(payload:protecteddata:protected:headerdata:header:signature:)/index.html b/documentation/jose_swift/jwsjsonflattened/init(payload:protecteddata:protected:headerdata:header:signature:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjsonflattened/init(payload:protecteddata:protected:headerdata:header:signature:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjsonflattened/jws()/index.html b/documentation/jose_swift/jwsjsonflattened/jws()/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjsonflattened/jws()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjsonflattened/payload/index.html b/documentation/jose_swift/jwsjsonflattened/payload/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjsonflattened/payload/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjsonflattened/protectedheader/index.html b/documentation/jose_swift/jwsjsonflattened/protectedheader/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjsonflattened/protectedheader/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjsonflattened/protectedheaderdata/index.html b/documentation/jose_swift/jwsjsonflattened/protectedheaderdata/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjsonflattened/protectedheaderdata/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjsonflattened/signature/index.html b/documentation/jose_swift/jwsjsonflattened/signature/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjsonflattened/signature/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjsonflattened/unprotectedheader/index.html b/documentation/jose_swift/jwsjsonflattened/unprotectedheader/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjsonflattened/unprotectedheader/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsjsonflattened/unprotectedheaderdata/index.html b/documentation/jose_swift/jwsjsonflattened/unprotectedheaderdata/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsjsonflattened/unprotectedheaderdata/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsregisteredfieldsheader/algorithm/index.html b/documentation/jose_swift/jwsregisteredfieldsheader/algorithm/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsregisteredfieldsheader/algorithm/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsregisteredfieldsheader/contenttype/index.html b/documentation/jose_swift/jwsregisteredfieldsheader/contenttype/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsregisteredfieldsheader/contenttype/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsregisteredfieldsheader/critical/index.html b/documentation/jose_swift/jwsregisteredfieldsheader/critical/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsregisteredfieldsheader/critical/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsregisteredfieldsheader/index.html b/documentation/jose_swift/jwsregisteredfieldsheader/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsregisteredfieldsheader/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsregisteredfieldsheader/jwk/index.html b/documentation/jose_swift/jwsregisteredfieldsheader/jwk/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsregisteredfieldsheader/jwk/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsregisteredfieldsheader/jwkseturl/index.html b/documentation/jose_swift/jwsregisteredfieldsheader/jwkseturl/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsregisteredfieldsheader/jwkseturl/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsregisteredfieldsheader/keyid/index.html b/documentation/jose_swift/jwsregisteredfieldsheader/keyid/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsregisteredfieldsheader/keyid/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsregisteredfieldsheader/type/index.html b/documentation/jose_swift/jwsregisteredfieldsheader/type/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsregisteredfieldsheader/type/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsregisteredfieldsheader/x509certificatechain/index.html b/documentation/jose_swift/jwsregisteredfieldsheader/x509certificatechain/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsregisteredfieldsheader/x509certificatechain/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsregisteredfieldsheader/x509certificatesha1thumbprint/index.html b/documentation/jose_swift/jwsregisteredfieldsheader/x509certificatesha1thumbprint/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsregisteredfieldsheader/x509certificatesha1thumbprint/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsregisteredfieldsheader/x509certificatesha256thumbprint/index.html b/documentation/jose_swift/jwsregisteredfieldsheader/x509certificatesha256thumbprint/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsregisteredfieldsheader/x509certificatesha256thumbprint/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwsregisteredfieldsheader/x509url/index.html b/documentation/jose_swift/jwsregisteredfieldsheader/x509url/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwsregisteredfieldsheader/x509url/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwt/encrypt(payload:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:)/index.html b/documentation/jose_swift/jwt/encrypt(payload:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwt/encrypt(payload:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwt/encryptasnested(jwt:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:)/index.html b/documentation/jose_swift/jwt/encryptasnested(jwt:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwt/encryptasnested(jwt:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwt/encryptasnested(payload:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:nestedprotectedheader:nestedunprotectedheader:nestedsenderkey:nestedrecipientkey:nestedsharedke-6vzse/index.html b/documentation/jose_swift/jwt/encryptasnested(payload:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:nestedprotectedheader:nestedunprotectedheader:nestedsenderkey:nestedrecipientkey:nestedsharedke-6vzse/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwt/encryptasnested(payload:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:nestedprotectedheader:nestedunprotectedheader:nestedsenderkey:nestedrecipientkey:nestedsharedke-6vzse/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwt/format-swift.enum/index.html b/documentation/jose_swift/jwt/format-swift.enum/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwt/format-swift.enum/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwt/format-swift.enum/jwe(_:)/index.html b/documentation/jose_swift/jwt/format-swift.enum/jwe(_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwt/format-swift.enum/jwe(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwt/format-swift.enum/jws(_:)/index.html b/documentation/jose_swift/jwt/format-swift.enum/jws(_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwt/format-swift.enum/jws(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwt/format-swift.property/index.html b/documentation/jose_swift/jwt/format-swift.property/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwt/format-swift.property/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwt/index.html b/documentation/jose_swift/jwt/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwt/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwt/jwtstring/index.html b/documentation/jose_swift/jwt/jwtstring/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwt/jwtstring/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwt/payload/index.html b/documentation/jose_swift/jwt/payload/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwt/payload/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwt/signed(payload:protectedheader:key:)/index.html b/documentation/jose_swift/jwt/signed(payload:protectedheader:key:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwt/signed(payload:protectedheader:key:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwt/signedasnested(jwtstring:protectedheader:key:)/index.html b/documentation/jose_swift/jwt/signedasnested(jwtstring:protectedheader:key:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwt/signedasnested(jwtstring:protectedheader:key:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwt/signedasnested(payload:protectedheader:key:nestedprotectedheader:nestedkey:)/index.html b/documentation/jose_swift/jwt/signedasnested(payload:protectedheader:key:nestedprotectedheader:nestedkey:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwt/signedasnested(payload:protectedheader:key:nestedprotectedheader:nestedkey:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwt/verify(jwtstring:senderkey:recipientkey:nestedkeys:expectedissuer:expectedaudience:)/index.html b/documentation/jose_swift/jwt/verify(jwtstring:senderkey:recipientkey:nestedkeys:expectedissuer:expectedaudience:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwt/verify(jwtstring:senderkey:recipientkey:nestedkeys:expectedissuer:expectedaudience:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwtregisteredfieldsclaims/audience/index.html b/documentation/jose_swift/jwtregisteredfieldsclaims/audience/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwtregisteredfieldsclaims/audience/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwtregisteredfieldsclaims/expirationtime/index.html b/documentation/jose_swift/jwtregisteredfieldsclaims/expirationtime/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwtregisteredfieldsclaims/expirationtime/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwtregisteredfieldsclaims/index.html b/documentation/jose_swift/jwtregisteredfieldsclaims/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwtregisteredfieldsclaims/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwtregisteredfieldsclaims/issuedat/index.html b/documentation/jose_swift/jwtregisteredfieldsclaims/issuedat/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwtregisteredfieldsclaims/issuedat/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwtregisteredfieldsclaims/issuer/index.html b/documentation/jose_swift/jwtregisteredfieldsclaims/issuer/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwtregisteredfieldsclaims/issuer/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwtregisteredfieldsclaims/jwtid/index.html b/documentation/jose_swift/jwtregisteredfieldsclaims/jwtid/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwtregisteredfieldsclaims/jwtid/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwtregisteredfieldsclaims/notbeforetime/index.html b/documentation/jose_swift/jwtregisteredfieldsclaims/notbeforetime/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwtregisteredfieldsclaims/notbeforetime/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwtregisteredfieldsclaims/subject/index.html b/documentation/jose_swift/jwtregisteredfieldsclaims/subject/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwtregisteredfieldsclaims/subject/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/jwtregisteredfieldsclaims/validateextraclaims()/index.html b/documentation/jose_swift/jwtregisteredfieldsclaims/validateextraclaims()/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/jwtregisteredfieldsclaims/validateextraclaims()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keyagreementz/agreeuponz(privatekey:publickey:ephemeralkey:sender:)/index.html b/documentation/jose_swift/keyagreementz/agreeuponz(privatekey:publickey:ephemeralkey:sender:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keyagreementz/agreeuponz(privatekey:publickey:ephemeralkey:sender:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keyagreementz/index.html b/documentation/jose_swift/keyagreementz/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keyagreementz/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keyderivation/derivekey(key:keylengthinbits:algorithmid:partyuinfo:partyvinfo:tag:other:)-7fctc/index.html b/documentation/jose_swift/keyderivation/derivekey(key:keylengthinbits:algorithmid:partyuinfo:partyvinfo:tag:other:)-7fctc/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keyderivation/derivekey(key:keylengthinbits:algorithmid:partyuinfo:partyvinfo:tag:other:)-7fctc/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keyderivation/derivekey(key:keylengthinbits:algorithmid:partyuinfo:partyvinfo:tag:other:)-7tuyr/index.html b/documentation/jose_swift/keyderivation/derivekey(key:keylengthinbits:algorithmid:partyuinfo:partyvinfo:tag:other:)-7tuyr/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keyderivation/derivekey(key:keylengthinbits:algorithmid:partyuinfo:partyvinfo:tag:other:)-7tuyr/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keyderivation/index.html b/documentation/jose_swift/keyderivation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keyderivation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keyencriptionresultmetadata/authenticationtag/index.html b/documentation/jose_swift/keyencriptionresultmetadata/authenticationtag/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keyencriptionresultmetadata/authenticationtag/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keyencriptionresultmetadata/encryptedkey/index.html b/documentation/jose_swift/keyencriptionresultmetadata/encryptedkey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keyencriptionresultmetadata/encryptedkey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keyencriptionresultmetadata/index.html b/documentation/jose_swift/keyencriptionresultmetadata/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keyencriptionresultmetadata/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keyencriptionresultmetadata/init(encryptedkey:initializationvector:authenticationtag:pbs2saltinput:pbs2saltcount:othermetadata:)/index.html b/documentation/jose_swift/keyencriptionresultmetadata/init(encryptedkey:initializationvector:authenticationtag:pbs2saltinput:pbs2saltcount:othermetadata:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keyencriptionresultmetadata/init(encryptedkey:initializationvector:authenticationtag:pbs2saltinput:pbs2saltcount:othermetadata:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keyencriptionresultmetadata/initializationvector/index.html b/documentation/jose_swift/keyencriptionresultmetadata/initializationvector/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keyencriptionresultmetadata/initializationvector/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keyencriptionresultmetadata/othermetadata/index.html b/documentation/jose_swift/keyencriptionresultmetadata/othermetadata/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keyencriptionresultmetadata/othermetadata/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keyencriptionresultmetadata/pbs2saltcount/index.html b/documentation/jose_swift/keyencriptionresultmetadata/pbs2saltcount/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keyencriptionresultmetadata/pbs2saltcount/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keyencriptionresultmetadata/pbs2saltinput/index.html b/documentation/jose_swift/keyencriptionresultmetadata/pbs2saltinput/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keyencriptionresultmetadata/pbs2saltinput/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keyencryptionarguments/agreementpartyuinfo(_:)/index.html b/documentation/jose_swift/keyencryptionarguments/agreementpartyuinfo(_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keyencryptionarguments/agreementpartyuinfo(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keyencryptionarguments/agreementpartyvinfo(_:)/index.html b/documentation/jose_swift/keyencryptionarguments/agreementpartyvinfo(_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keyencryptionarguments/agreementpartyvinfo(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keyencryptionarguments/authenticationtag(_:)/index.html b/documentation/jose_swift/keyencryptionarguments/authenticationtag(_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keyencryptionarguments/authenticationtag(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keyencryptionarguments/customdata(key:value:)/index.html b/documentation/jose_swift/keyencryptionarguments/customdata(key:value:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keyencryptionarguments/customdata(key:value:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keyencryptionarguments/customjwk(key:value:)/index.html b/documentation/jose_swift/keyencryptionarguments/customjwk(key:value:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keyencryptionarguments/customjwk(key:value:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keyencryptionarguments/index.html b/documentation/jose_swift/keyencryptionarguments/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keyencryptionarguments/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keyencryptionarguments/initializationvector(_:)/index.html b/documentation/jose_swift/keyencryptionarguments/initializationvector(_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keyencryptionarguments/initializationvector(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keyencryptionarguments/pbs2saltcount(_:)/index.html b/documentation/jose_swift/keyencryptionarguments/pbs2saltcount(_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keyencryptionarguments/pbs2saltcount(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keyencryptionarguments/pbs2saltinput(_:)/index.html b/documentation/jose_swift/keyencryptionarguments/pbs2saltinput(_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keyencryptionarguments/pbs2saltinput(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keygeneration/generatekeypairjwk(purpose:)/index.html b/documentation/jose_swift/keygeneration/generatekeypairjwk(purpose:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keygeneration/generatekeypairjwk(purpose:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keygeneration/generateprivatekey(purpose:)/index.html b/documentation/jose_swift/keygeneration/generateprivatekey(purpose:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keygeneration/generateprivatekey(purpose:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keygeneration/generaterandomkey()/index.html b/documentation/jose_swift/keygeneration/generaterandomkey()/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keygeneration/generaterandomkey()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keygeneration/index.html b/documentation/jose_swift/keygeneration/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keygeneration/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keygenerationpurpose/!=(_:_:)/index.html b/documentation/jose_swift/keygenerationpurpose/!=(_:_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keygenerationpurpose/!=(_:_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keygenerationpurpose/equatable-implementations/index.html b/documentation/jose_swift/keygenerationpurpose/equatable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keygenerationpurpose/equatable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keygenerationpurpose/index.html b/documentation/jose_swift/keygenerationpurpose/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keygenerationpurpose/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keygenerationpurpose/keyagreement/index.html b/documentation/jose_swift/keygenerationpurpose/keyagreement/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keygenerationpurpose/keyagreement/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keygenerationpurpose/signing/index.html b/documentation/jose_swift/keygenerationpurpose/signing/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keygenerationpurpose/signing/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/!=(_:_:)/index.html b/documentation/jose_swift/keymanagementalgorithm/!=(_:_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/!=(_:_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/a128gcmkw/index.html b/documentation/jose_swift/keymanagementalgorithm/a128gcmkw/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/a128gcmkw/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/a128kw/index.html b/documentation/jose_swift/keymanagementalgorithm/a128kw/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/a128kw/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/a192gcmkw/index.html b/documentation/jose_swift/keymanagementalgorithm/a192gcmkw/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/a192gcmkw/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/a192kw/index.html b/documentation/jose_swift/keymanagementalgorithm/a192kw/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/a192kw/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/a256gcmkw/index.html b/documentation/jose_swift/keymanagementalgorithm/a256gcmkw/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/a256gcmkw/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/a256kw/index.html b/documentation/jose_swift/keymanagementalgorithm/a256kw/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/a256kw/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/agreement/index.html b/documentation/jose_swift/keymanagementalgorithm/agreement/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/agreement/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/derivation/index.html b/documentation/jose_swift/keymanagementalgorithm/derivation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/derivation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/direct/index.html b/documentation/jose_swift/keymanagementalgorithm/direct/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/direct/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/ecdh1pu/index.html b/documentation/jose_swift/keymanagementalgorithm/ecdh1pu/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/ecdh1pu/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/ecdh1pua128kw/index.html b/documentation/jose_swift/keymanagementalgorithm/ecdh1pua128kw/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/ecdh1pua128kw/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/ecdh1pua192kw/index.html b/documentation/jose_swift/keymanagementalgorithm/ecdh1pua192kw/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/ecdh1pua192kw/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/ecdh1pua256kw/index.html b/documentation/jose_swift/keymanagementalgorithm/ecdh1pua256kw/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/ecdh1pua256kw/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/ecdhes/index.html b/documentation/jose_swift/keymanagementalgorithm/ecdhes/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/ecdhes/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/ecdhesa128kw/index.html b/documentation/jose_swift/keymanagementalgorithm/ecdhesa128kw/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/ecdhesa128kw/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/ecdhesa192kw/index.html b/documentation/jose_swift/keymanagementalgorithm/ecdhesa192kw/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/ecdhesa192kw/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/ecdhesa256kw/index.html b/documentation/jose_swift/keymanagementalgorithm/ecdhesa256kw/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/ecdhesa256kw/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/encode(to:)/index.html b/documentation/jose_swift/keymanagementalgorithm/encode(to:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/encode(to:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/equatable-implementations/index.html b/documentation/jose_swift/keymanagementalgorithm/equatable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/equatable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/!=(_:_:)/index.html b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/!=(_:_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/!=(_:_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/aes/index.html b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/aes/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/aes/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/direct/index.html b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/direct/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/direct/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/ecdh1pu/index.html b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/ecdh1pu/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/ecdh1pu/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/ecdhes/index.html b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/ecdhes/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/ecdhes/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/equatable-implementations/index.html b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/equatable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/equatable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/hash(into:)/index.html b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/hash(into:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/hash(into:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/hashvalue/index.html b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/hashvalue/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/hashvalue/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/index.html b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/init(rawvalue:)/index.html b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/init(rawvalue:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/init(rawvalue:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/pbes2/index.html b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/pbes2/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/pbes2/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/rawrepresentable-implementations/index.html b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/rawrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/rawrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/rsa/index.html b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/rsa/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/family-swift.enum/rsa/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/family-swift.property/index.html b/documentation/jose_swift/keymanagementalgorithm/family-swift.property/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/family-swift.property/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/hash(into:)/index.html b/documentation/jose_swift/keymanagementalgorithm/hash(into:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/hash(into:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/hashvalue/index.html b/documentation/jose_swift/keymanagementalgorithm/hashvalue/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/hashvalue/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/index.html b/documentation/jose_swift/keymanagementalgorithm/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/init(from:)/index.html b/documentation/jose_swift/keymanagementalgorithm/init(from:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/init(from:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/init(rawvalue:)/index.html b/documentation/jose_swift/keymanagementalgorithm/init(rawvalue:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/init(rawvalue:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/pbes2hs256a128kw/index.html b/documentation/jose_swift/keymanagementalgorithm/pbes2hs256a128kw/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/pbes2hs256a128kw/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/pbes2hs384a192kw/index.html b/documentation/jose_swift/keymanagementalgorithm/pbes2hs384a192kw/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/pbes2hs384a192kw/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/pbes2hs512a256kw/index.html b/documentation/jose_swift/keymanagementalgorithm/pbes2hs512a256kw/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/pbes2hs512a256kw/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/rawrepresentable-implementations/index.html b/documentation/jose_swift/keymanagementalgorithm/rawrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/rawrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/rsa1_5/index.html b/documentation/jose_swift/keymanagementalgorithm/rsa1_5/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/rsa1_5/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/rsaoaep/index.html b/documentation/jose_swift/keymanagementalgorithm/rsaoaep/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/rsaoaep/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/rsaoaep256/index.html b/documentation/jose_swift/keymanagementalgorithm/rsaoaep256/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/rsaoaep256/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/unwrapper/index.html b/documentation/jose_swift/keymanagementalgorithm/unwrapper/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/unwrapper/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keymanagementalgorithm/wrapper/index.html b/documentation/jose_swift/keymanagementalgorithm/wrapper/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keymanagementalgorithm/wrapper/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keyunwrapping/contentkeydecrypt(encryptedkey:using:arguments:)/index.html b/documentation/jose_swift/keyunwrapping/contentkeydecrypt(encryptedkey:using:arguments:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keyunwrapping/contentkeydecrypt(encryptedkey:using:arguments:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keyunwrapping/index.html b/documentation/jose_swift/keyunwrapping/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keyunwrapping/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keywrapping/contentkeyencrypt(cek:using:arguments:)/index.html b/documentation/jose_swift/keywrapping/contentkeyencrypt(cek:using:arguments:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keywrapping/contentkeyencrypt(cek:using:arguments:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/keywrapping/index.html b/documentation/jose_swift/keywrapping/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/keywrapping/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/secp256k1/index.html b/documentation/jose_swift/secp256k1/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/secp256k1/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/secp256k1/secp256k1/index.html b/documentation/jose_swift/secp256k1/secp256k1/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/secp256k1/secp256k1/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/secp256k1/secp256k1/keyagreement/index.html b/documentation/jose_swift/secp256k1/secp256k1/keyagreement/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/secp256k1/secp256k1/keyagreement/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/index.html b/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/jwkrepresentable-implementations/index.html b/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/jwkrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/jwkrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/jwkrepresentation/index.html b/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/jwkrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/jwkrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/sharedkeyagreement-implementations/index.html b/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/sharedkeyagreement-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/sharedkeyagreement-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:)/index.html b/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/secp256k1/secp256k1/keyagreement/privatekey/sharedsecretfromkeyagreement(publickeyshare:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/secp256k1/secp256k1/keyagreement/publickey/index.html b/documentation/jose_swift/secp256k1/secp256k1/keyagreement/publickey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/secp256k1/secp256k1/keyagreement/publickey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/secp256k1/secp256k1/keyagreement/publickey/jwkrepresentable-implementations/index.html b/documentation/jose_swift/secp256k1/secp256k1/keyagreement/publickey/jwkrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/secp256k1/secp256k1/keyagreement/publickey/jwkrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/secp256k1/secp256k1/keyagreement/publickey/jwkrepresentation/index.html b/documentation/jose_swift/secp256k1/secp256k1/keyagreement/publickey/jwkrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/secp256k1/secp256k1/keyagreement/publickey/jwkrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/secp256k1/secp256k1/signing/index.html b/documentation/jose_swift/secp256k1/secp256k1/signing/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/secp256k1/secp256k1/signing/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/secp256k1/secp256k1/signing/privatekey/index.html b/documentation/jose_swift/secp256k1/secp256k1/signing/privatekey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/secp256k1/secp256k1/signing/privatekey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/secp256k1/secp256k1/signing/privatekey/jwkrepresentable-implementations/index.html b/documentation/jose_swift/secp256k1/secp256k1/signing/privatekey/jwkrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/secp256k1/secp256k1/signing/privatekey/jwkrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/secp256k1/secp256k1/signing/privatekey/jwkrepresentation/index.html b/documentation/jose_swift/secp256k1/secp256k1/signing/privatekey/jwkrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/secp256k1/secp256k1/signing/privatekey/jwkrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/secp256k1/secp256k1/signing/publickey/index.html b/documentation/jose_swift/secp256k1/secp256k1/signing/publickey/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/secp256k1/secp256k1/signing/publickey/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/secp256k1/secp256k1/signing/publickey/jwkrepresentable-implementations/index.html b/documentation/jose_swift/secp256k1/secp256k1/signing/publickey/jwkrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/secp256k1/secp256k1/signing/publickey/jwkrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/secp256k1/secp256k1/signing/publickey/jwkrepresentation/index.html b/documentation/jose_swift/secp256k1/secp256k1/signing/publickey/jwkrepresentation/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/secp256k1/secp256k1/signing/publickey/jwkrepresentation/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signer/algorithm/index.html b/documentation/jose_swift/signer/algorithm/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signer/algorithm/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signer/index.html b/documentation/jose_swift/signer/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signer/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signer/sign(data:key:)/index.html b/documentation/jose_swift/signer/sign(data:key:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signer/sign(data:key:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/!=(_:_:)/index.html b/documentation/jose_swift/signingalgorithm/!=(_:_:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/!=(_:_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/cryptosigner/index.html b/documentation/jose_swift/signingalgorithm/cryptosigner/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/cryptosigner/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/cryptoverifier/index.html b/documentation/jose_swift/signingalgorithm/cryptoverifier/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/cryptoverifier/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/eddsa/index.html b/documentation/jose_swift/signingalgorithm/eddsa/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/eddsa/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/encode(to:)/index.html b/documentation/jose_swift/signingalgorithm/encode(to:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/encode(to:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/equatable-implementations/index.html b/documentation/jose_swift/signingalgorithm/equatable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/equatable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/es256/index.html b/documentation/jose_swift/signingalgorithm/es256/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/es256/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/es256k/index.html b/documentation/jose_swift/signingalgorithm/es256k/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/es256k/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/es384/index.html b/documentation/jose_swift/signingalgorithm/es384/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/es384/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/es512/index.html b/documentation/jose_swift/signingalgorithm/es512/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/es512/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/hash(into:)/index.html b/documentation/jose_swift/signingalgorithm/hash(into:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/hash(into:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/hashvalue/index.html b/documentation/jose_swift/signingalgorithm/hashvalue/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/hashvalue/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/hs256/index.html b/documentation/jose_swift/signingalgorithm/hs256/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/hs256/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/hs384/index.html b/documentation/jose_swift/signingalgorithm/hs384/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/hs384/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/hs512/index.html b/documentation/jose_swift/signingalgorithm/hs512/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/hs512/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/index.html b/documentation/jose_swift/signingalgorithm/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/init(from:)/index.html b/documentation/jose_swift/signingalgorithm/init(from:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/init(from:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/init(rawvalue:)/index.html b/documentation/jose_swift/signingalgorithm/init(rawvalue:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/init(rawvalue:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/invalid/index.html b/documentation/jose_swift/signingalgorithm/invalid/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/invalid/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/none/index.html b/documentation/jose_swift/signingalgorithm/none/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/none/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/ps256/index.html b/documentation/jose_swift/signingalgorithm/ps256/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/ps256/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/ps384/index.html b/documentation/jose_swift/signingalgorithm/ps384/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/ps384/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/ps512/index.html b/documentation/jose_swift/signingalgorithm/ps512/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/ps512/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/rawrepresentable-implementations/index.html b/documentation/jose_swift/signingalgorithm/rawrepresentable-implementations/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/rawrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/rs256/index.html b/documentation/jose_swift/signingalgorithm/rs256/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/rs256/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/rs384/index.html b/documentation/jose_swift/signingalgorithm/rs384/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/rs384/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/signingalgorithm/rs512/index.html b/documentation/jose_swift/signingalgorithm/rs512/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/signingalgorithm/rs512/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/validateclaims(claims:expectedissuer:expectedaudience:)/index.html b/documentation/jose_swift/validateclaims(claims:expectedissuer:expectedaudience:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/validateclaims(claims:expectedissuer:expectedaudience:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/verifier/algorithm/index.html b/documentation/jose_swift/verifier/algorithm/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/verifier/algorithm/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/verifier/index.html b/documentation/jose_swift/verifier/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/verifier/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/documentation/jose_swift/verifier/verify(data:signature:key:)/index.html b/documentation/jose_swift/verifier/verify(data:signature:key:)/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/documentation/jose_swift/verifier/verify(data:signature:key:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..5231da6 Binary files /dev/null and b/favicon.ico differ diff --git a/favicon.svg b/favicon.svg new file mode 100644 index 0000000..c54c53f --- /dev/null +++ b/favicon.svg @@ -0,0 +1,11 @@ + + + \ No newline at end of file diff --git a/img/added-icon.d6f7e47d.svg b/img/added-icon.d6f7e47d.svg new file mode 100644 index 0000000..6bb6d89 --- /dev/null +++ b/img/added-icon.d6f7e47d.svg @@ -0,0 +1,11 @@ + + + \ No newline at end of file diff --git a/img/deprecated-icon.015b4f17.svg b/img/deprecated-icon.015b4f17.svg new file mode 100644 index 0000000..a0f8008 --- /dev/null +++ b/img/deprecated-icon.015b4f17.svg @@ -0,0 +1,11 @@ + + + \ No newline at end of file diff --git a/img/modified-icon.f496e73d.svg b/img/modified-icon.f496e73d.svg new file mode 100644 index 0000000..3e0bd6f --- /dev/null +++ b/img/modified-icon.f496e73d.svg @@ -0,0 +1,11 @@ + + + \ No newline at end of file diff --git a/img/no-image@2x.df2a0a50.png b/img/no-image@2x.df2a0a50.png new file mode 100644 index 0000000..041394e Binary files /dev/null and b/img/no-image@2x.df2a0a50.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..004830e --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/index/availability.index b/index/availability.index new file mode 100644 index 0000000..0fbed1b Binary files /dev/null and b/index/availability.index differ diff --git a/index/data.mdb b/index/data.mdb new file mode 100755 index 0000000..cb7d60f Binary files /dev/null and b/index/data.mdb differ diff --git a/index/index.json b/index/index.json new file mode 100644 index 0000000..1f851a0 --- /dev/null +++ b/index/index.json @@ -0,0 +1 @@ +{"interfaceLanguages":{"swift":[{"children":[{"title":"Protocols","type":"groupMarker"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/contentcompressor\/compress(input:)","title":"func compress(input: Data) throws -> Data","type":"method"}],"path":"\/documentation\/jose_swift\/contentcompressor","title":"ContentCompressor","type":"protocol"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/contentdecompressor\/decompress(input:)","title":"func decompress(input: Data) throws -> Data","type":"method"}],"path":"\/documentation\/jose_swift\/contentdecompressor","title":"ContentDecompressor","type":"protocol"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/contentdecryptor\/decrypt(cipher:using:arguments:)","title":"func decrypt(cipher: Data, using: Data, arguments: [ContentEncryptionArguments]) throws -> Data","type":"method"}],"path":"\/documentation\/jose_swift\/contentdecryptor","title":"ContentDecryptor","type":"protocol"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/contentencryptor\/encrypt(payload:using:arguments:)","title":"func encrypt(payload: Data, using: Data, arguments: [ContentEncryptionArguments]) throws -> ContentEncryptionResult","type":"method"},{"path":"\/documentation\/jose_swift\/contentencryptor\/generatecek()","title":"func generateCEK() throws -> Data","type":"method"},{"path":"\/documentation\/jose_swift\/contentencryptor\/generateinitializationvector()","title":"func generateInitializationVector() throws -> Data","type":"method"}],"path":"\/documentation\/jose_swift\/contentencryptor","title":"ContentEncryptor","type":"protocol"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwaregisteredfieldsheader\/agreementpartyuinfo","title":"var agreementPartyUInfo: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/jwaregisteredfieldsheader\/agreementpartyvinfo","title":"var agreementPartyVInfo: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/jwaregisteredfieldsheader\/authenticationtag","title":"var authenticationTag: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/jwaregisteredfieldsheader\/ephemeralpublickey","title":"var ephemeralPublicKey: JWK?","type":"property"},{"path":"\/documentation\/jose_swift\/jwaregisteredfieldsheader\/initializationvector","title":"var initializationVector: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/jwaregisteredfieldsheader\/pbes2saltcount","title":"var pbes2SaltCount: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/jwaregisteredfieldsheader\/pbes2saltinput","title":"var pbes2SaltInput: Data?","type":"property"}],"path":"\/documentation\/jose_swift\/jwaregisteredfieldsheader","title":"JWARegisteredFieldsHeader","type":"protocol"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwedecryptor\/supportedcontentencryptionalgorithms","title":"var supportedContentEncryptionAlgorithms: [ContentEncryptionAlgorithm]","type":"property"},{"path":"\/documentation\/jose_swift\/jwedecryptor\/supportedkeymanagmentalgorithms","title":"var supportedKeyManagmentAlgorithms: [KeyManagementAlgorithm]","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwedecryptor\/decrypt(protectedheader:unprotectedheader:cipher:recipientheader:encryptedkey:initializationvector:authenticationtag:additionalauthenticationdata:senderkey:recipientkey:sharedkey:)","title":"func decrypt(protectedHeader: P?, unprotectedHeader: U?, cipher: Data, recipientHeader: R?, encryptedKey: Data?, initializationVector: Data?, authenticationTag: Data?, additionalAuthenticationData: Data?, senderKey: JWK?, recipientKey: JWK?, sharedKey: JWK?) throws -> Data","type":"method"}],"path":"\/documentation\/jose_swift\/jwedecryptor","title":"JWEDecryptor","type":"protocol"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jweencryptor\/supportedcontentencryptionalgorithms","title":"var supportedContentEncryptionAlgorithms: [ContentEncryptionAlgorithm]","type":"property"},{"path":"\/documentation\/jose_swift\/jweencryptor\/supportedkeymanagmentalgorithms","title":"var supportedKeyManagmentAlgorithms: [KeyManagementAlgorithm]","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jweencryptor\/encrypt(payload:senderkey:recipientkey:protectedheader:unprotectedheader:recipientheader:cek:initializationvector:additionalauthenticationdata:hasmultirecipients:)","title":"func encrypt(payload: Data, senderKey: JWK?, recipientKey: JWK?, protectedHeader: P?, unprotectedHeader: U?, recipientHeader: R?, cek: Data?, initializationVector: Data?, additionalAuthenticationData: Data?, hasMultiRecipients: Bool) throws -> JWEParts","type":"method"}],"path":"\/documentation\/jose_swift\/jweencryptor","title":"JWEEncryptor","type":"protocol"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwemultidecryptor\/decrypt(protectedheader:unprotectedheader:cipher:recipients:initializationvector:authenticationtag:senderkey:recipientkey:sharedkey:additionalauthenticationdata:tryallrecipients:encryptionmodule:)","title":"func decrypt(protectedHeader: P?, unprotectedHeader: U?, cipher: Data, recipients: [(header: R?, encryptedKey: Data?)], initializationVector: Data?, authenticationTag: Data?, senderKey: JWK?, recipientKey: JWK?, sharedKey: JWK?, additionalAuthenticationData: Data?, tryAllRecipients: Bool, encryptionModule: JWEEncryptionModule) throws -> Data","type":"method"}],"path":"\/documentation\/jose_swift\/jwemultidecryptor","title":"JWEMultiDecryptor","type":"protocol"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwemultiencryptor\/encrypt(payload:senderkey:recipients:protectedheader:unprotectedheader:cek:initializationvector:additionalauthenticationdata:encryptionmodule:)","title":"func encrypt(payload: Data, senderKey: JWK?, recipients: [(header: R?, key: JWK)], protectedHeader: P?, unprotectedHeader: U?, cek: Data?, initializationVector: Data?, additionalAuthenticationData: Data?, encryptionModule: JWEEncryptionModule) throws -> [JWEParts]","type":"method"},{"path":"\/documentation\/jose_swift\/jwemultiencryptor\/encrypt(payload:senderkey:recipientskeys:protectedheader:unprotectedheader:cek:initializationvector:additionalauthenticationdata:encryptionmodule:)","title":"func encrypt(payload: Data, senderKey: JWK?, recipientsKeys: [JWK], protectedHeader: P?, unprotectedHeader: U?, cek: Data?, initializationVector: Data?, additionalAuthenticationData: Data?, encryptionModule: JWEEncryptionModule) throws -> [JWEParts]","type":"method"}],"path":"\/documentation\/jose_swift\/jwemultiencryptor","title":"JWEMultiEncryptor","type":"protocol"},{"children":[{"title":"Initializers","type":"groupMarker"},{"children":[{"children":[{"path":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-90jlq","title":"init(keyManagementAlgorithm: KeyManagementAlgorithm?, encodingAlgorithm: ContentEncryptionAlgorithm?, compressionAlgorithm: ContentCompressionAlgorithm?, keyID: String?, jwkSetURL: String?, jwk: JWK?, x509URL: String?, x509CertificateChain: String?, x509CertificateSHA1Thumbprint: String?, x509CertificateSHA256Thumbprint: String?, type: String?, contentType: String?, critical: String?, ephemeralPublicKey: JWK?, agreementPartyUInfo: Data?, agreementPartyVInfo: Data?, initializationVector: Data?, authenticationTag: Data?, pbes2SaltInput: Data?, pbes2SaltCount: Data?, senderKeyId: String?)","type":"init"}],"title":"JWERegisteredFieldsHeader Implementations","type":"groupMarker"}],"path":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-1fdve","title":"init(keyManagementAlgorithm: KeyManagementAlgorithm?, encodingAlgorithm: ContentEncryptionAlgorithm?, compressionAlgorithm: ContentCompressionAlgorithm?, keyID: String?, jwkSetURL: String?, jwk: JWK?, x509URL: String?, x509CertificateChain: String?, x509CertificateSHA1Thumbprint: String?, x509CertificateSHA256Thumbprint: String?, type: String?, contentType: String?, critical: String?, ephemeralPublicKey: JWK?, agreementPartyUInfo: Data?, agreementPartyVInfo: Data?, initializationVector: Data?, authenticationTag: Data?, pbes2SaltInput: Data?, pbes2SaltCount: Data?, senderKeyId: String?)","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/compressionalgorithm","title":"var compressionAlgorithm: ContentCompressionAlgorithm?","type":"property"},{"path":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/contenttype","title":"var contentType: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/critical","title":"var critical: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/encodingalgorithm","title":"var encodingAlgorithm: ContentEncryptionAlgorithm?","type":"property"},{"path":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/jwk","title":"var jwk: JWK?","type":"property"},{"path":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/jwkseturl","title":"var jwkSetURL: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/keyid","title":"var keyID: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/keymanagementalgorithm","title":"var keyManagementAlgorithm: KeyManagementAlgorithm?","type":"property"},{"path":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/senderkeyid","title":"var senderKeyID: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/type","title":"var type: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/x509certificatechain","title":"var x509CertificateChain: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/x509certificatesha1thumbprint","title":"var x509CertificateSHA1Thumbprint: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/x509certificatesha256thumbprint","title":"var x509CertificateSHA256Thumbprint: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/x509url","title":"var x509URL: String?","type":"property"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/init(from:)","title":"init(from: JWK)","type":"init"}],"path":"\/documentation\/jose_swift\/jweregisteredfieldsheader\/decodable-implementations","title":"Decodable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/jweregisteredfieldsheader","title":"JWERegisteredFieldsHeader","type":"protocol"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwkrepresentable\/jwkrepresentation","title":"var jwkRepresentation: JWK","type":"property"},{"path":"\/documentation\/jose_swift\/jwkrepresentable\/publickey","title":"var publicKey: JWK","type":"property"}],"path":"\/documentation\/jose_swift\/jwkrepresentable","title":"JWKRepresentable","type":"protocol"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/algorithm","title":"var algorithm: SigningAlgorithm?","type":"property"},{"path":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/contenttype","title":"var contentType: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/critical","title":"var critical: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/jwk","title":"var jwk: JWK?","type":"property"},{"path":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/jwkseturl","title":"var jwkSetURL: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/keyid","title":"var keyID: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/type","title":"var type: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/x509certificatechain","title":"var x509CertificateChain: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/x509certificatesha1thumbprint","title":"var x509CertificateSHA1Thumbprint: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/x509certificatesha256thumbprint","title":"var x509CertificateSHA256Thumbprint: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jwsregisteredfieldsheader\/x509url","title":"var x509URL: String?","type":"property"}],"path":"\/documentation\/jose_swift\/jwsregisteredfieldsheader","title":"JWSRegisteredFieldsHeader","type":"protocol"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/audience","title":"var audience: [String]?","type":"property"},{"path":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/expirationtime","title":"var expirationTime: Date?","type":"property"},{"path":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/issuedat","title":"var issuedAt: Date?","type":"property"},{"path":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/issuer","title":"var issuer: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/jwtid","title":"var jwtID: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/notbeforetime","title":"var notBeforeTime: Date?","type":"property"},{"path":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/subject","title":"var subject: String?","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims\/validateextraclaims()","title":"func validateExtraClaims() throws","type":"method"}],"path":"\/documentation\/jose_swift\/jwtregisteredfieldsclaims","title":"JWTRegisteredFieldsClaims","type":"protocol"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/keyagreementz\/agreeuponz(privatekey:publickey:ephemeralkey:sender:)","title":"func agreeUponZ(privateKey: JWK, publicKey: JWK, ephemeralKey: JWK?, sender: Bool) throws -> Data","type":"method"}],"path":"\/documentation\/jose_swift\/keyagreementz","title":"KeyAgreementZ","type":"protocol"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"children":[{"children":[{"path":"\/documentation\/jose_swift\/keyderivation\/derivekey(key:keylengthinbits:algorithmid:partyuinfo:partyvinfo:tag:other:)-7fctc","title":"func deriveKey(key: Data, keyLengthInBits: Int, algorithmId: Data, partyUInfo: Data, partyVInfo: Data, tag: Data, other: [String : Data]) throws -> Data","type":"method"}],"title":"KeyDerivation Implementations","type":"groupMarker"}],"path":"\/documentation\/jose_swift\/keyderivation\/derivekey(key:keylengthinbits:algorithmid:partyuinfo:partyvinfo:tag:other:)-7tuyr","title":"func deriveKey(key: Data, keyLengthInBits: Int, algorithmId: Data, partyUInfo: Data, partyVInfo: Data, tag: Data, other: [String : Data]) throws -> Data","type":"method"}],"path":"\/documentation\/jose_swift\/keyderivation","title":"KeyDerivation","type":"protocol"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/keygeneration\/generatekeypairjwk(purpose:)","title":"func generateKeyPairJWK(purpose: KeyGenerationPurpose) throws -> JWK","type":"method"},{"path":"\/documentation\/jose_swift\/keygeneration\/generateprivatekey(purpose:)","title":"func generatePrivateKey(purpose: KeyGenerationPurpose) throws -> Data","type":"method"},{"path":"\/documentation\/jose_swift\/keygeneration\/generaterandomkey()","title":"func generateRandomKey() throws -> Data","type":"method"}],"path":"\/documentation\/jose_swift\/keygeneration","title":"KeyGeneration","type":"protocol"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/keyunwrapping\/contentkeydecrypt(encryptedkey:using:arguments:)","title":"func contentKeyDecrypt(encryptedKey: Data, using: JWK, arguments: [KeyEncryptionArguments]) throws -> Data","type":"method"}],"path":"\/documentation\/jose_swift\/keyunwrapping","title":"KeyUnwrapping","type":"protocol"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/keywrapping\/contentkeyencrypt(cek:using:arguments:)","title":"func contentKeyEncrypt(cek: Data, using: JWK, arguments: [KeyEncryptionArguments]) throws -> KeyEncriptionResultMetadata","type":"method"}],"path":"\/documentation\/jose_swift\/keywrapping","title":"KeyWrapping","type":"protocol"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/signer\/algorithm","title":"var algorithm: String","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/signer\/sign(data:key:)","title":"func sign(data: Data, key: JWK) throws -> Data","type":"method"}],"path":"\/documentation\/jose_swift\/signer","title":"Signer","type":"protocol"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/verifier\/algorithm","title":"var algorithm: String","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/verifier\/verify(data:signature:key:)","title":"func verify(data: Data, signature: Data, key: JWK?) throws -> Bool","type":"method"}],"path":"\/documentation\/jose_swift\/verifier","title":"Verifier","type":"protocol"},{"title":"Structures","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/contentencryptionresult\/authenticationdata","title":"let authenticationData: Data","type":"property"},{"path":"\/documentation\/jose_swift\/contentencryptionresult\/cipher","title":"let cipher: Data","type":"property"}],"path":"\/documentation\/jose_swift\/contentencryptionresult","title":"ContentEncryptionResult","type":"struct"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-8izc9","title":"init(keyManagementAlgorithm: KeyManagementAlgorithm?, encodingAlgorithm: ContentEncryptionAlgorithm?, compressionAlgorithm: ContentCompressionAlgorithm?, keyID: String?, jwkSetURL: String?, jwk: JWK?, x509URL: String?, x509CertificateChain: String?, x509CertificateSHA1Thumbprint: String?, x509CertificateSHA256Thumbprint: String?, type: String?, contentType: String?, critical: String?, ephemeralPublicKey: JWK?, agreementPartyUInfo: Data?, agreementPartyVInfo: Data?, initializationVector: Data?, authenticationTag: Data?, pbes2SaltInput: Data?, pbes2SaltCount: Data?, senderKeyId: String?)","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/agreementpartyuinfo","title":"var agreementPartyUInfo: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/agreementpartyvinfo","title":"var agreementPartyVInfo: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/authenticationtag","title":"var authenticationTag: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/compressionalgorithm","title":"var compressionAlgorithm: ContentCompressionAlgorithm?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/contenttype","title":"var contentType: String?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/critical","title":"var critical: String?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/encodingalgorithm","title":"var encodingAlgorithm: ContentEncryptionAlgorithm?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/ephemeralpublickey","title":"var ephemeralPublicKey: JWK?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/initializationvector","title":"var initializationVector: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/jwk","title":"var jwk: JWK?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/jwkseturl","title":"var jwkSetURL: String?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/keyid","title":"var keyID: String?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/keymanagementalgorithm","title":"var keyManagementAlgorithm: KeyManagementAlgorithm?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/pbes2saltcount","title":"var pbes2SaltCount: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/pbes2saltinput","title":"var pbes2SaltInput: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/senderkeyid","title":"var senderKeyID: String?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/type","title":"var type: String?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/x509certificatechain","title":"var x509CertificateChain: String?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/x509certificatesha1thumbprint","title":"var x509CertificateSHA1Thumbprint: String?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/x509certificatesha256thumbprint","title":"var x509CertificateSHA256Thumbprint: String?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/x509url","title":"var x509URL: String?","type":"property"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/init(from:)-1kybm","title":"init(from: Decoder) throws","type":"init"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/init(from:)-5clf3","title":"init(from: JWK)","type":"init"}],"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/decodable-implementations","title":"Decodable Implementations","type":"symbol"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/encode(to:)","title":"func encode(to: Encoder) throws","type":"method"}],"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/encodable-implementations","title":"Encodable Implementations","type":"symbol"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/init(keymanagementalgorithm:encodingalgorithm:compressionalgorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:ephemeralpublickey:agreementpartyuin-80pr","title":"init(keyManagementAlgorithm: KeyManagementAlgorithm?, encodingAlgorithm: ContentEncryptionAlgorithm?, compressionAlgorithm: ContentCompressionAlgorithm?, keyID: String?, jwkSetURL: String?, jwk: JWK?, x509URL: String?, x509CertificateChain: String?, x509CertificateSHA1Thumbprint: String?, x509CertificateSHA256Thumbprint: String?, type: String?, contentType: String?, critical: String?, ephemeralPublicKey: JWK?, agreementPartyUInfo: Data?, agreementPartyVInfo: Data?, initializationVector: Data?, authenticationTag: Data?, pbes2SaltInput: Data?, pbes2SaltCount: Data?, senderKeyId: String?)","type":"init"}],"path":"\/documentation\/jose_swift\/defaultjweheaderimpl\/jweregisteredfieldsheader-implementations","title":"JWERegisteredFieldsHeader Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/defaultjweheaderimpl","title":"DefaultJWEHeaderImpl","type":"struct"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/init(algorithm:keyid:jwkseturl:jwk:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:type:contenttype:critical:)","title":"init(algorithm: SigningAlgorithm?, keyID: String?, jwkSetURL: String?, jwk: JWK?, x509URL: String?, x509CertificateChain: String?, x509CertificateSHA1Thumbprint: String?, x509CertificateSHA256Thumbprint: String?, type: String?, contentType: String?, critical: String?)","type":"init"},{"path":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/init(from:)-1rqkx","title":"init(from: JWK)","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/algorithm","title":"var algorithm: SigningAlgorithm?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/contenttype","title":"var contentType: String?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/critical","title":"var critical: String?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/jwk","title":"var jwk: JWK?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/jwkseturl","title":"var jwkSetURL: String?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/keyid","title":"var keyID: String?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/type","title":"var type: String?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/x509certificatechain","title":"var x509CertificateChain: String?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/x509certificatesha1thumbprint","title":"var x509CertificateSHA1Thumbprint: String?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/x509certificatesha256thumbprint","title":"var x509CertificateSHA256Thumbprint: String?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/x509url","title":"var x509URL: String?","type":"property"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/init(from:)-8tlhj","title":"init(from: Decoder) throws","type":"init"}],"path":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/decodable-implementations","title":"Decodable Implementations","type":"symbol"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/encode(to:)","title":"func encode(to: Encoder) throws","type":"method"}],"path":"\/documentation\/jose_swift\/defaultjwsheaderimpl\/encodable-implementations","title":"Encodable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/defaultjwsheaderimpl","title":"DefaultJWSHeaderImpl","type":"struct"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/init(issuer:subject:audience:expirationtime:notbeforetime:issuedat:jwtid:)","title":"init(issuer: String?, subject: String?, audience: [String]?, expirationTime: Date?, notBeforeTime: Date?, issuedAt: Date?, jwtID: String?)","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/audience","title":"let audience: [String]?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/expirationtime","title":"let expirationTime: Date?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/issuedat","title":"let issuedAt: Date?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/issuer","title":"let issuer: String?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/jwtid","title":"let jwtID: String?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/notbeforetime","title":"let notBeforeTime: Date?","type":"property"},{"path":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/subject","title":"let subject: String?","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/validateextraclaims()","title":"func validateExtraClaims() throws","type":"method"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/init(from:)","title":"init(from: Decoder) throws","type":"init"}],"path":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/decodable-implementations","title":"Decodable Implementations","type":"symbol"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/encode(to:)","title":"func encode(to: Encoder) throws","type":"method"}],"path":"\/documentation\/jose_swift\/defaultjwtclaimsimpl\/encodable-implementations","title":"Encodable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/defaultjwtclaimsimpl","title":"DefaultJWTClaimsImpl","type":"struct"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwe\/init(compactstring:)","title":"init(compactString: String) throws","type":"init"},{"path":"\/documentation\/jose_swift\/jwe\/init(payload:keymanagementalg:encryptionalgorithm:senderkey:recipientkey:cek:initializationvector:additionalauthenticationdata:)","title":"init(payload: Data, keyManagementAlg: KeyManagementAlgorithm, encryptionAlgorithm: ContentEncryptionAlgorithm, senderKey: JWK?, recipientKey: JWK?, cek: Data?, initializationVector: Data?, additionalAuthenticationData: Data?) throws","type":"init"},{"path":"\/documentation\/jose_swift\/jwe\/init(payload:keymanagementalg:encryptionalgorithm:unprotectedheader:senderkey:recipientkey:cek:additionalauthenticationdata:)","title":"init(payload: Data, keyManagementAlg: KeyManagementAlgorithm, encryptionAlgorithm: ContentEncryptionAlgorithm, unprotectedHeader: U?, senderKey: JWK?, recipientKey: JWK?, cek: Data?, additionalAuthenticationData: Data?) throws","type":"init"},{"path":"\/documentation\/jose_swift\/jwe\/init(payload:protectedheader:unprotectedheader:senderkey:recipientkey:cek:initializationvector:additionalauthenticationdata:)","title":"init(payload: Data, protectedHeader: P?, unprotectedHeader: U?, senderKey: JWK?, recipientKey: JWK?, cek: Data?, initializationVector: Data?, additionalAuthenticationData: Data?) throws","type":"init"},{"path":"\/documentation\/jose_swift\/jwe\/init(protectedheader:encryptedkey:initializationvector:cipher:authenticationtag:)","title":"init(protectedHeader: Data, encryptedKey: Data, initializationVector: Data, cipher: Data, authenticationTag: Data) throws","type":"init"},{"path":"\/documentation\/jose_swift\/jwe\/init(protectedheader:protectedheaderdata:cipher:unprotectedheader:unprotectedheaderdata:encryptedkey:initializationvector:authenticationtag:additionalauthenticateddata:)","title":"init(protectedHeader: JWERegisteredFieldsHeader, protectedHeaderData: Data, cipher: Data, unprotectedHeader: JWERegisteredFieldsHeader?, unprotectedHeaderData: Data?, encryptedKey: Data?, initializationVector: Data?, authenticationTag: Data?, additionalAuthenticatedData: Data?)","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwe\/additionalauthenticateddata","title":"let additionalAuthenticatedData: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/jwe\/authenticationtag","title":"let authenticationTag: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/jwe\/cipher","title":"let cipher: Data","type":"property"},{"path":"\/documentation\/jose_swift\/jwe\/encryptedkey","title":"let encryptedKey: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/jwe\/initializationvector","title":"let initializationVector: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/jwe\/protectedheader","title":"let protectedHeader: JWERegisteredFieldsHeader","type":"property"},{"path":"\/documentation\/jose_swift\/jwe\/protectedheaderdata","title":"let protectedHeaderData: Data","type":"property"},{"path":"\/documentation\/jose_swift\/jwe\/unprotectedheader","title":"let unprotectedHeader: JWERegisteredFieldsHeader?","type":"property"},{"path":"\/documentation\/jose_swift\/jwe\/unprotectedheaderdata","title":"let unprotectedHeaderData: Data?","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwe\/compactserialization()","title":"func compactSerialization() -> String","type":"method"},{"path":"\/documentation\/jose_swift\/jwe\/decrypt(senderkey:recipientkey:sharedkey:)","title":"func decrypt(senderKey: JWK?, recipientKey: JWK?, sharedKey: JWK?) throws -> Data","type":"method"},{"title":"Type Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwe\/encryptionmodule","title":"static var encryptionModule: JWEEncryptionModule","type":"property"},{"title":"Type Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwe\/decrypt(compactstring:senderkey:recipientkey:sharedkey:)","title":"static func decrypt(compactString: String, senderKey: JWK?, recipientKey: JWK?, sharedKey: JWK?) throws -> Data","type":"method"},{"path":"\/documentation\/jose_swift\/jwe\/decrypt(jwejson:senderkey:recipientkey:sharedkey:tryallrecipients:)-3j231","title":"static func decrypt(jweJson: Data, senderKey: JWK?, recipientKey: JWK?, sharedKey: JWK?, tryAllRecipients: Bool) throws -> Data","type":"method"},{"path":"\/documentation\/jose_swift\/jwe\/decrypt(jwejson:senderkey:recipientkey:sharedkey:tryallrecipients:)-3j446","title":"static func decrypt(jweJson: JWEJson, senderKey: JWK?, recipientKey: JWK?, sharedKey: JWK?, tryAllRecipients: Bool) throws -> Data","type":"method"},{"path":"\/documentation\/jose_swift\/jwe\/jsonserialization(payload:encryptionalgorithm:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:)","title":"static func jsonSerialization(payload: Data, encryptionAlgorithm: ContentEncryptionAlgorithm, senderKey: JWK?, recipients: [(alg: KeyManagementAlgorithm, key: JWK)], cek: Data?, initializationVector: Data?, additionalAuthenticationData: Data?) throws -> JWEJson","type":"method"},{"path":"\/documentation\/jose_swift\/jwe\/jsonserialization(payload:encryptionalgorithm:unprotectedheader:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:)","title":"static func jsonSerialization(payload: Data, encryptionAlgorithm: ContentEncryptionAlgorithm, unprotectedHeader: U?, senderKey: JWK?, recipients: [(alg: KeyManagementAlgorithm, key: JWK)], cek: Data?, initializationVector: Data?, additionalAuthenticationData: Data?) throws -> JWEJson","type":"method"},{"path":"\/documentation\/jose_swift\/jwe\/jsonserialization(payload:protectedheader:unprotectedheader:senderkey:recipientkeys:cek:initializationvector:additionalauthenticationdata:)","title":"static func jsonSerialization(payload: Data, protectedHeader: P?, unprotectedHeader: U?, senderKey: JWK?, recipientKeys: [JWK], cek: Data?, initializationVector: Data?, additionalAuthenticationData: Data?) throws -> JWEJson","type":"method"},{"path":"\/documentation\/jose_swift\/jwe\/jsonserialization(payload:protectedheader:unprotectedheader:senderkey:recipients:cek:initializationvector:additionalauthenticationdata:)","title":"static func jsonSerialization(payload: Data, protectedHeader: P?, unprotectedHeader: U?, senderKey: JWK?, recipients: [(header: R, key: JWK)], cek: Data?, initializationVector: Data?, additionalAuthenticationData: Data?) throws -> JWEJson","type":"method"}],"path":"\/documentation\/jose_swift\/jwe","title":"JWE","type":"struct"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jweencryptionmodule\/multidecryptor","title":"let multiDecryptor: JWEMultiDecryptor","type":"property"},{"path":"\/documentation\/jose_swift\/jweencryptionmodule\/multiencryptor","title":"let multiEncryptor: JWEMultiEncryptor","type":"property"},{"path":"\/documentation\/jose_swift\/jweencryptionmodule\/registeredencryptions","title":"let registeredEncryptions: Set","type":"property"},{"title":"Type Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jweencryptionmodule\/default","title":"static var `default`: JWEEncryptionModule","type":"property"}],"path":"\/documentation\/jose_swift\/jweencryptionmodule","title":"JWEEncryptionModule","type":"struct"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jweencryptionprovider\/==(_:_:)","title":"static func == (JWEEncryptionProvider, JWEEncryptionProvider) -> Bool","type":"op"},{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jweencryptionprovider\/init(family:encryptor:decryptor:)","title":"init(family: KeyManagementAlgorithm.Family, encryptor: JWEEncryptor, decryptor: JWEDecryptor)","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jweencryptionprovider\/family","title":"let family: KeyManagementAlgorithm.Family","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jweencryptionprovider\/hash(into:)","title":"func hash(into: inout Hasher)","type":"method"},{"path":"\/documentation\/jose_swift\/jweencryptionprovider\/supportskeyalgorithm(_:)","title":"func supportsKeyAlgorithm(KeyManagementAlgorithm) -> Bool","type":"method"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jweencryptionprovider\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/jose_swift\/jweencryptionprovider\/equatable-implementations","title":"Equatable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/jweencryptionprovider","title":"JWEEncryptionProvider","type":"struct"},{"children":[{"title":"Structures","type":"groupMarker"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwejson\/recipient\/getkid()","title":"func getKid() throws -> String","type":"method"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwejson\/recipient\/init(from:)","title":"init(from: Decoder) throws","type":"init"}],"path":"\/documentation\/jose_swift\/jwejson\/recipient\/decodable-implementations","title":"Decodable Implementations","type":"symbol"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwejson\/recipient\/encode(to:)","title":"func encode(to: Encoder) throws","type":"method"}],"path":"\/documentation\/jose_swift\/jwejson\/recipient\/encodable-implementations","title":"Encodable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/jwejson\/recipient","title":"JWEJson.Recipient","type":"struct"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwejson\/addtionalauthenticateddata","title":"let addtionalAuthenticatedData: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/jwejson\/authenticationtag","title":"let authenticationTag: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/jwejson\/ciphertext","title":"let cipherText: Data","type":"property"},{"path":"\/documentation\/jose_swift\/jwejson\/initializationvector","title":"let initializationVector: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/jwejson\/protected","title":"let protected: P?","type":"property"},{"path":"\/documentation\/jose_swift\/jwejson\/protecteddata","title":"let protectedData: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/jwejson\/recipients","title":"let recipients: [JWEJson.Recipient]","type":"property"},{"path":"\/documentation\/jose_swift\/jwejson\/sharedprotected","title":"let sharedProtected: U?","type":"property"},{"path":"\/documentation\/jose_swift\/jwejson\/sharedprotecteddata","title":"let sharedProtectedData: Data?","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwejson\/getkids()","title":"func getKids() -> [String]","type":"method"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwejson\/init(from:)","title":"init(from: Decoder) throws","type":"init"}],"path":"\/documentation\/jose_swift\/jwejson\/decodable-implementations","title":"Decodable Implementations","type":"symbol"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwejson\/encode(to:)","title":"func encode(to: Encoder) throws","type":"method"}],"path":"\/documentation\/jose_swift\/jwejson\/encodable-implementations","title":"Encodable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/jwejson","title":"JWEJson","type":"struct"},{"path":"\/documentation\/jose_swift\/jweparts","title":"JWEParts","type":"struct"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/init(keytype:publickeyuse:keyoperations:algorithm:key:keyid:x509url:x509certificatechain:x509certificatesha1thumbprint:x509certificatesha256thumbprint:curve:e:p:q:n:dp:dq:qi:x:y:d:)","title":"init(keyType: JWK.KeyType, publicKeyUse: JWK.PublicKeyUse?, keyOperations: [JWK.KeyOperations]?, algorithm: String?, key: Data?, keyID: String?, x509URL: String?, x509CertificateChain: String?, x509CertificateSHA1Thumbprint: String?, x509CertificateSHA256Thumbprint: String?, curve: JWK.CryptographicCurve?, e: Data?, p: Data?, q: Data?, n: Data?, dp: Data?, dq: Data?, qi: Data?, x: Data?, y: Data?, d: Data?)","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/algorithm","title":"var algorithm: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jwk\/curve","title":"var curve: JWK.CryptographicCurve?","type":"property"},{"path":"\/documentation\/jose_swift\/jwk\/d","title":"var d: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/jwk\/dp","title":"var dp: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/jwk\/dq","title":"var dq: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/jwk\/e","title":"var e: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/jwk\/key","title":"var key: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/jwk\/keygeneration","title":"var keyGeneration: KeyGeneration?","type":"property"},{"path":"\/documentation\/jose_swift\/jwk\/keyid","title":"var keyID: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.property","title":"var keyOperations: [JWK.KeyOperations]?","type":"property"},{"path":"\/documentation\/jose_swift\/jwk\/keytype-swift.property","title":"var keyType: JWK.KeyType","type":"property"},{"path":"\/documentation\/jose_swift\/jwk\/n","title":"var n: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/jwk\/p","title":"var p: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.property","title":"var publicKeyUse: JWK.PublicKeyUse?","type":"property"},{"path":"\/documentation\/jose_swift\/jwk\/q","title":"var q: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/jwk\/qi","title":"var qi: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/jwk\/x","title":"var x: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/jwk\/x509certificatechain","title":"var x509CertificateChain: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jwk\/x509certificatesha1thumbprint","title":"var x509CertificateSHA1Thumbprint: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jwk\/x509certificatesha256thumbprint","title":"var x509CertificateSHA256Thumbprint: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jwk\/x509url","title":"var x509URL: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jwk\/y","title":"var y: Data?","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/cryptokitrepresentation(type:)","title":"func cryptoKitRepresentation(type: T.Type) throws -> T","type":"method"},{"path":"\/documentation\/jose_swift\/jwk\/thumbprint(with:)","title":"func thumbprint(with: H) throws -> String","type":"method"},{"title":"Enumerations","type":"groupMarker"},{"children":[{"title":"Enumeration Cases","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/ed25519","title":"case ed25519","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/ed448","title":"case ed448","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/p256","title":"case p256","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/p384","title":"case p384","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/p521","title":"case p521","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/secp256k1","title":"case secp256k1","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/x25519","title":"case x25519","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/x448","title":"case x448","type":"case"},{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/init(rawvalue:)","title":"init?(rawValue: String)","type":"init"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/equatable-implementations","title":"Equatable Implementations","type":"symbol"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/init(from:)","title":"init(from: Decoder) throws","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/hashvalue","title":"var hashValue: Int","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/encode(to:)","title":"func encode(to: Encoder) throws","type":"method"},{"path":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/hash(into:)","title":"func hash(into: inout Hasher)","type":"method"}],"path":"\/documentation\/jose_swift\/jwk\/cryptographiccurve\/rawrepresentable-implementations","title":"RawRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/jwk\/cryptographiccurve","title":"JWK.CryptographicCurve","type":"enum"},{"children":[{"title":"Enumeration Cases","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/error\/jweincompatiblekeys","title":"case jweIncompatibleKeys","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/error\/keynotfound","title":"case keyNotFound","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/error\/keywithidnotfound(_:)","title":"case keyWithIDNotFound(String)","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/error\/missingdcomponent","title":"case missingDComponent","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/error\/missingecomponent","title":"case missingEComponent","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/error\/missingncomponent","title":"case missingNComponent","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/error\/missingprimescomponent","title":"case missingPrimesComponent","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/error\/missingxcomponent","title":"case missingXComponent","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/error\/missingycomponent","title":"case missingYComponent","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/error\/notsupported","title":"case notSupported","type":"case"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/error\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/jose_swift\/jwk\/error\/equatable-implementations","title":"Equatable Implementations","type":"symbol"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/error\/localizeddescription","title":"var localizedDescription: String","type":"property"}],"path":"\/documentation\/jose_swift\/jwk\/error\/error-implementations","title":"Error Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/jwk\/error","title":"JWK.Error","type":"enum"},{"children":[{"title":"Enumeration Cases","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/decrypt","title":"case decrypt","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/derivebits","title":"case deriveBits","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/derivekey","title":"case deriveKey","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/encrypt","title":"case encrypt","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/sign","title":"case sign","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/unwrapkey","title":"case unwrapKey","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/verify","title":"case verify","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/wrapkey","title":"case wrapKey","type":"case"},{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/init(rawvalue:)","title":"init?(rawValue: String)","type":"init"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/equatable-implementations","title":"Equatable Implementations","type":"symbol"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/init(from:)","title":"init(from: Decoder) throws","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/hashvalue","title":"var hashValue: Int","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/encode(to:)","title":"func encode(to: Encoder) throws","type":"method"},{"path":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/hash(into:)","title":"func hash(into: inout Hasher)","type":"method"}],"path":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum\/rawrepresentable-implementations","title":"RawRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/jwk\/keyoperations-swift.enum","title":"JWK.KeyOperations","type":"enum"},{"children":[{"title":"Enumeration Cases","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/ellipticcurve","title":"case ellipticCurve","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/octetkeypair","title":"case octetKeyPair","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/octetsequence","title":"case octetSequence","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/rsa","title":"case rsa","type":"case"},{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/init(rawvalue:)","title":"init?(rawValue: String)","type":"init"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/equatable-implementations","title":"Equatable Implementations","type":"symbol"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/init(from:)","title":"init(from: Decoder) throws","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/hashvalue","title":"var hashValue: Int","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/encode(to:)","title":"func encode(to: Encoder) throws","type":"method"},{"path":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/hash(into:)","title":"func hash(into: inout Hasher)","type":"method"}],"path":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum\/rawrepresentable-implementations","title":"RawRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/jwk\/keytype-swift.enum","title":"JWK.KeyType","type":"enum"},{"children":[{"title":"Enumeration Cases","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/encryption","title":"case encryption","type":"case"},{"path":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/signature","title":"case signature","type":"case"},{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/init(rawvalue:)","title":"init?(rawValue: String)","type":"init"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/equatable-implementations","title":"Equatable Implementations","type":"symbol"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/init(from:)","title":"init(from: Decoder) throws","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/hashvalue","title":"var hashValue: Int","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/encode(to:)","title":"func encode(to: Encoder) throws","type":"method"},{"path":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/hash(into:)","title":"func hash(into: inout Hasher)","type":"method"}],"path":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum\/rawrepresentable-implementations","title":"RawRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/jwk\/publickeyuse-swift.enum","title":"JWK.PublicKeyUse","type":"enum"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/init(from:)","title":"init(from: Decoder) throws","type":"init"}],"path":"\/documentation\/jose_swift\/jwk\/decodable-implementations","title":"Decodable Implementations","type":"symbol"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/encode(to:)","title":"func encode(to: Encoder) throws","type":"method"}],"path":"\/documentation\/jose_swift\/jwk\/encodable-implementations","title":"Encodable Implementations","type":"symbol"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/jose_swift\/jwk\/equatable-implementations","title":"Equatable Implementations","type":"symbol"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwk\/jwkrepresentation","title":"var jwkRepresentation: JWK","type":"property"},{"path":"\/documentation\/jose_swift\/jwk\/publickey","title":"var publicKey: JWK","type":"property"}],"path":"\/documentation\/jose_swift\/jwk\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/jwk","title":"JWK","type":"struct"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwkset\/init(from:)","title":"init(from: Decoder) throws","type":"init"},{"path":"\/documentation\/jose_swift\/jwkset\/init(keys:)","title":"init(keys: [JWK])","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwkset\/keys","title":"var keys: [JWK]","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwkset\/key(withid:)","title":"func key(withID: String) throws -> JWK","type":"method"},{"path":"\/documentation\/jose_swift\/jwkset\/key(withpublickeyuse:)","title":"func key(withPublicKeyUse: JWK.PublicKeyUse) throws -> JWK","type":"method"},{"path":"\/documentation\/jose_swift\/jwkset\/keysuitableforkeyagreement(with:)","title":"func keySuitableForKeyAgreement(with: JWK) throws -> JWK","type":"method"}],"path":"\/documentation\/jose_swift\/jwkset","title":"JWKSet","type":"struct"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jws\/init(jwsstring:)","title":"init(jwsString: String) throws","type":"init"},{"path":"\/documentation\/jose_swift\/jws\/init(jwsstring:headertype:)","title":"init(jwsString: String, headerType: JWSRegisteredFieldsHeader.Type) throws","type":"init"},{"path":"\/documentation\/jose_swift\/jws\/init(payload:key:)","title":"init(payload: Data, key: JWK) throws","type":"init"},{"path":"\/documentation\/jose_swift\/jws\/init(payload:protectedheader:key:)","title":"init(payload: Data, protectedHeader: JWSRegisteredFieldsHeader, key: JWK?) throws","type":"init"},{"path":"\/documentation\/jose_swift\/jws\/init(payload:protectedheaderdata:key:)","title":"init(payload: Data, protectedHeaderData: Data, key: JWK?) throws","type":"init"},{"path":"\/documentation\/jose_swift\/jws\/init(protectedheader:data:signature:)","title":"init(protectedHeader: JWSRegisteredFieldsHeader, data: Data, signature: Data) throws","type":"init"},{"path":"\/documentation\/jose_swift\/jws\/init(protectedheaderdata:data:signature:)","title":"init(protectedHeaderData: Data, data: Data, signature: Data) throws","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jws\/compactserialization","title":"let compactSerialization: String","type":"property"},{"path":"\/documentation\/jose_swift\/jws\/payload","title":"let payload: Data","type":"property"},{"path":"\/documentation\/jose_swift\/jws\/protectedheader","title":"let protectedHeader: JWSRegisteredFieldsHeader","type":"property"},{"path":"\/documentation\/jose_swift\/jws\/protectedheaderdata","title":"let protectedHeaderData: Data","type":"property"},{"path":"\/documentation\/jose_swift\/jws\/signature","title":"let signature: Data","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jws\/verify(key:)","title":"func verify(key: JWK?) throws -> Bool","type":"method"},{"title":"Type Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jws\/jsonserialization(payload:keys:)","title":"static func jsonSerialization(payload: Data, keys: [JWK]) throws -> Data","type":"method"},{"path":"\/documentation\/jose_swift\/jws\/jsonserialization(payload:protectedheader:unprotectedheader:keys:)","title":"static func jsonSerialization(payload: Data, protectedHeader: P, unprotectedHeader: H?, keys: [JWK]) throws -> Data","type":"method"},{"path":"\/documentation\/jose_swift\/jws\/jsonserializationflattened(payload:key:)","title":"static func jsonSerializationFlattened(payload: Data, key: JWK) throws -> Data","type":"method"},{"path":"\/documentation\/jose_swift\/jws\/jsonserializationflattened(payload:protectedheader:unprotectedheader:key:)-9og9d","title":"static func jsonSerializationFlattened(payload: Data, protectedHeader: P, unprotectedHeader: H?, key: JWK) throws -> Data","type":"method"},{"path":"\/documentation\/jose_swift\/jws\/jsonserializationflattened(payload:protectedheader:unprotectedheader:key:)-wuj8","title":"static func jsonSerializationFlattened(payload: Data, protectedHeader: P, unprotectedHeader: H?, key: JWK) throws -> JWSJsonFlattened","type":"method"},{"path":"\/documentation\/jose_swift\/jws\/verify(jwsjson:jwk:validateall:)","title":"static func verify(jwsJson: Data, jwk: JWK, validateAll: Bool) throws -> Bool","type":"method"},{"path":"\/documentation\/jose_swift\/jws\/verify(jwsjson:jwks:allneedtoverify:)","title":"static func verify(jwsJson: Data, jwks: [JWK], allNeedToVerify: Bool) throws -> Bool","type":"method"},{"title":"Enumerations","type":"groupMarker"},{"children":[{"title":"Enumeration Cases","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jws\/jwserror\/couldnotdecodecompletejsonorflattened","title":"case couldNotDecodeCompleteJsonOrFlattened","type":"case"},{"path":"\/documentation\/jose_swift\/jws\/jwserror\/invalidstring","title":"case invalidString","type":"case"},{"path":"\/documentation\/jose_swift\/jws\/jwserror\/keyalgorithmandheaderalgorithmarenotequal(header:key:)","title":"case keyAlgorithmAndHeaderAlgorithmAreNotEqual(header: String, key: String)","type":"case"},{"path":"\/documentation\/jose_swift\/jws\/jwserror\/missingalgorithm","title":"case missingAlgorithm","type":"case"},{"path":"\/documentation\/jose_swift\/jws\/jwserror\/missingcurve","title":"case missingCurve","type":"case"},{"path":"\/documentation\/jose_swift\/jws\/jwserror\/missingkey","title":"case missingKey","type":"case"},{"path":"\/documentation\/jose_swift\/jws\/jwserror\/missingkid","title":"case missingKid","type":"case"},{"path":"\/documentation\/jose_swift\/jws\/jwserror\/multiplesignaturescantbeflattened","title":"case multipleSignaturesCantBeFlattened","type":"case"},{"path":"\/documentation\/jose_swift\/jws\/jwserror\/nosignatureforjwk(jwkalg:jwkkid:)","title":"case noSignatureForJWK(jwkAlg: String?, jwkKid: String?)","type":"case"},{"path":"\/documentation\/jose_swift\/jws\/jwserror\/protectedheaderalgorithmandheaderalgorithmarenotequal(header:protectedheader:)","title":"case protectedHeaderAlgorithmAndHeaderAlgorithmAreNotEqual(header: String, protectedHeader: String)","type":"case"},{"path":"\/documentation\/jose_swift\/jws\/jwserror\/somethingwentwrong","title":"case somethingWentWrong","type":"case"},{"path":"\/documentation\/jose_swift\/jws\/jwserror\/unsupportedalgorithm(keytype:algorithm:curve:)","title":"case unsupportedAlgorithm(keyType: String?, algorithm: String?, curve: String?)","type":"case"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jws\/jwserror\/localizeddescription","title":"var localizedDescription: String","type":"property"}],"path":"\/documentation\/jose_swift\/jws\/jwserror\/error-implementations","title":"Error Implementations","type":"symbol"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jws\/jwserror\/errordescription","title":"var errorDescription: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jws\/jwserror\/failurereason","title":"var failureReason: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jws\/jwserror\/helpanchor","title":"var helpAnchor: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jws\/jwserror\/recoverysuggestion","title":"var recoverySuggestion: String?","type":"property"}],"path":"\/documentation\/jose_swift\/jws\/jwserror\/localizederror-implementations","title":"LocalizedError Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/jws\/jwserror","title":"JWS.JWSError","type":"enum"}],"path":"\/documentation\/jose_swift\/jws","title":"JWS","type":"struct"},{"children":[{"title":"Structures","type":"groupMarker"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwsjson\/signature\/init(protecteddata:protected:headerdata:header:signature:)","title":"init(protectedData: Data?, protected: P?, headerData: Data?, header: H?, signature: Data) throws","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwsjson\/signature\/protectedheader","title":"let protectedHeader: P?","type":"property"},{"path":"\/documentation\/jose_swift\/jwsjson\/signature\/protectedheaderdata","title":"let protectedHeaderData: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/jwsjson\/signature\/signature","title":"let signature: Data","type":"property"},{"path":"\/documentation\/jose_swift\/jwsjson\/signature\/unprotectedheader","title":"let unprotectedHeader: H?","type":"property"},{"path":"\/documentation\/jose_swift\/jwsjson\/signature\/unprotectedheaderdata","title":"let unprotectedHeaderData: Data?","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwsjson\/signature\/getkid()","title":"func getKid() throws -> String","type":"method"},{"path":"\/documentation\/jose_swift\/jwsjson\/signature\/jws(payload:)","title":"func jws(payload: Data) throws -> JWS","type":"method"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwsjson\/signature\/init(from:)","title":"init(from: Decoder) throws","type":"init"}],"path":"\/documentation\/jose_swift\/jwsjson\/signature\/decodable-implementations","title":"Decodable Implementations","type":"symbol"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwsjson\/signature\/encode(to:)","title":"func encode(to: Encoder) throws","type":"method"}],"path":"\/documentation\/jose_swift\/jwsjson\/signature\/encodable-implementations","title":"Encodable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/jwsjson\/signature","title":"JWSJson.Signature","type":"struct"},{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwsjson\/init(from:)","title":"init(from: Decoder) throws","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwsjson\/payload","title":"let payload: Data","type":"property"},{"path":"\/documentation\/jose_swift\/jwsjson\/signatures","title":"let signatures: [JWSJson.Signature]","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwsjson\/flattened()","title":"func flattened() throws -> JWSJsonFlattened","type":"method"},{"path":"\/documentation\/jose_swift\/jwsjson\/getkids()","title":"func getKids() -> [String]","type":"method"}],"path":"\/documentation\/jose_swift\/jwsjson","title":"JWSJson","type":"struct"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwsjsonflattened\/init(fulljson:)","title":"init(fullJson: JWSJson) throws","type":"init"},{"path":"\/documentation\/jose_swift\/jwsjsonflattened\/init(payload:protecteddata:protected:headerdata:header:signature:)","title":"init(payload: Data, protectedData: Data?, protected: P?, headerData: Data?, header: H?, signature: Data)","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwsjsonflattened\/encodedheader","title":"var encodedHeader: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jwsjsonflattened\/encodedpayload","title":"var encodedPayload: String","type":"property"},{"path":"\/documentation\/jose_swift\/jwsjsonflattened\/encodedprotectedheader","title":"var encodedProtectedHeader: String?","type":"property"},{"path":"\/documentation\/jose_swift\/jwsjsonflattened\/encodedsignature","title":"var encodedSignature: String","type":"property"},{"path":"\/documentation\/jose_swift\/jwsjsonflattened\/payload","title":"let payload: Data","type":"property"},{"path":"\/documentation\/jose_swift\/jwsjsonflattened\/protectedheader","title":"let protectedHeader: P?","type":"property"},{"path":"\/documentation\/jose_swift\/jwsjsonflattened\/protectedheaderdata","title":"let protectedHeaderData: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/jwsjsonflattened\/signature","title":"let signature: Data","type":"property"},{"path":"\/documentation\/jose_swift\/jwsjsonflattened\/unprotectedheader","title":"let unprotectedHeader: H?","type":"property"},{"path":"\/documentation\/jose_swift\/jwsjsonflattened\/unprotectedheaderdata","title":"let unprotectedHeaderData: Data?","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwsjsonflattened\/fulljson()","title":"func fullJson() throws -> JWSJson","type":"method"},{"path":"\/documentation\/jose_swift\/jwsjsonflattened\/getkid()","title":"func getKid() throws -> String","type":"method"},{"path":"\/documentation\/jose_swift\/jwsjsonflattened\/jws()","title":"func jws() throws -> JWS","type":"method"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwsjsonflattened\/init(from:)","title":"init(from: Decoder) throws","type":"init"}],"path":"\/documentation\/jose_swift\/jwsjsonflattened\/decodable-implementations","title":"Decodable Implementations","type":"symbol"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwsjsonflattened\/encode(to:)","title":"func encode(to: Encoder) throws","type":"method"}],"path":"\/documentation\/jose_swift\/jwsjsonflattened\/encodable-implementations","title":"Encodable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/jwsjsonflattened","title":"JWSJsonFlattened","type":"struct"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwt\/format-swift.property","title":"let format: JWT.Format","type":"property"},{"path":"\/documentation\/jose_swift\/jwt\/jwtstring","title":"var jwtString: String","type":"property"},{"path":"\/documentation\/jose_swift\/jwt\/payload","title":"let payload: C","type":"property"},{"title":"Type Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwt\/encrypt(payload:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:)","title":"static func encrypt(payload: C, protectedHeader: P, unprotectedHeader: U?, senderKey: JWK?, recipientKey: JWK?, sharedKey: JWK?, cek: Data?, initializationVector: Data?, additionalAuthenticationData: Data?) throws -> JWT","type":"method"},{"path":"\/documentation\/jose_swift\/jwt\/encryptasnested(jwt:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:)","title":"static func encryptAsNested(jwt: JWT, protectedHeader: P, unprotectedHeader: U?, senderKey: JWK?, recipientKey: JWK?, sharedKey: JWK?, cek: Data?, initializationVector: Data?, additionalAuthenticationData: Data?) throws -> JWE","type":"method"},{"path":"\/documentation\/jose_swift\/jwt\/encryptasnested(payload:protectedheader:unprotectedheader:senderkey:recipientkey:sharedkey:cek:initializationvector:additionalauthenticationdata:nestedprotectedheader:nestedunprotectedheader:nestedsenderkey:nestedrecipientkey:nestedsharedke-6vzse","title":"static func encryptAsNested(payload: C, protectedHeader: P, unprotectedHeader: U?, senderKey: JWK?, recipientKey: JWK?, sharedKey: JWK?, cek: Data?, initializationVector: Data?, additionalAuthenticationData: Data?, nestedProtectedHeader: NP, nestedUnprotectedHeader: NU?, nestedSenderKey: JWK?, nestedRecipientKey: JWK?, nestedSharedKey: JWK?, nestedCek: Data?, nestedInitializationVector: Data?, nestedAdditionalAuthenticationData: Data?) throws -> JWE","type":"method"},{"path":"\/documentation\/jose_swift\/jwt\/signed(payload:protectedheader:key:)","title":"static func signed

(payload: C, protectedHeader: P, key: JWK?) throws -> JWT","type":"method"},{"path":"\/documentation\/jose_swift\/jwt\/signedasnested(jwtstring:protectedheader:key:)","title":"static func signedAsNested

(jwtString: String, protectedHeader: P, key: JWK?) throws -> JWS","type":"method"},{"path":"\/documentation\/jose_swift\/jwt\/signedasnested(payload:protectedheader:key:nestedprotectedheader:nestedkey:)","title":"static func signedAsNested(payload: C, protectedHeader: P, key: JWK?, nestedProtectedHeader: NP, nestedKey: JWK?) throws -> JWS","type":"method"},{"path":"\/documentation\/jose_swift\/jwt\/verify(jwtstring:senderkey:recipientkey:nestedkeys:expectedissuer:expectedaudience:)","title":"static func verify(jwtString: String, senderKey: JWK?, recipientKey: JWK?, nestedKeys: [JWK], expectedIssuer: String?, expectedAudience: String?) throws -> JWT","type":"method"},{"title":"Enumerations","type":"groupMarker"},{"children":[{"title":"Enumeration Cases","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/jwt\/format-swift.enum\/jwe(_:)","title":"case jwe(JWE)","type":"case"},{"path":"\/documentation\/jose_swift\/jwt\/format-swift.enum\/jws(_:)","title":"case jws(JWS)","type":"case"}],"path":"\/documentation\/jose_swift\/jwt\/format-swift.enum","title":"JWT.Format","type":"enum"}],"path":"\/documentation\/jose_swift\/jwt","title":"JWT","type":"struct"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/keyencriptionresultmetadata\/init(encryptedkey:initializationvector:authenticationtag:pbs2saltinput:pbs2saltcount:othermetadata:)","title":"init(encryptedKey: Data, initializationVector: Data?, authenticationTag: Data?, pbs2saltInput: Data?, pbs2saltCount: Int?, otherMetadata: [String : Data])","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/keyencriptionresultmetadata\/authenticationtag","title":"let authenticationTag: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/keyencriptionresultmetadata\/encryptedkey","title":"let encryptedKey: Data","type":"property"},{"path":"\/documentation\/jose_swift\/keyencriptionresultmetadata\/initializationvector","title":"let initializationVector: Data?","type":"property"},{"path":"\/documentation\/jose_swift\/keyencriptionresultmetadata\/othermetadata","title":"let otherMetadata: [String : Data]","type":"property"},{"path":"\/documentation\/jose_swift\/keyencriptionresultmetadata\/pbs2saltcount","title":"let pbs2saltCount: Int?","type":"property"},{"path":"\/documentation\/jose_swift\/keyencriptionresultmetadata\/pbs2saltinput","title":"let pbs2saltInput: Data?","type":"property"}],"path":"\/documentation\/jose_swift\/keyencriptionresultmetadata","title":"KeyEncriptionResultMetadata","type":"struct"},{"title":"Functions","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/validateclaims(claims:expectedissuer:expectedaudience:)","title":"func validateClaims(claims: JWTRegisteredFieldsClaims, expectedIssuer: String?, expectedAudience: String?) throws","type":"func"},{"title":"Type Aliases","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/defaultjwejson","title":"DefaultJWEJson","type":"typealias"},{"path":"\/documentation\/jose_swift\/defaultjwsjson","title":"DefaultJWSJson","type":"typealias"},{"title":"Enumerations","type":"groupMarker"},{"children":[{"title":"Enumeration Cases","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/contentcompressionalgorithm\/deflate","title":"case deflate","type":"case"},{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/contentcompressionalgorithm\/init(rawvalue:)","title":"init?(rawValue: String)","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/contentcompressionalgorithm\/compressor","title":"var compressor: ContentCompressor","type":"property"},{"path":"\/documentation\/jose_swift\/contentcompressionalgorithm\/decompressor","title":"var decompressor: ContentDecompressor","type":"property"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/contentcompressionalgorithm\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/jose_swift\/contentcompressionalgorithm\/equatable-implementations","title":"Equatable Implementations","type":"symbol"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/contentcompressionalgorithm\/init(from:)","title":"init(from: Decoder) throws","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/contentcompressionalgorithm\/hashvalue","title":"var hashValue: Int","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/contentcompressionalgorithm\/encode(to:)","title":"func encode(to: Encoder) throws","type":"method"},{"path":"\/documentation\/jose_swift\/contentcompressionalgorithm\/hash(into:)","title":"func hash(into: inout Hasher)","type":"method"}],"path":"\/documentation\/jose_swift\/contentcompressionalgorithm\/rawrepresentable-implementations","title":"RawRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/contentcompressionalgorithm","title":"ContentCompressionAlgorithm","type":"enum"},{"children":[{"title":"Enumeration Cases","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/contentencryptionalgorithm\/a128cbchs256","title":"case a128CBCHS256","type":"case"},{"path":"\/documentation\/jose_swift\/contentencryptionalgorithm\/a128gcm","title":"case a128GCM","type":"case"},{"path":"\/documentation\/jose_swift\/contentencryptionalgorithm\/a192cbchs384","title":"case a192CBCHS384","type":"case"},{"path":"\/documentation\/jose_swift\/contentencryptionalgorithm\/a192gcm","title":"case a192GCM","type":"case"},{"path":"\/documentation\/jose_swift\/contentencryptionalgorithm\/a256cbchs512","title":"case a256CBCHS512","type":"case"},{"path":"\/documentation\/jose_swift\/contentencryptionalgorithm\/a256gcm","title":"case a256GCM","type":"case"},{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/contentencryptionalgorithm\/init(rawvalue:)","title":"init?(rawValue: String)","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/contentencryptionalgorithm\/decryptor","title":"var decryptor: ContentDecryptor","type":"property"},{"path":"\/documentation\/jose_swift\/contentencryptionalgorithm\/encryptor","title":"var encryptor: ContentEncryptor","type":"property"},{"path":"\/documentation\/jose_swift\/contentencryptionalgorithm\/initializationvectorsizeinbits","title":"var initializationVectorSizeInBits: Int","type":"property"},{"path":"\/documentation\/jose_swift\/contentencryptionalgorithm\/keysizeinbits","title":"var keySizeInBits: Int","type":"property"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/contentencryptionalgorithm\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/jose_swift\/contentencryptionalgorithm\/equatable-implementations","title":"Equatable Implementations","type":"symbol"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/contentencryptionalgorithm\/init(from:)","title":"init(from: Decoder) throws","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/contentencryptionalgorithm\/hashvalue","title":"var hashValue: Int","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/contentencryptionalgorithm\/encode(to:)","title":"func encode(to: Encoder) throws","type":"method"},{"path":"\/documentation\/jose_swift\/contentencryptionalgorithm\/hash(into:)","title":"func hash(into: inout Hasher)","type":"method"}],"path":"\/documentation\/jose_swift\/contentencryptionalgorithm\/rawrepresentable-implementations","title":"RawRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/contentencryptionalgorithm","title":"ContentEncryptionAlgorithm","type":"enum"},{"children":[{"title":"Enumeration Cases","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/contentencryptionarguments\/additionalauthenticationdata(_:)","title":"case additionalAuthenticationData(Data)","type":"case"},{"path":"\/documentation\/jose_swift\/contentencryptionarguments\/authenticationtag(_:)","title":"case authenticationTag(Data)","type":"case"},{"path":"\/documentation\/jose_swift\/contentencryptionarguments\/customdata(key:value:)","title":"case customData(key: String, value: Data)","type":"case"},{"path":"\/documentation\/jose_swift\/contentencryptionarguments\/customjwk(key:value:)","title":"case customJWK(key: String, value: JWK)","type":"case"},{"path":"\/documentation\/jose_swift\/contentencryptionarguments\/initializationvector(_:)","title":"case initializationVector(Data)","type":"case"},{"path":"\/documentation\/jose_swift\/contentencryptionarguments\/keysizeinbits(_:)","title":"case keySizeInBits(Int)","type":"case"}],"path":"\/documentation\/jose_swift\/contentencryptionarguments","title":"ContentEncryptionArguments","type":"enum"},{"children":[{"title":"Enumerations","type":"groupMarker"},{"children":[{"title":"Structures","type":"groupMarker"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/init()","title":"init()","type":"init"},{"path":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/init(rawrepresentation:)","title":"init(rawRepresentation: some ContiguousBytes) throws","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/publickey","title":"var publicKey: Curve448.KeyAgreement.PublicKey","type":"property"},{"path":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/rawrepresentation","title":"var rawRepresentation: Data","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/sharedsecretfromkeyagreement(with:)","title":"func sharedSecretFromKeyAgreement(with: Curve448.KeyAgreement.PublicKey) throws -> Data","type":"method"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/jwkrepresentation","title":"var jwkRepresentation: JWK","type":"property"}],"path":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/curve448\/keyagreement\/privatekey","title":"Curve448.KeyAgreement.PrivateKey","type":"struct"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/curve448\/keyagreement\/publickey\/init(rawrepresentation:)","title":"init(rawRepresentation: some ContiguousBytes) throws","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/curve448\/keyagreement\/publickey\/rawrepresentation","title":"var rawRepresentation: Data","type":"property"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/curve448\/keyagreement\/publickey\/jwkrepresentation","title":"var jwkRepresentation: JWK","type":"property"}],"path":"\/documentation\/jose_swift\/curve448\/keyagreement\/publickey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/curve448\/keyagreement\/publickey","title":"Curve448.KeyAgreement.PublicKey","type":"struct"}],"path":"\/documentation\/jose_swift\/curve448\/keyagreement","title":"Curve448.KeyAgreement","type":"enum"}],"path":"\/documentation\/jose_swift\/curve448","title":"Curve448","type":"enum"},{"children":[{"title":"Enumeration Cases","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/keyencryptionarguments\/agreementpartyuinfo(_:)","title":"case agreementPartyUInfo(Data)","type":"case"},{"path":"\/documentation\/jose_swift\/keyencryptionarguments\/agreementpartyvinfo(_:)","title":"case agreementPartyVInfo(Data)","type":"case"},{"path":"\/documentation\/jose_swift\/keyencryptionarguments\/authenticationtag(_:)","title":"case authenticationTag(Data)","type":"case"},{"path":"\/documentation\/jose_swift\/keyencryptionarguments\/customdata(key:value:)","title":"case customData(key: String, value: Data)","type":"case"},{"path":"\/documentation\/jose_swift\/keyencryptionarguments\/customjwk(key:value:)","title":"case customJWK(key: String, value: JWK)","type":"case"},{"path":"\/documentation\/jose_swift\/keyencryptionarguments\/initializationvector(_:)","title":"case initializationVector(Data)","type":"case"},{"path":"\/documentation\/jose_swift\/keyencryptionarguments\/pbs2saltcount(_:)","title":"case pbs2saltCount(Int)","type":"case"},{"path":"\/documentation\/jose_swift\/keyencryptionarguments\/pbs2saltinput(_:)","title":"case pbs2saltInput(Data)","type":"case"}],"path":"\/documentation\/jose_swift\/keyencryptionarguments","title":"KeyEncryptionArguments","type":"enum"},{"children":[{"title":"Enumeration Cases","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/keygenerationpurpose\/keyagreement","title":"case keyAgreement","type":"case"},{"path":"\/documentation\/jose_swift\/keygenerationpurpose\/signing","title":"case signing","type":"case"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/keygenerationpurpose\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/jose_swift\/keygenerationpurpose\/equatable-implementations","title":"Equatable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/keygenerationpurpose","title":"KeyGenerationPurpose","type":"enum"},{"children":[{"title":"Enumeration Cases","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/a128gcmkw","title":"case a128GCMKW","type":"case"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/a128kw","title":"case a128KW","type":"case"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/a192gcmkw","title":"case a192GCMKW","type":"case"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/a192kw","title":"case a192KW","type":"case"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/a256gcmkw","title":"case a256GCMKW","type":"case"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/a256kw","title":"case a256KW","type":"case"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/direct","title":"case direct","type":"case"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/ecdh1pu","title":"case ecdh1PU","type":"case"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/ecdh1pua128kw","title":"case ecdh1PUA128KW","type":"case"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/ecdh1pua192kw","title":"case ecdh1PUA192KW","type":"case"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/ecdh1pua256kw","title":"case ecdh1PUA256KW","type":"case"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/ecdhes","title":"case ecdhES","type":"case"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/ecdhesa128kw","title":"case ecdhESA128KW","type":"case"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/ecdhesa192kw","title":"case ecdhESA192KW","type":"case"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/ecdhesa256kw","title":"case ecdhESA256KW","type":"case"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/pbes2hs256a128kw","title":"case pbes2HS256A128KW","type":"case"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/pbes2hs384a192kw","title":"case pbes2HS384A192KW","type":"case"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/pbes2hs512a256kw","title":"case pbes2HS512A256KW","type":"case"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/rsa1_5","title":"case rsa1_5","type":"case"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/rsaoaep","title":"case rsaOAEP","type":"case"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/rsaoaep256","title":"case rsaOAEP256","type":"case"},{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/init(rawvalue:)","title":"init?(rawValue: String)","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/agreement","title":"var agreement: KeyAgreementZ?","type":"property"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/derivation","title":"var derivation: KeyDerivation?","type":"property"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.property","title":"var family: KeyManagementAlgorithm.Family","type":"property"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/unwrapper","title":"var unwrapper: KeyUnwrapping?","type":"property"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/wrapper","title":"var wrapper: KeyWrapping?","type":"property"},{"title":"Enumerations","type":"groupMarker"},{"children":[{"title":"Enumeration Cases","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/aes","title":"case aes","type":"case"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/direct","title":"case direct","type":"case"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/ecdh1pu","title":"case ecdh1pu","type":"case"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/ecdhes","title":"case ecdhes","type":"case"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/pbes2","title":"case pbes2","type":"case"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/rsa","title":"case rsa","type":"case"},{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/init(rawvalue:)","title":"init?(rawValue: String)","type":"init"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/equatable-implementations","title":"Equatable Implementations","type":"symbol"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/hashvalue","title":"var hashValue: Int","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/hash(into:)","title":"func hash(into: inout Hasher)","type":"method"}],"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum\/rawrepresentable-implementations","title":"RawRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/family-swift.enum","title":"KeyManagementAlgorithm.Family","type":"enum"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/equatable-implementations","title":"Equatable Implementations","type":"symbol"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/init(from:)","title":"init(from: Decoder) throws","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/hashvalue","title":"var hashValue: Int","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/encode(to:)","title":"func encode(to: Encoder) throws","type":"method"},{"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/hash(into:)","title":"func hash(into: inout Hasher)","type":"method"}],"path":"\/documentation\/jose_swift\/keymanagementalgorithm\/rawrepresentable-implementations","title":"RawRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/keymanagementalgorithm","title":"KeyManagementAlgorithm","type":"enum"},{"children":[{"title":"Enumeration Cases","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/signingalgorithm\/es256","title":"case ES256","type":"case"},{"path":"\/documentation\/jose_swift\/signingalgorithm\/es256k","title":"case ES256K","type":"case"},{"path":"\/documentation\/jose_swift\/signingalgorithm\/es384","title":"case ES384","type":"case"},{"path":"\/documentation\/jose_swift\/signingalgorithm\/es512","title":"case ES512","type":"case"},{"path":"\/documentation\/jose_swift\/signingalgorithm\/eddsa","title":"case EdDSA","type":"case"},{"path":"\/documentation\/jose_swift\/signingalgorithm\/hs256","title":"case HS256","type":"case"},{"path":"\/documentation\/jose_swift\/signingalgorithm\/hs384","title":"case HS384","type":"case"},{"path":"\/documentation\/jose_swift\/signingalgorithm\/hs512","title":"case HS512","type":"case"},{"path":"\/documentation\/jose_swift\/signingalgorithm\/ps256","title":"case PS256","type":"case"},{"path":"\/documentation\/jose_swift\/signingalgorithm\/ps384","title":"case PS384","type":"case"},{"path":"\/documentation\/jose_swift\/signingalgorithm\/ps512","title":"case PS512","type":"case"},{"path":"\/documentation\/jose_swift\/signingalgorithm\/rs256","title":"case RS256","type":"case"},{"path":"\/documentation\/jose_swift\/signingalgorithm\/rs384","title":"case RS384","type":"case"},{"path":"\/documentation\/jose_swift\/signingalgorithm\/rs512","title":"case RS512","type":"case"},{"path":"\/documentation\/jose_swift\/signingalgorithm\/invalid","title":"case invalid","type":"case"},{"path":"\/documentation\/jose_swift\/signingalgorithm\/none","title":"case none","type":"case"},{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/signingalgorithm\/init(rawvalue:)","title":"init?(rawValue: String)","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/signingalgorithm\/cryptosigner","title":"var cryptoSigner: Signer?","type":"property"},{"path":"\/documentation\/jose_swift\/signingalgorithm\/cryptoverifier","title":"var cryptoVerifier: Verifier?","type":"property"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/signingalgorithm\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/jose_swift\/signingalgorithm\/equatable-implementations","title":"Equatable Implementations","type":"symbol"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/signingalgorithm\/init(from:)","title":"init(from: Decoder) throws","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/signingalgorithm\/hashvalue","title":"var hashValue: Int","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/signingalgorithm\/encode(to:)","title":"func encode(to: Encoder) throws","type":"method"},{"path":"\/documentation\/jose_swift\/signingalgorithm\/hash(into:)","title":"func hash(into: inout Hasher)","type":"method"}],"path":"\/documentation\/jose_swift\/signingalgorithm\/rawrepresentable-implementations","title":"RawRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/signingalgorithm","title":"SigningAlgorithm","type":"enum"},{"title":"Extended Modules","type":"groupMarker"},{"children":[{"title":"Extended Types","type":"groupMarker"},{"children":[{"title":"Extended Types","type":"groupMarker"},{"children":[{"title":"Extended Structures","type":"groupMarker"},{"children":[{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/privatekey\/jwkrepresentation","title":"var jwkRepresentation: JWK","type":"property"}],"path":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/privatekey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","type":"symbol"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/privatekey\/sharedsecretfromkeyagreement(publickeyshare:)","title":"func sharedSecretFromKeyAgreement(publicKeyShare: JWK) throws -> Data","type":"method"}],"path":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/privatekey\/sharedkeyagreement-implementations","title":"SharedKeyAgreement Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/privatekey","title":"Curve25519.KeyAgreement.PrivateKey","type":"extension"},{"children":[{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/publickey\/jwkrepresentation","title":"var jwkRepresentation: JWK","type":"property"}],"path":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/publickey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement\/publickey","title":"Curve25519.KeyAgreement.PublicKey","type":"extension"}],"path":"\/documentation\/jose_swift\/cryptokit\/curve25519\/keyagreement","title":"Curve25519.KeyAgreement","type":"extension"},{"children":[{"title":"Extended Structures","type":"groupMarker"},{"children":[{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/privatekey\/jwkrepresentation","title":"var jwkRepresentation: JWK","type":"property"}],"path":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/privatekey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/privatekey","title":"Curve25519.Signing.PrivateKey","type":"extension"},{"children":[{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/publickey\/jwkrepresentation","title":"var jwkRepresentation: JWK","type":"property"}],"path":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/publickey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing\/publickey","title":"Curve25519.Signing.PublicKey","type":"extension"}],"path":"\/documentation\/jose_swift\/cryptokit\/curve25519\/signing","title":"Curve25519.Signing","type":"extension"}],"path":"\/documentation\/jose_swift\/cryptokit\/curve25519","title":"Curve25519","type":"extension"},{"children":[{"title":"Extended Types","type":"groupMarker"},{"children":[{"title":"Extended Structures","type":"groupMarker"},{"children":[{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/privatekey\/jwkrepresentation","title":"var jwkRepresentation: JWK","type":"property"}],"path":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/privatekey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","type":"symbol"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/privatekey\/sharedsecretfromkeyagreement(publickeyshare:)","title":"func sharedSecretFromKeyAgreement(publicKeyShare: JWK) throws -> Data","type":"method"}],"path":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/privatekey\/sharedkeyagreement-implementations","title":"SharedKeyAgreement Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/privatekey","title":"P256.KeyAgreement.PrivateKey","type":"extension"},{"children":[{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/publickey\/jwkrepresentation","title":"var jwkRepresentation: JWK","type":"property"}],"path":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/publickey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement\/publickey","title":"P256.KeyAgreement.PublicKey","type":"extension"}],"path":"\/documentation\/jose_swift\/cryptokit\/p256\/keyagreement","title":"P256.KeyAgreement","type":"extension"},{"children":[{"title":"Extended Structures","type":"groupMarker"},{"children":[{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/cryptokit\/p256\/signing\/privatekey\/jwkrepresentation","title":"var jwkRepresentation: JWK","type":"property"}],"path":"\/documentation\/jose_swift\/cryptokit\/p256\/signing\/privatekey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/cryptokit\/p256\/signing\/privatekey","title":"P256.Signing.PrivateKey","type":"extension"},{"children":[{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/cryptokit\/p256\/signing\/publickey\/jwkrepresentation","title":"var jwkRepresentation: JWK","type":"property"}],"path":"\/documentation\/jose_swift\/cryptokit\/p256\/signing\/publickey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/cryptokit\/p256\/signing\/publickey","title":"P256.Signing.PublicKey","type":"extension"}],"path":"\/documentation\/jose_swift\/cryptokit\/p256\/signing","title":"P256.Signing","type":"extension"}],"path":"\/documentation\/jose_swift\/cryptokit\/p256","title":"P256","type":"extension"},{"children":[{"title":"Extended Types","type":"groupMarker"},{"children":[{"title":"Extended Structures","type":"groupMarker"},{"children":[{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/privatekey\/jwkrepresentation","title":"var jwkRepresentation: JWK","type":"property"}],"path":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/privatekey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","type":"symbol"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/privatekey\/sharedsecretfromkeyagreement(publickeyshare:)","title":"func sharedSecretFromKeyAgreement(publicKeyShare: JWK) throws -> Data","type":"method"}],"path":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/privatekey\/sharedkeyagreement-implementations","title":"SharedKeyAgreement Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/privatekey","title":"P384.KeyAgreement.PrivateKey","type":"extension"},{"children":[{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/publickey\/jwkrepresentation","title":"var jwkRepresentation: JWK","type":"property"}],"path":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/publickey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement\/publickey","title":"P384.KeyAgreement.PublicKey","type":"extension"}],"path":"\/documentation\/jose_swift\/cryptokit\/p384\/keyagreement","title":"P384.KeyAgreement","type":"extension"},{"children":[{"title":"Extended Structures","type":"groupMarker"},{"children":[{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/cryptokit\/p384\/signing\/privatekey\/jwkrepresentation","title":"var jwkRepresentation: JWK","type":"property"}],"path":"\/documentation\/jose_swift\/cryptokit\/p384\/signing\/privatekey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/cryptokit\/p384\/signing\/privatekey","title":"P384.Signing.PrivateKey","type":"extension"},{"children":[{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/cryptokit\/p384\/signing\/publickey\/jwkrepresentation","title":"var jwkRepresentation: JWK","type":"property"}],"path":"\/documentation\/jose_swift\/cryptokit\/p384\/signing\/publickey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/cryptokit\/p384\/signing\/publickey","title":"P384.Signing.PublicKey","type":"extension"}],"path":"\/documentation\/jose_swift\/cryptokit\/p384\/signing","title":"P384.Signing","type":"extension"}],"path":"\/documentation\/jose_swift\/cryptokit\/p384","title":"P384","type":"extension"},{"children":[{"title":"Extended Types","type":"groupMarker"},{"children":[{"title":"Extended Structures","type":"groupMarker"},{"children":[{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/privatekey\/jwkrepresentation","title":"var jwkRepresentation: JWK","type":"property"}],"path":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/privatekey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","type":"symbol"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/privatekey\/sharedsecretfromkeyagreement(publickeyshare:)","title":"func sharedSecretFromKeyAgreement(publicKeyShare: JWK) throws -> Data","type":"method"}],"path":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/privatekey\/sharedkeyagreement-implementations","title":"SharedKeyAgreement Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/privatekey","title":"P521.KeyAgreement.PrivateKey","type":"extension"},{"children":[{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/publickey\/jwkrepresentation","title":"var jwkRepresentation: JWK","type":"property"}],"path":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/publickey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement\/publickey","title":"P521.KeyAgreement.PublicKey","type":"extension"}],"path":"\/documentation\/jose_swift\/cryptokit\/p521\/keyagreement","title":"P521.KeyAgreement","type":"extension"},{"children":[{"title":"Extended Structures","type":"groupMarker"},{"children":[{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/cryptokit\/p521\/signing\/privatekey\/jwkrepresentation","title":"var jwkRepresentation: JWK","type":"property"}],"path":"\/documentation\/jose_swift\/cryptokit\/p521\/signing\/privatekey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/cryptokit\/p521\/signing\/privatekey","title":"P521.Signing.PrivateKey","type":"extension"},{"children":[{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/cryptokit\/p521\/signing\/publickey\/jwkrepresentation","title":"var jwkRepresentation: JWK","type":"property"}],"path":"\/documentation\/jose_swift\/cryptokit\/p521\/signing\/publickey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/cryptokit\/p521\/signing\/publickey","title":"P521.Signing.PublicKey","type":"extension"}],"path":"\/documentation\/jose_swift\/cryptokit\/p521\/signing","title":"P521.Signing","type":"extension"}],"path":"\/documentation\/jose_swift\/cryptokit\/p521","title":"P521","type":"extension"}],"path":"\/documentation\/jose_swift\/cryptokit","title":"CryptoKit","type":"extension"},{"children":[{"title":"Extended Types","type":"groupMarker"},{"children":[{"title":"Extended Types","type":"groupMarker"},{"children":[{"title":"Extended Structures","type":"groupMarker"},{"children":[{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/privatekey\/jwkrepresentation","title":"var jwkRepresentation: JWK","type":"property"}],"path":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/privatekey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","type":"symbol"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/privatekey\/sharedsecretfromkeyagreement(publickeyshare:)","title":"func sharedSecretFromKeyAgreement(publicKeyShare: JWK) throws -> Data","type":"method"}],"path":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/privatekey\/sharedkeyagreement-implementations","title":"SharedKeyAgreement Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/privatekey","title":"secp256k1.KeyAgreement.PrivateKey","type":"extension"},{"children":[{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/publickey\/jwkrepresentation","title":"var jwkRepresentation: JWK","type":"property"}],"path":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/publickey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement\/publickey","title":"secp256k1.KeyAgreement.PublicKey","type":"extension"}],"path":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/keyagreement","title":"secp256k1.KeyAgreement","type":"extension"},{"children":[{"title":"Extended Structures","type":"groupMarker"},{"children":[{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/privatekey\/jwkrepresentation","title":"var jwkRepresentation: JWK","type":"property"}],"path":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/privatekey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/privatekey","title":"secp256k1.Signing.PrivateKey","type":"extension"},{"children":[{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/publickey\/jwkrepresentation","title":"var jwkRepresentation: JWK","type":"property"}],"path":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/publickey\/jwkrepresentable-implementations","title":"JWKRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing\/publickey","title":"secp256k1.Signing.PublicKey","type":"extension"}],"path":"\/documentation\/jose_swift\/secp256k1\/secp256k1\/signing","title":"secp256k1.Signing","type":"extension"}],"path":"\/documentation\/jose_swift\/secp256k1\/secp256k1","title":"secp256k1","type":"extension"}],"path":"\/documentation\/jose_swift\/secp256k1","title":"secp256k1","type":"extension"}],"path":"\/documentation\/jose_swift","title":"jose-swift","type":"module"}]},"schemaVersion":{"major":0,"minor":1,"patch":1}} \ No newline at end of file diff --git a/index/navigator.index b/index/navigator.index new file mode 100644 index 0000000..b59bf2c Binary files /dev/null and b/index/navigator.index differ diff --git a/jose-swift-logo.png b/jose-swift-logo.png deleted file mode 100644 index cc241ff..0000000 Binary files a/jose-swift-logo.png and /dev/null differ diff --git a/js/chunk-2d0d3105.cd72cc8e.js b/js/chunk-2d0d3105.cd72cc8e.js new file mode 100644 index 0000000..74345f0 --- /dev/null +++ b/js/chunk-2d0d3105.cd72cc8e.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0d3105"],{"5abe":function(t,e){(function(){"use strict";if("object"===typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=function(t){var e=t,n=i(e);while(n)e=n.ownerDocument,n=i(e);return e}(window.document),e=[],n=null,o=null;s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return n||(n=function(t,n){o=t&&n?g(t,n):p(),e.forEach((function(t){t._checkForIntersections()}))}),n},s._resetCrossOriginUpdater=function(){n=null,o=null},s.prototype.observe=function(t){var e=this._observationTargets.some((function(e){return e.element==t}));if(!e){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},s.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]}))},s.prototype._parseRootMargin=function(t){var e=t||"0px",n=e.split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return n[1]=n[1]||n[0],n[2]=n[2]||n[0],n[3]=n[3]||n[1],n},s.prototype._monitorIntersections=function(e){var n=e.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(e)){var o=this._checkForIntersections,r=null,s=null;this.POLL_INTERVAL?r=n.setInterval(o,this.POLL_INTERVAL):(c(n,"resize",o,!0),c(e,"scroll",o,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(s=new n.MutationObserver(o),s.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(e),this._monitoringUnsubscribes.push((function(){var t=e.defaultView;t&&(r&&t.clearInterval(r),a(t,"resize",o,!0)),a(e,"scroll",o,!0),s&&s.disconnect()}));var h=this.root&&(this.root.ownerDocument||this.root)||t;if(e!=h){var u=i(e);u&&this._monitorIntersections(u.ownerDocument)}}},s.prototype._unmonitorIntersections=function(e){var n=this._monitoringDocuments.indexOf(e);if(-1!=n){var o=this.root&&(this.root.ownerDocument||this.root)||t,r=this._observationTargets.some((function(t){var n=t.element.ownerDocument;if(n==e)return!0;while(n&&n!=o){var r=i(n);if(n=r&&r.ownerDocument,n==e)return!0}return!1}));if(!r){var s=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),s(),e!=o){var h=i(e);h&&this._unmonitorIntersections(h.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e=0&&h>=0&&{top:n,bottom:o,left:i,right:r,width:s,height:h}||null}function f(t){var e;try{e=t.getBoundingClientRect()}catch(n){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):p()}function p(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function d(t){return!t||"x"in t?t:{top:t.top,y:t.top,bottom:t.bottom,left:t.left,x:t.left,right:t.right,width:t.width,height:t.height}}function g(t,e){var n=e.top-t.top,o=e.left-t.left;return{top:n,left:o,height:e.height,width:e.width,bottom:n+e.height,right:o+e.width}}function m(t,e){var n=e;while(n){if(n==t)return!0;n=v(n)}return!1}function v(e){var n=e.parentNode;return 9==e.nodeType&&e!=t?i(e):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function w(t){return t&&9===t.nodeType}})()}}]); \ No newline at end of file diff --git a/js/chunk-c0335d80.76a68cc5.js b/js/chunk-c0335d80.76a68cc5.js new file mode 100644 index 0000000..f4f01b7 --- /dev/null +++ b/js/chunk-c0335d80.76a68cc5.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c0335d80"],{"00b4":function(e,t,n){"use strict";var a,r,i,o,s,c,l,d,p=n("7b1f"),u={name:"ChangedToken",render(e){const{kind:t,tokens:n}=this;return e("span",{class:["token-"+t,"token-changed"]},n.map(t=>e(D,{props:t})))},props:{kind:{type:String,required:!0},tokens:{type:Array,required:!0}}},f=u,m=n("2877"),h=Object(m["a"])(f,a,r,!1,null,null,null),b=h.exports,g=n("86d8"),v=n("2f34"),y={name:"LinkableToken",mixins:[v["a"]],render(e){const t=this.references[this.identifier];return t&&t.url?e(g["a"],{props:{url:t.url,kind:t.kind,role:t.role}},this.$slots.default):e("span",{},this.$slots.default)},props:{identifier:{type:String,required:!0,default:()=>""}}},k=y,C=Object(m["a"])(k,i,o,!1,null,null,null),_=C.exports,x={name:"RawText",render(e){const{_v:t=(t=>e("span",t)),text:n}=this;return t(n)},props:{text:{type:String,required:!0}}},O=x,B=Object(m["a"])(O,s,c,!1,null,null,null),T=B.exports,S={name:"SyntaxToken",render(e){return e("span",{class:"token-"+this.kind},this.text)},props:{kind:{type:String,required:!0},text:{type:String,required:!0}}},I=S,$=Object(m["a"])(I,l,d,!1,null,null,null),j=$.exports;const q={attribute:"attribute",externalParam:"externalParam",genericParameter:"genericParameter",identifier:"identifier",internalParam:"internalParam",keyword:"keyword",label:"label",number:"number",string:"string",text:"text",typeIdentifier:"typeIdentifier",added:"added",removed:"removed"};var w,A,P={name:"DeclarationToken",render(e){const{kind:t,text:n,tokens:a}=this;switch(t){case q.text:{const t={text:n};return e(T,{props:t})}case q.typeIdentifier:{const t={identifier:this.identifier};return e(_,{class:"type-identifier-link",props:t},[e(p["a"],n)])}case q.attribute:{const{identifier:a}=this;return a?e(_,{class:"attribute-link",props:{identifier:a}},[e(p["a"],n)]):e(j,{props:{kind:t,text:n}})}case q.added:case q.removed:return e(b,{props:{tokens:a,kind:t}});default:{const a={kind:t,text:n};return e(j,{props:a})}}},constants:{TokenKind:q},props:{kind:{type:String,required:!0},identifier:{type:String,required:!1},text:{type:String,required:!1},tokens:{type:Array,required:!1,default:()=>[]}}},F=P,z=(n("8f34"),Object(m["a"])(F,w,A,!1,null,"3fd63d6c",null)),D=t["a"]=z.exports},"2a18":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"link-block",class:e.linkBlockClasses},[n(e.linkComponent,e._b({ref:"apiChangesDiff",tag:"component",staticClass:"link",class:e.linkClasses},"component",e.linkProps,!1),[e.topic.role&&!e.change?n("TopicLinkBlockIcon",{attrs:{role:e.topic.role,imageOverride:e.references[e.iconOverride]}}):e._e(),e.topic.fragments?n("DecoratedTopicTitle",{attrs:{tokens:e.topic.fragments}}):n("WordBreak",{attrs:{tag:e.titleTag}},[e._v(e._s(e.topic.title))]),e.change?n("span",{staticClass:"visuallyhidden"},[e._v("- "+e._s(e.$t(e.changeName)))]):e._e()],1),e.hasAbstractElements?n("div",{staticClass:"abstract"},[e.topic.abstract?n("ContentNode",{attrs:{content:e.topic.abstract}}):e._e(),e.topic.ideTitle?n("div",{staticClass:"topic-keyinfo"},[e.topic.titleStyle===e.titleStyles.title?[n("strong",[e._v("Key:")]),e._v(" "+e._s(e.topic.name)+" ")]:e.topic.titleStyle===e.titleStyles.symbol?[n("strong",[e._v("Name:")]),e._v(" "+e._s(e.topic.ideTitle)+" ")]:e._e()],2):e._e(),e.topic.required||e.topic.defaultImplementations?n("RequirementMetadata",{staticClass:"topic-required",attrs:{defaultImplementationsCount:e.topic.defaultImplementations}}):e._e(),e.topic.conformance?n("ConditionalConstraints",{attrs:{constraints:e.topic.conformance.constraints,prefix:e.topic.conformance.availabilityPrefix}}):e._e()],1):e._e(),e.showDeprecatedBadge?n("Badge",{attrs:{variant:"deprecated"}}):e.showBetaBadge?n("Badge",{attrs:{variant:"beta"}}):e._e(),e._l(e.tags,(function(t){return n("Badge",{key:t.type+"-"+t.text,attrs:{variant:t.type}},[e._v(" "+e._s(t.text)+" ")])}))],2)},r=[],i=n("66cd"),o=n("d26a"),s=n("a0fd"),c=n("7b1f"),l=n("6359"),d=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.imageOverride||e.icon?n("div",{staticClass:"topic-icon-wrapper"},[e.imageOverride?n("OverridableAsset",{staticClass:"topic-icon",attrs:{imageOverride:e.imageOverride}}):e.icon?n(e.icon,{tag:"component",staticClass:"topic-icon"}):e._e()],1):e._e()},p=[],u=n("a9f1"),f=n("3b96"),m=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"api-reference-icon",attrs:{viewBox:"0 0 14 14",themeId:"api-reference"}},[n("title",[e._v(e._s(e.$t("api-reference")))]),n("path",{attrs:{d:"m1 1v12h12v-12zm11 11h-10v-10h10z"}}),n("path",{attrs:{d:"m3 4h8v1h-8zm0 2.5h8v1h-8zm0 2.5h8v1h-8z"}}),n("path",{attrs:{d:"m3 4h8v1h-8z"}}),n("path",{attrs:{d:"m3 6.5h8v1h-8z"}}),n("path",{attrs:{d:"m3 9h8v1h-8z"}})])},h=[],b=n("be08"),g={name:"APIReferenceIcon",components:{SVGIcon:b["a"]}},v=g,y=n("2877"),k=Object(y["a"])(v,m,h,!1,null,null,null),C=k.exports,_=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{attrs:{viewBox:"0 0 14 14",themeId:"endpoint"}},[n("title",[e._v(e._s(e.$t("icons.web-service-endpoint")))]),n("path",{attrs:{d:"M4.052 8.737h-1.242l-1.878 5.263h1.15l0.364-1.081h1.939l0.339 1.081h1.193zM2.746 12.012l0.678-2.071 0.653 2.071z"}}),n("path",{attrs:{d:"M11.969 8.737h1.093v5.263h-1.093v-5.263z"}}),n("path",{attrs:{d:"M9.198 8.737h-2.295v5.263h1.095v-1.892h1.12c0.040 0.003 0.087 0.004 0.134 0.004 0.455 0 0.875-0.146 1.217-0.394l-0.006 0.004c0.296-0.293 0.48-0.699 0.48-1.148 0-0.060-0.003-0.118-0.010-0.176l0.001 0.007c0.003-0.039 0.005-0.085 0.005-0.131 0-0.442-0.183-0.842-0.476-1.128l-0-0c-0.317-0.256-0.724-0.41-1.168-0.41-0.034 0-0.069 0.001-0.102 0.003l0.005-0zM9.628 11.014c-0.15 0.118-0.341 0.188-0.548 0.188-0.020 0-0.040-0.001-0.060-0.002l0.003 0h-1.026v-1.549h1.026c0.017-0.001 0.037-0.002 0.058-0.002 0.206 0 0.396 0.066 0.551 0.178l-0.003-0.002c0.135 0.13 0.219 0.313 0.219 0.515 0 0.025-0.001 0.050-0.004 0.074l0-0.003c0.002 0.020 0.003 0.044 0.003 0.068 0 0.208-0.083 0.396-0.219 0.534l0-0z"}}),n("path",{attrs:{d:"M13.529 4.981c0-1.375-1.114-2.489-2.489-2.49h-0l-0.134 0.005c-0.526-1.466-1.903-2.496-3.522-2.496-0.892 0-1.711 0.313-2.353 0.835l0.007-0.005c-0.312-0.243-0.709-0.389-1.14-0.389-1.030 0-1.865 0.834-1.866 1.864v0c0 0.001 0 0.003 0 0.004 0 0.123 0.012 0.242 0.036 0.358l-0.002-0.012c-0.94 0.37-1.593 1.27-1.593 2.323 0 1.372 1.11 2.485 2.482 2.49h8.243c1.306-0.084 2.333-1.164 2.333-2.484 0-0.001 0-0.002 0-0.003v0zM11.139 6.535h-8.319c-0.799-0.072-1.421-0.739-1.421-1.551 0-0.659 0.41-1.223 0.988-1.45l0.011-0.004 0.734-0.28-0.148-0.776-0.012-0.082v-0.088c0-0 0-0.001 0-0.001 0-0.515 0.418-0.933 0.933-0.933 0.216 0 0.416 0.074 0.574 0.197l-0.002-0.002 0.584 0.453 0.575-0.467 0.169-0.127c0.442-0.306 0.991-0.489 1.581-0.489 1.211 0 2.243 0.769 2.633 1.846l0.006 0.019 0.226 0.642 0.814-0.023 0.131 0.006c0.805 0.067 1.432 0.736 1.432 1.552 0 0.836-0.659 1.518-1.486 1.556l-0.003 0z"}})])},x=[],O={name:"EndpointIcon",components:{SVGIcon:b["a"]}},B=O,T=Object(y["a"])(B,_,x,!1,null,null,null),S=T.exports,I=n("a295"),$=n("3024"),j=n("8d2d"),q=n("fdd9");const w={[i["a"].article]:u["a"],[i["a"].collection]:$["a"],[i["a"].collectionGroup]:C,[i["a"].learn]:I["a"],[i["a"].overview]:I["a"],[i["a"].project]:j["a"],[i["a"].tutorial]:j["a"],[i["a"].resources]:I["a"],[i["a"].sampleCode]:f["a"],[i["a"].restRequestSymbol]:S};var A={components:{OverridableAsset:q["a"],SVGIcon:b["a"]},props:{role:{type:String,required:!0},imageOverride:{type:Object,default:null}},computed:{icon:({role:e})=>w[e]}},P=A,F=(n("d94b"),Object(y["a"])(P,d,p,!1,null,"03cf3183",null)),z=F.exports,D=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("code",{staticClass:"decorated-title"},e._l(e.tokens,(function(t,a){return n(e.componentFor(t),{key:a,tag:"component",class:[e.classFor(t),e.emptyTokenClass(t)]},[e._v(e._s(t.text))])})),1)},N=[],E=n("00b4");const{TokenKind:M}=E["a"].constants,V={decorator:"decorator",identifier:"identifier",label:"label"};var L={name:"DecoratedTopicTitle",components:{WordBreak:c["a"]},props:{tokens:{type:Array,required:!0,default:()=>[]}},constants:{TokenKind:M},methods:{emptyTokenClass:({text:e})=>({"empty-token":" "===e}),classFor({kind:e}){switch(e){case M.externalParam:case M.identifier:return V.identifier;case M.label:return V.label;default:return V.decorator}},componentFor(e){return/^\s+$/.test(e.text)?"span":c["a"]}}},R=L,W=(n("dcf6"),Object(y["a"])(R,D,N,!1,null,"06ec7395",null)),G=W.exports,K=n("64cf"),H=n("e8ea"),J=n("5d59"),X=n("2f34");const Q={article:"article",symbol:"symbol"},U={title:"title",symbol:"symbol"},Y={link:"link"};var Z={name:"TopicsLinkBlock",components:{Badge:s["a"],WordBreak:c["a"],ContentNode:l["a"],TopicLinkBlockIcon:z,DecoratedTopicTitle:G,RequirementMetadata:H["a"],ConditionalConstraints:K["a"]},mixins:[J["b"],J["a"],X["a"]],constants:{ReferenceType:Y,TopicKind:Q,TitleStyles:U},props:{isSymbolBeta:Boolean,isSymbolDeprecated:Boolean,topic:{type:Object,required:!0,validator:e=>(!("abstract"in e)||Array.isArray(e.abstract))&&"string"===typeof e.identifier&&(e.type===Y.link&&!e.kind||"string"===typeof e.kind)&&(e.type===Y.link&&!e.role||"string"===typeof e.role)&&"string"===typeof e.title&&"string"===typeof e.url&&(!("defaultImplementations"in e)||"number"===typeof e.defaultImplementations)&&(!("required"in e)||"boolean"===typeof e.required)&&(!("conformance"in e)||"object"===typeof e.conformance)}},data(){return{state:this.store.state}},computed:{linkComponent:({topic:e})=>e.type===Y.link?"a":"router-link",linkProps({topic:e}){const t=Object(o["b"])(e.url,this.$route.query);return e.type===Y.link?{href:t}:{to:t}},linkBlockClasses:({changesClasses:e,hasAbstractElements:t,displaysMultipleLinesAfterAPIChanges:n,multipleLinesClass:a})=>({"has-inline-element":!t,[a]:n,...!t&&e}),linkClasses:({changesClasses:e,deprecated:t,hasAbstractElements:n})=>({deprecated:t,"has-adjacent-elements":n,...n&&e}),changesClasses:({getChangesClasses:e,change:t})=>e(t),titleTag({topic:e}){if(e.titleStyle===U.title)return e.ideTitle?"span":"code";if(e.role&&(e.role===i["a"].collection||e.role===i["a"].dictionarySymbol))return"span";switch(e.kind){case Q.symbol:return"code";default:return"span"}},titleStyles:()=>U,deprecated:({showDeprecatedBadge:e,topic:t})=>e||t.deprecated,showBetaBadge:({topic:e,isSymbolBeta:t})=>Boolean(!t&&e.beta),showDeprecatedBadge:({topic:e,isSymbolDeprecated:t})=>Boolean(!t&&e.deprecated),change({topic:{identifier:e},state:{apiChanges:t}}){return this.changeFor(e,t)},changeName:({change:e,getChangeName:t})=>t(e),hasAbstractElements:({topic:{abstract:e,conformance:t,required:n,defaultImplementations:a}}={})=>e&&e.length>0||t||n||a,tags:({topic:e})=>(e.tags||[]).slice(0,1),iconOverride:({topic:{images:e=[]}})=>{const t=e.find(({type:e})=>"icon"===e);return t?t.identifier:null}}},ee=Z,te=(n("8d8f8"),Object(y["a"])(ee,a,r,!1,null,"52205924",null));t["default"]=te.exports},"2f04":function(e,t,n){},4782:function(e,t,n){},4918:function(e,t,n){},"5d59":function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return l}));var a=n("b5cf"),r=n("9055"),i=n("beb1");const o="latest_",s={xcode:{value:"xcode",label:"Xcode"},other:{value:"other",label:"Other"}},c={constants:{multipleLinesClass:r["a"]},data(){return{multipleLinesClass:r["a"]}},computed:{displaysMultipleLinesAfterAPIChanges:({change:e,changeType:t,$refs:n})=>!(!e&&!t)&&Object(i["a"])(n.apiChangesDiff)}},l={methods:{toVersionRange({platform:e,versions:t}){return`${e} ${t[0]} – ${e} ${t[1]}`},toOptionValue:e=>`${o}${e}`,toScope:e=>e.slice(o.length,e.length),getOptionsForDiffAvailability(e={}){return this.getOptionsForDiffAvailabilities([e])},getOptionsForDiffAvailabilities(e=[]){const t=e.reduce((e,t={})=>Object.keys(t).reduce((e,n)=>({...e,[n]:(e[n]||[]).concat(t[n])}),e),{}),n=Object.keys(t),a=n.reduce((e,n)=>{const a=t[n];return{...e,[n]:a.find(e=>e.platform===s.xcode.label)||a[0]}},{}),r=e=>({label:this.toVersionRange(a[e]),value:this.toOptionValue(e),platform:a[e].platform}),{sdk:i,beta:o,minor:c,major:l,...d}=a,p=[].concat(i?r("sdk"):[]).concat(o?r("beta"):[]).concat(c?r("minor"):[]).concat(l?r("major"):[]).concat(Object.keys(d).map(r));return this.splitOptionsPerPlatform(p)},changesClassesFor(e,t){const n=this.changeFor(e,t);return this.getChangesClasses(n)},getChangesClasses:e=>({["changed changed-"+e]:!!e}),changeFor(e,t){const{change:n}=(t||{})[e]||{};return n},splitOptionsPerPlatform(e){return e.reduce((e,t)=>{const n=t.platform===s.xcode.label?s.xcode.value:s.other.value;return e[n].push(t),e},{[s.xcode.value]:[],[s.other.value]:[]})},getChangeName(e){return a["b"][e]}},computed:{availableOptions({diffAvailability:e={},toOptionValue:t}){return new Set(Object.keys(e).map(t))}}}},6359:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BaseContentNode",e._b({},"BaseContentNode",e.$props,!1))},r=[],i=n("5677"),o={name:"ContentNode",components:{BaseContentNode:i["default"]},props:i["default"].props,methods:i["default"].methods,BlockType:i["default"].BlockType,InlineType:i["default"].InlineType},s=o,c=(n("958a"),n("2877")),l=Object(c["a"])(s,a,r,!1,null,"20945666",null);t["a"]=l.exports},"64cf":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ContentNode",{staticClass:"conditional-constraints",attrs:{content:e.content}})},r=[],i=n("6359"),o={name:"ConditionalConstraints",components:{ContentNode:i["a"]},props:{constraints:i["a"].props.content,prefix:i["a"].props.content},computed:{content:({constraints:e,prefix:t,space:n})=>t.concat(n).concat(e),space:()=>({type:i["a"].InlineType.text,text:" "})}},s=o,c=(n("918a"),n("2877")),l=Object(c["a"])(s,a,r,!1,null,"1548fd90",null);t["a"]=l.exports},"686d":function(e,t,n){},"8d74":function(e,t,n){},"8d8f8":function(e,t,n){"use strict";n("4918")},"8f34":function(e,t,n){"use strict";n("686d")},9055:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));const a="displays-multiple-lines"},"918a":function(e,t,n){"use strict";n("a2b5")},"94ca":function(e,t,n){"use strict";n("4782")},"958a":function(e,t,n){"use strict";n("8d74")},a0fd:function(e,t,n){"use strict";var a=function(){var e,t=this,n=t.$createElement,a=t._self._c||n;return a("span",{staticClass:"badge",class:(e={},e["badge-"+t.variant]=t.variant,e),attrs:{role:"presentation"}},[t._t("default",(function(){return[t._v(t._s(t.text?t.$t(t.text):""))]}))],2)},r=[];const i={beta:"aside-kind.beta",deprecated:"aside-kind.deprecated"};var o={name:"Badge",props:{variant:{type:String,default:()=>""}},computed:{text:({variant:e})=>i[e]}},s=o,c=(n("94ca"),n("2877")),l=Object(c["a"])(s,a,r,!1,null,"8d6893ae",null);t["a"]=l.exports},a2b5:function(e,t,n){},b5cf:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));const a={added:"added",modified:"modified",deprecated:"deprecated"},r=[a.modified,a.added,a.deprecated],i={[a.modified]:"change-type.modified",[a.added]:"change-type.added",[a.deprecated]:"change-type.deprecated"},o={"change-type.modified":a.modified,"change-type.added":a.added,"change-type.deprecated":a.deprecated}},beb1:function(e,t,n){"use strict";function a(e){if(!e)return!1;const t=window.getComputedStyle(e.$el||e),n=(e.$el||e).offsetHeight,a=t.lineHeight?parseFloat(t.lineHeight):1,r=t.paddingTop?parseFloat(t.paddingTop):0,i=t.paddingBottom?parseFloat(t.paddingBottom):0,o=t.borderTopWidth?parseFloat(t.borderTopWidth):0,s=t.borderBottomWidth?parseFloat(t.borderBottomWidth):0,c=n-(r+i+o+s),l=c/a;return l>=2}n.d(t,"a",(function(){return a}))},d94b:function(e,t,n){"use strict";n("fff0")},dcf6:function(e,t,n){"use strict";n("2f04")},e8ea:function(e,t,n){"use strict";var a=function(e,t){var n=t._c;return n("p",{staticClass:"requirement-metadata",class:t.data.staticClass},[n("strong",[t._v(t._s(t.parent.$t("required")))]),t.props.defaultImplementationsCount?[t._v(" "+t._s(t.parent.$tc("metadata.default-implementation",t.props.defaultImplementationsCount))+" ")]:t._e()],2)},r=[],i={name:"RequirementMetadata",props:{defaultImplementationsCount:{type:Number,default:0}}},o=i,s=n("2877"),c=Object(s["a"])(o,a,r,!0,null,null,null);t["a"]=c.exports},fff0:function(e,t,n){}}]); \ No newline at end of file diff --git a/js/chunk-vendors.ba2dd0cb.js b/js/chunk-vendors.ba2dd0cb.js new file mode 100644 index 0000000..1230066 --- /dev/null +++ b/js/chunk-vendors.ba2dd0cb.js @@ -0,0 +1,26 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{2877:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},"2b0e":function(t,e,n){"use strict";n.r(e),function(t){ +/*! + * Vue.js v2.6.14 + * (c) 2014-2021 Evan You + * Released under the MIT License. + */ +var n=Object.freeze({});function r(t){return void 0===t||null===t}function i(t){return void 0!==t&&null!==t}function o(t){return!0===t}function a(t){return!1===t}function s(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function c(t){return null!==t&&"object"===typeof t}var u=Object.prototype.toString;function l(t){return"[object Object]"===u.call(t)}function f(t){return"[object RegExp]"===u.call(t)}function p(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function h(t){return i(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function d(t){return null==t?"":Array.isArray(t)||l(t)&&t.toString===u?JSON.stringify(t,null,2):String(t)}function v(t){var e=parseFloat(t);return isNaN(e)?t:e}function m(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(n,1)}}var _=Object.prototype.hasOwnProperty;function b(t,e){return _.call(t,e)}function w(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var C=/-(\w)/g,k=w((function(t){return t.replace(C,(function(t,e){return e?e.toUpperCase():""}))})),$=w((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),x=/\B([A-Z])/g,A=w((function(t){return t.replace(x,"-$1").toLowerCase()}));function O(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function S(t,e){return t.bind(e)}var T=Function.prototype.bind?S:O;function E(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function j(t,e){for(var n in e)t[n]=e[n];return t}function F(t){for(var e={},n=0;n0,nt=Q&&Q.indexOf("edge/")>0,rt=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===Y),it=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),ot={}.watch,at=!1;if(X)try{var st={};Object.defineProperty(st,"passive",{get:function(){at=!0}}),window.addEventListener("test-passive",null,st)}catch($a){}var ct=function(){return void 0===K&&(K=!X&&!Z&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),K},ut=X&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function lt(t){return"function"===typeof t&&/native code/.test(t.toString())}var ft,pt="undefined"!==typeof Symbol&<(Symbol)&&"undefined"!==typeof Reflect&<(Reflect.ownKeys);ft="undefined"!==typeof Set&<(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ht=I,dt=0,vt=function(){this.id=dt++,this.subs=[]};vt.prototype.addSub=function(t){this.subs.push(t)},vt.prototype.removeSub=function(t){g(this.subs,t)},vt.prototype.depend=function(){vt.target&&vt.target.addDep(this)},vt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(o&&!b(i,"default"))a=!1;else if(""===a||a===A(t)){var c=ee(String,i.type);(c<0||s0&&(a=Se(a,(e||"")+"_"+n),Oe(a[0])&&Oe(u)&&(l[c]=Ct(u.text+a[0].text),a.shift()),l.push.apply(l,a)):s(a)?Oe(u)?l[c]=Ct(u.text+a):""!==a&&l.push(Ct(a)):Oe(a)&&Oe(u)?l[c]=Ct(u.text+a.text):(o(t._isVList)&&i(a.tag)&&r(a.key)&&i(e)&&(a.key="__vlist"+e+"_"+n+"__"),l.push(a)));return l}function Te(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function Ee(t){var e=je(t.$options.inject,t);e&&(Tt(!1),Object.keys(e).forEach((function(n){Lt(t,n,e[n])})),Tt(!0))}function je(t,e){if(t){for(var n=Object.create(null),r=pt?Reflect.ownKeys(t):Object.keys(t),i=0;i0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&r&&r!==n&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var c in i={},t)t[c]&&"$"!==c[0]&&(i[c]=De(e,c,t[c]))}else i={};for(var u in e)u in i||(i[u]=Re(e,u));return t&&Object.isExtensible(t)&&(t._normalized=i),z(i,"$stable",a),z(i,"$key",s),z(i,"$hasNormal",o),i}function De(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:Ae(t);var e=t&&t[0];return t&&(!e||1===t.length&&e.isComment&&!Le(e))?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function Re(t,e){return function(){return t[e]}}function Ne(t,e){var n,r,o,a,s;if(Array.isArray(t)||"string"===typeof t)for(n=new Array(t.length),r=0,o=t.length;r1?E(n):n;for(var r=E(arguments,1),i='event handler for "'+t+'"',o=0,a=n.length;odocument.createEvent("Event").timeStamp&&(Gn=function(){return Xn.now()})}function Zn(){var t,e;for(Kn=Gn(),zn=!0,Wn.sort((function(t,e){return t.id-e.id})),qn=0;qnqn&&Wn[n].id>t.id)n--;Wn.splice(n+1,0,t)}else Wn.push(t);Bn||(Bn=!0,ve(Zn))}}var nr=0,rr=function(t,e,n,r,i){this.vm=t,i&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++nr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ft,this.newDepIds=new ft,this.expression="","function"===typeof e?this.getter=e:(this.getter=J(e),this.getter||(this.getter=I)),this.value=this.lazy?void 0:this.get()};rr.prototype.get=function(){var t;yt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch($a){if(!this.user)throw $a;ne($a,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ye(t),gt(),this.cleanupDeps()}return t},rr.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},rr.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},rr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():er(this)},rr.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'+this.expression+'"';re(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},rr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},rr.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},rr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1}};var ir={enumerable:!0,configurable:!0,get:I,set:I};function or(t,e,n){ir.get=function(){return this[e][n]},ir.set=function(t){this[e][n]=t},Object.defineProperty(t,n,ir)}function ar(t){t._watchers=[];var e=t.$options;e.props&&sr(t,e.props),e.methods&&vr(t,e.methods),e.data?cr(t):It(t._data={},!0),e.computed&&fr(t,e.computed),e.watch&&e.watch!==ot&&mr(t,e.watch)}function sr(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[],o=!t.$parent;o||Tt(!1);var a=function(o){i.push(o);var a=Xt(o,e,n,t);Lt(r,o,a),o in t||or(t,"_props",o)};for(var s in e)a(s);Tt(!0)}function cr(t){var e=t.$options.data;e=t._data="function"===typeof e?ur(e,t):e||{},l(e)||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);while(i--){var o=n[i];0,r&&b(r,o)||B(o)||or(t,"_data",o)}It(e,!0)}function ur(t,e){yt();try{return t.call(e,e)}catch($a){return ne($a,e,"data()"),{}}finally{gt()}}var lr={lazy:!0};function fr(t,e){var n=t._computedWatchers=Object.create(null),r=ct();for(var i in e){var o=e[i],a="function"===typeof o?o:o.get;0,r||(n[i]=new rr(t,a||I,I,lr)),i in t||pr(t,i,o)}}function pr(t,e,n){var r=!ct();"function"===typeof n?(ir.get=r?hr(e):dr(n),ir.set=I):(ir.get=n.get?r&&!1!==n.cache?hr(e):dr(n.get):I,ir.set=n.set||I),Object.defineProperty(t,e,ir)}function hr(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),vt.target&&e.depend(),e.value}}function dr(t){return function(){return t.call(this,this)}}function vr(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?I:T(e[n],t)}function mr(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i-1)return this;var n=E(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function Ar(t){t.mixin=function(t){return this.options=Kt(this.options,t),this}}function Or(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name;var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=Kt(n.options,t),a["super"]=n,a.options.props&&Sr(a),a.options.computed&&Tr(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,V.forEach((function(t){a[t]=n[t]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=j({},a.options),i[r]=a,a}}function Sr(t){var e=t.options.props;for(var n in e)or(t.prototype,"_props",n)}function Tr(t){var e=t.options.computed;for(var n in e)pr(t.prototype,n,e[n])}function Er(t){V.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&l(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function jr(t){return t&&(t.Ctor.options.name||t.tag)}function Fr(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function Ir(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var a=n[o];if(a){var s=a.name;s&&!e(s)&&Lr(n,o,r,i)}}}function Lr(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,g(n,e)}br($r),gr($r),En($r),Ln($r),bn($r);var Mr=[String,RegExp,Array],Dr={name:"keep-alive",abstract:!0,props:{include:Mr,exclude:Mr,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,r=t.vnodeToCache,i=t.keyToCache;if(r){var o=r.tag,a=r.componentInstance,s=r.componentOptions;e[i]={name:jr(s),tag:o,componentInstance:a},n.push(i),this.max&&n.length>parseInt(this.max)&&Lr(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Lr(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){Ir(t,(function(t){return Fr(e,t)}))})),this.$watch("exclude",(function(e){Ir(t,(function(t){return!Fr(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=$n(t),n=e&&e.componentOptions;if(n){var r=jr(n),i=this,o=i.include,a=i.exclude;if(o&&(!r||!Fr(o,r))||a&&r&&Fr(a,r))return e;var s=this,c=s.cache,u=s.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;c[l]?(e.componentInstance=c[l].componentInstance,g(u,l),u.push(l)):(this.vnodeToCache=e,this.keyToCache=l),e.data.keepAlive=!0}return e||t&&t[0]}},Rr={KeepAlive:Dr};function Nr(t){var e={get:function(){return H}};Object.defineProperty(t,"config",e),t.util={warn:ht,extend:j,mergeOptions:Kt,defineReactive:Lt},t.set=Mt,t.delete=Dt,t.nextTick=ve,t.observable=function(t){return It(t),t},t.options=Object.create(null),V.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,j(t.options.components,Rr),xr(t),Ar(t),Or(t),Er(t)}Nr($r),Object.defineProperty($r.prototype,"$isServer",{get:ct}),Object.defineProperty($r.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty($r,"FunctionalRenderContext",{value:Qe}),$r.version="2.6.14";var Pr=m("style,class"),Vr=m("input,textarea,option,select,progress"),Wr=function(t,e,n){return"value"===n&&Vr(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Hr=m("contenteditable,draggable,spellcheck"),Ur=m("events,caret,typing,plaintext-only"),Br=function(t,e){return Gr(e)||"false"===e?"false":"contenteditable"===t&&Ur(e)?e:"true"},zr=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),qr="http://www.w3.org/1999/xlink",Jr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Kr=function(t){return Jr(t)?t.slice(6,t.length):""},Gr=function(t){return null==t||!1===t};function Xr(t){var e=t.data,n=t,r=t;while(i(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(e=Zr(r.data,e));while(i(n=n.parent))n&&n.data&&(e=Zr(e,n.data));return Yr(e.staticClass,e.class)}function Zr(t,e){return{staticClass:Qr(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Yr(t,e){return i(t)||i(e)?Qr(t,ti(e)):""}function Qr(t,e){return t?e?t+" "+e:t:e||""}function ti(t){return Array.isArray(t)?ei(t):c(t)?ni(t):"string"===typeof t?t:""}function ei(t){for(var e,n="",r=0,o=t.length;r-1?ci[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:ci[t]=/HTMLUnknownElement/.test(e.toString())}var li=m("text,number,password,search,email,tel,url");function fi(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function pi(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function hi(t,e){return document.createElementNS(ri[t],e)}function di(t){return document.createTextNode(t)}function vi(t){return document.createComment(t)}function mi(t,e,n){t.insertBefore(e,n)}function yi(t,e){t.removeChild(e)}function gi(t,e){t.appendChild(e)}function _i(t){return t.parentNode}function bi(t){return t.nextSibling}function wi(t){return t.tagName}function Ci(t,e){t.textContent=e}function ki(t,e){t.setAttribute(e,"")}var $i=Object.freeze({createElement:pi,createElementNS:hi,createTextNode:di,createComment:vi,insertBefore:mi,removeChild:yi,appendChild:gi,parentNode:_i,nextSibling:bi,tagName:wi,setTextContent:Ci,setStyleScope:ki}),xi={create:function(t,e){Ai(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Ai(t,!0),Ai(e))},destroy:function(t){Ai(t,!0)}};function Ai(t,e){var n=t.data.ref;if(i(n)){var r=t.context,o=t.componentInstance||t.elm,a=r.$refs;e?Array.isArray(a[n])?g(a[n],o):a[n]===o&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var Oi=new _t("",{},[]),Si=["create","activate","update","remove","destroy"];function Ti(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&i(t.data)===i(e.data)&&Ei(t,e)||o(t.isAsyncPlaceholder)&&r(e.asyncFactory.error))}function Ei(t,e){if("input"!==t.tag)return!0;var n,r=i(n=t.data)&&i(n=n.attrs)&&n.type,o=i(n=e.data)&&i(n=n.attrs)&&n.type;return r===o||li(r)&&li(o)}function ji(t,e,n){var r,o,a={};for(r=e;r<=n;++r)o=t[r].key,i(o)&&(a[o]=r);return a}function Fi(t){var e,n,a={},c=t.modules,u=t.nodeOps;for(e=0;ev?(f=r(n[g+1])?null:n[g+1].elm,k(t,f,n,d,g,o)):d>g&&x(e,p,v)}function S(t,e,n,r){for(var o=n;o-1?Ui(t,e,n):zr(e)?Gr(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Hr(e)?t.setAttribute(e,Br(e,n)):Jr(e)?Gr(n)?t.removeAttributeNS(qr,Kr(e)):t.setAttributeNS(qr,e,n):Ui(t,e,n)}function Ui(t,e,n){if(Gr(n))t.removeAttribute(e);else{if(tt&&!et&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var Bi={create:Wi,update:Wi};function zi(t,e){var n=e.elm,o=e.data,a=t.data;if(!(r(o.staticClass)&&r(o.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Xr(e),c=n._transitionClasses;i(c)&&(s=Qr(s,ti(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var qi,Ji={create:zi,update:zi},Ki="__r",Gi="__c";function Xi(t){if(i(t[Ki])){var e=tt?"change":"input";t[e]=[].concat(t[Ki],t[e]||[]),delete t[Ki]}i(t[Gi])&&(t.change=[].concat(t[Gi],t.change||[]),delete t[Gi])}function Zi(t,e,n){var r=qi;return function i(){var o=e.apply(null,arguments);null!==o&&to(t,i,n,r)}}var Yi=se&&!(it&&Number(it[1])<=53);function Qi(t,e,n,r){if(Yi){var i=Kn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}qi.addEventListener(t,e,at?{capture:n,passive:r}:n)}function to(t,e,n,r){(r||qi).removeEventListener(t,e._wrapper||e,n)}function eo(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};qi=e.elm,Xi(n),we(n,i,Qi,to,Zi,e.context),qi=void 0}}var no,ro={create:eo,update:eo};function io(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,o,a=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};for(n in i(c.__ob__)&&(c=e.data.domProps=j({},c)),s)n in c||(a[n]="");for(n in c){if(o=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=o;var u=r(o)?"":String(o);oo(a,u)&&(a.value=u)}else if("innerHTML"===n&&oi(a.tagName)&&r(a.innerHTML)){no=no||document.createElement("div"),no.innerHTML=""+o+"";var l=no.firstChild;while(a.firstChild)a.removeChild(a.firstChild);while(l.firstChild)a.appendChild(l.firstChild)}else if(o!==s[n])try{a[n]=o}catch($a){}}}}function oo(t,e){return!t.composing&&("OPTION"===t.tagName||ao(t,e)||so(t,e))}function ao(t,e){var n=!0;try{n=document.activeElement!==t}catch($a){}return n&&t.value!==e}function so(t,e){var n=t.value,r=t._vModifiers;if(i(r)){if(r.number)return v(n)!==v(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var co={create:io,update:io},uo=w((function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function lo(t){var e=fo(t.style);return t.staticStyle?j(t.staticStyle,e):e}function fo(t){return Array.isArray(t)?F(t):"string"===typeof t?uo(t):t}function po(t,e){var n,r={};if(e){var i=t;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(n=lo(i.data))&&j(r,n)}(n=lo(t.data))&&j(r,n);var o=t;while(o=o.parent)o.data&&(n=lo(o.data))&&j(r,n);return r}var ho,vo=/^--/,mo=/\s*!important$/,yo=function(t,e,n){if(vo.test(e))t.style.setProperty(e,n);else if(mo.test(n))t.style.setProperty(A(e),n.replace(mo,""),"important");else{var r=_o(e);if(Array.isArray(n))for(var i=0,o=n.length;i-1?e.split(Co).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function $o(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Co).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function xo(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&j(e,Ao(t.name||"v")),j(e,t),e}return"string"===typeof t?Ao(t):void 0}}var Ao=w((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Oo=X&&!et,So="transition",To="animation",Eo="transition",jo="transitionend",Fo="animation",Io="animationend";Oo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Eo="WebkitTransition",jo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Fo="WebkitAnimation",Io="webkitAnimationEnd"));var Lo=X?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Mo(t){Lo((function(){Lo(t)}))}function Do(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),ko(t,e))}function Ro(t,e){t._transitionClasses&&g(t._transitionClasses,e),$o(t,e)}function No(t,e,n){var r=Vo(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===So?jo:Io,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout((function(){c0&&(n=So,l=a,f=o.length):e===To?u>0&&(n=To,l=u,f=c.length):(l=Math.max(a,u),n=l>0?a>u?So:To:null,f=n?n===So?o.length:c.length:0);var p=n===So&&Po.test(r[Eo+"Property"]);return{type:n,timeout:l,propCount:f,hasTransform:p}}function Wo(t,e){while(t.length1}function Jo(t,e){!0!==e.data.show&&Uo(e)}var Ko=X?{create:Jo,activate:Jo,remove:function(t,e){!0!==t.data.show?Bo(t,e):e()}}:{},Go=[Bi,Ji,ro,co,wo,Ko],Xo=Go.concat(Vi),Zo=Fi({nodeOps:$i,modules:Xo});et&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&oa(t,"input")}));var Yo={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?Ce(n,"postpatch",(function(){Yo.componentUpdated(t,e,n)})):Qo(t,e,n.context),t._vOptions=[].map.call(t.options,na)):("textarea"===n.tag||li(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",ra),t.addEventListener("compositionend",ia),t.addEventListener("change",ia),et&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Qo(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,na);if(i.some((function(t,e){return!D(t,r[e])}))){var o=t.multiple?e.value.some((function(t){return ea(t,i)})):e.value!==e.oldValue&&ea(e.value,i);o&&oa(t,"change")}}}};function Qo(t,e,n){ta(t,e,n),(tt||nt)&&setTimeout((function(){ta(t,e,n)}),0)}function ta(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=t.options.length;s-1,a.selected!==o&&(a.selected=o);else if(D(na(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function ea(t,e){return e.every((function(e){return!D(e,t)}))}function na(t){return"_value"in t?t._value:t.value}function ra(t){t.target.composing=!0}function ia(t){t.target.composing&&(t.target.composing=!1,oa(t.target,"input"))}function oa(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function aa(t){return!t.componentInstance||t.data&&t.data.transition?t:aa(t.componentInstance._vnode)}var sa={bind:function(t,e,n){var r=e.value;n=aa(n);var i=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,Uo(n,(function(){t.style.display=o}))):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value,i=e.oldValue;if(!r!==!i){n=aa(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,r?Uo(n,(function(){t.style.display=t.__vOriginalDisplay})):Bo(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}},ca={model:Yo,show:sa},ua={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function la(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?la($n(e.children)):t}function fa(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[k(o)]=i[o];return e}function pa(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function ha(t){while(t=t.parent)if(t.data.transition)return!0}function da(t,e){return e.key===t.key&&e.tag===t.tag}var va=function(t){return t.tag||Le(t)},ma=function(t){return"show"===t.name},ya={name:"transition",props:ua,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(va),n.length)){0;var r=this.mode;0;var i=n[0];if(ha(this.$vnode))return i;var o=la(i);if(!o)return i;if(this._leaving)return pa(t,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var c=(o.data||(o.data={})).transition=fa(this),u=this._vnode,l=la(u);if(o.data.directives&&o.data.directives.some(ma)&&(o.data.show=!0),l&&l.data&&!da(o,l)&&!Le(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=j({},c);if("out-in"===r)return this._leaving=!0,Ce(f,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),pa(t,i);if("in-out"===r){if(Le(o))return u;var p,h=function(){p()};Ce(c,"afterEnter",h),Ce(c,"enterCancelled",h),Ce(f,"delayLeave",(function(t){p=t}))}}return i}}},ga=j({tag:String,moveClass:String},ua);delete ga.mode;var _a={props:ga,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var i=Fn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=fa(this),s=0;s=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}function E(t){return t.replace(/\/\//g,"/")}var j=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},F=Z,I=N,L=P,M=H,D=X,R=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function N(t,e){var n,r=[],i=0,o=0,a="",s=e&&e.delimiter||"/";while(null!=(n=R.exec(t))){var c=n[0],u=n[1],l=n.index;if(a+=t.slice(o,l),o=l+c.length,u)a+=u[1];else{var f=t[o],p=n[2],h=n[3],d=n[4],v=n[5],m=n[6],y=n[7];a&&(r.push(a),a="");var g=null!=p&&null!=f&&f!==p,_="+"===m||"*"===m,b="?"===m||"*"===m,w=n[2]||s,C=d||v;r.push({name:h||i++,prefix:p||"",delimiter:w,optional:b,repeat:_,partial:g,asterisk:!!y,pattern:C?B(C):y?".*":"[^"+U(w)+"]+?"})}}return o1||!$.length)return 0===$.length?t():t("span",{},$)}if("a"===this.tag)k.on=w,k.attrs={href:c,"aria-current":g};else{var x=st(this.$slots.default);if(x){x.isStatic=!1;var A=x.data=i({},x.data);for(var O in A.on=A.on||{},A.on){var S=A.on[O];O in w&&(A.on[O]=Array.isArray(S)?S:[S])}for(var T in w)T in A.on?A.on[T].push(w[T]):A.on[T]=_;var E=x.data.attrs=i({},x.data.attrs);E.href=c,E["aria-current"]=g}else k.on=w}return t(this.tag,k,this.$slots.default)}};function at(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function st(t){if(t)for(var e,n=0;n-1&&(s.params[f]=n.params[f]);return s.path=Q(u.path,s.params,'named route "'+c+'"'),p(u,s,a)}if(s.path){s.params={};for(var h=0;h=t.length?n():t[i]?e(t[i],(function(){r(i+1)})):r(i+1)};r(0)}var Pt={redirected:2,aborted:4,cancelled:8,duplicated:16};function Vt(t,e){return Bt(t,e,Pt.redirected,'Redirected when going from "'+t.fullPath+'" to "'+qt(e)+'" via a navigation guard.')}function Wt(t,e){var n=Bt(t,e,Pt.duplicated,'Avoided redundant navigation to current location: "'+t.fullPath+'".');return n.name="NavigationDuplicated",n}function Ht(t,e){return Bt(t,e,Pt.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Ut(t,e){return Bt(t,e,Pt.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}function Bt(t,e,n,r){var i=new Error(r);return i._isRouter=!0,i.from=t,i.to=e,i.type=n,i}var zt=["params","query","hash"];function qt(t){if("string"===typeof t)return t;if("path"in t)return t.path;var e={};return zt.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}function Jt(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function Kt(t,e){return Jt(t)&&t._isRouter&&(null==e||t.type===e)}function Gt(t){return function(e,n,r){var i=!1,o=0,a=null;Xt(t,(function(t,e,n,s){if("function"===typeof t&&void 0===t.cid){i=!0,o++;var c,u=te((function(e){Qt(e)&&(e=e.default),t.resolved="function"===typeof e?e:et.extend(e),n.components[s]=e,o--,o<=0&&r()})),l=te((function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=Jt(t)?t:new Error(e),r(a))}));try{c=t(u,l)}catch(p){l(p)}if(c)if("function"===typeof c.then)c.then(u,l);else{var f=c.component;f&&"function"===typeof f.then&&f.then(u,l)}}})),i||r()}}function Xt(t,e){return Zt(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Zt(t){return Array.prototype.concat.apply([],t)}var Yt="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Qt(t){return t.__esModule||Yt&&"Module"===t[Symbol.toStringTag]}function te(t){var e=!1;return function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var ee=function(t,e){this.router=t,this.base=ne(e),this.current=y,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function ne(t){if(!t)if(ut){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function re(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n0)){var e=this.router,n=e.options.scrollBehavior,r=Mt&&n;r&&this.listeners.push(kt());var i=function(){var n=t.current,i=pe(t.base);t.current===y&&i===t._startLocation||t.transitionTo(i,(function(t){r&&$t(e,t,n,!0)}))};window.addEventListener("popstate",i),this.listeners.push((function(){window.removeEventListener("popstate",i)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,(function(t){Dt(E(r.base+t.fullPath)),$t(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,(function(t){Rt(E(r.base+t.fullPath)),$t(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(pe(this.base)!==this.current.fullPath){var e=E(this.base+this.current.fullPath);t?Dt(e):Rt(e)}},e.prototype.getCurrentLocation=function(){return pe(this.base)},e}(ee);function pe(t){var e=window.location.pathname,n=e.toLowerCase(),r=t.toLowerCase();return!t||n!==r&&0!==n.indexOf(E(r+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var he=function(t){function e(e,n,r){t.call(this,e,n),r&&de(this.base)||ve()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,r=Mt&&n;r&&this.listeners.push(kt());var i=function(){var e=t.current;ve()&&t.transitionTo(me(),(function(n){r&&$t(t.router,n,e,!0),Mt||_e(n.fullPath)}))},o=Mt?"popstate":"hashchange";window.addEventListener(o,i),this.listeners.push((function(){window.removeEventListener(o,i)}))}},e.prototype.push=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,(function(t){ge(t.fullPath),$t(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,(function(t){_e(t.fullPath),$t(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;me()!==e&&(t?ge(e):_e(e))},e.prototype.getCurrentLocation=function(){return me()},e}(ee);function de(t){var e=pe(t);if(!/^\/#/.test(e))return window.location.replace(E(t+"/#"+e)),!0}function ve(){var t=me();return"/"===t.charAt(0)||(_e("/"+t),!1)}function me(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function ye(t){var e=window.location.href,n=e.indexOf("#"),r=n>=0?e.slice(0,n):e;return r+"#"+t}function ge(t){Mt?Dt(ye(t)):window.location.hash=t}function _e(t){Mt?Rt(ye(t)):window.location.replace(ye(t))}var be=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var t=e.current;e.index=n,e.updateRoute(r),e.router.afterHooks.forEach((function(e){e&&e(r,t)}))}),(function(t){Kt(t,Pt.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(ee),we=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=dt(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Mt&&!1!==t.fallback,this.fallback&&(e="hash"),ut||(e="abstract"),this.mode=e,e){case"history":this.history=new fe(this,t.base);break;case"hash":this.history=new he(this,t.base,this.fallback);break;case"abstract":this.history=new be(this,t.base);break;default:0}},Ce={currentRoute:{configurable:!0}};function ke(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function $e(t,e,n){var r="hash"===n?"#"+e:e;return t?E(t+"/"+r):r}we.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},Ce.currentRoute.get=function(){return this.history&&this.history.current},we.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof fe||n instanceof he){var r=function(t){var r=n.current,i=e.options.scrollBehavior,o=Mt&&i;o&&"fullPath"in t&&$t(e,t,r,!1)},i=function(t){n.setupListeners(),r(t)};n.transitionTo(n.getCurrentLocation(),i,i)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},we.prototype.beforeEach=function(t){return ke(this.beforeHooks,t)},we.prototype.beforeResolve=function(t){return ke(this.resolveHooks,t)},we.prototype.afterEach=function(t){return ke(this.afterHooks,t)},we.prototype.onReady=function(t,e){this.history.onReady(t,e)},we.prototype.onError=function(t){this.history.onError(t)},we.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){r.history.push(t,e,n)}));this.history.push(t,e,n)},we.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){r.history.replace(t,e,n)}));this.history.replace(t,e,n)},we.prototype.go=function(t){this.history.go(t)},we.prototype.back=function(){this.go(-1)},we.prototype.forward=function(){this.go(1)},we.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},we.prototype.resolve=function(t,e,n){e=e||this.history.current;var r=tt(t,e,n,this),i=this.match(r,e),o=i.redirectedFrom||i.fullPath,a=this.history.base,s=$e(a,o,this.mode);return{location:r,route:i,href:s,normalizedTo:r,resolved:i}},we.prototype.getRoutes=function(){return this.matcher.getRoutes()},we.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==y&&this.history.transitionTo(this.history.getCurrentLocation())},we.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==y&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(we.prototype,Ce),we.install=ct,we.version="3.5.2",we.isNavigationFailure=Kt,we.NavigationFailureType=Pt,we.START_LOCATION=y,ut&&window.Vue&&window.Vue.use(we),e["a"]=we},a925:function(t,e,n){"use strict"; +/*! + * vue-i18n v8.28.2 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */var r=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"],i=["dateStyle","timeStyle","calendar","localeMatcher","hour12","hourCycle","timeZone","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function o(t,e){"undefined"!==typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function a(t,e){"undefined"!==typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}var s=Array.isArray;function c(t){return null!==t&&"object"===typeof t}function u(t){return"boolean"===typeof t}function l(t){return"string"===typeof t}var f=Object.prototype.toString,p="[object Object]";function h(t){return f.call(t)===p}function d(t){return null===t||void 0===t}function v(t){return"function"===typeof t}function m(){var t=[],e=arguments.length;while(e--)t[e]=arguments[e];var n=null,r=null;return 1===t.length?c(t[0])||s(t[0])?r=t[0]:"string"===typeof t[0]&&(n=t[0]):2===t.length&&("string"===typeof t[0]&&(n=t[0]),(c(t[1])||s(t[1]))&&(r=t[1])),{locale:n,params:r}}function y(t){return JSON.parse(JSON.stringify(t))}function g(t,e){if(t.delete(e))return t}function _(t){var e=[];return t.forEach((function(t){return e.push(t)})),e}function b(t,e){return!!~t.indexOf(e)}var w=Object.prototype.hasOwnProperty;function C(t,e){return w.call(t,e)}function k(t){for(var e=arguments,n=Object(t),r=1;r/g,">").replace(/"/g,""").replace(/'/g,"'")}function A(t){return null!=t&&Object.keys(t).forEach((function(e){"string"==typeof t[e]&&(t[e]=x(t[e]))})),t}function O(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];var r=this.$i18n;return r._t.apply(r,[t,r.locale,r._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){var n=[],r=arguments.length-2;while(r-- >0)n[r]=arguments[r+2];var i=this.$i18n;return i._tc.apply(i,[t,i.locale,i._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){var e,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){var e,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}}function S(t){function e(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===t&&(t=!1),t?{mounted:e}:{beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n)if(t.i18n instanceof At){if(t.__i18nBridge||t.__i18n)try{var e=t.i18n&&t.i18n.messages?t.i18n.messages:{},n=t.__i18nBridge||t.__i18n;n.forEach((function(t){e=k(e,JSON.parse(t))})),Object.keys(e).forEach((function(n){t.i18n.mergeLocaleMessage(n,e[n])}))}catch(c){0}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(h(t.i18n)){var r=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof At?this.$root.$i18n:null;if(r&&(t.i18n.root=this.$root,t.i18n.formatter=r.formatter,t.i18n.fallbackLocale=r.fallbackLocale,t.i18n.formatFallbackMessages=r.formatFallbackMessages,t.i18n.silentTranslationWarn=r.silentTranslationWarn,t.i18n.silentFallbackWarn=r.silentFallbackWarn,t.i18n.pluralizationRules=r.pluralizationRules,t.i18n.preserveDirectiveContent=r.preserveDirectiveContent),t.__i18nBridge||t.__i18n)try{var i=t.i18n&&t.i18n.messages?t.i18n.messages:{},o=t.__i18nBridge||t.__i18n;o.forEach((function(t){i=k(i,JSON.parse(t))})),t.i18n.messages=i}catch(c){0}var a=t.i18n,s=a.sharedMessages;s&&h(s)&&(t.i18n.messages=k(t.i18n.messages,s)),this._i18n=new At(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),r&&r.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof At?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof At&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n?(t.i18n instanceof At||h(t.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof At||t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof At)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:e,beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick((function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)}))}}}}var T={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var n=e.data,r=e.parent,i=e.props,o=e.slots,a=r.$i18n;if(a){var s=i.path,c=i.locale,u=i.places,l=o(),f=a.i(s,c,E(l)||u?j(l.default,u):l),p=i.tag&&!0!==i.tag||!1===i.tag?i.tag:"span";return p?t(p,n,f):f}}};function E(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}function j(t,e){var n=e?F(e):{};if(!t)return n;t=t.filter((function(t){return t.tag||""!==t.text.trim()}));var r=t.every(M);return t.reduce(r?I:L,n)}function F(t){return Array.isArray(t)?t.reduce(L,{}):Object.assign({},t)}function I(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function L(t,e,n){return t[n]=e,t}function M(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var D,R={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,e){var n=e.props,i=e.parent,o=e.data,a=i.$i18n;if(!a)return null;var s=null,u=null;l(n.format)?s=n.format:c(n.format)&&(n.format.key&&(s=n.format.key),u=Object.keys(n.format).reduce((function(t,e){var i;return b(r,e)?Object.assign({},t,(i={},i[e]=n.format[e],i)):t}),null));var f=n.locale||a.locale,p=a._ntp(n.value,f,s,u),h=p.map((function(t,e){var n,r=o.scopedSlots&&o.scopedSlots[t.type];return r?r((n={},n[t.type]=t.value,n.index=e,n.parts=p,n)):t.value})),d=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return d?t(d,{attrs:o.attrs,class:o["class"],staticClass:o.staticClass},h):h}};function N(t,e,n){W(t,n)&&U(t,e,n)}function P(t,e,n,r){if(W(t,n)){var i=n.context.$i18n;H(t,n)&&$(e.value,e.oldValue)&&$(t._localeMessage,i.getLocaleMessage(i.locale))||U(t,e,n)}}function V(t,e,n,r){var i=n.context;if(i){var a=n.context.$i18n||{};e.modifiers.preserve||a.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t["_vt"],t._locale=void 0,delete t["_locale"],t._localeMessage=void 0,delete t["_localeMessage"]}else o("Vue instance does not exists in VNode context")}function W(t,e){var n=e.context;return n?!!n.$i18n||(o("VueI18n instance does not exists in Vue instance"),!1):(o("Vue instance does not exists in VNode context"),!1)}function H(t,e){var n=e.context;return t._locale===n.$i18n.locale}function U(t,e,n){var r,i,a=e.value,s=B(a),c=s.path,u=s.locale,l=s.args,f=s.choice;if(c||u||l)if(c){var p=n.context;t._vt=t.textContent=null!=f?(r=p.$i18n).tc.apply(r,[c,f].concat(z(u,l))):(i=p.$i18n).t.apply(i,[c].concat(z(u,l))),t._locale=p.$i18n.locale,t._localeMessage=p.$i18n.getLocaleMessage(p.$i18n.locale)}else o("`path` is required in v-t directive");else o("value type not supported")}function B(t){var e,n,r,i;return l(t)?e=t:h(t)&&(e=t.path,n=t.locale,r=t.args,i=t.choice),{path:e,locale:n,args:r,choice:i}}function z(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||h(e))&&n.push(e),n}function q(t,e){void 0===e&&(e={bridge:!1}),q.installed=!0,D=t;D.version&&Number(D.version.split(".")[0]);O(D),D.mixin(S(e.bridge)),D.directive("t",{bind:N,update:P,unbind:V}),D.component(T.name,T),D.component(R.name,R);var n=D.config.optionMergeStrategies;n.i18n=function(t,e){return void 0===e?t:e}}var J=function(){this._caches=Object.create(null)};J.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=X(t),this._caches[t]=n),Z(n,e)};var K=/^(?:\d)+/,G=/^(?:\w)+/;function X(t){var e=[],n=0,r="";while(n0)f--,l=at,p[Y]();else{if(f=0,void 0===n)return!1;if(n=mt(n),!1===n)return!1;p[Q]()}};while(null!==l)if(u++,e=t[u],"\\"!==e||!h()){if(i=vt(e),s=ft[l],o=s[i]||s["else"]||lt,o===lt)return;if(l=o[0],a=p[o[1]],a&&(r=o[2],r=void 0===r?e:r,!1===a()))return;if(l===ut)return c}}var gt=function(){this._cache=Object.create(null)};gt.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=yt(t),e&&(this._cache[t]=e)),e||[]},gt.prototype.getPathValue=function(t,e){if(!c(t))return null;var n=this.parsePath(e);if(0===n.length)return null;var r=n.length,i=t,o=0;while(o/,wt=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,Ct=/^@(?:\.([a-zA-Z]+))?:/,kt=/[()]/g,$t={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},xt=new J,At=function(t){var e=this;void 0===t&&(t={}),!D&&"undefined"!==typeof window&&window.Vue&&q(window.Vue);var n=t.locale||"en-US",r=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),i=t.messages||{},o=t.dateTimeFormats||t.datetimeFormats||{},a=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||xt,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._fallbackRootWithEmptyString=void 0===t.fallbackRootWithEmptyString||!!t.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new gt,this._dataListeners=new Set,this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._escapeParameterHtml=t.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in t&&(this.__VUE_I18N_BRIDGE__=t.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(t,n){var r=Object.getPrototypeOf(e);if(r&&r.getChoiceIndex){var i=r.getChoiceIndex;return i.call(e,t,n)}var o=function(t,e){return t=Math.abs(t),2===e?t?t>1?1:0:1:t?Math.min(t,2):0};return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,n]):o(t,n)},this._exist=function(t,n){return!(!t||!n)&&(!d(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(i).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,i[t])})),this._initVM({locale:n,fallbackLocale:r,messages:i,dateTimeFormats:o,numberFormats:a})},Ot={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};At.prototype._checkLocaleMessage=function(t,e,n){var r=[],i=function(t,e,n,r){if(h(n))Object.keys(n).forEach((function(o){var a=n[o];h(a)?(r.push(o),r.push("."),i(t,e,a,r),r.pop(),r.pop()):(r.push(o),i(t,e,a,r),r.pop())}));else if(s(n))n.forEach((function(n,o){h(n)?(r.push("["+o+"]"),r.push("."),i(t,e,n,r),r.pop(),r.pop()):(r.push("["+o+"]"),i(t,e,n,r),r.pop())}));else if(l(n)){var c=bt.test(n);if(c){var u="Detected HTML in message '"+n+"' of keypath '"+r.join("")+"' at '"+e+"'. Consider component interpolation with '' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?o(u):"error"===t&&a(u)}}};i(e,t,n,r)},At.prototype._initVM=function(t){var e=D.config.silent;D.config.silent=!0,this._vm=new D({data:t,__VUE18N__INSTANCE__:!0}),D.config.silent=e},At.prototype.destroyVM=function(){this._vm.$destroy()},At.prototype.subscribeDataChanging=function(t){this._dataListeners.add(t)},At.prototype.unsubscribeDataChanging=function(t){g(this._dataListeners,t)},At.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){var e=_(t._dataListeners),n=e.length;while(n--)D.nextTick((function(){e[n]&&e[n].$forceUpdate()}))}),{deep:!0})},At.prototype.watchLocale=function(t){if(t){if(!this.__VUE_I18N_BRIDGE__)return null;var e=this,n=this._vm;return this.vm.$watch("locale",(function(r){n.$set(n,"locale",r),e.__VUE_I18N_BRIDGE__&&t&&(t.locale.value=r),n.$forceUpdate()}),{immediate:!0})}if(!this._sync||!this._root)return null;var r=this._vm;return this._root.$i18n.vm.$watch("locale",(function(t){r.$set(r,"locale",t),r.$forceUpdate()}),{immediate:!0})},At.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},Ot.vm.get=function(){return this._vm},Ot.messages.get=function(){return y(this._getMessages())},Ot.dateTimeFormats.get=function(){return y(this._getDateTimeFormats())},Ot.numberFormats.get=function(){return y(this._getNumberFormats())},Ot.availableLocales.get=function(){return Object.keys(this.messages).sort()},Ot.locale.get=function(){return this._vm.locale},Ot.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},Ot.fallbackLocale.get=function(){return this._vm.fallbackLocale},Ot.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},Ot.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Ot.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},Ot.missing.get=function(){return this._missing},Ot.missing.set=function(t){this._missing=t},Ot.formatter.get=function(){return this._formatter},Ot.formatter.set=function(t){this._formatter=t},Ot.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Ot.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},Ot.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Ot.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},Ot.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Ot.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},Ot.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Ot.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var r=this._getMessages();Object.keys(r).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])}))}},Ot.postTranslation.get=function(){return this._postTranslation},Ot.postTranslation.set=function(t){this._postTranslation=t},Ot.sync.get=function(){return this._sync},Ot.sync.set=function(t){this._sync=t},At.prototype._getMessages=function(){return this._vm.messages},At.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},At.prototype._getNumberFormats=function(){return this._vm.numberFormats},At.prototype._warnDefault=function(t,e,n,r,i,o){if(!d(n))return n;if(this._missing){var a=this._missing.apply(null,[t,e,r,i]);if(l(a))return a}else 0;if(this._formatFallbackMessages){var s=m.apply(void 0,i);return this._render(e,o,s.params,e)}return e},At.prototype._isFallbackRoot=function(t){return(this._fallbackRootWithEmptyString?!t:d(t))&&!d(this._root)&&this._fallbackRoot},At.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},At.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},At.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},At.prototype._interpolate=function(t,e,n,r,i,o,a){if(!e)return null;var c,u=this._path.getPathValue(e,n);if(s(u)||h(u))return u;if(d(u)){if(!h(e))return null;if(c=e[n],!l(c)&&!v(c))return null}else{if(!l(u)&&!v(u))return null;c=u}return l(c)&&(c.indexOf("@:")>=0||c.indexOf("@.")>=0)&&(c=this._link(t,e,c,r,"raw",o,a)),this._render(c,i,o,n)},At.prototype._link=function(t,e,n,r,i,o,a){var c=n,u=c.match(wt);for(var l in u)if(u.hasOwnProperty(l)){var f=u[l],p=f.match(Ct),h=p[0],d=p[1],v=f.replace(h,"").replace(kt,"");if(b(a,v))return c;a.push(v);var m=this._interpolate(t,e,v,r,"raw"===i?"string":i,"raw"===i?void 0:o,a);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");var y=this._root.$i18n;m=y._translate(y._getMessages(),y.locale,y.fallbackLocale,v,r,i,o)}m=this._warnDefault(t,v,m,r,s(o)?o:[o],i),this._modifiers.hasOwnProperty(d)?m=this._modifiers[d](m):$t.hasOwnProperty(d)&&(m=$t[d](m)),a.pop(),c=m?c.replace(f,m):c}return c},At.prototype._createMessageContext=function(t,e,n,r){var i=this,o=s(t)?t:[],a=c(t)?t:{},u=function(t){return o[t]},l=function(t){return a[t]},f=this._getMessages(),p=this.locale;return{list:u,named:l,values:t,formatter:e,path:n,messages:f,locale:p,linked:function(t){return i._interpolate(p,f[p]||{},t,null,r,void 0,[t])}}},At.prototype._render=function(t,e,n,r){if(v(t))return t(this._createMessageContext(n,this._formatter||xt,r,e));var i=this._formatter.interpolate(t,n,r);return i||(i=xt.interpolate(t,n,r)),"string"!==e||l(i)?i:i.join("")},At.prototype._appendItemToChain=function(t,e,n){var r=!1;return b(t,e)||(r=!0,e&&(r="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(r=n[e]))),r},At.prototype._appendLocaleToChain=function(t,e,n){var r,i=e.split("-");do{var o=i.join("-");r=this._appendItemToChain(t,o,n),i.splice(-1,1)}while(i.length&&!0===r);return r},At.prototype._appendBlockToChain=function(t,e,n){for(var r=!0,i=0;i0)o[a]=arguments[a+4];if(!t)return"";var s=m.apply(void 0,o);this._escapeParameterHtml&&(s.params=A(s.params));var c=s.locale||e,u=this._translate(n,c,this.fallbackLocale,t,r,"string",s.params);if(this._isFallbackRoot(u)){if(!this._root)throw Error("unexpected error");return(i=this._root).$t.apply(i,[t].concat(o))}return u=this._warnDefault(c,t,u,r,o,"string"),this._postTranslation&&null!==u&&void 0!==u&&(u=this._postTranslation(u,t)),u},At.prototype.t=function(t){var e,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},At.prototype._i=function(t,e,n,r,i){var o=this._translate(n,e,this.fallbackLocale,t,r,"raw",i);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,i)}return this._warnDefault(e,t,o,r,[i],"raw")},At.prototype.i=function(t,e,n){return t?(l(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},At.prototype._tc=function(t,e,n,r,i){var o,a=[],s=arguments.length-5;while(s-- >0)a[s]=arguments[s+5];if(!t)return"";void 0===i&&(i=1);var c={count:i,n:i},u=m.apply(void 0,a);return u.params=Object.assign(c,u.params),a=null===u.locale?[u.params]:[u.locale,u.params],this.fetchChoice((o=this)._t.apply(o,[t,e,n,r].concat(a)),i)},At.prototype.fetchChoice=function(t,e){if(!t||!l(t))return null;var n=t.split("|");return e=this.getChoiceIndex(e,n.length),n[e]?n[e].trim():t},At.prototype.tc=function(t,e){var n,r=[],i=arguments.length-2;while(i-- >0)r[i]=arguments[i+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(r))},At.prototype._te=function(t,e,n){var r=[],i=arguments.length-3;while(i-- >0)r[i]=arguments[i+3];var o=m.apply(void 0,r).locale||e;return this._exist(n[o],t)},At.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},At.prototype.getLocaleMessage=function(t){return y(this._vm.messages[t]||{})},At.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},At.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,k("undefined"!==typeof this._vm.messages[t]&&Object.keys(this._vm.messages[t]).length?Object.assign({},this._vm.messages[t]):{},e))},At.prototype.getDateTimeFormat=function(t){return y(this._vm.dateTimeFormats[t]||{})},At.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},At.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,k(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},At.prototype._clearDateTimeFormat=function(t,e){for(var n in e){var r=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(r)&&delete this._dateTimeFormatters[r]}},At.prototype._localizeDateTime=function(t,e,n,r,i,o){for(var a=e,s=r[a],c=this._getLocaleChain(e,n),u=0;u0)e[n]=arguments[n+1];var r=this.locale,o=null,a=null;return 1===e.length?(l(e[0])?o=e[0]:c(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(o=e[0].key)),a=Object.keys(e[0]).reduce((function(t,n){var r;return b(i,n)?Object.assign({},t,(r={},r[n]=e[0][n],r)):t}),null)):2===e.length&&(l(e[0])&&(o=e[0]),l(e[1])&&(r=e[1])),this._d(t,r,o,a)},At.prototype.getNumberFormat=function(t){return y(this._vm.numberFormats[t]||{})},At.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},At.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,k(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},At.prototype._clearNumberFormat=function(t,e){for(var n in e){var r=t+"__"+n;this._numberFormatters.hasOwnProperty(r)&&delete this._numberFormatters[r]}},At.prototype._getNumberFormatter=function(t,e,n,r,i,o){for(var a=e,s=r[a],c=this._getLocaleChain(e,n),u=0;u0)e[n]=arguments[n+1];var i=this.locale,o=null,a=null;return 1===e.length?l(e[0])?o=e[0]:c(e[0])&&(e[0].locale&&(i=e[0].locale),e[0].key&&(o=e[0].key),a=Object.keys(e[0]).reduce((function(t,n){var i;return b(r,n)?Object.assign({},t,(i={},i[n]=e[0][n],i)):t}),null)):2===e.length&&(l(e[0])&&(o=e[0]),l(e[1])&&(i=e[1])),this._n(t,i,o,a)},At.prototype._ntp=function(t,e,n,r){if(!At.availabilities.numberFormat)return[];if(!n){var i=r?new Intl.NumberFormat(e,r):new Intl.NumberFormat(e);return i.formatToParts(t)}var o=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,r),a=o&&o.formatToParts(t);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,r)}return a||[]},Object.defineProperties(At.prototype,Ot),Object.defineProperty(At,"availabilities",{get:function(){if(!_t){var t="undefined"!==typeof Intl;_t={dateTimeFormat:t&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:t&&"undefined"!==typeof Intl.NumberFormat}}return _t}}),At.install=q,At.version="8.28.2",e["a"]=At},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},e7a5:function(t,e,n){(function(e){(function(e,n){t.exports=n(e)})("undefined"!=typeof e?e:this,(function(t){if(t.CSS&&t.CSS.escape)return t.CSS.escape;var e=function(t){if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.");var e,n=String(t),r=n.length,i=-1,o="",a=n.charCodeAt(0);while(++i=1&&e<=31||127==e||0==i&&e>=48&&e<=57||1==i&&e>=48&&e<=57&&45==a?"\\"+e.toString(16)+" ":(0!=i||1!=r||45!=e)&&(e>=128||45==e||95==e||e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122)?n.charAt(i):"\\"+n.charAt(i):"�";return o};return t.CSS||(t.CSS={}),t.CSS.escape=e,e}))}).call(this,n("c8ba"))}}]); \ No newline at end of file diff --git a/js/documentation-topic.57e91f8a.js b/js/documentation-topic.57e91f8a.js new file mode 100644 index 0000000..629d8b6 --- /dev/null +++ b/js/documentation-topic.57e91f8a.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["documentation-topic"],{"00f2":function(e,t,n){"use strict";n("2089")},"0b72":function(e,t,n){},"115d":function(e,t,n){"use strict";n("20dd")},1347:function(e,t,n){"use strict";n("367e")},"14d4":function(e,t,n){},"18f4":function(e,t,n){},"1a39":function(e,t,n){"use strict";n("a7e9")},"1e0b":function(e,t,n){"use strict";n("412b")},"1fde":function(e,t,n){},2089:function(e,t,n){},"20dd":function(e,t,n){},"22f6":function(e,t,n){},2482:function(e,t,n){},2521:function(e,t,n){},"252c":function(e,t,n){"use strict";(function(e){function i(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var i=e.indexOf("rv:");return parseInt(e.substring(i+3,e.indexOf(".",i)),10)}var a=e.indexOf("Edge/");return a>0?parseInt(e.substring(a+5,e.indexOf(".",a)),10):-1}n.d(t,"a",(function(){return r}));var a=void 0;function s(){s.init||(s.init=!0,a=-1!==i())}var r={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},staticRenderFns:[],_scopeId:"data-v-b329ee4c",name:"resize-observer",methods:{compareAndNotify:function(){this._w===this.$el.offsetWidth&&this._h===this.$el.offsetHeight||(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.$emit("notify"))},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!a&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),delete this._resizeObject.onload)}},mounted:function(){var e=this;s(),this.$nextTick((function(){e._w=e.$el.offsetWidth,e._h=e.$el.offsetHeight}));var t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",a&&this.$el.appendChild(t),t.data="about:blank",a||this.$el.appendChild(t)},beforeDestroy:function(){this.removeResizeHandlers()}};function o(e){e.component("resize-observer",r),e.component("ResizeObserver",r)}var l={version:"0.4.5",install:o},c=null;"undefined"!==typeof window?c=window.Vue:"undefined"!==typeof e&&(c=e.Vue),c&&c.use(l)}).call(this,n("c8ba"))},2591:function(e,t,n){"use strict";n("f6d7")},"260a":function(e,t,n){"use strict";n("9a8a")},"264a":function(e,t,n){},2822:function(e,t,n){"use strict";n("2521")},"2c54":function(e,t,n){},"2ca2":function(e,t,n){"use strict";n("98e2")},"2d12":function(e,t,n){"use strict";n("b324")},"2eeb":function(e,t,n){},"2f87":function(e,t,n){"use strict";n("b0a0")},3396:function(e,t,n){"use strict";n("cdce")},"367e":function(e,t,n){},3702:function(e,t,n){},"370f":function(e,t,n){},"374e":function(e,t,n){"use strict";n("0b72")},"37dc":function(e,t,n){},"39d3":function(e,t,n){"use strict";n("2c54")},"3c37":function(e,t,n){},"3d94":function(e,t,n){},"3e80":function(e,t,n){},4125:function(e,t,n){},"412b":function(e,t,n){},"45b2":function(e,t,n){"use strict";n("264a")},"464f":function(e,t,n){},"46c5":function(e,t,n){"use strict";n("dff0")},5079:function(e,t,n){},"509b":function(e,t,n){},"51f2":function(e,t,n){},5208:function(e,t,n){"use strict";n("3d94")},5228:function(e,t,n){},"533e":function(e,t,n){},5561:function(e,t,n){"use strict";n("a2cc")},"5a73":function(e,t,n){"use strict";n("f9c9")},"5c57":function(e,t,n){"use strict";n("f0ff")},"645a":function(e,t,n){},6513:function(e,t,n){},6742:function(e,t,n){},"6a35":function(e,t,n){"use strict";n("d436")},"6ca9":function(e,t,n){"use strict";n("8429")},"6d05":function(e,t,n){"use strict";n("d7f6")},"719b":function(e,t,n){"use strict";n("8b3c")},"72a9":function(e,t,n){"use strict";n("d551")},7309:function(e,t,n){"use strict";n("c227")},"73a8":function(e,t,n){"use strict";n("3c37")},7649:function(e,t,n){"use strict";n("37dc")},"7a2c":function(e,t,n){"use strict";n("c4c1")},8429:function(e,t,n){},"857c":function(e,t,n){"use strict";n("645a")},"85fe":function(e,t,n){"use strict";(function(e){function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:{},r=function(r){for(var l=arguments.length,c=new Array(l>1?l-1:0),d=1;d1){var i=e.find((function(e){return e.isIntersecting}));i&&(t=i)}if(n.callback){var a=t.isIntersecting&&t.intersectionRatio>=n.threshold;if(a===n.oldResult)return;n.oldResult=a,n.callback(a,t)}}),this.options.intersection),t.context.$nextTick((function(){n.observer&&n.observer.observe(n.el)}))}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&this.options.intersection.threshold||0}}]),e}();function f(e,t,n){var i=t.value;if(i)if("undefined"===typeof IntersectionObserver)console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var a=new g(e,i,n);e._vue_visibilityState=a}}function m(e,t,n){var i=t.value,a=t.oldValue;if(!p(i,a)){var s=e._vue_visibilityState;i?s?s.createObserver(i,n):f(e,{value:i},n):y(e)}}function y(e){var t=e._vue_visibilityState;t&&(t.destroyObserver(),delete e._vue_visibilityState)}var v={bind:f,update:m,unbind:y};function b(e){e.directive("observe-visibility",v)}var T={version:"0.4.6",install:b},S=null;"undefined"!==typeof window?S=window.Vue:"undefined"!==typeof e&&(S=e.Vue),S&&S.use(T)}).call(this,n("c8ba"))},"8b3c":function(e,t,n){},"8e4d":function(e,t,n){"use strict";n("bdc3")},9475:function(e,t,n){"use strict";n("1fde")},"98e2":function(e,t,n){},"9a8a":function(e,t,n){},"9c7e":function(e,t,n){"use strict";n("5228")},"9c92":function(e,t,n){},"9cea":function(e,t,n){"use strict";n("a61f")},"9f0d":function(e,t,n){},"9f11":function(e,t,n){},"9f17":function(e,t,n){"use strict";n("6742")},a2cc:function(e,t,n){},a34a:function(e,t,n){"use strict";n("51f2")},a61f:function(e,t,n){},a7e9:function(e,t,n){},b0a0:function(e,t,n){},b324:function(e,t,n){},b32a:function(e,t,n){"use strict";n("3e80")},b39c:function(e,t,n){"use strict";n("18f4")},b831:function(e,t,n){"use strict";n("533e")},b857:function(e,t,n){"use strict";n("3702")},bdc3:function(e,t,n){},c1f5:function(e,t,n){"use strict";n("f4ae")},c227:function(e,t,n){},c4bc:function(e,t,n){"use strict";n("2eeb")},c4c1:function(e,t,n){},c61f:function(e,t,n){"use strict";n("509b")},c80b:function(e,t,n){"use strict";n("6513")},ca3d:function(e,t,n){"use strict";n("5079")},cb1f:function(e,t,n){"use strict";n("dd53")},cd88:function(e,t,n){},cdce:function(e,t,n){},d1ac:function(e,t,n){"use strict";n("9f11")},d1b4:function(e,t,n){"use strict";n("4125")},d436:function(e,t,n){},d551:function(e,t,n){},d71b:function(e,t,n){"use strict";n("9f0d")},d7f6:function(e,t,n){},dd53:function(e,t,n){},dfa5:function(e,t,n){"use strict";n("2482")},dff0:function(e,t,n){},e47c:function(e,t,n){"use strict";n("cd88")},e508:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return L})),n.d(t,"b",(function(){return M})),n.d(t,"c",(function(){return z}));var i=n("252c"),a=n("85fe"),s=n("ed83"),r=n.n(s),o=n("2b0e"),l={itemsLimit:1e3};const c={items:{type:Array,required:!0},keyField:{type:String,default:"id"},direction:{type:String,default:"vertical",validator:e=>["vertical","horizontal"].includes(e)},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"}};function d(){return this.items.length&&"object"!==typeof this.items[0]}let u=!1;if("undefined"!==typeof window){u=!1;try{var h=Object.defineProperty({},"passive",{get(){u=!0}});window.addEventListener("test",null,h)}catch(H){}}let p=0;var g={name:"RecycleScroller",components:{ResizeObserver:i["a"]},directives:{ObserveVisibility:a["a"]},props:{...c,itemSize:{type:Number,default:null},gridItems:{type:Number,default:void 0},itemSecondarySize:{type:Number,default:void 0},minItemSize:{type:[Number,String],default:null},sizeField:{type:String,default:"size"},typeField:{type:String,default:"type"},buffer:{type:Number,default:200},pageMode:{type:Boolean,default:!1},prerender:{type:Number,default:0},emitUpdate:{type:Boolean,default:!1},skipHover:{type:Boolean,default:!1},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"},listClass:{type:[String,Object,Array],default:""},itemClass:{type:[String,Object,Array],default:""}},data(){return{pool:[],totalSize:0,ready:!1,hoverKey:null}},computed:{sizes(){if(null===this.itemSize){const e={"-1":{accumulator:0}},t=this.items,n=this.sizeField,i=this.minItemSize;let a,s=1e4,r=0;for(let o=0,l=t.length;o{this.$_prerender=!1,this.updateVisibleItems(!0),this.ready=!0})},activated(){const e=this.$_lastUpdateScrollPosition;"number"===typeof e&&this.$nextTick(()=>{this.scrollToPosition(e)})},beforeDestroy(){this.removeListeners()},methods:{addView(e,t,n,i,a){const s={item:n,position:0},r={id:p++,index:t,used:!0,key:i,type:a};return Object.defineProperty(s,"nr",{configurable:!1,value:r}),e.push(s),s},unuseView(e,t=!1){const n=this.$_unusedViews,i=e.nr.type;let a=n.get(i);a||(a=[],n.set(i,a)),a.push(e),t||(e.nr.used=!1,e.position=-9999,this.$_views.delete(e.nr.key))},handleResize(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll(e){this.$_scrollDirty||(this.$_scrollDirty=!0,requestAnimationFrame(()=>{this.$_scrollDirty=!1;const{continuous:e}=this.updateVisibleItems(!1,!0);e||(clearTimeout(this.$_refreshTimout),this.$_refreshTimout=setTimeout(this.handleScroll,100))}))},handleVisibilityChange(e,t){this.ready&&(e||0!==t.boundingClientRect.width||0!==t.boundingClientRect.height?(this.$emit("visible"),requestAnimationFrame(()=>{this.updateVisibleItems(!1)})):this.$emit("hidden"))},updateVisibleItems(e,t=!1){const n=this.itemSize,i=this.gridItems||1,a=this.itemSecondarySize||n,s=this.$_computedMinItemSize,r=this.typeField,o=this.simpleArray?null:this.keyField,c=this.items,d=c.length,u=this.sizes,h=this.$_views,p=this.$_unusedViews,g=this.pool;let f,m,y,v,b,T;if(d)if(this.$_prerender)f=v=0,m=b=Math.min(this.prerender,c.length),y=null;else{const e=this.getScroll();if(t){let t=e.start-this.$_lastUpdateScrollPosition;if(t<0&&(t=-t),null===n&&te.start&&(a=s),s=~~((i+a)/2)}while(s!==n);for(s<0&&(s=0),f=s,y=u[d-1].accumulator,m=s;md&&(m=d)),v=f;vd&&(m=d),v<0&&(v=0),b>d&&(b=d),y=Math.ceil(d/i)*n}}else f=m=v=b=y=0;m-f>l.itemsLimit&&this.itemsLimitError(),this.totalSize=y;const S=f<=this.$_endIndex&&m>=this.$_startIndex;if(this.$_continuous!==S){if(S){h.clear(),p.clear();for(let e=0,t=g.length;e=m)&&this.unuseView(T));const _=S?null:new Map;let C,k,w,I;for(let l=f;l=w.length)&&(T=this.addView(g,l,C,e,k),this.unuseView(T,!0),w=p.get(k)),T=w[I],T.item=C,T.nr.used=!0,T.nr.index=l,T.nr.key=e,T.nr.type=k,_.set(k,I+1),I++),h.set(e,T)),null===n?(T.position=u[l-1].accumulator,T.offset=0):(T.position=Math.floor(l/i)*n,T.offset=l%i*a)):T&&this.unuseView(T)}return this.$_startIndex=f,this.$_endIndex=m,this.emitUpdate&&this.$emit("update",f,m,v,b),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,300),{continuous:S}},getListenerTarget(){let e=r()(this.$el);return!window.document||e!==window.document.documentElement&&e!==window.document.body||(e=window),e},getScroll(){const{$el:e,direction:t}=this,n="vertical"===t;let i;if(this.pageMode){const t=e.getBoundingClientRect(),a=n?t.height:t.width;let s=-(n?t.top:t.left),r=n?window.innerHeight:window.innerWidth;s<0&&(r+=s,s=0),s+r>a&&(r=a-s),i={start:s,end:s+r}}else i=n?{start:e.scrollTop,end:e.scrollTop+e.clientHeight}:{start:e.scrollLeft,end:e.scrollLeft+e.clientWidth};return i},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,!!u&&{passive:!0}),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem(e){let t;t=null===this.itemSize?e>0?this.sizes[e-1].accumulator:0:Math.floor(e/this.gridItems)*this.itemSize,this.scrollToPosition(t)},scrollToPosition(e){const t="vertical"===this.direction?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let n,i,a;if(this.pageMode){const s=r()(this.$el),o="HTML"===s.tagName?0:s[t.scroll],l=s.getBoundingClientRect(),c=this.$el.getBoundingClientRect(),d=c[t.start]-l[t.start];n=s,i=t.scroll,a=e+o+d}else n=this.$el,i=t.scroll,a=e;n[i]=a},itemsLimitError(){throw setTimeout(()=>{console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.","Scroller:",this.$el),console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.")}),new Error("Rendered items limit reached")},sortViews(){this.pool.sort((e,t)=>e.nr.index-t.nr.index)}}};function f(e,t,n,i,a,s,r,o,l,c){"boolean"!==typeof r&&(l=o,o=r,r=!1);const d="function"===typeof n?n.options:n;let u;if(e&&e.render&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns,d._compiled=!0,a&&(d.functional=!0)),i&&(d._scopeId=i),s?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(s)},d._ssrRegister=u):t&&(u=r?function(e){t.call(this,c(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,o(e))}),u)if(d.functional){const e=d.render;d.render=function(t,n){return u.call(n),e(t,n)}}else{const e=d.beforeCreate;d.beforeCreate=e?[].concat(e,u):[u]}return n}const m=g;var y=function(){var e,t,n=this,i=n.$createElement,a=n._self._c||i;return a("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:n.handleVisibilityChange,expression:"handleVisibilityChange"}],staticClass:"vue-recycle-scroller",class:(e={ready:n.ready,"page-mode":n.pageMode},e["direction-"+n.direction]=!0,e),on:{"&scroll":function(e){return n.handleScroll.apply(null,arguments)}}},[n.$slots.before?a("div",{ref:"before",staticClass:"vue-recycle-scroller__slot"},[n._t("before")],2):n._e(),n._v(" "),a(n.listTag,{ref:"wrapper",tag:"component",staticClass:"vue-recycle-scroller__item-wrapper",class:n.listClass,style:(t={},t["vertical"===n.direction?"minHeight":"minWidth"]=n.totalSize+"px",t)},[n._l(n.pool,(function(e){return a(n.itemTag,n._g({key:e.nr.id,tag:"component",staticClass:"vue-recycle-scroller__item-view",class:[n.itemClass,{hover:!n.skipHover&&n.hoverKey===e.nr.key}],style:n.ready?{transform:"translate"+("vertical"===n.direction?"Y":"X")+"("+e.position+"px) translate"+("vertical"===n.direction?"X":"Y")+"("+e.offset+"px)",width:n.gridItems?("vertical"===n.direction&&n.itemSecondarySize||n.itemSize)+"px":void 0,height:n.gridItems?("horizontal"===n.direction&&n.itemSecondarySize||n.itemSize)+"px":void 0}:null},n.skipHover?{}:{mouseenter:function(){n.hoverKey=e.nr.key},mouseleave:function(){n.hoverKey=null}}),[n._t("default",null,{item:e.item,index:e.nr.index,active:e.nr.used})],2)})),n._v(" "),n._t("empty")],2),n._v(" "),n.$slots.after?a("div",{ref:"after",staticClass:"vue-recycle-scroller__slot"},[n._t("after")],2):n._e(),n._v(" "),a("ResizeObserver",{on:{notify:n.handleResize}})],1)},v=[];y._withStripped=!0;const b=void 0,T=void 0,S=void 0,_=!1,C=f({render:y,staticRenderFns:v},b,m,T,_,S,!1,void 0,void 0,void 0);var k={name:"DynamicScroller",components:{RecycleScroller:C},provide(){return"undefined"!==typeof ResizeObserver&&(this.$_resizeObserver=new ResizeObserver(e=>{requestAnimationFrame(()=>{if(Array.isArray(e))for(const t of e)if(t.target){const e=new CustomEvent("resize",{detail:{contentRect:t.contentRect}});t.target.dispatchEvent(e)}})})),{vscrollData:this.vscrollData,vscrollParent:this,vscrollResizeObserver:this.$_resizeObserver}},inheritAttrs:!1,props:{...c,minItemSize:{type:[Number,String],required:!0}},data(){return{vscrollData:{active:!0,sizes:{},validSizes:{},keyField:this.keyField,simpleArray:!1}}},computed:{simpleArray:d,itemsWithSize(){const e=[],{items:t,keyField:n,simpleArray:i}=this,a=this.vscrollData.sizes,s=t.length;for(let r=0;r=n)break;i+=t[o].size||this.minItemSize,a+=e[o].size||this.minItemSize}const r=a-i;0!==r&&(this.$el.scrollTop+=r)}},beforeCreate(){this.$_updates=[],this.$_undefinedSizes=0,this.$_undefinedMap={}},activated(){this.vscrollData.active=!0},deactivated(){this.vscrollData.active=!1},methods:{onScrollerResize(){const e=this.$refs.scroller;e&&this.forceUpdate(),this.$emit("resize")},onScrollerVisible(){this.$emit("vscroll:update",{force:!1}),this.$emit("visible")},forceUpdate(e=!0){(e||this.simpleArray)&&(this.vscrollData.validSizes={}),this.$emit("vscroll:update",{force:!0})},scrollToItem(e){const t=this.$refs.scroller;t&&t.scrollToItem(e)},getItemSize(e,t){const n=this.simpleArray?null!=t?t:this.items.indexOf(e):e[this.keyField];return this.vscrollData.sizes[n]||0},scrollToBottom(){if(this.$_scrollingToBottom)return;this.$_scrollingToBottom=!0;const e=this.$el;this.$nextTick(()=>{e.scrollTop=e.scrollHeight+5e3;const t=()=>{e.scrollTop=e.scrollHeight+5e3,requestAnimationFrame(()=>{e.scrollTop=e.scrollHeight+5e3,0===this.$_undefinedSizes?this.$_scrollingToBottom=!1:requestAnimationFrame(t)})};requestAnimationFrame(t)})}}};const w=k;var I=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("RecycleScroller",e._g(e._b({ref:"scroller",attrs:{items:e.itemsWithSize,"min-item-size":e.minItemSize,direction:e.direction,"key-field":"id","list-tag":e.listTag,"item-tag":e.itemTag},on:{resize:e.onScrollerResize,visible:e.onScrollerVisible},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.item,i=t.index,a=t.active;return[e._t("default",null,null,{item:n.item,index:i,active:a,itemWithSize:n})]}}],null,!0)},"RecycleScroller",e.$attrs,!1),e.listeners),[e._v(" "),n("template",{slot:"before"},[e._t("before")],2),e._v(" "),n("template",{slot:"after"},[e._t("after")],2),e._v(" "),n("template",{slot:"empty"},[e._t("empty")],2)],2)},x=[];I._withStripped=!0;const $=void 0,O=void 0,D=void 0,P=!1,L=f({render:I,staticRenderFns:x},$,w,O,P,D,!1,void 0,void 0,void 0);var A={name:"DynamicScrollerItem",inject:["vscrollData","vscrollParent","vscrollResizeObserver"],props:{item:{required:!0},watchData:{type:Boolean,default:!1},active:{type:Boolean,required:!0},index:{type:Number,default:void 0},sizeDependencies:{type:[Array,Object],default:null},emitResize:{type:Boolean,default:!1},tag:{type:String,default:"div"}},computed:{id(){if(this.vscrollData.simpleArray)return this.index;if(this.item.hasOwnProperty(this.vscrollData.keyField))return this.item[this.vscrollData.keyField];throw new Error(`keyField '${this.vscrollData.keyField}' not found in your item. You should set a valid keyField prop on your Scroller`)},size(){return this.vscrollData.validSizes[this.id]&&this.vscrollData.sizes[this.id]||0},finalActive(){return this.active&&this.vscrollData.active}},watch:{watchData:"updateWatchData",id(){this.size||this.onDataUpdate()},finalActive(e){this.size||(e?this.vscrollParent.$_undefinedMap[this.id]||(this.vscrollParent.$_undefinedSizes++,this.vscrollParent.$_undefinedMap[this.id]=!0):this.vscrollParent.$_undefinedMap[this.id]&&(this.vscrollParent.$_undefinedSizes--,this.vscrollParent.$_undefinedMap[this.id]=!1)),this.vscrollResizeObserver?e?this.observeSize():this.unobserveSize():e&&this.$_pendingVScrollUpdate===this.id&&this.updateSize()}},created(){if(!this.$isServer&&(this.$_forceNextVScrollUpdate=null,this.updateWatchData(),!this.vscrollResizeObserver)){for(const e in this.sizeDependencies)this.$watch(()=>this.sizeDependencies[e],this.onDataUpdate);this.vscrollParent.$on("vscroll:update",this.onVscrollUpdate),this.vscrollParent.$on("vscroll:update-size",this.onVscrollUpdateSize)}},mounted(){this.vscrollData.active&&(this.updateSize(),this.observeSize())},beforeDestroy(){this.vscrollParent.$off("vscroll:update",this.onVscrollUpdate),this.vscrollParent.$off("vscroll:update-size",this.onVscrollUpdateSize),this.unobserveSize()},methods:{updateSize(){this.finalActive?this.$_pendingSizeUpdate!==this.id&&(this.$_pendingSizeUpdate=this.id,this.$_forceNextVScrollUpdate=null,this.$_pendingVScrollUpdate=null,this.computeSize(this.id)):this.$_forceNextVScrollUpdate=this.id},updateWatchData(){this.watchData&&!this.vscrollResizeObserver?this.$_watchData=this.$watch("item",()=>{this.onDataUpdate()},{deep:!0}):this.$_watchData&&(this.$_watchData(),this.$_watchData=null)},onVscrollUpdate({force:e}){!this.finalActive&&e&&(this.$_pendingVScrollUpdate=this.id),this.$_forceNextVScrollUpdate!==this.id&&!e&&this.size||this.updateSize()},onDataUpdate(){this.updateSize()},computeSize(e){this.$nextTick(()=>{if(this.id===e){const e=this.$el.offsetWidth,t=this.$el.offsetHeight;this.applySize(e,t)}this.$_pendingSizeUpdate=null})},applySize(e,t){const n=~~("vertical"===this.vscrollParent.direction?t:e);n&&this.size!==n&&(this.vscrollParent.$_undefinedMap[this.id]&&(this.vscrollParent.$_undefinedSizes--,this.vscrollParent.$_undefinedMap[this.id]=void 0),this.$set(this.vscrollData.sizes,this.id,n),this.$set(this.vscrollData.validSizes,this.id,!0),this.emitResize&&this.$emit("resize",this.id))},observeSize(){this.vscrollResizeObserver&&this.$el.parentNode&&(this.vscrollResizeObserver.observe(this.$el.parentNode),this.$el.parentNode.addEventListener("resize",this.onResize))},unobserveSize(){this.vscrollResizeObserver&&(this.vscrollResizeObserver.unobserve(this.$el.parentNode),this.$el.parentNode.removeEventListener("resize",this.onResize))},onResize(e){const{width:t,height:n}=e.detail.contentRect;this.applySize(t,n)}},render(e){return e(this.tag,this.$slots.default)}};const N=A,E=void 0,j=void 0,B=void 0,R=void 0,M=f({},E,N,j,R,B,!1,void 0,void 0,void 0);function z({idProp:e=(e=>e.item.id)}={}){const t={},n=new o["default"]({data(){return{store:t}}});return{data(){return{idState:null}},created(){this.$_id=null,this.$_getId="function"===typeof e?()=>e.call(this,this):()=>this[e],this.$watch(this.$_getId,{handler(e){this.$nextTick(()=>{this.$_id=e})},immediate:!0}),this.$_updateIdState()},beforeUpdate(){this.$_updateIdState()},methods:{$_idStateInit(e){const i=this.$options.idState;if("function"===typeof i){const a=i.call(this,this);return n.$set(t,e,a),this.$_id=e,a}throw new Error("[mixin IdState] Missing `idState` function on component definition.")},$_updateIdState(){const n=this.$_getId();null==n&&console.warn(`No id found for IdState with idProp: '${e}'.`),n!==this.$_id&&(t[n]||this.$_idStateInit(n),this.idState=t[n])}}}}function K(e,t){e.component(t+"recycle-scroller",C),e.component(t+"RecycleScroller",C),e.component(t+"dynamic-scroller",L),e.component(t+"DynamicScroller",L),e.component(t+"dynamic-scroller-item",M),e.component(t+"DynamicScrollerItem",M)}const q={version:"1.1.2",install(e,t){const n=Object.assign({},{installComponents:!0,componentsPrefix:""},t);for(const i in n)"undefined"!==typeof n[i]&&(l[i]=n[i]);n.installComponents&&K(e,n.componentsPrefix)}};let F=null;"undefined"!==typeof window?F=window.Vue:"undefined"!==typeof e&&(F=e.Vue),F&&F.use(q)}).call(this,n("c8ba"))},e615:function(e,t,n){"use strict";n("14d4")},e81e:function(e,t,n){"use strict";n("370f")},eb6d:function(e,t,n){"use strict";n("9c92")},ed83:function(e,t,n){var i,a,s;(function(n,r){a=[],i=r,s="function"===typeof i?i.apply(t,a):i,void 0===s||(e.exports=s)})(0,(function(){var e=/(auto|scroll)/,t=function(e,n){return null===e.parentNode?n:t(e.parentNode,n.concat([e]))},n=function(e,t){return getComputedStyle(e,null).getPropertyValue(t)},i=function(e){return n(e,"overflow")+n(e,"overflow-y")+n(e,"overflow-x")},a=function(t){return e.test(i(t))},s=function(e){if(e instanceof HTMLElement||e instanceof SVGElement){for(var n=t(e.parentNode,[]),i=0;i({"~0":"~","~1":"/"}[e]||e))}function*o(e){const t=1;if(e.lengtht)throw new Error("invalid array index "+e);return n}function*p(e,t,n={strict:!1}){let i=e;for(const a of o(t)){if(n.strict&&!Object.prototype.hasOwnProperty.call(i,a))throw new u(t);i=i[a],yield{node:i,token:a}}}function g(e,t){let n=e;for(const{node:i}of p(e,t,{strict:!0}))n=i;return n}function f(e,t,n){let i=null,a=e,s=null;for(const{node:o,token:l}of p(e,t))i=a,a=o,s=l;if(!i)throw new u(t);if(Array.isArray(i))try{const e=h(s,i);i.splice(e,0,n)}catch(r){throw new u(t)}else Object.assign(i,{[s]:n});return e}function m(e,t){let n=null,i=e,a=null;for(const{node:r,token:o}of p(e,t))n=i,i=r,a=o;if(!n)throw new u(t);if(Array.isArray(n))try{const e=h(a,n);n.splice(e,1)}catch(s){throw new u(t)}else{if(!i)throw new u(t);delete n[a]}return e}function y(e,t,n){return m(e,t),f(e,t,n),e}function v(e,t,n){const i=g(e,t);return m(e,t),f(e,n,i),e}function b(e,t,n){return f(e,n,g(e,t)),e}function T(e,t,n){function i(e,t){const n=typeof e,a=typeof t;if(n!==a)return!1;switch(n){case d:{const n=Object.keys(e),a=Object.keys(t);return n.length===a.length&&n.every((n,s)=>n===a[s]&&i(e[n],t[n]))}default:return e===t}}const a=g(e,t);if(!i(n,a))throw new Error("test failed");return e}const S={add:(e,{path:t,value:n})=>f(e,t,n),copy:(e,{from:t,path:n})=>b(e,t,n),move:(e,{from:t,path:n})=>v(e,t,n),remove:(e,{path:t})=>m(e,t),replace:(e,{path:t,value:n})=>y(e,t,n),test:(e,{path:t,value:n})=>T(e,t,n)};function _(e,{op:t,...n}){const i=S[t];if(!i)throw new Error("unknown operation");return i(e,n)}function C(e,t){return t.reduce(_,e)}var k=n("66cd"),w=n("25a9"),I=n("2b88"),x=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"doc-topic",class:{"with-on-this-page":e.enableOnThisPageNav&&e.isOnThisPageNavVisible}},[n(e.isTargetIDE?"div":"main",{tag:"component",staticClass:"main",attrs:{id:"main"}},[n("DocumentationHero",{attrs:{role:e.role,enhanceBackground:e.enhanceBackground,enableMinimized:e.enableMinimized,shortHero:e.shortHero,shouldShowLanguageSwitcher:e.shouldShowLanguageSwitcher,iconOverride:e.references[e.pageIcon],standardColorIdentifier:e.standardColorIdentifier},scopedSlots:e._u([{key:"above-content",fn:function(){return[e._t("above-hero-content")]},proxy:!0}],null,!0)},[e._t("above-title"),e.shouldShowLanguageSwitcher?n("LanguageSwitcher",{attrs:{interfaceLanguage:e.interfaceLanguage,objcPath:e.objcPath,swiftPath:e.swiftPath}}):e._e(),n("Title",{class:{"minimized-title":e.enableMinimized},attrs:{eyebrow:e.enableMinimized?null:e.roleHeading}},[n(e.titleBreakComponent,{tag:"component"},[e._v(e._s(e.title))]),e.isSymbolDeprecated||e.isSymbolBeta?n("small",{class:e.tagName,attrs:{slot:"after","data-tag-name":e.tagName},slot:"after"}):e._e()],1),e.abstract?n("Abstract",{class:{"minimized-abstract":e.enableMinimized},attrs:{content:e.abstract}}):e._e(),e.sampleCodeDownload?n("div",[n("DownloadButton",{staticClass:"sample-download",attrs:{action:e.sampleCodeDownload.action}})],1):e._e(),e.shouldShowAvailability?n("Availability",{attrs:{platforms:e.platforms,technologies:e.technologies}}):e._e(),e.declarations.length?n("div",{staticClass:"declarations-container",class:{"minimized-container":e.enableMinimized}},e._l(e.declarations,(function(t,i){return n("Declaration",{key:i,attrs:{conformance:e.conformance,declarations:t.declarations,source:e.remoteSource}})})),1):e._e()],2),n("div",{staticClass:"doc-content-wrapper"},[n("div",{staticClass:"doc-content",class:{"no-primary-content":!e.hasPrimaryContent&&e.enhanceBackground}},[e.hasPrimaryContent?n("div",{class:["container",{"minimized-container":e.enableMinimized}]},[n("div",{staticClass:"description",class:{"after-enhanced-hero":e.enhanceBackground}},[e.isRequirement?n("RequirementMetadata",{attrs:{defaultImplementationsCount:e.defaultImplementationsCount}}):e._e(),e.deprecationSummary&&e.deprecationSummary.length?n("Aside",{attrs:{kind:"deprecated"}},[n("ContentNode",{attrs:{content:e.deprecationSummary}})],1):e._e(),e.downloadNotAvailableSummary&&e.downloadNotAvailableSummary.length?n("Aside",{attrs:{kind:"note"}},[n("ContentNode",{attrs:{content:e.downloadNotAvailableSummary}})],1):e._e()],1),e.primaryContentSectionsSanitized&&e.primaryContentSectionsSanitized.length?n("PrimaryContent",{class:{"with-border":!e.enhanceBackground},attrs:{conformance:e.conformance,source:e.remoteSource,sections:e.primaryContentSectionsSanitized}}):e._e(),e.shouldShowViewMoreLink?n("ViewMore",{attrs:{url:e.viewMoreLink}}):e._e()],1):e._e(),e.shouldRenderTopicSection?n("Topics",{attrs:{sections:e.topicSections,isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,topicStyle:e.topicSectionsStyle}}):e._e(),e.defaultImplementationsSections&&!e.enableMinimized?n("DefaultImplementations",{attrs:{sections:e.defaultImplementationsSections,isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta}}):e._e(),e.relationshipsSections&&!e.enableMinimized?n("Relationships",{attrs:{sections:e.relationshipsSections}}):e._e(),e.seeAlsoSections&&!e.enableMinimized?n("SeeAlso",{attrs:{sections:e.seeAlsoSections}}):e._e()],1),e.enableOnThisPageNav?[n("OnThisPageStickyContainer",{directives:[{name:"show",rawName:"v-show",value:e.isOnThisPageNavVisible,expression:"isOnThisPageNavVisible"}]},[e.topicState.onThisPageSections.length>2?n("OnThisPageNav"):e._e()],1)]:e._e()],2),!e.isTargetIDE&&e.hasBetaContent?n("BetaLegalText"):e._e()],1),n("div",{staticClass:"visuallyhidden",attrs:{"aria-live":"polite"}},[e._v(" "+e._s(e.$t("documentation.current-page",{title:e.pageTitle}))+" ")])],1)},$=[],O=n("8649"),D=n("bf08"),P=n("d26a"),L=n("748c"),A=n("e425"),N=n("e3ab"),E=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"betainfo"},[n("div",{staticClass:"betainfo-container"},[n("GridRow",[n("GridColumn",{attrs:{span:{large:12}}},[n("p",{staticClass:"betainfo-label"},[e._v(e._s(e.$t("metadata.beta.software")))]),n("div",{staticClass:"betainfo-content"},[e._t("content",(function(){return[n("p",[e._v(e._s(e.$t("metadata.beta.legal")))])]}))],2),e._t("after")],2)],1)],1)])},j=[],B=n("0f00"),R=n("620a"),M={name:"BetaLegalText",components:{GridColumn:R["a"],GridRow:B["a"]}},z=M,K=(n("9cea"),n("2877")),q=Object(K["a"])(z,E,j,!1,null,"e8fd2a92",null),F=q.exports,H=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Section",{staticClass:"language",attrs:{role:"complementary","aria-label":e.$t("language")}},[n("Title",[e._v(e._s(e.$t("formats.colon",{content:e.$t("language")})))]),n("div",{staticClass:"language-list"},[n("LanguageSwitcherLink",{staticClass:"language-option swift",class:{active:e.swift.active},attrs:{url:e.swift.active?null:e.swift.url},on:{click:function(t){return e.chooseLanguage(e.swift)}}},[e._v(" "+e._s(e.swift.name)+" ")]),n("LanguageSwitcherLink",{staticClass:"language-option objc",class:{active:e.objc.active},attrs:{url:e.objc.active?null:e.objc.url},on:{click:function(t){return e.chooseLanguage(e.objc)}}},[e._v(" "+e._s(e.objc.name)+" ")])],1)],1)},V=[],W=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.url?n("a",{attrs:{href:e.url},on:{click:function(t){return t.preventDefault(),e.$emit("click")}}},[e._t("default")],2):n("span",[e._t("default")],2)},U=[],G={name:"LanguageSwitcherLink",props:{url:[String,Object]}},Q=G,X=Object(K["a"])(Q,W,U,!1,null,null,null),Y=X.exports,J=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"summary-section"},[e._t("default")],2)},Z=[],ee={name:"Section"},te=ee,ne=(n("1347"),Object(K["a"])(te,J,Z,!1,null,"3aa6f694",null)),ie=ne.exports,ae=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",{staticClass:"title"},[e._t("default")],2)},se=[],re={name:"Title"},oe=re,le=(n("ede5"),Object(K["a"])(oe,ae,se,!1,null,"6796f6ea",null)),ce=le.exports,de={name:"LanguageSwitcher",components:{LanguageSwitcherLink:Y,Section:ie,Title:ce},inject:{isTargetIDE:{default:()=>!1},store:{default(){return{setPreferredLanguage(){}}}}},props:{interfaceLanguage:{type:String,required:!0},objcPath:{type:String,required:!0},swiftPath:{type:String,required:!0}},computed:{objc:({interfaceLanguage:e,objcPath:t,$route:{query:n}})=>({...O["a"].objectiveC,active:O["a"].objectiveC.key.api===e,url:Object(P["b"])(Object(L["d"])(t),{...n,language:O["a"].objectiveC.key.url})}),swift:({interfaceLanguage:e,swiftPath:t,$route:{query:n}})=>({...O["a"].swift,active:O["a"].swift.key.api===e,url:Object(P["b"])(Object(L["d"])(t),{...n,language:void 0})})},methods:{chooseLanguage(e){this.isTargetIDE||this.store.setPreferredLanguage(e.key.url),this.$router.push(e.url)}}},ue=de,he=(n("a34a"),Object(K["a"])(ue,H,V,!1,null,"1a36493d",null)),pe=he.exports,ge=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"view-more-link"},[n("router-link",{staticClass:"base-link",attrs:{to:e.url}},[e._t("default",(function(){return[e._v("View more")]}))],2)],1)},fe=[],me={name:"ViewMore",props:{url:{type:String,required:!0}}},ye=me,ve=(n("2591"),Object(K["a"])(ye,ge,fe,!1,null,"0d14b62a",null)),be=ve.exports,Te=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["documentation-hero",{"documentation-hero--disabled":!e.enhanceBackground,"theme-dark":e.enhanceBackground}],style:e.styles},[n("div",{staticClass:"icon"},[e.enhanceBackground?n("TopicTypeIcon",{key:"first",staticClass:"background-icon first-icon",attrs:{type:e.type,"image-override":e.iconOverride,"with-colors":""}}):e._e()],1),n("div",{staticClass:"documentation-hero__above-content"},[e._t("above-content")],2),n("div",{staticClass:"documentation-hero__content",class:{"short-hero":e.shortHero,"extra-bottom-padding":e.shouldShowLanguageSwitcher,"minimized-hero":e.enableMinimized}},[e._t("default")],2)])},Se=[],_e=n("f12c"),Ce=n("31d4"),ke=n("2cae");const we={red:"red",orange:"orange",yellow:"yellow",blue:"blue",green:"green",purple:"purple",gray:"gray"};var Ie={name:"DocumentationHero",components:{TopicTypeIcon:_e["a"]},props:{role:{type:String,required:!0},enhanceBackground:{type:Boolean,required:!0},enableMinimized:{type:Boolean,default:!1},shortHero:{type:Boolean,required:!0},shouldShowLanguageSwitcher:{type:Boolean,required:!0},iconOverride:{type:Object,required:!1},standardColorIdentifier:{type:String,required:!1,validator:e=>Object.prototype.hasOwnProperty.call(we,e)}},computed:{color:({type:e})=>ke["b"][Ce["a"][e]||e]||ke["a"].teal,styles:({color:e,standardColorIdentifier:t})=>({"--accent-color":`var(--color-documentation-intro-accent, var(--color-type-icon-${e}))`,"--standard-accent-color":t&&`var(--color-standard-${t}-documentation-intro-fill, var(--color-standard-${t}))`}),type:({role:e})=>{switch(e){case k["a"].collection:return Ce["b"].module;case k["a"].collectionGroup:return Ce["b"].collection;default:return e}}}},xe=Ie,$e=(n("c80b"),Object(K["a"])(xe,Te,Se,!1,null,"6540c364",null)),Oe=$e.exports,De=n("7b1f"),Pe=n("12b1"),Le=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"OnThisPageNav"},[n("ul",{staticClass:"items"},e._l(e.onThisPageSections,(function(t){return n("li",{key:t.anchor,class:e.getItemClasses(t)},[n("router-link",{staticClass:"base-link",attrs:{to:t.url},nativeOn:{click:function(n){return e.handleFocusAndScroll(t.anchor)}}},[n(e.getWrapperComponent(t),{tag:"component"},[e._v(" "+e._s(e.getTextContent(t))+" ")])],1)],1)})),0)])},Ae=[];function Ne(e,t){let n,i;return function(...a){const s=this;if(!i)return e.apply(s,a),void(i=Date.now());clearTimeout(n),n=setTimeout(()=>{Date.now()-i>=t&&(e.apply(s,a),i=Date.now())},t-(Date.now()-i))}}var Ee=n("3908"),je=n("8a61"),Be={name:"OnThisPageNav",components:{WordBreak:De["a"]},mixins:[je["a"]],inject:{store:{default(){return{state:{onThisPageSections:[],currentPageAnchor:null}}}}},computed:{onThisPageSections:({store:e,$route:t})=>e.state.onThisPageSections.map(e=>({...e,url:Object(P["b"])("#"+e.anchor,t.query)})),currentPageAnchor:({store:e})=>e.state.currentPageAnchor},async mounted(){window.addEventListener("scroll",this.onScroll,!1),this.$once("hook:beforeDestroy",()=>{window.removeEventListener("scroll",this.onScroll)})},watch:{onThisPageSections:{immediate:!0,async handler(){await Object(Ee["b"])(8),this.onScroll()}}},methods:{onScroll:Ne((function(){const e=this.onThisPageSections.length;if(!e)return;const{scrollY:t,innerHeight:n}=window,{scrollHeight:i}=document.body,a=t+n>=i,s=t<=0,r=.3*n+t;if(s||a){const t=s?0:e-1;return void this.store.setCurrentPageSection(this.onThisPageSections[t].anchor)}let o,l,c=null;for(o=0;oObject(Ze["c"])(["theme","code","indentationWidth"],it),formattedTokens:({language:e,formattedSwiftTokens:t,tokens:n})=>e===O["a"].swift.key.api?t:n,formattedSwiftTokens:({indentationWidth:e,tokens:t})=>{const n=" ".repeat(e);let i=!1;const a=[];let s=0,r=null,o=null,l=null,c=null,d=0,u=null;while(se===nt.attribute||e===nt.externalParam;e.text&&e.text.endsWith(", ")&&g&&f(g)&&(h.text=`${e.text.trimEnd()}\n${n}`,i=!0),a.push(h),s+=1}if(i&&null!==r){const e=a[r].text;a[r].text=`${e}\n${n}`}if(i&&null!==l){const e=a[l].text,t=e.slice(0,c),n=e.slice(c),i=`${t}\n${n}`;a[l].text=i}return a},hasMultipleLines({formattedTokens:e}){return e.reduce((t,n,i)=>{let a=/\n/g;return i===e.length-1&&(a=/\n(?!$)/g),n.text?t+(n.text.match(a)||[]).length:t},1)>=2}},methods:{propsFor(e){return{kind:e.kind,identifier:e.identifier,text:e.text,tokens:e.tokens}},handleWindowResize(){this.displaysMultipleLines=Object(Ye["a"])(this.$refs.declarationGroup)}},async mounted(){window.addEventListener("resize",this.handleWindowResize),this.language===O["a"].objectiveC.key.api&&(await this.$nextTick(),Xe(this.$refs.code.$el,this.language)),this.handleWindowResize()},beforeDestroy(){window.removeEventListener("resize",this.handleWindowResize)}},st=at,rt=(n("72a9"),Object(K["a"])(st,Ue,Ge,!1,null,"d22a3f50",null)),ot=rt.exports,lt=n("5d59"),ct={name:"DeclarationGroup",components:{Source:ot},mixins:[lt["a"]],inject:{languages:{default:()=>new Set},interfaceLanguage:{default:()=>O["a"].swift.key.api},symbolKind:{default:()=>{}}},props:{declaration:{type:Object,required:!0},shouldCaption:{type:Boolean,default:!1},changeType:{type:String,required:!1}},computed:{classes:({changeType:e,multipleLinesClass:t,displaysMultipleLinesAfterAPIChanges:n})=>({["declaration-group--changed declaration-group--"+e]:e,[t]:n}),caption(){return this.declaration.platforms.join(", ")},isSwift:({interfaceLanguage:e})=>e===O["a"].swift.key.api}},dt=ct,ut=(n("c4bc"),Object(K["a"])(dt,Ve,We,!1,null,"4f51d8d2",null)),ht=ut.exports,pt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"declaration-diff"},[n("div",{staticClass:"declaration-diff-current"},[n("div",{staticClass:"declaration-diff-version"},[e._v("Current")]),e._l(e.currentDeclarations,(function(t,i){return n("DeclarationGroup",{key:i,attrs:{declaration:t,"should-caption":e.currentDeclarations.length>1,changeType:e.changeType}})}))],2),n("div",{staticClass:"declaration-diff-previous"},[n("div",{staticClass:"declaration-diff-version"},[e._v("Previous")]),e._l(e.previousDeclarations,(function(t,i){return n("DeclarationGroup",{key:i,attrs:{declaration:t,"should-caption":e.previousDeclarations.length>1,changeType:e.changeType}})}))],2)])},gt=[],ft={name:"DeclarationDiff",components:{DeclarationGroup:ht},props:{changes:{type:Object,required:!0},changeType:{type:String,required:!0}},computed:{previousDeclarations:({changes:e})=>e.declaration.previous||[],currentDeclarations:({changes:e})=>e.declaration.new||[]}},mt=ft,yt=(n("7a2c"),Object(K["a"])(mt,pt,gt,!1,null,"b3e21c4a",null)),vt=yt.exports,bt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",{staticClass:"declaration-source-link",attrs:{href:e.url,title:"Open source file for "+e.fileName,target:"_blank"}},[e.isSwiftFile?n("SwiftFileIcon",{staticClass:"declaration-icon"}):e._e(),n("WordBreak",[e._v(e._s(e.fileName))])],1)},Tt=[],St=n("a88f"),_t={name:"DeclarationSourceLink",components:{WordBreak:De["a"],SwiftFileIcon:St["a"]},props:{url:{type:String,required:!0},fileName:{type:String,required:!0}},computed:{isSwiftFile:({fileName:e})=>e.endsWith(".swift")}},Ct=_t,kt=(n("e615"),Object(K["a"])(Ct,bt,Tt,!1,null,"5863919c",null)),wt=kt.exports,It=n("b5cf"),xt={name:"Declaration",components:{DeclarationDiff:vt,DeclarationGroup:ht,DeclarationSourceLink:wt,ConditionalConstraints:He["a"]},constants:{ChangeTypes:It["c"],multipleLinesClass:Je["a"]},inject:["identifier","store"],data:({store:{state:e}})=>({state:e,multipleLinesClass:Je["a"]}),props:{conformance:{type:Object,required:!1},source:{type:Object,required:!1},declarations:{type:Array,required:!0}},computed:{hasPlatformVariants(){return this.declarations.length>1},hasModifiedChanges({declarationChanges:e}){if(!e||!e.declaration)return!1;const t=e.declaration;return!(!(t.new||[]).length||!(t.previous||[]).length)},declarationChanges:({state:{apiChanges:e},identifier:t})=>e&&e[t],changeType:({declarationChanges:e,hasModifiedChanges:t})=>{if(!e)return;const n=e.declaration;return n?t?It["c"].modified:e.change:e.change===It["c"].added?It["c"].added:void 0},changeClasses:({changeType:e})=>({["changed changed-"+e]:e})}},$t=xt,Ot=(n("39d3"),Object(K["a"])($t,qe,Fe,!1,null,"2ab6251b",null)),Dt=Ot.exports,Pt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ContentNode",e._b({staticClass:"abstract"},"ContentNode",e.$props,!1))},Lt=[],At=n("6359"),Nt={name:"Abstract",components:{ContentNode:At["a"]},props:At["a"].props},Et=Nt,jt=(n("374e"),Object(K["a"])(Et,Pt,Lt,!1,null,"702ec04e",null)),Bt=jt.exports,Rt=n("c081"),Mt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("TopicsTable",{attrs:{anchor:e.contentSectionData.anchor,title:e.$t(e.contentSectionData.title),isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,sections:e.sections,wrapTitle:!0}})},zt=[];const Kt={topics:{title:"sections.topics",anchor:"topics",level:2},defaultImplementations:{title:"sections.default-implementations",anchor:"default-implementations",level:2},relationships:{title:"sections.relationships",anchor:"relationships",level:2},seeAlso:{title:"sections.see-also",anchor:"see-also",level:2}},qt={[Ke.details]:{title:"sections.details",anchor:"details",level:2},[Ke.parameters]:{title:"sections.parameters",anchor:"parameters",level:2},[Ke.possibleValues]:{title:"sections.possible-values",anchor:"possibleValues",level:2}};var Ft=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ContentTable",{attrs:{anchor:e.anchor,title:e.title}},e._l(e.sectionsWithTopics,(function(t,i){return n("ContentTableSection",{key:t.title+"_"+i,class:{"no-title":!t.title},attrs:{title:t.title,anchor:t.anchor},scopedSlots:e._u([t.title&&e.wrapTitle?{key:"title",fn:function(i){var a=i.className;return[n("LinkableHeading",{class:a,attrs:{level:3,anchor:t.anchor}},[n("WordBreak",[e._v(e._s(t.title))])],1)]}}:null],null,!0)},[t.abstract?n("template",{slot:"abstract"},[n("ContentNode",{attrs:{content:t.abstract}})],1):e._e(),t.discussion?n("template",{slot:"discussion"},[n("ContentNode",{attrs:{content:t.discussion.content}})],1):e._e(),e.shouldRenderList?e._l(t.topics,(function(t){return n("TopicsLinkBlock",{key:t.identifier,staticClass:"topic",attrs:{topic:t,isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta}})})):n("TopicsLinkCardGrid",{staticClass:"topic",attrs:{items:t.topics,topicStyle:e.topicStyle}})],2)})),1)},Ht=[],Vt=n("70fb"),Wt=n("5dcc"),Ut=n("2f34"),Gt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"contenttable alt-light"},[n("div",{staticClass:"container"},[n("LinkableHeading",{staticClass:"title",attrs:{anchor:e.anchor}},[e._v(e._s(e.title))]),e._t("default")],2)])},Qt=[],Xt={name:"ContentTable",components:{LinkableHeading:Wt["a"]},props:{anchor:{type:String,required:!0},title:{type:String,required:!0}}},Yt=Xt,Jt=(n("e81e"),Object(K["a"])(Yt,Gt,Qt,!1,null,"6e075935",null)),Zt=Jt.exports,en=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"contenttable-section"},[n("div",{staticClass:"section-title"},[e._t("title",(function(){return[e.title?n("LinkableHeading",{class:e.className,attrs:{level:3,anchor:e.anchorComputed}},[e._v(e._s(e.title))]):e._e()]}),{className:e.className})],2),n("div",{staticClass:"section-content"},[e._t("abstract"),e._t("discussion"),e._t("default")],2)])},tn=[],nn=n("002d");const an="contenttable-title";var sn={name:"ContentTableSection",components:{LinkableHeading:Wt["a"]},props:{title:{type:String,required:!1},anchor:{type:String,default:null}},computed:{anchorComputed:({title:e,anchor:t})=>t||Object(nn["a"])(e||""),className:()=>an}},rn=sn,on=(n("46c5"),Object(K["a"])(rn,en,tn,!1,null,"4aae1079",null)),ln=on.exports,cn=n("2a18"),dn={name:"TopicsTable",mixins:[Ut["a"]],components:{TopicsLinkCardGrid:Vt["a"],WordBreak:De["a"],ContentTable:Zt,TopicsLinkBlock:cn["default"],ContentNode:At["a"],ContentTableSection:ln,LinkableHeading:Wt["a"]},props:{isSymbolDeprecated:Boolean,isSymbolBeta:Boolean,sections:{type:Array,required:!0},title:{type:String,required:!1,default(){return"Topics"}},anchor:{type:String,required:!1,default(){return"topics"}},wrapTitle:{type:Boolean,default:!1},topicStyle:{type:String,default:Pe["a"].list}},computed:{shouldRenderList:({topicStyle:e})=>e===Pe["a"].list,sectionsWithTopics(){return this.sections.map(e=>({...e,topics:e.identifiers.reduce((e,t)=>this.references[t]?e.concat(this.references[t]):e,[])}))}}},un=dn,hn=(n("00f2"),Object(K["a"])(un,Ft,Ht,!1,null,"3ccf02e9",null)),pn=hn.exports,gn={name:"DefaultImplementations",components:{TopicsTable:pn},computed:{contentSectionData:()=>Kt.defaultImplementations},props:{isSymbolDeprecated:Boolean,isSymbolBeta:Boolean,sections:pn.props.sections}},fn=gn,mn=Object(K["a"])(fn,Mt,zt,!1,null,null,null),yn=mn.exports,vn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"primary-content"},e._l(e.sections,(function(t,i){return n(e.componentFor(t),e._b({key:i,tag:"component"},"component",e.propsFor(t),!1))})),1)},bn=[],Tn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",[n("LinkableHeading",{attrs:{anchor:e.contentSectionData.anchor}},[e._v(" "+e._s(e.$t(e.contentSectionData.title))+" ")]),n("dl",{staticClass:"datalist"},[e._l(e.values,(function(t){return[n("dt",{key:t.name+":name",staticClass:"param-name"},[n("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(t.name))])],1),t.content?n("dd",{key:t.name+":content",staticClass:"value-content"},[n("ContentNode",{attrs:{content:t.content}})],1):e._e()]}))],2)],1)},Sn=[],_n=n("5677"),Cn={name:"PossibleValues",components:{ContentNode:_n["default"],LinkableHeading:Wt["a"],WordBreak:De["a"]},props:{values:{type:Array,required:!0}},computed:{contentSectionData:()=>qt[Ke.possibleValues]}},kn=Cn,wn=(n("719b"),Object(K["a"])(kn,Tn,Sn,!1,null,null,null)),In=wn.exports,xn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",[n("LinkableHeading",{attrs:{anchor:e.anchor}},[e._v(e._s(e.title))]),n("DeclarationSource",{attrs:{tokens:e.tokens}})],1)},$n=[],On={name:"RestEndpoint",components:{DeclarationSource:ot,LinkableHeading:Wt["a"]},props:{title:{type:String,required:!0},tokens:{type:Array,required:!0}},computed:{anchor:({title:e})=>Object(nn["a"])(e)}},Dn=On,Pn=Object(K["a"])(Dn,xn,$n,!1,null,null,null),Ln=Pn.exports,An=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"details"},[n("LinkableHeading",{attrs:{anchor:e.contentSectionData.anchor}},[e._v(" "+e._s(e.$t(e.contentSectionData.title))+" ")]),n("dl",[e.isSymbol?[n("dt",{key:e.details.name+":name",staticClass:"detail-type"},[e._v(" "+e._s(e.$t("metadata.details.name"))+" ")]),n("dd",{key:e.details.ideTitle+":content",staticClass:"detail-content"},[e._v(" "+e._s(e.details.ideTitle)+" ")])]:e._e(),e.isTitle?[n("dt",{key:e.details.name+":key",staticClass:"detail-type"},[e._v(" "+e._s(e.$t("metadata.details.key"))+" ")]),n("dd",{key:e.details.ideTitle+":content",staticClass:"detail-content"},[e._v(" "+e._s(e.details.name)+" ")])]:e._e(),n("dt",{key:e.details.name+":type",staticClass:"detail-type"},[e._v(" "+e._s(e.$t("metadata.details.type"))+" ")]),n("dd",{staticClass:"detail-content"},[n("PropertyListKeyType",{attrs:{types:e.details.value}})],1)],2)],1)},Nn=[],En=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"type"},[e._v(e._s(e.typeOutput))])},jn=[],Bn={name:"PropertyListKeyType",props:{types:{type:Array,required:!0}},computed:{englishTypes(){return this.types.map(({arrayMode:e,baseType:t="*"})=>e?"array of "+this.pluralizeKeyType(t):t)},typeOutput(){return this.englishTypes.length>2?[this.englishTypes.slice(0,this.englishTypes.length-1).join(", "),this.englishTypes[this.englishTypes.length-1]].join(", or "):this.englishTypes.join(" or ")}},methods:{pluralizeKeyType(e){switch(e){case"dictionary":return"dictionaries";case"array":case"number":case"string":return e+"s";default:return e}}}},Rn=Bn,Mn=(n("f7c0"),Object(K["a"])(Rn,En,jn,!1,null,"791bac44",null)),zn=Mn.exports,Kn={name:"PropertyListKeyDetails",components:{PropertyListKeyType:zn,LinkableHeading:Wt["a"]},props:{details:{type:Object,required:!0}},computed:{contentSectionData:()=>qt[Ke.details],isTitle(){return"title"===this.details.titleStyle&&this.details.ideTitle},isSymbol(){return"symbol"===this.details.titleStyle&&this.details.ideTitle}}},qn=Kn,Fn=(n("45b2"),Object(K["a"])(qn,An,Nn,!1,null,"d66cd00c",null)),Hn=Fn.exports,Vn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"parameters"},[n("LinkableHeading",{attrs:{anchor:e.contentSectionData.anchor}},[e._v(" "+e._s(e.$t(e.contentSectionData.title))+" ")]),n("dl",[e._l(e.parameters,(function(t){return[n("dt",{key:t.name+":name",staticClass:"param-name"},[n("code",[e._v(e._s(t.name))])]),n("dd",{key:t.name+":content",staticClass:"param-content"},[n("ContentNode",{attrs:{content:t.content}})],1)]}))],2)],1)},Wn=[],Un={name:"Parameters",components:{ContentNode:At["a"],LinkableHeading:Wt["a"]},props:{parameters:{type:Array,required:!0}},computed:{contentSectionData:()=>qt[Ke.parameters]}},Gn=Un,Qn=(n("1a39"),Object(K["a"])(Gn,Vn,Wn,!1,null,"53cac581",null)),Xn=Qn.exports,Yn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",[n("LinkableHeading",{attrs:{anchor:e.anchor}},[e._v(e._s(e.title))]),n("ParametersTable",{staticClass:"property-table",attrs:{parameters:e.properties,changes:e.propertyChanges},scopedSlots:e._u([{key:"symbol",fn:function(t){var i=t.name,a=t.type,s=t.content,r=t.changes,o=t.deprecated;return[n("div",{staticClass:"property-name",class:{deprecated:o}},[n("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(i))])],1),e.shouldShiftType({name:i,content:s})?e._e():n("PossiblyChangedType",{attrs:{type:a,changes:r.type}})]}},{key:"description",fn:function(t){var i=t.name,a=t.type,s=t.attributes,r=t.content,o=t.required,l=t.changes,c=t.deprecated,d=t.readOnly;return[e.shouldShiftType({name:i,content:r})?n("PossiblyChangedType",{attrs:{type:a,changes:l.type}}):e._e(),c?[n("Badge",{staticClass:"property-deprecated",attrs:{variant:"deprecated"}}),e._v("  ")]:e._e(),n("PossiblyChangedTextAttribute",{attrs:{changes:l.required,value:o}},[e._v(" "+e._s(e.$t("formats.parenthesis",{content:e.$t("required")}))+" ")]),n("PossiblyChangedTextAttribute",{attrs:{changes:l.readOnly,value:d}},[e._v(" "+e._s(e.$t("formats.parenthesis",{content:e.$t("read-only")}))+" ")]),r?n("ContentNode",{attrs:{content:r}}):e._e(),n("ParameterAttributes",{attrs:{attributes:s,changes:l.attributes}})]}}])})],1)},Jn=[],Zn={inject:["identifier","store"],data:({store:{state:e}})=>({state:e}),computed:{apiChanges:({state:{apiChanges:e},identifier:t})=>e&&e[t]}},ei=n("a0fd"),ti=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"parameters-table"},e._l(e.parameters,(function(t){return n("Row",{key:t[e.keyBy],staticClass:"param",class:e.changedClasses(t[e.keyBy])},[n("Column",{staticClass:"param-symbol",attrs:{span:{large:3,small:12}}},[e._t("symbol",null,null,e.getProps(t,e.changes[t[e.keyBy]]))],2),n("Column",{staticClass:"param-content",attrs:{span:{large:9,small:12}}},[e._t("description",null,null,e.getProps(t,e.changes[t[e.keyBy]]))],2)],1)})),1)},ni=[],ii={name:"ParametersTable",components:{Row:B["a"],Column:R["a"]},props:{parameters:{type:Array,required:!0},changes:{type:Object,default:()=>({})},keyBy:{type:String,default:"name"}},methods:{getProps(e,t={}){return{...e,changes:t}},changedClasses(e){const{changes:t}=this,{change:n}=t[e]||{};return{["changed changed-"+n]:n}}}},ai=ii,si=(n("5561"),Object(K["a"])(ai,ti,ni,!1,null,"3f89f723",null)),ri=si.exports,oi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"parameter-attributes"},[e.shouldRender(e.AttributeKind.default)?n("ParameterMetaAttribute",e._b({scopedSlots:e._u([{key:"default",fn:function(t){var i=t.attribute;return[e._v(" "+e._s(e.$t("formats.colon",{content:i.title||e.$t("parameters.default")}))),n("code",[e._v(e._s(i.value))])]}}],null,!1,2998238055)},"ParameterMetaAttribute",{kind:e.AttributeKind.default,attributes:e.attributesObject,changes:e.changes},!1)):e._e(),e.shouldRender(e.AttributeKind.minimum)?n("ParameterMetaAttribute",e._b({scopedSlots:e._u([{key:"default",fn:function(t){var i=t.attribute;return[e._v(" "+e._s(e.$t("formats.colon",{content:i.title||e.$t("parameters.minimum")}))),n("code",[e._v(e._s(i.value))])]}}],null,!1,859757818)},"ParameterMetaAttribute",{kind:e.AttributeKind.minimum,attributes:e.attributesObject,changes:e.changes},!1)):e._e(),e.shouldRender(e.AttributeKind.minimumExclusive)?n("ParameterMetaAttribute",e._b({scopedSlots:e._u([{key:"default",fn:function(t){var i=t.attribute;return[e._v(" "+e._s(e.$t("formats.colon",{content:i.title||e.$t("parameters.minimum")}))),n("code",[e._v("> "+e._s(i.value))])]}}],null,!1,770347247)},"ParameterMetaAttribute",{kind:e.AttributeKind.minimumExclusive,attributes:e.attributesObject,changes:e.changes},!1)):e._e(),e.shouldRender(e.AttributeKind.maximum)?n("ParameterMetaAttribute",e._b({scopedSlots:e._u([{key:"default",fn:function(t){var i=t.attribute;return[e._v(" "+e._s(e.$t("formats.colon",{content:i.title||e.$t("parameters.maximum")}))),n("code",[e._v(e._s(i.value))])]}}],null,!1,1190666532)},"ParameterMetaAttribute",{kind:e.AttributeKind.maximum,attributes:e.attributesObject,changes:e.changes},!1)):e._e(),e.shouldRender(e.AttributeKind.maximumExclusive)?n("ParameterMetaAttribute",e._b({scopedSlots:e._u([{key:"default",fn:function(t){var i=t.attribute;return[e._v(" "+e._s(e.$t("formats.colon",{content:i.title||e.$t("parameters.maximum")}))),n("code",[e._v("< "+e._s(i.value))])]}}],null,!1,1156490099)},"ParameterMetaAttribute",{kind:e.AttributeKind.maximumExclusive,attributes:e.attributesObject,changes:e.changes},!1)):e._e(),e.shouldRender(e.AttributeKind.allowedTypes)?n("ParameterMetaAttribute",e._b({scopedSlots:e._u([{key:"default",fn:function(t){var i=t.attribute;return[e._v(" "+e._s(e.$t("formats.colon",{content:e.$tc("parameters.possible-types",e.fallbackToValues(i).length)}))),n("code",[e._l(e.fallbackToValues(i),(function(t,a){return[e._l(t,(function(t,s){return[n("DeclarationToken",e._b({key:a+"-"+s},"DeclarationToken",t,!1)),a+1({new:null,previous:null})},value:{type:[Object,Array,String,Boolean],default:null},wrapChanges:{type:Boolean,default:!0},renderSingleChange:{type:Boolean,default:!1}},render(e){const{value:t,changes:n={},wrapChanges:i,renderSingleChange:a}=this,{new:s,previous:r}=n,o=(t,n)=>{const a=this.$scopedSlots.default({value:t});return n&&i?e("div",{class:n},[a]):a?a[0]:null};if(s||r){const t=o(s,ui.added),n=o(r,ui.removed);return a?s&&!r?t:n:e("div",{class:"property-changegroup"},[s?t:"",r?n:""])}return o(t)}},fi=gi,mi=Object(K["a"])(fi,hi,pi,!1,null,null,null),yi=mi.exports,vi={name:"ParameterMetaAttribute",components:{RenderChanged:yi},props:{kind:{type:String,required:!0},attributes:{type:Object,required:!0},changes:{type:Object,default:()=>({})}}},bi=vi,Ti=(n("2822"),Object(K["a"])(bi,ci,di,!1,null,"8590589e",null)),Si=Ti.exports;const _i={allowedTypes:"allowedTypes",allowedValues:"allowedValues",default:"default",maximum:"maximum",maximumExclusive:"maximumExclusive",minimum:"minimum",minimumExclusive:"minimumExclusive"};var Ci={name:"ParameterAttributes",components:{ParameterMetaAttribute:Si,DeclarationToken:tt["a"]},constants:{AttributeKind:_i},props:{attributes:{type:Array,default:()=>[]},changes:{type:Object,default:()=>({})}},computed:{AttributeKind:()=>_i,attributesObject:({attributes:e})=>e.reduce((e,t)=>({...e,[t.kind]:t}),{})},methods:{shouldRender(e){return Object.prototype.hasOwnProperty.call(this.attributesObject,e)},fallbackToValues:e=>{const t=e||[];return Array.isArray(t)?t:t.values}}},ki=Ci,wi=Object(K["a"])(ki,oi,li,!1,null,null,null),Ii=wi.exports,xi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("RenderChanged",{attrs:{renderSingleChange:"",value:e.value,changes:e.changes},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.value;return i?n("span",{staticClass:"property-text"},[e._t("default")],2):e._e()}}],null,!0)})},$i=[],Oi={name:"PossiblyChangedTextAttribute",components:{RenderChanged:yi},props:{changes:{type:Object,required:!1},value:{type:Boolean,default:!1}}},Di=Oi,Pi=(n("5c57"),Object(K["a"])(Di,xi,$i,!1,null,null,null)),Li=Pi.exports,Ai=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("RenderChanged",{attrs:{value:e.type,wrapChanges:!1,changes:e.changes},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.value;return n("DeclarationTokenGroup",{staticClass:"property-metadata property-type",attrs:{type:e.getValues(i)}})}}])})},Ni=[],Ei=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.type&&e.type.length?n("div",[n("code",e._l(e.type,(function(t,i){return n("DeclarationToken",e._b({key:i},"DeclarationToken",t,!1))})),1)]):e._e()},ji=[],Bi={name:"DeclarationTokenGroup",components:{DeclarationToken:tt["a"]},props:{type:{type:Array,default:()=>[],required:!1}}},Ri=Bi,Mi=Object(K["a"])(Ri,Ei,ji,!1,null,null,null),zi=Mi.exports,Ki={name:"PossiblyChangedType",components:{DeclarationTokenGroup:zi,RenderChanged:yi},props:{type:{type:Array,required:!0},changes:{type:Object,required:!1}},methods:{getValues(e){return Array.isArray(e)?e:e.values}}},qi=Ki,Fi=(n("2f87"),Object(K["a"])(qi,Ai,Ni,!1,null,"0a648a1e",null)),Hi=Fi.exports,Vi={name:"PropertyTable",mixins:[Zn],components:{Badge:ei["a"],WordBreak:De["a"],PossiblyChangedTextAttribute:Li,PossiblyChangedType:Hi,ParameterAttributes:Ii,ContentNode:At["a"],ParametersTable:ri,LinkableHeading:Wt["a"]},props:{title:{type:String,required:!0},properties:{type:Array,required:!0}},computed:{anchor:({title:e})=>Object(nn["a"])(e),propertyChanges:({apiChanges:e})=>(e||{}).properties},methods:{shouldShiftType:({content:e=[],name:t})=>!e.length&&t}},Wi=Vi,Ui=(n("d71b"),Object(K["a"])(Wi,Yn,Jn,!1,null,"310f0b2c",null)),Gi=Ui.exports,Qi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",[n("LinkableHeading",{attrs:{anchor:e.anchor}},[e._v(e._s(e.title))]),n("ParametersTable",{attrs:{parameters:[e.bodyParam],changes:e.bodyChanges,keyBy:"key"},scopedSlots:e._u([{key:"symbol",fn:function(t){var i=t.type,a=t.content,s=t.changes,r=t.name;return[e.shouldShiftType({name:r,content:a})?e._e():n("PossiblyChangedType",{attrs:{type:i,changes:s.type}})]}},{key:"description",fn:function(t){var i=t.name,a=t.content,s=t.mimeType,r=t.type,o=t.changes;return[e.shouldShiftType({name:i,content:a})?n("PossiblyChangedType",{attrs:{type:r,changes:o.type}}):e._e(),a?n("ContentNode",{attrs:{content:a}}):e._e(),s?n("PossiblyChangedMimetype",{attrs:{mimetype:s,changes:o.mimetype,change:o.change}}):e._e()]}}])}),e.parts.length?[n("h3",[e._v(e._s(e.$t("sections.parts")))]),n("ParametersTable",{staticClass:"parts",attrs:{parameters:e.parts,changes:e.partsChanges},scopedSlots:e._u([{key:"symbol",fn:function(t){var i=t.name,a=t.type,s=t.content,r=t.changes;return[n("div",{staticClass:"part-name"},[n("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(i))])],1),s?n("PossiblyChangedType",{attrs:{type:a,changes:r.type}}):e._e()]}},{key:"description",fn:function(t){var i=t.content,a=t.mimeType,s=t.required,r=t.type,o=t.attributes,l=t.changes,c=t.readOnly;return[n("div",[i?e._e():n("PossiblyChangedType",{attrs:{type:r,changes:l.type}}),n("PossiblyChangedTextAttribute",{attrs:{changes:l.required,value:s}},[e._v("(Required) ")]),n("PossiblyChangedTextAttribute",{attrs:{changes:l.readOnly,value:c}},[e._v("(Read only) ")]),i?n("ContentNode",{attrs:{content:i}}):e._e(),a?n("PossiblyChangedMimetype",{attrs:{mimetype:a,changes:l.mimetype,change:l.change}}):e._e(),n("ParameterAttributes",{attrs:{attributes:o,changes:l.attributes}})],1)]}}],null,!1,1779956822)})]:e._e()],2)},Xi=[],Yi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("RenderChanged",{attrs:{changes:e.changeValues,value:e.mimetype},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.value;return n("div",{staticClass:"response-mimetype"},[e._v(" "+e._s(e.$t("content-type",{value:i}))+" ")])}}])})},Ji=[],Zi={name:"PossiblyChangedMimetype",components:{RenderChanged:yi},props:{mimetype:{type:String,required:!0},changes:{type:[Object,String],required:!1},change:{type:String,required:!1}},computed:{changeValues({change:e,changes:t}){return e===It["c"].modified&&"string"!==typeof t?t:void 0}}},ea=Zi,ta=(n("d1ac"),Object(K["a"])(ea,Yi,Ji,!1,null,"20293786",null)),na=ta.exports;const ia="restRequestBody";var aa={name:"RestBody",mixins:[Zn],components:{PossiblyChangedMimetype:na,PossiblyChangedTextAttribute:Li,PossiblyChangedType:Hi,WordBreak:De["a"],ParameterAttributes:Ii,ContentNode:At["a"],ParametersTable:ri,LinkableHeading:Wt["a"]},constants:{ChangesKey:ia},props:{bodyContentType:{type:Array,required:!0},content:{type:Array},mimeType:{type:String,required:!0},parts:{type:Array,default:()=>[]},title:{type:String,required:!0}},computed:{anchor:({title:e})=>Object(nn["a"])(e),bodyParam:({bodyContentType:e,content:t,mimeType:n})=>({key:ia,content:t,mimeType:n,type:e}),bodyChanges:({apiChanges:e})=>e||{},partsChanges:({bodyChanges:e})=>(e[ia]||{}).parts},methods:{shouldShiftType:({content:e=[],name:t})=>!e.length&&t}},sa=aa,ra=(n("6a35"),Object(K["a"])(sa,Qi,Xi,!1,null,"021cd63d",null)),oa=ra.exports,la=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",[n("LinkableHeading",{attrs:{anchor:e.anchor}},[e._v(e._s(e.title))]),n("ParametersTable",{attrs:{parameters:e.parameters,changes:e.parameterChanges},scopedSlots:e._u([{key:"symbol",fn:function(t){var i=t.name,a=t.type,s=t.content,r=t.changes,o=t.deprecated;return[n("div",{staticClass:"param-name",class:{deprecated:o}},[n("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(i))])],1),e.shouldShiftType({content:s,name:i})?e._e():n("PossiblyChangedType",{attrs:{type:a,changes:r.type}})]}},{key:"description",fn:function(t){var i=t.name,a=t.type,s=t.content,r=t.required,o=t.attributes,l=t.changes,c=t.deprecated,d=t.readOnly;return[n("div",[e.shouldShiftType({content:s,name:i})?n("PossiblyChangedType",{attrs:{type:a,changes:l.type}}):e._e(),c?[n("Badge",{staticClass:"param-deprecated",attrs:{variant:"deprecated"}}),e._v("  ")]:e._e(),n("PossiblyChangedTextAttribute",{attrs:{changes:l.required,value:r}},[e._v(" "+e._s(e.$t("formats.parenthesis",{content:e.$t("required")}))+" ")]),n("PossiblyChangedTextAttribute",{attrs:{changes:l.readOnly,value:d}},[e._v(" "+e._s(e.$t("formats.parenthesis",{content:e.$t("read-only")}))+" ")]),s?n("ContentNode",{attrs:{content:s}}):e._e(),n("ParameterAttributes",{attrs:{attributes:o,changes:l}})],2)]}}])})],1)},ca=[],da={name:"RestParameters",mixins:[Zn],components:{Badge:ei["a"],PossiblyChangedType:Hi,PossiblyChangedTextAttribute:Li,ParameterAttributes:Ii,WordBreak:De["a"],ContentNode:At["a"],ParametersTable:ri,LinkableHeading:Wt["a"]},props:{title:{type:String,required:!0},parameters:{type:Array,required:!0}},computed:{anchor:({title:e})=>Object(nn["a"])(e),parameterChanges:({apiChanges:e})=>(e||{}).restParameters},methods:{shouldShiftType:({content:e=[],name:t})=>!e.length&&t}},ua=da,ha=(n("eb6d"),Object(K["a"])(ua,la,ca,!1,null,"03478142",null)),pa=ha.exports,ga=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",[n("LinkableHeading",{attrs:{anchor:e.anchor}},[e._v(e._s(e.title))]),n("ParametersTable",{attrs:{parameters:e.responses,changes:e.propertyChanges,"key-by":"status"},scopedSlots:e._u([{key:"symbol",fn:function(t){var i=t.status,a=t.type,s=t.reason,r=t.content,o=t.changes;return[n("div",{staticClass:"response-name"},[n("code",[e._v(" "+e._s(i)+" "),n("span",{staticClass:"reason"},[e._v(e._s(s))])])]),e.shouldShiftType({content:r,reason:s,status:i})?e._e():n("PossiblyChangedType",{attrs:{type:a,changes:o.type}})]}},{key:"description",fn:function(t){var i=t.content,a=t.mimetype,s=t.reason,r=t.type,o=t.status,l=t.changes;return[e.shouldShiftType({content:i,reason:s,status:o})?n("PossiblyChangedType",{attrs:{type:r,changes:l.type}}):e._e(),n("div",{staticClass:"response-reason"},[n("code",[e._v(e._s(s))])]),i?n("ContentNode",{attrs:{content:i}}):e._e(),a?n("PossiblyChangedMimetype",{attrs:{mimetype:a,changes:l.mimetype,change:l.change}}):e._e()]}}])})],1)},fa=[],ma={name:"RestResponses",mixins:[Zn],components:{PossiblyChangedMimetype:na,PossiblyChangedType:Hi,ContentNode:At["a"],ParametersTable:ri,LinkableHeading:Wt["a"]},props:{title:{type:String,required:!0},responses:{type:Array,required:!0}},computed:{anchor:({title:e})=>Object(nn["a"])(e),propertyChanges:({apiChanges:e})=>(e||{}).restResponses},methods:{shouldShiftType:({content:e=[],reason:t,status:n})=>!(e.length||t)&&n}},ya=ma,va=(n("7649"),Object(K["a"])(ya,ga,fa,!1,null,"881189f4",null)),ba=va.exports,Ta={name:"PrimaryContent",components:{ContentNode:At["a"],Parameters:Xn,PropertyListKeyDetails:Hn,PropertyTable:Gi,RestBody:oa,RestEndpoint:Ln,RestParameters:pa,RestResponses:ba,PossibleValues:In},constants:{SectionKind:Ke},props:{sections:{type:Array,required:!0,validator:e=>e.every(({kind:e})=>Object.prototype.hasOwnProperty.call(Ke,e))}},computed:{span(){return{large:9,medium:9,small:12}}},methods:{componentFor(e){return{[Ke.content]:At["a"],[Ke.details]:Hn,[Ke.parameters]:Xn,[Ke.properties]:Gi,[Ke.restBody]:oa,[Ke.restParameters]:pa,[Ke.restHeaders]:pa,[Ke.restCookies]:pa,[Ke.restEndpoint]:Ln,[Ke.restResponses]:ba,[Ke.possibleValues]:In}[e.kind]},propsFor(e){const{bodyContentType:t,content:n,details:i,items:a,kind:s,mimeType:r,parameters:o,title:l,tokens:c,values:d}=e;return{[Ke.content]:{content:n},[Ke.details]:{details:i},[Ke.parameters]:{parameters:o},[Ke.possibleValues]:{values:d},[Ke.properties]:{properties:a,title:l},[Ke.restBody]:{bodyContentType:t,content:n,mimeType:r,parts:o,title:l},[Ke.restCookies]:{parameters:a,title:l},[Ke.restEndpoint]:{tokens:c,title:l},[Ke.restHeaders]:{parameters:a,title:l},[Ke.restParameters]:{parameters:a,title:l},[Ke.restResponses]:{responses:a,title:l}}[s]}}},Sa=Ta,_a=(n("73a8"),Object(K["a"])(Sa,vn,bn,!1,null,"2baae7e0",null)),Ca=_a.exports,ka=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ContentTable",{attrs:{anchor:e.contentSectionData.anchor,title:e.$t(e.contentSectionData.title)}},e._l(e.sectionsWithSymbols,(function(e){return n("Section",{key:e.type,attrs:{title:e.title,anchor:e.anchor}},[n("List",{attrs:{symbols:e.symbols,type:e.type}})],1)})),1)},wa=[],Ia=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{ref:"apiChangesDiff",staticClass:"relationships-list",class:e.classes},e._l(e.symbols,(function(t){return n("li",{key:t.identifier,staticClass:"relationships-item"},[t.url?n("router-link",{staticClass:"link",attrs:{to:e.buildUrl(t.url,e.$route.query)}},[n("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(t.title))])],1):n("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(t.title))]),t.conformance?n("ConditionalConstraints",{attrs:{constraints:t.conformance.constraints,prefix:t.conformance.conformancePrefix}}):e._e()],1)})),0)},xa=[];const $a=3,Oa={conformsTo:"conformance",inheritsFrom:"inheritance",inheritedBy:"inheritedBy"};var Da={name:"RelationshipsList",components:{ConditionalConstraints:He["a"],WordBreak:De["a"]},inject:["store","identifier"],mixins:[lt["b"],lt["a"]],props:{symbols:{type:Array,required:!0},type:{type:String,required:!0}},data(){return{state:this.store.state}},computed:{classes({changeType:e,multipleLinesClass:t,displaysMultipleLinesAfterAPIChanges:n}){return[{inline:this.shouldDisplayInline,column:!this.shouldDisplayInline,["changed changed-"+e]:!!e,[t]:n}]},hasAvailabilityConstraints(){return this.symbols.some(e=>!!(e.conformance||{}).constraints)},changes({identifier:e,state:{apiChanges:t}}){return(t||{})[e]||{}},changeType({changes:e,type:t}){const n=Oa[t];if(e.change!==It["c"].modified)return e.change;const i=e[n];if(!i)return;const a=(e,t)=>e.map((e,n)=>[e,t[n]]),s=a(i.previous,i.new).some(([e,t])=>e.content?0===e.content.length&&t.content.length>0:!!t.content);return s?It["c"].added:It["c"].modified},shouldDisplayInline(){const{hasAvailabilityConstraints:e,symbols:t}=this;return t.length<=$a&&!e}},methods:{buildUrl:P["b"]}},Pa=Da,La=(n("9475"),Object(K["a"])(Pa,Ia,xa,!1,null,"4c67b8c7",null)),Aa=La.exports,Na={name:"Relationships",mixins:[Ut["a"]],components:{ContentTable:Zt,List:Aa,Section:ln},props:{sections:{type:Array,required:!0}},computed:{contentSectionData:()=>Kt.relationships,sectionsWithSymbols(){return this.sections.map(e=>({...e,symbols:e.identifiers.reduce((e,t)=>this.references[t]?e.concat(this.references[t]):e,[])}))}}},Ea=Na,ja=Object(K["a"])(Ea,ka,wa,!1,null,null,null),Ba=ja.exports,Ra=n("e8ea"),Ma=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Section",{staticClass:"availability",attrs:{role:"complementary","aria-label":e.$t("sections.availability")}},[e._l(e.technologies,(function(t){return n("Badge",{key:t,staticClass:"technology"},[n("TechnologyIcon",{staticClass:"tech-icon"}),e._v(" "+e._s(t)+" ")],1)})),e._l(e.platforms,(function(t){return n("Badge",{key:t.name,staticClass:"platform",class:e.changesClassesFor(t.name)},[n("AvailabilityRange",{attrs:{deprecatedAt:t.deprecatedAt,introducedAt:t.introducedAt,platformName:t.name}}),t.deprecatedAt?n("span",{staticClass:"deprecated"},[e._v(" "+e._s(e.$t("aside-kind.deprecated"))+" ")]):t.beta?n("span",{staticClass:"beta"},[e._v(e._s(e.$t("aside-kind.beta")))]):e._e()],1)}))],2)},za=[],Ka=n("3024"),qa=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{attrs:{role:"text","aria-label":e.ariaLabel,title:e.description}},[e._v(" "+e._s(e.text)+" ")])},Fa=[],Ha={name:"AvailabilityRange",props:{deprecatedAt:{type:String,required:!1},introducedAt:{type:String,required:!0},platformName:{type:String,required:!0}},computed:{ariaLabel(){const{deprecatedAt:e,description:t,text:n}=this;return[n].concat(e?this.$t("change-type.deprecated"):[]).concat(t).join(", ")},description(){const{deprecatedAt:e,introducedAt:t,platformName:n}=this;return e?this.$t("availability.introduced-and-deprecated",{name:n,introducedAt:t,deprecatedAt:e}):this.$t("availability.available-on",{name:n,introducedAt:t})},text(){const{deprecatedAt:e,introducedAt:t,platformName:n}=this;return e?`${n} ${t}–${e}`:`${n} ${t}+`}}},Va=Ha,Wa=Object(K["a"])(Va,qa,Fa,!1,null,null,null),Ua=Wa.exports,Ga={name:"Availability",mixins:[lt["b"]],inject:["identifier","store"],components:{Badge:ei["a"],AvailabilityRange:Ua,Section:ie,TechnologyIcon:Ka["a"]},props:{platforms:{type:Array,required:!0},technologies:{type:Array,required:!1}},data(){return{state:this.store.state}},methods:{changeFor(e){const{identifier:t,state:{apiChanges:n}}=this,{availability:i={}}=(n||{})[t]||{},a=i[e];if(a)return a.deprecated?It["c"].deprecated:a.introduced&&!a.introduced.previous?It["c"].added:It["c"].modified}}},Qa=Ga,Xa=(n("2d12"),Object(K["a"])(Qa,Ma,za,!1,null,"602d8130",null)),Ya=Xa.exports,Ja=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("TopicsTable",{attrs:{anchor:e.contentSectionData.anchor,title:e.$t(e.contentSectionData.title),isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,sections:e.sections}})},Za=[],es={name:"SeeAlso",components:{TopicsTable:pn},props:{isSymbolDeprecated:Boolean,isSymbolBeta:Boolean,sections:pn.props.sections},computed:{contentSectionData:()=>Kt.seeAlso}},ts=es,ns=Object(K["a"])(ts,Ja,Za,!1,null,null,null),is=ns.exports,as=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"topictitle"},[e.eyebrow?n("span",{staticClass:"eyebrow"},[e._v(e._s(e.eyebrow))]):e._e(),n("h1",{staticClass:"title"},[e._t("default"),e._t("after")],2)])},ss=[],rs={name:"Title",props:{eyebrow:{type:String,required:!1}}},os=rs,ls=(n("3396"),Object(K["a"])(os,as,ss,!1,null,"4492c658",null)),cs=ls.exports,ds=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("TopicsTable",{attrs:{anchor:e.contentSectionData.anchor,title:e.$t(e.contentSectionData.title),isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,sections:e.sections,topicStyle:e.topicStyle}})},us=[],hs={name:"Topics",components:{TopicsTable:pn},computed:{contentSectionData:()=>Kt.topics},props:{isSymbolDeprecated:Boolean,isSymbolBeta:Boolean,sections:pn.props.sections,topicStyle:{type:String,required:!0,validator:e=>Object.hasOwnProperty.call(Pe["a"],e)}}},ps=hs,gs=Object(K["a"])(ps,ds,us,!1,null,null,null),fs=gs.exports,ms=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"OnThisPageStickyContainer"},[e._t("default")],2)},ys=[],vs={name:"OnThisPageStickyContainer"},bs=vs,Ts=(n("1e0b"),Object(K["a"])(bs,ms,ys,!1,null,"1b6d0048",null)),Ss=Ts.exports;const _s=1050;var Cs={name:"DocumentationTopic",mixins:[D["a"]],constants:{ON_THIS_PAGE_CONTAINER_BREAKPOINT:_s},inject:{isTargetIDE:{default(){return!1}},store:{default(){return{reset(){},state:{}}}}},components:{Declaration:Dt,OnThisPageStickyContainer:Ss,OnThisPageNav:ze,DocumentationHero:Oe,Abstract:Bt,Aside:N["a"],BetaLegalText:F,ContentNode:At["a"],DefaultImplementations:yn,DownloadButton:Rt["a"],LanguageSwitcher:pe,PrimaryContent:Ca,Relationships:Ba,RequirementMetadata:Ra["a"],Availability:Ya,SeeAlso:is,Title:cs,Topics:fs,ViewMore:be,WordBreak:De["a"]},props:{abstract:{type:Array,required:!1},conformance:{type:Object,required:!1},defaultImplementationsSections:{type:Array,required:!1},downloadNotAvailableSummary:{type:Array,required:!1},deprecationSummary:{type:Array,required:!1},diffAvailability:{type:Object,required:!1},modules:{type:Array,required:!1},hasNoExpandedDocumentation:{type:Boolean,required:!1},hierarchy:{type:Object,default:()=>({})},interfaceLanguage:{type:String,required:!0},identifier:{type:String,required:!0},isRequirement:{type:Boolean,default:()=>!1},platforms:{type:Array,required:!1},primaryContentSections:{type:Array,required:!1},references:{type:Object,required:!0},relationshipsSections:{type:Array,required:!1},roleHeading:{type:String,required:!1},title:{type:String,required:!0},topicSections:{type:Array,required:!1},topicSectionsStyle:{type:String,default:Pe["a"].list},sampleCodeDownload:{type:Object,required:!1},seeAlsoSections:{type:Array,required:!1},languagePaths:{type:Object,default:()=>({})},tags:{type:Array,required:!0},objcPath:{type:String,required:!1},swiftPath:{type:String,required:!1},isSymbolDeprecated:{type:Boolean,required:!1},isSymbolBeta:{type:Boolean,required:!1},symbolKind:{type:String,default:""},role:{type:String,default:""},remoteSource:{type:Object,required:!1},pageImages:{type:Array,required:!1},enableMinimized:{type:Boolean,default:!1},enableOnThisPageNav:{type:Boolean,default:!1},disableHeroBackground:{type:Boolean,default:!1},standardColorIdentifier:{type:String,required:!1,validator:e=>Object.prototype.hasOwnProperty.call(we,e)},availableLocales:{type:Array,required:!1}},provide(){return{identifier:this.identifier,languages:new Set(Object.keys(this.languagePaths)),interfaceLanguage:this.interfaceLanguage,symbolKind:this.symbolKind,enableMinimized:this.enableMinimized}},data(){return{topicState:this.store.state}},computed:{normalizedSwiftPath:({swiftPath:e})=>Object(L["d"])(e),normalizedObjcPath:({objcPath:e,swiftPath:t})=>Object(L["d"])(e&&t?Object(P["b"])(e,{language:O["a"].objectiveC.key.url}):e),defaultImplementationsCount(){return(this.defaultImplementationsSections||[]).reduce((e,t)=>e+t.identifiers.length,0)},shouldShowAvailability:({platforms:e,technologies:t,enableMinimized:n})=>((e||[]).length||(t||[]).length)&&!n,hasBetaContent:({platforms:e})=>e&&e.length&&e.some(e=>e.beta),pageTitle:({title:e})=>e,pageDescription:({abstract:e,extractFirstParagraphText:t})=>e?t(e):null,shouldShowLanguageSwitcher:({objcPath:e,swiftPath:t,isTargetIDE:n,enableMinimized:i})=>!!(e&&t&&n)&&!i,enhanceBackground:({symbolKind:e,disableHeroBackground:t,enableMinimized:n})=>!t&&!n&&(!e||"module"===e),shortHero:({roleHeading:e,abstract:t,sampleCodeDownload:n,hasAvailability:i,shouldShowLanguageSwitcher:a,declarations:s})=>!!e+!!t+!!n+!!s.length+!!i+a<=1,technologies({modules:e=[]}){const t=e.reduce((e,t)=>(e.push(t.name),e.concat(t.relatedModules||[])),[]);return t.length>1?t:[]},titleBreakComponent:({enhanceBackground:e})=>e?"span":De["a"],hasPrimaryContent:({isRequirement:e,deprecationSummary:t,downloadNotAvailableSummary:n,primaryContentSectionsSanitized:i,shouldShowViewMoreLink:a})=>e||t&&t.length||n&&n.length||i.length||a,viewMoreLink:({interfaceLanguage:e,normalizedObjcPath:t,normalizedSwiftPath:n})=>e===O["a"].objectiveC.key.api?t:n,shouldShowViewMoreLink:({enableMinimized:e,hasNoExpandedDocumentation:t,viewMoreLink:n})=>e&&!t&&n,tagName(){return this.isSymbolDeprecated?this.$t("aside-kind.deprecated"):this.$t("aside-kind.beta")},pageIcon:({pageImages:e=[]})=>{const t=e.find(({type:e})=>"icon"===e);return t?t.identifier:null},shouldRenderTopicSection:({topicSectionsStyle:e,topicSections:t,enableMinimized:n})=>t&&e!==Pe["a"].hidden&&!n,isOnThisPageNavVisible:({topicState:e})=>e.contentWidth>_s,disableMetadata:({enableMinimized:e})=>e,primaryContentSectionsSanitized({primaryContentSections:e=[]}){return e.filter(({kind:e})=>e!==Ke.declarations)},declarations({primaryContentSections:e=[]}){return e.filter(({kind:e})=>e===Ke.declarations)}},methods:{extractProps(e){const{abstract:t,defaultImplementationsSections:n,deprecationSummary:i,downloadNotAvailableSummary:a,diffAvailability:s,hierarchy:r,identifier:{interfaceLanguage:o,url:l},metadata:{conformance:c,hasNoExpandedDocumentation:d,modules:u,availableLocales:h,platforms:p,required:g=!1,roleHeading:f,title:m="",tags:y=[],role:v,symbolKind:b="",remoteSource:T,images:S=[],color:{standardColorIdentifier:_}={}}={},primaryContentSections:C,relationshipsSections:k,references:w={},sampleCodeDownload:I,topicSectionsStyle:x,topicSections:$,seeAlsoSections:D,variantOverrides:P,variants:L=[]}=e,A=L.reduce((e,t)=>t.traits.reduce((e,n)=>n.interfaceLanguage?{...e,[n.interfaceLanguage]:(e[n.interfaceLanguage]||[]).concat(t.paths)}:e,e),{}),{[O["a"].objectiveC.key.api]:[N]=[],[O["a"].swift.key.api]:[E]=[]}=A;return{abstract:t,conformance:c,defaultImplementationsSections:n,deprecationSummary:i,downloadNotAvailableSummary:a,diffAvailability:s,hasNoExpandedDocumentation:d,availableLocales:h,hierarchy:r,role:v,identifier:l,interfaceLanguage:o,isRequirement:g,modules:u,platforms:p,primaryContentSections:C,relationshipsSections:k,references:w,roleHeading:f,sampleCodeDownload:I,title:m,topicSections:$,topicSectionsStyle:x,seeAlsoSections:D,variantOverrides:P,symbolKind:b,tags:y.slice(0,1),remoteSource:T,pageImages:S,objcPath:N,swiftPath:E,standardColorIdentifier:_}}},created(){if(this.topicState.preferredLanguage===O["a"].objectiveC.key.url&&this.interfaceLanguage!==O["a"].objectiveC.key.api&&this.objcPath&&this.$route.query.language!==O["a"].objectiveC.key.url){const{query:e}=this.$route;this.$nextTick().then(()=>{this.$router.replace({path:Object(L["d"])(this.objcPath),query:{...e,language:O["a"].objectiveC.key.url}})})}A["a"].setAvailableLocales(this.availableLocales||[]),this.store.reset(),this.store.setReferences(this.references)},watch:{references(e){this.store.setReferences(e)},availableLocales(e){A["a"].setAvailableLocales(e)}}},ks=Cs,ws=(n("6d05"),Object(K["a"])(ks,x,$,!1,null,"43c74ad0",null)),Is=ws.exports,xs=n("2b0e");const $s=()=>({[It["c"].modified]:0,[It["c"].added]:0,[It["c"].deprecated]:0});var Os={state:{apiChanges:null,apiChangesCounts:$s(),selectedAPIChangesVersion:null},setAPIChanges(e){this.state.apiChanges=e},setSelectedAPIChangesVersion(e){this.state.selectedAPIChangesVersion=e},resetApiChanges(){this.state.apiChanges=null,this.state.apiChangesCounts=$s()},async updateApiChangesCounts(){await xs["default"].nextTick(),Object.keys(this.state.apiChangesCounts).forEach(e=>{this.state.apiChangesCounts[e]=this.countChangeType(e)})},countChangeType(e){if(document&&document.querySelectorAll){const t=`.changed-${e}:not(.changed-total)`;return document.querySelectorAll(t).length}return 0}},Ds={state:{onThisPageSections:[],currentPageAnchor:null},resetPageSections(){this.state.onThisPageSections=[],this.state.currentPageAnchor=null},addOnThisPageSection(e,{i18n:t=!0}={}){this.state.onThisPageSections.push({...e,i18n:t})},setCurrentPageSection(e){const t=this.state.onThisPageSections.findIndex(({anchor:t})=>t===e);-1!==t&&(this.state.currentPageAnchor=e)}},Ps=n("d369");const{state:Ls,...As}=Os,{state:Ns,...Es}=Ds;var js={state:{preferredLanguage:Ps["a"].preferredLanguage,contentWidth:0,...Ls,...Ns,references:{}},reset(){this.state.preferredLanguage=Ps["a"].preferredLanguage,this.state.references={},this.resetApiChanges()},setPreferredLanguage(e){this.state.preferredLanguage=e,Ps["a"].preferredLanguage=this.state.preferredLanguage},setContentWidth(e){this.state.contentWidth=e},setReferences(e){this.state.references=e},...As,...Es},Bs=n("8590"),Rs=n("66c9"),Ms=n("0caf"),zs=n("146e");const Ks="",qs=32,Fs="navigator-hide-button";function Hs(e){return e.split("").reduce((e,t)=>(e<<5)-e+t.charCodeAt(0)|0,0)}function Vs(e){const t={},n=e.length;for(let i=0;ie.parent===Ks);const i=t[e];return i?(i.childUIDs||[]).map(e=>t[e]):[]}function Qs(e,t){const n=[],i=[e];let a=null;while(i.length){a=i.pop();const e=t[a];if(!e)return[];n.unshift(e),e.parent&&e.parent!==Ks&&i.push(e.parent)}return n}function Xs(e,t,n){const i=t[e];return i?Gs(i.parent,t,n):[]}var Ys,Js,Zs={name:"NavigatorDataProvider",props:{interfaceLanguage:{type:String,default:O["a"].swift.key.url},technologyUrl:{type:String,required:!0},apiChangesVersion:{type:String,default:""}},data(){return{isFetching:!1,errorFetching:!1,isFetchingAPIChanges:!1,navigationIndex:{[O["a"].swift.key.url]:[]},navigationReferences:{},diffs:null}},computed:{flatChildren:({technologyWithChildren:e={}})=>Ws(e.children||[],null,0,e.beta),technologyPath:({technologyUrl:e})=>{const t=/(\/documentation\/(?:[^/]+))\/?/.exec(e);return t?t[1]:""},technologyWithChildren({navigationIndex:e,interfaceLanguage:t,technologyPath:n}){let i=e[t]||[];return i.length||(i=e[O["a"].swift.key.url]||[]),i.find(e=>n.toLowerCase()===e.path.toLowerCase())}},methods:{async fetchIndexData(){try{this.isFetching=!0;const{interfaceLanguages:e,references:t}=await Object(w["d"])({slug:this.$route.params.locale||""});this.navigationIndex=Object.freeze(e),this.navigationReferences=Object.freeze(t)}catch(e){this.errorFetching=!0}finally{this.isFetching=!1}}},watch:{"$route.params.locale":{handler:"fetchIndexData",immediate:!0}},render(){return this.$scopedSlots.default({technology:this.technologyWithChildren,isFetching:this.isFetching,errorFetching:this.errorFetching,isFetchingAPIChanges:this.isFetchingAPIChanges,apiChanges:this.diffs,flatChildren:this.flatChildren,references:this.navigationReferences})}},er=Zs,tr=Object(K["a"])(er,Ys,Js,!1,null,null,null),nr=tr.exports,ir=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{staticClass:"quick-navigation-open",attrs:{"aria-label":e.$t("quicknav.button.label"),title:e.$t("quicknav.button.title")}},[e._v(" / ")])},ar=[],sr={name:"QuickNavigationButton"},rr=sr,or=(n("5a73"),Object(K["a"])(rr,ir,ar,!1,null,"53faf852",null)),lr=or.exports,cr=function(){var e,t,n=this,i=n.$createElement,a=n._self._c||i;return a("GenericModal",{attrs:{isFullscreen:"",showClose:!1,visible:n.isVisible,backdropBackgroundColorOverride:"rgba(0, 0, 0, 0.7)"},on:{"update:visible":function(e){n.isVisible=e}}},[a("div",{staticClass:"quick-navigation",on:{keydown:[function(e){return!e.type.indexOf("key")&&n._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:(e.preventDefault(),n.focusNext.apply(null,arguments))},function(e){return!e.type.indexOf("key")&&n._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:(e.preventDefault(),n.focusPrev.apply(null,arguments))},function(e){return!e.type.indexOf("key")&&n._k(e.keyCode,"enter",13,e.key,"Enter")||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:n.handleKeyEnter.apply(null,arguments)}],click:function(e){return e.target!==e.currentTarget?null:n.closeQuickNavigationModal.apply(null,arguments)}}},[a("div",{staticClass:"quick-navigation__container",class:{focus:n.focusedInput}},[a("FilterInput",{staticClass:"quick-navigation__filter",attrs:{placeholder:n.$t("filter.search-symbols",{technology:n.technology}),focusInputWhenCreated:"",focusInputWhenEmpty:"",preventBorderStyle:"",selectInputOnFocus:""},on:{input:function(e){n.focusedIndex=0},focus:function(e){n.focusedInput=!0},blur:function(e){n.focusedInput=!1}},scopedSlots:n._u([{key:"icon",fn:function(){return[a("div",{staticClass:"quick-navigation__magnifier-icon-container",class:{blue:n.userInput.length}},[a("MagnifierIcon")],1)]},proxy:!0}]),model:{value:n.userInput,callback:function(e){n.userInput=e},expression:"userInput"}}),a("div",{staticClass:"quick-navigation__match-list",class:{active:n.processedUserInput.length}},[n.noResultsWereFound?a("div",{staticClass:"no-results"},[a("p",[n._v(" No results found. ")])]):[a("div",n._b({staticClass:"quick-navigation__refs"},"div",(e={},e[n.SCROLL_LOCK_DISABLE_ATTR]=!0,e),!1),n._l(n.filteredSymbols,(function(e,t){return a("Reference",{key:e.uid,staticClass:"quick-navigation__reference",attrs:{url:e.path},nativeOn:{click:function(e){return n.closeQuickNavigationModal.apply(null,arguments)},focus:function(e){return n.focusIndex(t)}}},[a("div",{ref:"match",refInFor:!0,staticClass:"quick-navigation__symbol-match",class:{selected:t==n.focusedIndex},attrs:{role:"list"}},[a("div",{staticClass:"symbol-info"},[a("div",{staticClass:"symbol-name"},[a("TopicTypeIcon",{staticClass:"navigator-icon",attrs:{type:e.type}}),a("div",{staticClass:"symbol-title"},[a("span",{domProps:{textContent:n._s(n.formatSymbolTitle(e.title,0,e.start))}}),a("QuickNavigationHighlighter",{attrs:{text:e.substring,matcherText:n.processedUserInput}}),a("span",{domProps:{textContent:n._s(n.formatSymbolTitle(e.title,e.start+e.matchLength))}})],1)],1),a("div",{staticClass:"symbol-path"},n._l(e.parents,(function(t,i){return a("div",{key:t.title},[a("span",{staticClass:"parent-path",domProps:{textContent:n._s(t.title)}}),i!==e.parents.length-1?a("span",{staticClass:"parent-path",domProps:{textContent:n._s("/")}}):n._e()])})),0)])])])})),1),n.previewState?a("Preview",n._b({staticClass:"quick-navigation__preview",attrs:{json:n.previewJSON,state:n.previewState}},"Preview",(t={},t[n.SCROLL_LOCK_DISABLE_ATTR]=!0,t),!1)):n._e()]],2)],1)])])},dr=[],ur=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"filter",class:{focus:e.showSuggestedTags&&!e.preventBorderStyle},attrs:{role:"search",tabindex:"0","aria-labelledby":e.searchAriaLabelledBy},on:{"!blur":function(t){return e.handleBlur.apply(null,arguments)},"!focus":function(t){return e.handleFocus.apply(null,arguments)}}},[n("div",{class:["filter__wrapper",{"filter__wrapper--reversed":e.positionReversed,"filter__wrapper--no-border-style":e.preventBorderStyle}]},[n("div",{staticClass:"filter__top-wrapper"},[n("button",{staticClass:"filter__filter-button",class:{blue:e.inputIsNotEmpty},attrs:{"aria-hidden":"true",tabindex:"-1"},on:{click:e.focusInput,mousedown:function(e){e.preventDefault()}}},[e._t("icon",(function(){return[n("FilterIcon")]}))],2),n("div",{class:["filter__input-box-wrapper",{scrolling:e.isScrolling}],on:{scroll:e.handleScroll}},[e.hasSelectedTags?n("TagList",e._g(e._b({ref:"selectedTags",staticClass:"filter__selected-tags",attrs:{id:e.SelectedTagsId,input:e.input,tags:e.selectedTags,ariaLabel:e.$tc("filter.selected-tags",e.suggestedTags.length),activeTags:e.activeTags,translatableTags:e.translatableTags,areTagsRemovable:""},on:{"focus-prev":e.handleFocusPrevOnSelectedTags,"focus-next":e.focusInputFromTags,"reset-filters":e.resetFilters,"prevent-blur":function(t){return e.$emit("update:preventedBlur",!0)}}},"TagList",e.virtualKeyboardBind,!1),e.selectedTagsMultipleSelectionListeners)):e._e(),n("label",{staticClass:"filter__input-label",attrs:{id:"filter-label",for:e.FilterInputId,"data-value":e.modelValue,"aria-label":e.placeholder}},[n("input",e._g(e._b({directives:[{name:"model",rawName:"v-model",value:e.modelValue,expression:"modelValue"}],ref:"input",staticClass:"filter__input",attrs:{id:e.FilterInputId,placeholder:e.hasSelectedTags?"":e.placeholder,"aria-expanded":e.displaySuggestedTags?"true":"false",disabled:e.disabled,type:"text"},domProps:{value:e.modelValue},on:{focus:function(t){e.selectInputOnFocus&&e.selectInputAndTags()},keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.downHandler.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.upHandler.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:e.leftKeyInputHandler.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])||"button"in t&&2!==t.button?null:e.rightKeyInputHandler.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:e.deleteHandler.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"a",void 0,t.key,void 0)?null:t.metaKey?(t.preventDefault(),t.stopPropagation(),e.selectInputAndTags.apply(null,arguments)):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"a",void 0,t.key,void 0)?null:t.ctrlKey?(t.preventDefault(),e.selectInputAndTags.apply(null,arguments)):null},function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.inputKeydownHandler.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.enterHandler.apply(null,arguments)},function(t){return t.shiftKey?t.ctrlKey||t.altKey||t.metaKey?null:e.inputKeydownHandler.apply(null,arguments):null},function(t){return t.shiftKey&&t.metaKey?t.ctrlKey||t.altKey?null:e.inputKeydownHandler.apply(null,arguments):null},function(t){return t.metaKey?t.ctrlKey||t.shiftKey||t.altKey?null:e.assignEventValues.apply(null,arguments):null},function(t){return t.ctrlKey?t.shiftKey||t.altKey||t.metaKey?null:e.assignEventValues.apply(null,arguments):null}],input:function(t){t.target.composing||(e.modelValue=t.target.value)}}},"input",e.AXinputProperties,!1),e.inputMultipleSelectionListeners))])],1),n("div",{staticClass:"filter__delete-button-wrapper"},[e.input.length||e.displaySuggestedTags||e.hasSelectedTags?n("button",{staticClass:"filter__delete-button",attrs:{"aria-label":e.$t("filter.reset-filter")},on:{click:function(t){return e.resetFilters(!0)},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.stopPropagation(),e.resetFilters(!0))},mousedown:function(e){e.preventDefault()}}},[n("ClearRoundedIcon")],1):e._e()])]),e.displaySuggestedTags?n("TagList",e._b({ref:"suggestedTags",staticClass:"filter__suggested-tags",attrs:{id:e.SuggestedTagsId,ariaLabel:e.$tc("filter.suggested-tags",e.suggestedTags.length),input:e.input,tags:e.suggestedTags,translatableTags:e.translatableTags},on:{"click-tags":function(t){return e.selectTag(t.tagName)},"prevent-blur":function(t){return e.$emit("update:preventedBlur",!0)},"focus-next":function(t){e.positionReversed?e.focusInput():e.$emit("focus-next")},"focus-prev":function(t){e.positionReversed?e.$emit("focus-prev"):e.focusInput()}}},"TagList",e.virtualKeyboardBind,!1)):e._e()],1)])},hr=[],pr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"clear-rounded-icon",attrs:{viewBox:"0 0 16 16",themeId:"clear-rounded"}},[n("title",[e._v(e._s(e.$t("icons.clear")))]),n("path",{attrs:{d:"M14.55,0l1.45,1.45-6.56,6.55,6.54,6.54-1.45,1.45-6.53-6.53L1.47,15.99,.01,14.53l6.52-6.53L0,1.47,1.45,.02l6.55,6.54L14.55,0Z","fill-rule":"evenodd"}})])},gr=[],fr=n("be08"),mr={name:"ClearRoundedIcon",components:{SVGIcon:fr["a"]}},yr=mr,vr=Object(K["a"])(yr,pr,gr,!1,null,null,null),br=vr.exports;function Tr(){if(window.getSelection)try{const{activeElement:e}=document;return e&&e.value?e.value.substring(e.selectionStart,e.selectionEnd):window.getSelection().toString()}catch(e){return""}else if(document.selection&&"Control"!==document.selection.type)return document.selection.createRange().text;return""}function Sr(e){if("number"===typeof e.selectionStart)e.selectionStart=e.selectionEnd=e.value.length;else if("undefined"!==typeof e.createTextRange){e.focus();const t=e.createTextRange();t.collapse(!1),t.select()}}function _r(e){e.selectionStart=e.selectionEnd=0}function Cr(e){return/^[\w\W\s]$/.test(e)}function kr(e){const t=e.match(/(.*)<\/data>/);try{return t?JSON.parse(t[1]):null}catch(n){return null}}function wr(e){return"string"!==typeof e&&(e=JSON.stringify(e)),`${e}`}function Ir(e,t,n,i){let a,s;return function(...r){function o(){clearTimeout(a),a=null}function l(){o(),e.apply(s,r)}if(s=this,!a||!n&&!i){if(!n)return o(),void(a=setTimeout(l,t));a=setTimeout(o,t),e.apply(s,r)}}}const xr=280,$r=100;var Or={data(){return{keyboardIsVirtual:!1,activeTags:[],initTagIndex:null,focusedTagIndex:null,metaKey:!1,shiftKey:!1,tabbing:!1,debouncedHandleDeleteTag:null}},constants:{DebounceDelay:xr,VirtualKeyboardThreshold:$r},computed:{virtualKeyboardBind:({keyboardIsVirtual:e})=>({keyboardIsVirtual:e}),allSelectedTagsAreActive:({selectedTags:e,activeTags:t})=>e.every(e=>t.includes(e))},methods:{selectRangeActiveTags(e=this.focusedTagIndex,t=this.selectedTags.length){this.activeTags=this.selectedTags.slice(e,t)},selectTag(e){this.updateSelectedTags([e]),this.clearFilterOnTagSelect&&this.setFilterInput("")},unselectActiveTags(){this.activeTags.length&&(this.deleteTags(this.activeTags),this.resetActiveTags())},async deleteHandler(e){this.activeTags.length>0&&this.setSelectedTags(this.selectedTags.filter(e=>!this.activeTags.includes(e))),this.inputIsSelected()&&this.allSelectedTagsAreActive?(e.preventDefault(),await this.resetFilters()):0===this.$refs.input.selectionEnd&&this.hasSelectedTags&&(e.preventDefault(),this.keyboardIsVirtual?this.setSelectedTags(this.selectedTags.slice(0,-1)):this.$refs.selectedTags.focusLast()),this.unselectActiveTags()},leftKeyInputHandler(e){if(this.assignEventValues(e),this.hasSelectedTags){if(this.activeTags.length&&!this.shiftKey)return e.preventDefault(),void this.$refs.selectedTags.focusTag(this.activeTags[0]);if(this.shiftKey&&0===this.$refs.input.selectionStart&&"forward"!==this.$refs.input.selectionDirection)return null===this.focusedTagIndex&&(this.focusedTagIndex=this.selectedTags.length),this.focusedTagIndex>0&&(this.focusedTagIndex-=1),this.initTagIndex=this.selectedTags.length,void this.selectTagsPressingShift();(0===this.$refs.input.selectionEnd||this.inputIsSelected())&&this.$refs.selectedTags.focusLast()}},rightKeyInputHandler(e){if(this.assignEventValues(e),this.activeTags.length&&this.shiftKey&&this.focusedTagIndex=$r&&(this.keyboardIsVirtual=!0)}),xr),setFilterInput(e){this.$emit("update:input",e)},setSelectedTags(e){this.$emit("update:selectedTags",e)},updateSelectedTags(e){this.setSelectedTags([...new Set([...this.selectedTags,...e])])},handleCopy(e){e.preventDefault();const t=[],n={tags:[],input:Tr()};if(this.activeTags.length){const e=this.activeTags;n.tags=e,t.push(e.join(" "))}return t.push(n.input),n.tags.length||n.input.length?(e.clipboardData.setData("text/html",wr(n)),e.clipboardData.setData("text/plain",t.join(" ")),n):n},handleCut(e){e.preventDefault();const{input:t,tags:n}=this.handleCopy(e);if(!t&&!n.length)return;const i=this.selectedTags.filter(e=>!n.includes(e)),a=this.input.replace(t,"");this.setSelectedTags(i),this.setFilterInput(a)},handlePaste(e){e.preventDefault();const{types:t}=e.clipboardData;let n=[],i=e.clipboardData.getData("text/plain");if(t.includes("text/html")){const t=e.clipboardData.getData("text/html"),a=kr(t);a&&({tags:n=[],input:i=""}=a)}const a=Tr();i=a.length?this.input.replace(a,i):Object(nn["f"])(this.input,i,document.activeElement.selectionStart),this.setFilterInput(i.trim()),this.allSelectedTagsAreActive?this.setSelectedTags(n):this.updateSelectedTags(n),this.resetActiveTags()},async handleDeleteTag({tagName:e,event:t={}}){const{key:n}=t;this.activeTags.length||this.deleteTags([e]),this.unselectActiveTags(),await this.$nextTick(),Sr(this.$refs.input),this.hasSelectedTags&&(await this.focusInput(),"Backspace"===n&&_r(this.$refs.input))}},mounted(){window.visualViewport&&(window.visualViewport.addEventListener("resize",this.updateKeyboardType),this.$once("hook:beforeDestroy",()=>{window.visualViewport.removeEventListener("resize",this.updateKeyboardType)}))}};const Dr=1e3;var Pr={constants:{ScrollingDebounceDelay:Dr},data(){return{isScrolling:!1,scrollRemovedAt:0}},created(){this.deleteScroll=Ir(this.deleteScroll,Dr)},methods:{deleteScroll(){this.isScrolling=!1,this.scrollRemovedAt=Date.now()},handleScroll(e){const{target:t}=e;if(0!==t.scrollTop)return t.scrollTop=0,void e.preventDefault();const n=150,i=t.offsetWidth,a=i+n;if(t.scrollWidth0?this.focusIndex(this.focusedIndex-1):this.startingPointHook())},focusNext({metaKey:e,ctrlKey:t,shiftKey:n}){(e||t)&&n||(this.externalFocusChange=!1,this.focusedIndex0}},Kr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"tag",attrs:{role:"presentation"}},[n("button",{ref:"button",class:{focus:e.isActiveTag},attrs:{role:"option","aria-selected":e.ariaSelected,"aria-roledescription":"tag"},on:{focus:function(t){return e.$emit("focus",{event:t,tagName:e.name})},click:function(t){return t.preventDefault(),e.$emit("click",{event:t,tagName:e.name})},dblclick:function(t){t.preventDefault(),!e.keyboardIsVirtual&&e.deleteTag()},keydown:[function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.$emit("keydown",{event:t,tagName:e.name})},function(t){return t.shiftKey?t.ctrlKey||t.altKey||t.metaKey?null:e.$emit("keydown",{event:t,tagName:e.name}):null},function(t){return t.shiftKey&&t.metaKey?t.ctrlKey||t.altKey?null:e.$emit("keydown",{event:t,tagName:e.name}):null},function(t){return t.metaKey?t.ctrlKey||t.shiftKey||t.altKey?null:e.$emit("keydown",{event:t,tagName:e.name}):null},function(t){return t.ctrlKey?t.shiftKey||t.altKey||t.metaKey?null:e.$emit("keydown",{event:t,tagName:e.name}):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:(t.preventDefault(),e.deleteTag.apply(null,arguments))}],mousedown:function(t){return t.preventDefault(),e.focusButton.apply(null,arguments)},copy:e.handleCopy}},[e.isRemovableTag?e._e():n("span",{staticClass:"visuallyhidden"},[e._v(" "+e._s(e.$t("filter.add-tag"))+" - ")]),e.isTranslatableTag?[e._v(" "+e._s(e.$t(e.name))+" ")]:[e._v(" "+e._s(e.name)+" ")],e.isRemovableTag?n("span",{staticClass:"visuallyhidden"},[e._v(" – "+e._s(e.$t("filter.tag-select-remove"))+" ")]):e._e()],2)])},qr=[],Fr={name:"Tag",props:{name:{type:String,required:!0},isFocused:{type:Boolean,default:()=>!1},isRemovableTag:{type:Boolean,default:!1},isTranslatableTag:{type:Boolean,default:!1},isActiveTag:{type:Boolean,default:!1},activeTags:{type:Array,required:!1},keyboardIsVirtual:{type:Boolean,default:!1}},watch:{isFocused(e){e&&this.focusButton()}},mounted(){document.addEventListener("copy",this.handleCopy),document.addEventListener("cut",this.handleCut),document.addEventListener("paste",this.handlePaste),this.$once("hook:beforeDestroy",()=>{document.removeEventListener("copy",this.handleCopy),document.removeEventListener("cut",this.handleCut),document.removeEventListener("paste",this.handlePaste)})},methods:{isCurrentlyActiveElement(){return document.activeElement===this.$refs.button},handleCopy(e){if(!this.isCurrentlyActiveElement())return;e.preventDefault();let t=[];t=this.activeTags.length>0?this.activeTags:[this.name],e.clipboardData.setData("text/html",wr({tags:t})),e.clipboardData.setData("text/plain",t.join(" "))},handleCut(e){this.isCurrentlyActiveElement()&&this.isRemovableTag&&(this.handleCopy(e),this.deleteTag(e))},handlePaste(e){this.isCurrentlyActiveElement()&&this.isRemovableTag&&(e.preventDefault(),this.deleteTag(e),this.$emit("paste-content",e))},deleteTag(e){this.$emit("delete-tag",{tagName:this.name,event:e}),this.$emit("prevent-blur")},focusButton(e={}){this.keyboardIsVirtual||this.$refs.button.focus(),0===e.buttons&&this.isFocused&&this.deleteTag(e)}},computed:{ariaSelected:({isActiveTag:e,isRemovableTag:t})=>t?e?"true":"false":null}},Hr=Fr,Vr=(n("f055"),Object(K["a"])(Hr,Kr,qr,!1,null,"7e76f326",null)),Wr=Vr.exports,Ur={name:"Tags",mixins:[Pr,zr],props:{tags:{type:Array,default:()=>[]},activeTags:{type:Array,default:()=>[]},translatableTags:{type:Array,default:()=>[]},ariaLabel:{type:String,required:!1},id:{type:String,required:!1},input:{type:String,default:null},areTagsRemovable:{type:Boolean,default:!1},keyboardIsVirtual:{type:Boolean,default:!1}},components:{Tag:Wr},methods:{focusTag(e){this.focusIndex(this.tags.indexOf(e))},startingPointHook(){this.$emit("focus-prev")},handleFocus(e,t){this.focusIndex(t),this.isScrolling=!1,this.$emit("focus",e)},endingPointHook(){this.$emit("focus-next")},resetScroll(){this.$refs["scroll-wrapper"].scrollLeft=0},handleKeydown(e){const{key:t}=e,n=this.tags[this.focusedIndex];Cr(t)&&n&&this.$emit("delete-tag",{tagName:n.label||n,event:e})}},computed:{totalItemsToNavigate:({tags:e})=>e.length}},Gr=Ur,Qr=(n("9f17"),Object(K["a"])(Gr,Rr,Mr,!1,null,"1f2bd813",null)),Xr=Qr.exports;const Yr=5,Jr="filter-input",Zr="selected-tags",eo="suggested-tags",to={autocorrect:"off",autocapitalize:"off",spellcheck:"false",role:"combobox","aria-haspopup":"true","aria-autocomplete":"none","aria-owns":"suggestedTags","aria-controls":"suggestedTags"};var no,io,ao={name:"FilterInput",mixins:[Pr,Or],constants:{FilterInputId:Jr,SelectedTagsId:Zr,SuggestedTagsId:eo,AXinputProperties:to,TagLimit:Yr},components:{TagList:Xr,ClearRoundedIcon:br,FilterIcon:Br},props:{positionReversed:{type:Boolean,default:()=>!1},tags:{type:Array,default:()=>[]},selectedTags:{type:Array,default:()=>[]},preventedBlur:{type:Boolean,default:()=>!1},placeholder:{type:String,default:()=>""},disabled:{type:Boolean,default:()=>!1},value:{type:String,default:()=>""},shouldTruncateTags:{type:Boolean,default:!1},focusInputWhenCreated:{type:Boolean,default:!1},focusInputWhenEmpty:{type:Boolean,default:!1},selectInputOnFocus:{type:Boolean,default:!1},clearFilterOnTagSelect:{type:Boolean,default:!0},preventBorderStyle:{type:Boolean,default:!1},translatableTags:{type:Array,default:()=>[]}},data(){return{resetedTagsViaDeleteButton:!1,FilterInputId:Jr,SelectedTagsId:Zr,SuggestedTagsId:eo,AXinputProperties:to,showSuggestedTags:!1}},computed:{hasSuggestedTags:({suggestedTags:e})=>e.length,hasSelectedTags:({selectedTags:e})=>e.length,inputIsNotEmpty:({input:e,hasSelectedTags:t})=>e.length||t,searchAriaLabelledBy:({hasSelectedTags:e})=>e?Jr.concat(" ",Zr):Jr,modelValue:{get:({value:e})=>e,set(e){this.$emit("input",e)}},input:({value:e})=>e,suggestedTags:({tags:e,selectedTags:t,shouldTruncateTags:n})=>{const i=e.filter(e=>!t.includes(e));return n?i.slice(0,Yr):i},displaySuggestedTags:({showSuggestedTags:e,suggestedTags:t})=>e&&t.length>0,inputMultipleSelectionListeners:({resetActiveTags:e,handleCopy:t,handleCut:n,handlePaste:i})=>({click:e,copy:t,cut:n,paste:i}),selectedTagsMultipleSelectionListeners:({handleSingleTagClick:e,selectInputAndTags:t,handleDeleteTag:n,selectedTagsKeydownHandler:i,focusTagHandler:a,handlePaste:s})=>({"click-tags":e,"select-all":t,"delete-tag":n,keydown:i,focus:a,"paste-tags":s})},watch:{async selectedTags(){this.resetedTagsViaDeleteButton?this.resetedTagsViaDeleteButton=!1:this.$el.contains(document.activeElement)&&await this.focusInput(),this.displaySuggestedTags&&this.hasSuggestedTags&&this.$refs.suggestedTags.resetScroll()},suggestedTags:{immediate:!0,handler(e){this.$emit("suggested-tags",e)}},showSuggestedTags(e){this.$emit("show-suggested-tags",e)}},methods:{async focusInput(){await this.$nextTick(),this.$refs.input.focus(),!this.input&&this.resetActiveTags&&this.resetActiveTags()},async resetFilters(e=!1){if(this.setFilterInput(""),this.setSelectedTags([]),!e)return this.$emit("update:preventedBlur",!0),this.resetActiveTags&&this.resetActiveTags(),void await this.focusInput();this.resetedTagsViaDeleteButton=!0,this.showSuggestedTags=!1,this.$refs.input.blur()},focusFirstTag(e=(()=>{})){this.showSuggestedTags||(this.showSuggestedTags=!0),this.hasSuggestedTags&&this.$refs.suggestedTags?this.$refs.suggestedTags.focusFirst():e()},setFilterInput(e){this.$emit("input",e)},setSelectedTags(e){this.$emit("update:selectedTags",e)},deleteTags(e){this.setSelectedTags(this.selectedTags.filter(t=>!e.includes(t)))},async handleBlur(e){const t=e.relatedTarget;t&&t.matches&&t.matches("button, input, ul")&&this.$el.contains(t)||(await this.$nextTick(),this.resetActiveTags(),this.preventedBlur?this.$emit("update:preventedBlur",!1):(this.showSuggestedTags=!1,this.$emit("blur")))},downHandler(e){const t=()=>this.$emit("focus-next",e);this.positionReversed?t():this.focusFirstTag(t)},upHandler(e){const t=()=>this.$emit("focus-prev",e);this.positionReversed?this.focusFirstTag(t):t()},handleFocusPrevOnSelectedTags(){this.positionReversed?this.focusFirstTag(()=>this.$emit("focus-prev")):this.$emit("focus-prev")},handleFocus(){this.showSuggestedTags=!0,this.$emit("focus")}},created(){this.focusInputWhenCreated&&document.activeElement!==this.$refs.input&&(this.inputIsNotEmpty||this.focusInputWhenEmpty)&&this.focusInput()}},so=ao,ro=(n("7309"),Object(K["a"])(so,ur,hr,!1,null,"3f01a546",null)),oo=ro.exports,lo=n("c161"),co={name:"QuickNavigationHighlighter",props:{text:{type:String,required:!0},matcherText:{type:String,default:""}},render(e){const{matcherText:t,text:n}=this,i=[];let a=0;return t?([...t].forEach(t=>{const s=n.toLowerCase().indexOf(t.toLowerCase(),a);a&&i.push(e("span",n.slice(a,s)));const r=s+1;i.push(e("span",{class:"match"},n.slice(s,r))),a=r}),e("p",{class:"highlight"},i)):e("span",{class:"highlight"},n)}},uo=co,ho=(n("ca3d"),Object(K["a"])(uo,no,io,!1,null,"1c4190f0",null)),po=ho.exports,go=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"magnifier-icon",attrs:{viewBox:"0 0 14 14",themeId:"magnifier"}},[n("path",{attrs:{d:"M15.0013 14.0319L10.9437 9.97424C11.8165 8.88933 12.2925 7.53885 12.2929 6.14645C12.2929 2.75841 9.53449 0 6.14645 0C2.75841 0 0 2.75841 0 6.14645C0 9.53449 2.75841 12.2929 6.14645 12.2929C7.57562 12.2929 8.89486 11.7932 9.94425 10.9637L14.0019 15.0213L15.0013 14.0319ZM6.13645 11.0736C4.83315 11.071 3.58399 10.5521 2.66241 9.63048C1.74084 8.70891 1.22194 7.45974 1.2193 6.15644C1.2193 3.44801 3.41802 1.23928 6.13645 1.23928C8.85488 1.23928 11.0536 3.44801 11.0536 6.15644C11.0636 8.86488 8.85488 11.0736 6.13645 11.0736Z"}})])},fo=[],mo={name:"MagnifierIcon",components:{SVGIcon:fr["a"]}},yo=mo,vo=Object(K["a"])(yo,go,fo,!1,null,null,null),bo=vo.exports,To=n("86d8"),So=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"preview"},[e.state===e.STATE.success?n("DocumentationTopic",e._b({attrs:{enableMinimized:""}},"DocumentationTopic",e.topicProps,!1)):e.state===e.STATE.loadingSlowly?n("div",{staticClass:"loading"},e._l(e.LOADER_ROW_STYLES,(function(e){return n("div",{key:e["--index"],staticClass:"loading-row",style:e})})),0):e.state===e.STATE.error?n("div",{staticClass:"unavailable"},[n("p",[e._v("Preview unavailable")])]):e._e()],1)},_o=[];const{extractProps:Co}=Is.methods,ko="hero",wo={error:"error",loading:"loading",loadingSlowly:"loadingSlowly",success:"success"},Io={...js,state:Object(w["a"])(js.state)};var xo={name:"QuickNavigationPreview",components:{DocumentationTopic:Is},constants:{PreviewState:wo,PreviewStore:Io},data(){return{store:Io}},provide(){return{store:this.store}},props:{json:{type:Object,required:!1},state:{type:String,required:!0,validator:e=>Object.hasOwnProperty.call(wo,e)}},computed:{LOADER_ROW_STYLES:()=>[{"--index":0,width:"30%"},{"--index":1,width:"80%"},{"--index":2,width:"50%"}],STATE:()=>wo,topicProps:({json:e})=>{const t=Co(e),{sections:n=[]}=e;let{abstract:i}=t;const a=n.find(({kind:e})=>e===ko);return!i&&a&&(i=a.content),{...t,abstract:i}}}},$o=xo,Oo=(n("c1f5"),Object(K["a"])($o,So,_o,!1,null,"6fb5ba95",null)),Do=Oo.exports;class Po{constructor(e){this.map=new Map,this.maxSize=e}get size(){return this.map.size}get(e){if(!this.map.has(e))return;const t=this.map.get(e);return this.map.delete(e),this.map.set(e,t),t}has(e){return this.map.has(e)}set(e,t){if(this.map.has(e)&&this.map.delete(e),this.map.set(e,t),this.map.size>this.maxSize){const e=this.map.keys().next().value;this.map.delete(e)}}*[Symbol.iterator](){yield*this.map}}var Lo=n("f2af");const{PreviewState:Ao}=Do.constants,No="AbortError",Eo=20,jo=1e3;var Bo={name:"QuickNavigationModal",components:{FilterInput:oo,GenericModal:lo["a"],MagnifierIcon:bo,TopicTypeIcon:_e["a"],QuickNavigationHighlighter:po,Reference:To["a"],Preview:Do},mixins:[zr],created(){this.abortController=null,this.$cachedSymbolResults=new Po(Eo),this.loadingTimeout=null},data(){return{debouncedInput:"",userInput:"",focusedInput:!1,cachedSymbolResults:{},previewIsLoadingSlowly:!1,SCROLL_LOCK_DISABLE_ATTR:Lo["a"]}},props:{children:{type:Array,required:!0},showQuickNavigationModal:{type:Boolean,required:!0},technology:{type:String,required:!0}},computed:{childrenMap({children:e}){return Vs(e)},filteredSymbols:({constructFuzzyRegex:e,children:t,fuzzyMatch:n,processedUserInput:i,childrenMap:a,orderSymbolsByPriority:s})=>{const r=t.filter(e=>"groupMarker"!==e.type&&null!=e.title);if(!i)return[];const o=n({inputLength:i.length,symbols:r,processedInputRegex:new RegExp(e(i),"i"),childrenMap:a}),l=[...new Map(o.map(e=>[e.path,e])).values()];return s(l).slice(0,Eo)},isVisible:{get:({showQuickNavigationModal:e})=>e,set(e){this.$emit("update:showQuickNavigationModal",e)}},noResultsWereFound:({processedUserInput:e,totalItemsToNavigate:t})=>e.length&&!t,processedUserInput:({debouncedInput:e})=>e.replace(/\s/g,""),totalItemsToNavigate:({filteredSymbols:e})=>e.length,selectedSymbol:({filteredSymbols:e,focusedIndex:t})=>null!==t?e[t]:null,nextSymbol:({filteredSymbols:e,focusedIndex:t})=>{if(null===t)return null;let n=t+1;return n>=e.length&&(n=0),e[n]},previewJSON:({cachedSymbolResults:e,selectedSymbol:t})=>t?(e[t.uid]||{}).json:null,previewState:({cachedSymbolResults:e,previewIsLoadingSlowly:t,selectedSymbol:n})=>n&&Object.hasOwnProperty.call(e,n.uid)?e[n.uid].success?Ao.success:Ao.error:t?Ao.loadingSlowly:Ao.loading},watch:{userInput:"debounceInput",focusedIndex:"scrollIntoView",selectedSymbol:"fetchSelectedSymbolData",$route:"closeQuickNavigationModal"},methods:{closeQuickNavigationModal(){this.$emit("update:showQuickNavigationModal",!1)},constructFuzzyRegex(e){return[...e].reduce((t,n,i)=>t.concat(`[${n}]`).concat(i{const a=n.exec(t.title);if(!a)return!1;const s=a[0].length;return!(s>3*e)&&{uid:t.uid,title:t.title,path:t.path,parents:Qs(t.parent,i),type:t.type,inputLengthDifference:t.title.length-e,matchLength:s,matchLengthDifference:s-e,start:a.index,substring:a[0]}}).filter(Boolean)},handleKeyEnter(){!this.noResultsWereFound&&this.userInput.length&&(this.$router.push(this.filteredSymbols[this.focusedIndex].path),this.closeQuickNavigationModal())},orderSymbolsByPriority(e){return e.sort((e,t)=>e.matchLengthDifference>t.matchLengthDifference?1:e.matchLengthDifferencet.start?1:e.startt.inputLengthDifference?1:e.inputLengthDifference{this.previewState===Ao.loading&&(this.previewIsLoadingSlowly=!0)},jo),!this.selectedSymbol||this.$cachedSymbolResults.has(this.selectedSymbol.uid))return clearTimeout(this.loadingTimeout),void(this.previewIsLoadingSlowly=!1);const e=async e=>{if(e&&!this.$cachedSymbolResults.has(e.uid))try{const t=await Object(w["b"])(e.path,{signal:this.abortController.signal});this.$cachedSymbolResults.set(e.uid,{success:!0,json:t})}catch(t){t.name!==No&&this.$cachedSymbolResults.set(e.uid,{success:!1})}finally{this.cachedSymbolResults=Object.freeze(Object.fromEntries(this.$cachedSymbolResults))}};this.abortController&&this.abortController.abort(),this.abortController=new AbortController,await Promise.all([e(this.selectedSymbol).finally(()=>{clearTimeout(this.loadingTimeout),this.previewIsLoadingSlowly=!1}),e(this.nextSymbol)])}}},Ro=Bo,Mo=(n("dfa5"),Object(K["a"])(Ro,cr,dr,!1,null,"71686791",null)),zo=Mo.exports,Ko=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"adjustable-sidebar-width",class:{dragging:e.isDragging,"sidebar-hidden":e.hiddenOnLarge}},[n("div",{ref:"sidebar",staticClass:"sidebar"},[n("div",{ref:"aside",staticClass:"aside",class:e.asideClasses,style:e.asideStyles,attrs:{"aria-hidden":e.hiddenOnLarge?"true":null},on:{transitionstart:function(t){return t.target!==t.currentTarget?null:e.trackTransitionStart.apply(null,arguments)},transitionend:function(t){return t.target!==t.currentTarget?null:e.trackTransitionEnd.apply(null,arguments)}}},[e._t("aside",null,{animationClass:"aside-animated-child",scrollLockID:e.scrollLockID,breakpoint:e.breakpoint})],2),e.fixedWidth?e._e():n("div",{staticClass:"resize-handle",on:{mousedown:function(t){return t.preventDefault(),e.startDrag.apply(null,arguments)},touchstart:function(t){return t.preventDefault(),e.startDrag.apply(null,arguments)}}})]),n("div",{ref:"content",staticClass:"content"},[e._t("default")],2),n("BreakpointEmitter",{attrs:{scope:e.BreakpointScopes.nav},on:{change:function(t){e.breakpoint=t}}})],1)},qo=[],Fo=n("5d2d"),Ho=n("a97e"),Vo=n("63b8"),Wo=n("c8e2"),Uo=n("95da"),Go=n("942d");const Qo="sidebar",Xo=1921,Yo=543,Jo=400,Zo={touch:{move:"touchmove",end:"touchend"},mouse:{move:"mousemove",end:"mouseup"}},el=(e,t=window.innerWidth)=>{const n=Math.min(t,Xo);return Math.floor(Math.min(n*(e/100),n))},tl={medium:30,large:20},nl={medium:50,large:50},il="sidebar-scroll-lock";var al={name:"AdjustableSidebarWidth",constants:{SCROLL_LOCK_ID:il},components:{BreakpointEmitter:Ho["a"]},inject:["store"],props:{shownOnMobile:{type:Boolean,default:!1},hiddenOnLarge:{type:Boolean,default:!1},fixedWidth:{type:Number,default:null}},data(){const e=window.innerWidth,t=window.innerHeight,n=Vo["b"].large,i=el(tl[n]),a=el(nl[n]),s=e>=Xo?Yo:Jo,r=Fo["c"].get(Qo,s);return{isDragging:!1,width:this.fixedWidth||Math.min(Math.max(r,i),a),isTouch:!1,windowWidth:e,windowHeight:t,breakpoint:n,noTransition:!1,isTransitioning:!1,isOpeningOnLarge:!1,focusTrapInstance:null,mobileTopOffset:0,topOffset:0}},computed:{minWidthPercent:({breakpoint:e})=>tl[e]||0,maxWidthPercent:({breakpoint:e})=>nl[e]||100,maxWidth:({maxWidthPercent:e,windowWidth:t,fixedWidth:n})=>Math.max(n,el(e,t)),minWidth:({minWidthPercent:e,windowWidth:t,fixedWidth:n})=>Math.min(n||t,el(e,t)),widthInPx:({width:e})=>e+"px",hiddenOnLargeThreshold:({minWidth:e})=>e/2,events:({isTouch:e})=>e?Zo.touch:Zo.mouse,asideStyles:({widthInPx:e,mobileTopOffset:t,topOffset:n,windowHeight:i})=>({width:e,"--top-offset":n?n+"px":null,"--top-offset-mobile":t+"px","--app-height":i+"px"}),asideClasses:({isDragging:e,shownOnMobile:t,noTransition:n,isTransitioning:i,hiddenOnLarge:a,mobileTopOffset:s,isOpeningOnLarge:r})=>({dragging:e,"show-on-mobile":t,"hide-on-large":a,"is-opening-on-large":r,"no-transition":n,"sidebar-transitioning":i,"has-mobile-top-offset":s}),scrollLockID:()=>il,BreakpointScopes:()=>Vo["c"]},async mounted(){window.addEventListener("keydown",this.onEscapeKeydown),window.addEventListener("resize",this.storeWindowSize,{passive:!0}),window.addEventListener("orientationchange",this.storeWindowSize,{passive:!0}),this.storeTopOffset(),0===this.topOffset&&0===window.scrollY||window.addEventListener("scroll",this.storeTopOffset,{passive:!0}),this.$once("hook:beforeDestroy",()=>{window.removeEventListener("keydown",this.onEscapeKeydown),window.removeEventListener("resize",this.storeWindowSize),window.removeEventListener("orientationchange",this.storeWindowSize),window.removeEventListener("scroll",this.storeTopOffset),this.shownOnMobile&&this.toggleScrollLock(!1),this.focusTrapInstance&&this.focusTrapInstance.destroy()}),await this.$nextTick(),this.focusTrapInstance=new Wo["a"](this.$refs.aside)},watch:{$route:"closeMobileSidebar",width:{immediate:!0,handler:Ne((function(e){this.emitEventChange(e)}),150)},windowWidth:"getWidthInCheck",async breakpoint(e){this.getWidthInCheck(),e===Vo["b"].large&&this.closeMobileSidebar(),this.noTransition=!0,await Object(Ee["b"])(5),this.noTransition=!1},shownOnMobile:"handleExternalOpen",async isTransitioning(e){e?(await Object(Ee["a"])(1e3),this.isTransitioning=!1):this.updateContentWidthInStore()},hiddenOnLarge(){this.isTransitioning=!0}},methods:{getWidthInCheck:Ir((function(){this.width>this.maxWidth?this.width=this.maxWidth:this.widththis.maxWidth&&(i=this.maxWidth),this.hiddenOnLarge&&i>=this.hiddenOnLargeThreshold&&(this.$emit("update:hiddenOnLarge",!1),this.isOpeningOnLarge=!0),this.width=Math.max(i,this.minWidth),i<=this.hiddenOnLargeThreshold&&this.$emit("update:hiddenOnLarge",!0)},stopDrag(e){e.preventDefault(),this.isDragging&&(this.isDragging=!1,Fo["c"].set(Qo,this.width),document.removeEventListener(this.events.move,this.handleDrag),document.removeEventListener(this.events.end,this.stopDrag),this.emitEventChange(this.width))},emitEventChange(e){this.$emit("width-change",e),this.updateContentWidthInStore()},getTopOffset(){const e=document.getElementById(Go["e"]);if(!e)return 0;const{y:t}=e.getBoundingClientRect();return Math.max(t,0)},handleExternalOpen(e){e&&(this.mobileTopOffset=this.getTopOffset()),this.toggleScrollLock(e)},async updateContentWidthInStore(){await this.$nextTick(),this.store.setContentWidth(this.$refs.content.offsetWidth)},async toggleScrollLock(e){const t=document.getElementById(this.scrollLockID);e?(await this.$nextTick(),Lo["b"].lockScroll(t),this.focusTrapInstance.start(),Uo["a"].hide(this.$refs.aside)):(Lo["b"].unlockScroll(t),this.focusTrapInstance.stop(),Uo["a"].show(this.$refs.aside))},storeTopOffset:Ne((function(){this.topOffset=this.getTopOffset()}),60),async trackTransitionStart({propertyName:e}){"width"!==e&&"transform"!==e||(this.isTransitioning=!0)},trackTransitionEnd({propertyName:e}){"width"!==e&&"transform"!==e||(this.isTransitioning=!1,this.isOpeningOnLarge=!1)}}},sl=al,rl=(n("cb1f"),Object(K["a"])(sl,Ko,qo,!1,null,"f3c6416c",null)),ol=rl.exports,ll=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("nav",{staticClass:"navigator",attrs:{"aria-labelledby":e.INDEX_ROOT_KEY}},[e.isFetching?n("LoadingNavigatorCard",e._b({on:{close:function(t){return e.$emit("close")}}},"LoadingNavigatorCard",e.technologyProps,!1)):n("NavigatorCard",e._b({attrs:{type:e.type,children:e.flatChildren,"active-path":e.activePath,scrollLockID:e.scrollLockID,"error-fetching":e.errorFetching,"render-filter-on-top":e.renderFilterOnTop,"api-changes":e.apiChanges,"allow-hiding":e.allowHiding,"navigator-references":e.navigatorReferences},on:{close:function(t){return e.$emit("close")}},scopedSlots:e._u([{key:"filter",fn:function(){return[e._t("filter")]},proxy:!0}],null,!0)},"NavigatorCard",e.technologyProps,!1)),n("div",{staticClass:"visuallyhidden",attrs:{"aria-live":"polite"}},[e._v(" "+e._s(e.$t("navigator.navigator-is",{state:e.isFetching?e.$t("navigator.state.loading"):e.$t("navigator.state.ready")}))+" ")])],1)},cl=[],dl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BaseNavigatorCard",e._b({class:{"filter-on-top":e.renderFilterOnTop},on:{close:function(t){return e.$emit("close")},"head-click-alt":e.toggleAllNodes},scopedSlots:e._u([{key:"body",fn:function(t){var i=t.className;return[e._t("post-head"),n("div",{class:i,on:{"!keydown":[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:t.altKey?(t.preventDefault(),e.focusFirst.apply(null,arguments)):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:t.altKey?(t.preventDefault(),e.focusLast.apply(null,arguments)):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.focusPrev.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.focusNext.apply(null,arguments))}]}},[n("DynamicScroller",{directives:[{name:"show",rawName:"v-show",value:e.hasNodes,expression:"hasNodes"}],ref:"scroller",staticClass:"scroller",attrs:{id:e.scrollLockID,"aria-label":e.$t("navigator.title"),items:e.nodesToRender,"min-item-size":e.itemSize,"emit-update":"","key-field":"uid"},on:{update:e.handleScrollerUpdate,"!keydown":[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:t.altKey?(t.preventDefault(),e.focusFirst.apply(null,arguments)):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:t.altKey?(t.preventDefault(),e.focusLast.apply(null,arguments)):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.focusPrev.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.focusNext.apply(null,arguments))}]},nativeOn:{focusin:function(t){return e.handleFocusIn.apply(null,arguments)},focusout:function(t){return e.handleFocusOut.apply(null,arguments)}},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.item,a=t.active,s=t.index;return[n("DynamicScrollerItem",e._b({ref:"dynamicScroller_"+i.uid},"DynamicScrollerItem",{active:a,item:i,dataIndex:s},!1),[n("NavigatorCardItem",{attrs:{item:i,isRendered:a,"filter-pattern":e.filterPattern,"is-active":i.uid===e.activeUID,"is-bold":e.activePathMap[i.uid],expanded:e.openNodes[i.uid],"api-change":e.apiChangesObject[i.path],isFocused:e.focusedIndex===s,enableFocus:!e.externalFocusChange,"navigator-references":e.navigatorReferences},on:{toggle:e.toggle,"toggle-full":e.toggleFullTree,"toggle-siblings":e.toggleSiblings,navigate:e.handleNavigationChange,"focus-parent":e.focusNodeParent}})],1)]}}],null,!0)}),n("div",{staticClass:"visuallyhidden",attrs:{"aria-live":"polite"}},[e._v(" "+e._s(e.politeAriaLive)+" ")]),n("div",{staticClass:"no-items-wrapper",attrs:{"aria-live":"assertive"}},[n("p",{staticClass:"no-items"},[e._v(" "+e._s(e.$t(e.assertiveAriaLive))+" ")])])],1),e.errorFetching?e._e():n("div",{staticClass:"filter-wrapper"},[n("div",{staticClass:"navigator-filter"},[n("div",{staticClass:"input-wrapper"},[n("FilterInput",{staticClass:"filter-component",attrs:{tags:e.availableTags,translatableTags:e.translatableTags,"selected-tags":e.selectedTagsModelValue,placeholder:e.$t("filter.title"),"should-keep-open-on-blur":!1,"position-reversed":!e.renderFilterOnTop,"clear-filter-on-tag-select":!1},on:{"update:selectedTags":function(t){e.selectedTagsModelValue=t},"update:selected-tags":function(t){e.selectedTagsModelValue=t},clear:e.clearFilters},model:{value:e.filter,callback:function(t){e.filter=t},expression:"filter"}})],1),e._t("filter")],2)])]}}],null,!0)},"BaseNavigatorCard",{technology:e.technology,isTechnologyBeta:e.isTechnologyBeta,technologyPath:e.technologyPath},!1))},ul=[],hl=n("e508");function pl(e){const t=Object(nn["g"])(Object(nn["d"])(e));return new RegExp(t,"ig")}var gl,fl,ml=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BaseNavigatorCardItem",{staticClass:"navigator-card-item",class:{expanded:e.expanded,active:e.isActive,"is-group":e.isGroupMarker},style:{"--nesting-index":e.item.depth},attrs:{"data-nesting-index":e.item.depth,id:"container-"+e.item.uid,"aria-hidden":e.isRendered?null:"true",hideNavigatorIcon:e.isGroupMarker},nativeOn:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:(t.preventDefault(),e.handleLeftKeydown.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])||"button"in t&&2!==t.button||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.handleRightKeydown.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.clickReference.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])?null:t.altKey?"button"in t&&2!==t.button?null:(t.preventDefault(),e.toggleEntireTree.apply(null,arguments)):null}]},scopedSlots:e._u([{key:"depth-spacer",fn:function(){return[n("span",{attrs:{hidden:"",id:e.usageLabel}},[e._v(" "+e._s(e.$t("filter.navigate"))+" ")]),e.isParent?n("button",{staticClass:"tree-toggle",attrs:{tabindex:"-1","aria-labelledby":e.item.uid,"aria-expanded":e.expanded?"true":"false","aria-describedby":e.ariaDescribedBy},on:{click:[function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.toggleTree.apply(null,arguments))},function(t){return t.altKey?(t.preventDefault(),e.toggleEntireTree.apply(null,arguments)):null},function(t){return t.metaKey?(t.preventDefault(),e.toggleSiblings.apply(null,arguments)):null}]}},[n("InlineChevronRightIcon",{staticClass:"icon-inline chevron",class:{rotate:e.expanded,animating:e.idState.isOpening}})],1):e._e()]},proxy:!0},{key:"navigator-icon",fn:function(t){var i,a=t.className;return[e.apiChange?n("span",{class:[(i={},i["changed changed-"+e.apiChange]=e.apiChange,i),a]}):n("TopicTypeIcon",{key:e.item.uid,class:a,attrs:{type:e.item.type,"image-override":e.item.icon?e.navigatorReferences[e.item.icon]:null,shouldCalculateOptimalWidth:!1}})]}},{key:"title-container",fn:function(){return[e.isParent?n("span",{attrs:{hidden:"",id:e.parentLabel}},[e._v(e._s(e.$tc("filter.parent-label",e.item.childUIDs.length,{"number-siblings":e.item.index+1,"total-siblings":e.item.siblingsCount,"parent-siblings":e.item.parent,"number-parent":e.item.childUIDs.length})))]):e._e(),e.isParent?e._e():n("span",{attrs:{id:e.siblingsLabel,hidden:""}},[e._v(" "+e._s(e.$t("filter.siblings-label",{"number-siblings":e.item.index+1,"total-siblings":e.item.siblingsCount,"parent-siblings":e.item.parent}))+" ")]),n(e.refComponent,{ref:"reference",tag:"component",staticClass:"leaf-link",class:{bolded:e.isBold},attrs:{id:e.item.uid,url:e.isGroupMarker?null:e.item.path||"",tabindex:e.isFocused?"0":"-1","aria-describedby":e.ariaDescribedBy+" "+e.usageLabel},nativeOn:{click:[function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.handleClick.apply(null,arguments)},function(t){return t.altKey?(t.preventDefault(),e.toggleEntireTree.apply(null,arguments)):null}]}},[n("HighlightMatches",{attrs:{text:e.item.title,matcher:e.filterPattern}})],1),e.isDeprecated?n("Badge",{attrs:{variant:"deprecated"}}):e.isBeta?n("Badge",{attrs:{variant:"beta"}}):e._e()]},proxy:!0}])})},yl=[],vl=n("34b0"),bl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"navigator-card-item"},[n("div",{staticClass:"head-wrapper"},[n("div",{staticClass:"depth-spacer"},[e._t("depth-spacer")],2),e.hideNavigatorIcon?e._e():n("div",{staticClass:"navigator-icon-wrapper"},[e._t("navigator-icon",null,{className:"navigator-icon"})],2),n("div",{staticClass:"title-container"},[e._t("title-container")],2)])])},Tl=[],Sl={name:"BaseNavigatorCardItem",props:{hideNavigatorIcon:{type:Boolean,default:()=>!1}}},_l=Sl,Cl=(n("b39c"),Object(K["a"])(_l,bl,Tl,!1,null,"0b9fe514",null)),kl=Cl.exports,wl={name:"HighlightMatch",props:{text:{type:String,required:!0},matcher:{type:RegExp,default:void 0}},render(e){const{matcher:t,text:n}=this;if(!t)return e("p",{class:"highlight"},n);const i=[];let a=0,s=null;const r=new RegExp(t,"gi");while(null!==(s=r.exec(n))){const t=s[0].length,r=s.index+t,o=n.slice(a,s.index);o&&i.push(e("span",o));const l=n.slice(s.index,r);l&&i.push(e("span",{class:"match"},l)),a=r}const o=n.slice(a,n.length);return o&&i.push(e("span",o)),e("p",{class:"highlight"},i)}},Il=wl,xl=(n("b831"),Object(K["a"])(Il,gl,fl,!1,null,"d75876e2",null)),$l=xl.exports,Ol={name:"NavigatorCardItem",mixins:[Object(hl["c"])({idProp:e=>e.item.uid})],components:{BaseNavigatorCardItem:kl,HighlightMatches:$l,TopicTypeIcon:_e["a"],InlineChevronRightIcon:vl["a"],Reference:To["a"],Badge:ei["a"]},props:{isRendered:{type:Boolean,default:!1},item:{type:Object,required:!0},expanded:{type:Boolean,default:!1},filterPattern:{type:RegExp,default:void 0},isActive:{type:Boolean,default:!1},isBold:{type:Boolean,default:!1},apiChange:{type:String,default:null,validator:e=>It["d"].includes(e)},isFocused:{type:Boolean,default:()=>!1},enableFocus:{type:Boolean,default:!0},navigatorReferences:{type:Object,default:()=>({})}},idState(){return{isOpening:!1}},computed:{isGroupMarker:({item:{type:e}})=>e===Ce["b"].groupMarker,isParent:({item:e,isGroupMarker:t})=>!!e.childUIDs.length&&!t,parentLabel:({item:e})=>"label-parent-"+e.uid,siblingsLabel:({item:e})=>"label-"+e.uid,usageLabel:({item:e})=>"usage-"+e.uid,ariaDescribedBy:({isParent:e,parentLabel:t,siblingsLabel:n})=>e?""+t:""+n,isBeta:({item:{beta:e}})=>!!e,isDeprecated:({item:{deprecated:e}})=>!!e,refComponent:({isGroupMarker:e})=>e?"h3":To["a"]},methods:{toggleTree(){this.idState.isOpening=!0,this.$emit("toggle",this.item)},toggleEntireTree(){this.idState.isOpening=!0,this.$emit("toggle-full",this.item)},toggleSiblings(){this.idState.isOpening=!0,this.$emit("toggle-siblings",this.item)},handleLeftKeydown(){this.expanded?this.toggleTree():this.$emit("focus-parent",this.item)},handleRightKeydown(){!this.expanded&&this.isParent&&this.toggleTree()},clickReference(){(this.$refs.reference.$el||this.$refs.reference).click()},focusReference(){(this.$refs.reference.$el||this.$refs.reference).focus()},handleClick(){this.isGroupMarker||this.$emit("navigate",this.item.uid)}},watch:{async isFocused(e){await Object(Ee["b"])(8),e&&this.isRendered&&this.enableFocus&&this.focusReference()},async expanded(){await Object(Ee["b"])(9),this.idState.isOpening=!1}}},Dl=Ol,Pl=(n("6ca9"),Object(K["a"])(Dl,ml,yl,!1,null,"0c96ff75",null)),Ll=Pl.exports,Al=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"navigator-card"},[n("div",{staticClass:"navigator-card-full-height"},[n("div",{staticClass:"navigator-card-inner"},[n("div",{staticClass:"head-wrapper"},[n("div",{staticClass:"head-inner"},[n("button",{staticClass:"close-card",class:{"hide-on-large":!e.allowHiding},attrs:{id:e.SIDEBAR_HIDE_BUTTON_ID,"aria-label":e.$t("navigator.close-navigator")},on:{click:e.handleHideClick}},[n("SidenavIcon",{staticClass:"icon-inline close-icon"})],1),n("Reference",{staticClass:"navigator-head",attrs:{id:e.INDEX_ROOT_KEY,url:e.technologyPath},nativeOn:{click:function(t){return t.altKey?(t.preventDefault(),e.$emit("head-click-alt")):null}}},[n("h2",{staticClass:"card-link"},[e._v(" "+e._s(e.technology)+" ")]),e.isTechnologyBeta?n("Badge",{attrs:{variant:"beta"}}):e._e()],1)],1)]),e._t("body",null,{className:"card-body"})],2)])])},Nl=[],El=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"sidenav-icon",attrs:{viewBox:"0 0 14 14",height:"14",themeId:"sidenav"}},[n("path",{attrs:{d:"M6.533 1.867h-6.533v10.267h14v-10.267zM0.933 11.2v-8.4h4.667v8.4zM13.067 11.2h-6.533v-8.4h6.533z"}}),n("path",{attrs:{d:"M1.867 5.133h2.8v0.933h-2.8z"}}),n("path",{attrs:{d:"M1.867 7.933h2.8v0.933h-2.8z"}})])},jl=[],Bl={name:"SidenavIcon",components:{SVGIcon:fr["a"]}},Rl=Bl,Ml=Object(K["a"])(Rl,El,jl,!1,null,null,null),zl=Ml.exports,Kl={name:"BaseNavigatorCard",components:{SidenavIcon:zl,Reference:To["a"],Badge:ei["a"]},props:{allowHiding:{type:Boolean,default:!0},technologyPath:{type:String,default:""},technology:{type:String,required:!0},isTechnologyBeta:{type:Boolean,default:!1}},data(){return{SIDEBAR_HIDE_BUTTON_ID:Fs,INDEX_ROOT_KEY:Ks}},methods:{async handleHideClick(){this.$emit("close"),await this.$nextTick();const e=document.getElementById(Go["d"]);e&&e.focus()}}},ql=Kl,Fl=(n("b32a"),Object(K["a"])(ql,Al,Nl,!1,null,"24789ed0",null)),Hl=Fl.exports;const Vl=e=>e[e.length-1],Wl=(e,t)=>JSON.stringify(e)===JSON.stringify(t),Ul="navigator.state",Gl={sampleCode:"sampleCode",tutorials:"tutorials",articles:"articles"},Ql={[Gl.sampleCode]:"Sample Code",[Gl.tutorials]:"Tutorials",[Gl.articles]:"Articles"},Xl=Object.fromEntries(Object.entries(Ql).map(([e,t])=>[t,e])),Yl={[Ce["b"].article]:Gl.articles,[Ce["b"].learn]:Gl.tutorials,[Ce["b"].overview]:Gl.tutorials,[Ce["b"].resources]:Gl.tutorials,[Ce["b"].sampleCode]:Gl.sampleCode,[Ce["b"].section]:Gl.tutorials,[Ce["b"].tutorial]:Gl.tutorials,[Ce["b"].project]:Gl.tutorials},Jl="navigator.no-results",Zl="navigator.no-children",ec="navigator.error-fetching",tc="navigator.items-found",nc="navigator.tags.hide-deprecated";var ic={name:"NavigatorCard",constants:{STORAGE_KEY:Ul,FILTER_TAGS:Gl,FILTER_TAGS_TO_LABELS:Ql,FILTER_LABELS_TO_TAGS:Xl,TOPIC_TYPE_TO_TAG:Yl,ERROR_FETCHING:ec,ITEMS_FOUND:tc,HIDE_DEPRECATED:nc},components:{FilterInput:oo,NavigatorCardItem:Ll,DynamicScroller:hl["a"],DynamicScrollerItem:hl["b"],BaseNavigatorCard:Hl},props:{...Hl.props,children:{type:Array,required:!0},activePath:{type:Array,required:!0},type:{type:String,required:!0},scrollLockID:{type:String,default:""},errorFetching:{type:Boolean,default:!1},apiChanges:{type:Object,default:null},isTechnologyBeta:{type:Boolean,default:!1},navigatorReferences:{type:Object,default:()=>{}},renderFilterOnTop:{type:Boolean,default:!1},hideAvailableTags:{type:Boolean,default:!1}},mixins:[zr],data(){return{filter:"",debouncedFilter:"",selectedTags:[],openNodes:Object.freeze({}),nodesToRender:Object.freeze([]),activeUID:null,lastFocusTarget:null,allNodesToggled:!1,translatableTags:[nc]}},computed:{politeAriaLive(){const{hasNodes:e,nodesToRender:t}=this;return e?this.$tc(tc,t.length,{number:t.length}):""},assertiveAriaLive:({hasNodes:e,hasFilter:t,errorFetching:n})=>e?"":t?Jl:n?ec:Zl,availableTags({selectedTags:e,renderableChildNodesMap:t,apiChangesObject:n,hideAvailableTags:i}){if(i||e.length)return[];const a=new Set(Object.values(n)),s=new Set(Object.values(Ql)),r=new Set([nc]);a.size&&r.delete(nc);const o={type:[],changes:[],other:[]};for(const l in t){if(!Object.hasOwnProperty.call(t,l))continue;if(!s.size&&!a.size&&!r.size)break;const{type:e,path:i,deprecated:c}=t[l],d=Ql[Yl[e]],u=n[i];s.has(d)&&(o.type.push(d),s.delete(d)),u&&a.has(u)&&(o.changes.push(this.$t(It["b"][u])),a.delete(u)),c&&r.has(nc)&&(o.other.push(nc),r.delete(nc))}return o.type.concat(o.changes,o.other)},selectedTagsModelValue:{get(){return this.selectedTags.map(e=>Ql[e]||this.$t(It["b"][e])||e)},set(e){(this.selectedTags.length||e.length)&&(this.selectedTags=e.map(e=>Xl[e]||It["a"][e]||e))}},filterPattern:({debouncedFilter:e})=>e?new RegExp(pl(e),"i"):null,itemSize:()=>qs,childrenMap({children:e}){return Vs(e)},activePathChildren({activeUID:e,childrenMap:t}){return e&&t[e]?Qs(e,t):[]},activePathMap:({activePathChildren:e})=>Object.fromEntries(e.map(({uid:e})=>[e,!0])),activeIndex:({activeUID:e,nodesToRender:t})=>t.findIndex(t=>t.uid===e),filteredChildren({hasFilter:e,children:t,filterPattern:n,selectedTags:i,apiChanges:a}){if(!e)return[];const s=new Set(i);return t.filter(({title:e,path:t,type:i,deprecated:r,deprecatedChildrenCount:o,childUIDs:l})=>{const c=r||o===l.length,d=!n||n.test(e);let u=!0;s.size&&(u=s.has(Yl[i]),a&&!u&&(u=s.has(a[t])),!c&&s.has(nc)&&(u=!0));const h=!a||!!a[t];return d&&u&&h})},renderableChildNodesMap({hasFilter:e,childrenMap:t,deprecatedHidden:n,filteredChildren:i,removeDeprecated:a}){if(!e)return t;const s=i.length-1,r=new Set([]);for(let o=s;o>=0;o-=1){const e=i[o],s=t[e.groupMarkerUID];if(s&&r.add(s),r.has(e))continue;if(r.has(t[e.parent])&&e.type!==Ce["b"].groupMarker){r.add(e);continue}let l=[];e.childUIDs.length&&(l=a(Us(e.uid,t),n)),l.concat(Qs(e.uid,t)).forEach(e=>r.add(e))}return Vs([...r])},nodeChangeDeps:({filteredChildren:e,activePathChildren:t,debouncedFilter:n,selectedTags:i})=>[e,t,n,i],hasFilter({debouncedFilter:e,selectedTags:t,apiChanges:n}){return Boolean(e.length||t.length||n)},deprecatedHidden:({selectedTags:e})=>e[0]===nc,apiChangesObject(){return this.apiChanges||{}},hasNodes:({nodesToRender:e})=>!!e.length,totalItemsToNavigate:({nodesToRender:e})=>e.length,lastActivePathItem:({activePath:e})=>Vl(e)},created(){this.restorePersistedState()},watch:{filter:"debounceInput",nodeChangeDeps:"trackOpenNodes",activePath:"handleActivePathChange",apiChanges(e){e||(this.selectedTags=this.selectedTags.filter(e=>!this.$t(It["b"][e])))},async activeUID(e,t){await this.$nextTick();const n=this.$refs["dynamicScroller_"+t];n&&n.updateSize&&n.updateSize()}},methods:{setUnlessEqual(e,t){Wl(t,this[e])||(this[e]=Object.freeze(t))},toggleAllNodes(){const e=this.children.filter(e=>e.parent===Ks&&e.type!==Ce["b"].groupMarker&&e.childUIDs.length);this.allNodesToggled=!this.allNodesToggled,this.allNodesToggled&&(this.openNodes={},this.generateNodesToRender()),e.forEach(e=>{this.toggleFullTree(e)})},clearFilters(){this.filter="",this.debouncedFilter="",this.selectedTags=[]},scrollToFocus(){this.$refs.scroller.scrollToItem(this.focusedIndex)},debounceInput:Ir((function(e){this.debouncedFilter=e,this.lastFocusTarget=null}),200),trackOpenNodes([e,t,n,i],[,a=[],s="",r=[]]=[]){if(n!==s&&!s&&this.getFromStorage("filter")||!Wl(i,r)&&!r.length&&this.getFromStorage("selectedTags",[]).length)return;const o=!Wl(a,t),{childrenMap:l}=this;let c=t;if(!(this.deprecatedHidden&&!this.debouncedFilter.length||o&&this.hasFilter)&&this.hasFilter){const t=new Set,n=e.length-1;for(let i=n;i>=0;i-=1){const n=e[i];t.has(l[n.parent])||t.has(n)||Qs(n.uid,l).slice(0,-1).forEach(e=>t.add(e))}c=[...t]}const d=o?{...this.openNodes}:{},u=c.reduce((e,t)=>(e[t.uid]=!0,e),d);this.setUnlessEqual("openNodes",u),this.generateNodesToRender(),this.updateFocusIndexExternally()},toggle(e){const t=this.openNodes[e.uid];let n=[],i=[];if(t){const t=Object(w["a"])(this.openNodes),n=Us(e.uid,this.childrenMap);n.forEach(({uid:e})=>{delete t[e]}),this.setUnlessEqual("openNodes",t),i=n.slice(1)}else this.setUnlessEqual("openNodes",{...this.openNodes,[e.uid]:!0}),n=Gs(e.uid,this.childrenMap,this.children).filter(e=>this.renderableChildNodesMap[e.uid]);this.augmentRenderNodes({uid:e.uid,include:n,exclude:i})},toggleFullTree(e){const t=this.openNodes[e.uid],n=Object(w["a"])(this.openNodes),i=Us(e.uid,this.childrenMap);let a=[],s=[];i.forEach(({uid:e})=>{t?delete n[e]:n[e]=!0}),t?a=i.slice(1):s=i.slice(1).filter(e=>this.renderableChildNodesMap[e.uid]),this.setUnlessEqual("openNodes",n),this.augmentRenderNodes({uid:e.uid,exclude:a,include:s})},toggleSiblings(e){const t=this.openNodes[e.uid],n=Object(w["a"])(this.openNodes),i=Xs(e.uid,this.childrenMap,this.children);i.forEach(({uid:e,childUIDs:i,type:a})=>{if(i.length&&a!==Ce["b"].groupMarker)if(t){const t=Us(e,this.childrenMap);t.forEach(e=>{delete n[e.uid]}),delete n[e],this.augmentRenderNodes({uid:e,exclude:t.slice(1),include:[]})}else{n[e]=!0;const t=Gs(e,this.childrenMap,this.children).filter(e=>this.renderableChildNodesMap[e.uid]);this.augmentRenderNodes({uid:e,exclude:[],include:t})}}),this.setUnlessEqual("openNodes",n),this.persistState()},removeDeprecated(e,t){return t?e.filter(({deprecated:e})=>!e):e},generateNodesToRender(){const{children:e,openNodes:t,renderableChildNodesMap:n}=this;this.setUnlessEqual("nodesToRender",e.filter(e=>n[e.uid]&&(e.parent===Ks||t[e.parent]))),this.persistState(),this.scrollToElement()},augmentRenderNodes({uid:e,include:t=[],exclude:n=[]}){const i=this.nodesToRender.findIndex(t=>t.uid===e);if(t.length){const e=t.filter(e=>!this.nodesToRender.includes(e)),n=this.nodesToRender.slice(0);n.splice(i+1,0,...e),this.setUnlessEqual("nodesToRender",n)}else if(n.length){const e=new Set(n);this.setUnlessEqual("nodesToRender",this.nodesToRender.filter(t=>!e.has(t)))}this.persistState()},getFromStorage(e,t=null){const n=Fo["b"].get(Ul,{}),i=n[this.technologyPath];return i?e?i[e]||t:i:t},persistState(){const e={path:this.lastActivePathItem},{path:t}=this.activeUID&&this.childrenMap[this.activeUID]||e,n={technology:this.technology,path:t,hasApiChanges:!!this.apiChanges,openNodes:Object.keys(this.openNodes).map(Number),nodesToRender:this.nodesToRender.map(({uid:e})=>e),activeUID:this.activeUID,filter:this.filter,selectedTags:this.selectedTags},i={...Fo["b"].get(Ul,{}),[this.technologyPath]:n};Fo["b"].set(Ul,i)},clearPersistedState(){const e={...Fo["b"].get(Ul,{}),[this.technologyPath]:{}};Fo["b"].set(Ul,e)},restorePersistedState(){const e=this.getFromStorage();if(!e||e.path!==this.lastActivePathItem)return this.clearPersistedState(),void this.handleActivePathChange(this.activePath);const{technology:t,nodesToRender:n=[],filter:i="",hasAPIChanges:a=!1,activeUID:s=null,selectedTags:r=[],openNodes:o}=e;if(!n.length&&!i&&!r.length)return this.clearPersistedState(),void this.handleActivePathChange(this.activePath);const{childrenMap:l}=this,c=n.every(e=>l[e]),d=s?(this.childrenMap[s]||{}).path===this.lastActivePathItem:1===this.activePath.length;if(t!==this.technology||!c||a!==Boolean(this.apiChanges)||!d||s&&!i&&!r.length&&!n.includes(s))return this.clearPersistedState(),void this.handleActivePathChange(this.activePath);this.setUnlessEqual("openNodes",Object.fromEntries(o.map(e=>[e,!0]))),this.setUnlessEqual("nodesToRender",n.map(e=>l[e])),this.selectedTags=r,this.filter=i,this.debouncedFilter=this.filter,this.activeUID=s,this.scrollToElement()},async scrollToElement(){if(await Object(Ee["b"])(1),!this.$refs.scroller)return;if(this.hasFilter&&!this.deprecatedHidden)return void this.$refs.scroller.scrollToItem(0);const e=document.getElementById(this.activeUID);if(e&&0===this.getChildPositionInScroller(e))return;const t=this.nodesToRender.findIndex(e=>e.uid===this.activeUID);-1!==t&&this.$refs.scroller.scrollToItem(t)},getChildPositionInScroller(e){if(!e)return 0;const{paddingTop:t,paddingBottom:n}=getComputedStyle(this.$refs.scroller.$el),i={top:parseInt(t,10)||0,bottom:parseInt(n,10)||0},{y:a,height:s}=this.$refs.scroller.$el.getBoundingClientRect(),{y:r}=e.getBoundingClientRect(),o=e.offsetParent.offsetHeight,l=r-a-i.top;return l<0?-1:l+o>=s-i.bottom?1:0},isInsideScroller(e){return this.$refs.scroller.$el.contains(e)},handleFocusIn({target:e}){this.lastFocusTarget=e;const t=this.getChildPositionInScroller(e);if(0===t)return;const{offsetHeight:n}=e.offsetParent;this.$refs.scroller.$el.scrollBy({top:n*t,left:0})},handleFocusOut(e){e.relatedTarget&&(this.isInsideScroller(e.relatedTarget)||(this.lastFocusTarget=null))},handleScrollerUpdate:Ir((async function(){await Object(Ee["a"])(300),this.lastFocusTarget&&this.isInsideScroller(this.lastFocusTarget)&&document.activeElement!==this.lastFocusTarget&&this.lastFocusTarget.focus({preventScroll:!0})}),50),setActiveUID(e){this.activeUID=e},handleNavigationChange(e){this.childrenMap[e].path.startsWith(this.technologyPath)&&this.setActiveUID(e)},pathsToFlatChildren(e){const t=e.slice(0).reverse(),{childrenMap:n}=this;let i=this.children;const a=[];while(t.length){const e=t.pop(),s=i.find(t=>t.path===e);if(!s)break;a.push(s),t.length&&(i=s.childUIDs.map(e=>n[e]))}return a},handleActivePathChange(e){const t=this.childrenMap[this.activeUID],n=Vl(e);if(t){if(n===t.path)return;const e=Xs(this.activeUID,this.childrenMap,this.children),i=Gs(this.activeUID,this.childrenMap,this.children),a=Qs(this.activeUID,this.childrenMap),s=[...i,...e,...a].find(e=>e.path===n);if(s)return void this.setActiveUID(s.uid)}const i=this.pathsToFlatChildren(e);i.length?this.setActiveUID(i[i.length-1].uid):this.activeUID?this.setActiveUID(null):this.trackOpenNodes(this.nodeChangeDeps)},updateFocusIndexExternally(){this.externalFocusChange=!0,this.activeIndex>0?this.focusIndex(this.activeIndex):this.focusIndex(0)},focusNodeParent(e){const t=this.childrenMap[e.parent];if(!t)return;const n=this.nodesToRender.findIndex(e=>e.uid===t.uid);-1!==n&&this.focusIndex(n)}}},ac=ic,sc=(n("8e4d"),Object(K["a"])(ac,dl,ul,!1,null,"1543892a",null)),rc=sc.exports,oc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BaseNavigatorCard",e._b({on:{close:function(t){return e.$emit("close")}},scopedSlots:e._u([{key:"body",fn:function(t){var i=t.className;return[n("transition",{attrs:{name:"delay-visibility"}},[n("div",{staticClass:"loading-navigator",class:i,attrs:{"aria-hidden":"true"}},e._l(e.LOADER_ROWS,(function(e,t){return n("LoadingNavigatorItem",{key:t,attrs:{index:t,width:e.width,hideNavigatorIcon:e.hideNavigatorIcon}})})),1)])]}}])},"BaseNavigatorCard",e.$props,!1))},lc=[],cc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BaseNavigatorCardItem",{staticClass:"loading-navigator-item",style:"--index: "+e.index+";",attrs:{hideNavigatorIcon:e.hideNavigatorIcon},scopedSlots:e._u([{key:"navigator-icon",fn:function(e){var t=e.className;return[n("div",{class:t})]}},{key:"title-container",fn:function(){return[n("div",{staticClass:"loader",style:{width:e.width}})]},proxy:!0}])})},dc=[],uc={name:"LoadingNavigatorItem",components:{BaseNavigatorCardItem:kl},props:{...kl.props,index:{type:Number,default:0},width:{type:String,default:"50%"}}},hc=uc,pc=(n("d1b4"),Object(K["a"])(hc,cc,dc,!1,null,"0de29914",null)),gc=pc.exports;const fc=[{width:"30%",hideNavigatorIcon:!0},{width:"80%"},{width:"50%"}];var mc={name:"LoadingNavigatorCard",components:{BaseNavigatorCard:Hl,LoadingNavigatorItem:gc},props:{...Hl.props},data(){return{LOADER_ROWS:fc}}},yc=mc,vc=(n("115d"),Object(K["a"])(yc,oc,lc,!1,null,"4b6d345f",null)),bc=vc.exports,Tc={name:"Navigator",components:{NavigatorCard:rc,LoadingNavigatorCard:bc},data(){return{INDEX_ROOT_KEY:Ks}},props:{flatChildren:{type:Array,required:!0},parentTopicIdentifiers:{type:Array,required:!0},technology:{type:Object,required:!0},isFetching:{type:Boolean,default:!1},references:{type:Object,default:()=>{}},navigatorReferences:{type:Object,default:()=>{}},scrollLockID:{type:String,default:""},errorFetching:{type:Boolean,default:!1},renderFilterOnTop:{type:Boolean,default:!1},apiChanges:{type:Object,default:null},allowHiding:{type:Boolean,default:!0}},computed:{parentTopicReferences({references:e,parentTopicIdentifiers:t}){return t.reduce((t,n)=>{const i=e[n];return i?t.concat(i):(console.error(`Reference for "${n}" is missing`),t)},[])},activePath({parentTopicReferences:e,$route:{path:t}}){if(t=t.replace(/\/$/,"").toLowerCase(),!e.length)return[t];let n=1;return"technologies"===e[0].kind&&(n=2),e.slice(n).map(e=>e.url).concat(t)},type:()=>Ce["b"].module,technologyProps:({technology:e})=>({technology:e.title,technologyPath:e.path||e.url,isTechnologyBeta:e.beta})}},Sc=Tc,_c=(n("9c7e"),Object(K["a"])(Sc,ll,cl,!1,null,"159b9764",null)),Cc=_c.exports,kc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("NavBase",{staticClass:"documentation-nav",attrs:{breakpoint:e.BreakpointName.medium,hasOverlay:!1,hasSolidBackground:"",hasNoBorder:e.hasNoBorder,isDark:e.isDark,isWideFormat:"",hasFullWidthBorder:"","aria-label":e.$t("api-reference")},scopedSlots:e._u([e.displaySidenav?{key:"pre-title",fn:function(t){var i=t.closeNav,a=t.isOpen,s=t.currentBreakpoint,r=t.className;return[n("div",{class:r},[n("transition",{attrs:{name:"sidenav-toggle"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.sidenavHiddenOnLarge,expression:"sidenavHiddenOnLarge"}],staticClass:"sidenav-toggle-wrapper"},[n("button",{staticClass:"sidenav-toggle",attrs:{"aria-label":e.$t("navigator.open-navigator"),id:e.baseNavOpenSidenavButtonId,tabindex:a?-1:null},on:{click:function(t){return t.preventDefault(),e.handleSidenavToggle(i,s)}}},[n("span",{staticClass:"sidenav-icon-wrapper"},[n("SidenavIcon",{staticClass:"icon-inline sidenav-icon"})],1)]),n("span",{staticClass:"sidenav-toggle__separator"})])])],1)]}}:null,{key:"tray",fn:function(t){var i=t.closeNav;return[n("Hierarchy",{attrs:{currentTopicTitle:e.title,isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,parentTopicIdentifiers:e.hierarchyItems,currentTopicTags:e.currentTopicTags,references:e.references}}),n("NavMenuItems",{staticClass:"nav-menu-settings",attrs:{previousSiblingChildren:e.breadcrumbCount}},[e.interfaceLanguage&&(e.swiftPath||e.objcPath)?n("LanguageToggle",{attrs:{interfaceLanguage:e.interfaceLanguage,objcPath:e.objcPath,swiftPath:e.swiftPath,closeNav:i}}):e._e(),e._t("menu-items")],2),e._t("tray-after",null,null,{breadcrumbCount:e.breadcrumbCount})]}}],null,!0)},[n("template",{slot:"default"},[e._t("title",(function(){return[e.rootLink?n("router-link",{staticClass:"nav-title-link",attrs:{to:e.rootLink}},[e._v(" "+e._s(e.$t("documentation.title"))+" ")]):n("span",{staticClass:"nav-title-link inactive"},[e._v(e._s(e.$t("documentation.title")))])]}),null,{rootLink:e.rootLink,linkClass:"nav-title-link",inactiveClass:"inactive"})],2),n("template",{slot:"after-content"},[e._t("after-content")],2)],2)},wc=[],Ic=n("cbcf"),xc=n("9b30"),$c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("NavMenuItems",{staticClass:"hierarchy",class:{"has-badge":e.hasBadge},attrs:{"aria-label":e.$t("documentation.nav.breadcrumbs")}},[e.root?n("HierarchyItem",{key:e.root.title,staticClass:"root-hierarchy",attrs:{url:e.addQueryParamsToUrl(e.root.url)}},[e._v(" "+e._s(e.root.title)+" ")]):e._e(),e._l(e.collapsibleItems,(function(t){return n("HierarchyItem",{key:t.title,attrs:{isCollapsed:"",url:e.addQueryParamsToUrl(t.url)}},[e._v(" "+e._s(t.title)+" ")])})),e.collapsibleItems.length?n("HierarchyCollapsedItems",{attrs:{topics:e.collapsibleItems}}):e._e(),e._l(e.nonCollapsibleItems,(function(t){return n("HierarchyItem",{key:t.title,attrs:{url:e.addQueryParamsToUrl(t.url)}},[e._v(" "+e._s(t.title)+" ")])})),n("HierarchyItem",[e._v(" "+e._s(e.currentTopicTitle)+" "),n("template",{slot:"tags"},[e.isSymbolDeprecated?n("Badge",{attrs:{variant:"deprecated"}}):e.isSymbolBeta?n("Badge",{attrs:{variant:"beta"}}):e._e(),e._l(e.currentTopicTags,(function(t){return n("Badge",{key:t.type+"-"+t.text,attrs:{variant:t.type}},[e._v(" "+e._s(t.text)+" ")])}))],2)],2)],2)},Oc=[],Dc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"hierarchy-collapsed-items"},[n("span",{staticClass:"hierarchy-item-icon icon-inline"},[e._v("/")]),n("button",{ref:"btn",staticClass:"toggle",class:{focused:!e.collapsed},on:{click:e.toggleCollapsed}},[n("span",{staticClass:"indicator"},[n("EllipsisIcon",{staticClass:"icon-inline toggle-icon"})],1)]),n("ul",{ref:"dropdown",staticClass:"dropdown",class:{collapsed:e.collapsed}},e._l(e.topicsWithUrls,(function(t){return n("li",{key:t.title,staticClass:"dropdown-item"},[n("router-link",{staticClass:"nav-menu-link",attrs:{to:t.url}},[e._v(e._s(t.title))])],1)})),0)])},Pc=[],Lc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"ellipsis-icon",attrs:{viewBox:"0 0 14 14",themeId:"ellipsis"}},[n("path",{attrs:{d:"m12.439 7.777v-1.554h-1.554v1.554zm-4.662 0v-1.554h-1.554v1.554zm-4.662 0v-1.554h-1.554v1.554z"}})])},Ac=[],Nc={name:"EllipsisIcon",components:{SVGIcon:fr["a"]}},Ec=Nc,jc=Object(K["a"])(Ec,Lc,Ac,!1,null,null,null),Bc=jc.exports,Rc={name:"HierarchyCollapsedItems",components:{EllipsisIcon:Bc},data:()=>({collapsed:!0}),props:{topics:{type:Array,required:!0}},watch:{collapsed(e,t){t&&!e?document.addEventListener("click",this.handleDocumentClick,!1):!t&&e&&document.removeEventListener("click",this.handleDocumentClick,!1)}},beforeDestroy(){document.removeEventListener("click",this.handleDocumentClick,!1)},computed:{topicsWithUrls:({$route:e,topics:t})=>t.map(t=>({...t,url:Object(P["b"])(t.url,e.query)}))},methods:{handleDocumentClick(e){const{target:t}=e,{collapsed:n,$refs:{btn:i,dropdown:a}}=this,s=!i.contains(t)&&!a.contains(t);!n&&s&&(this.collapsed=!0)},toggleCollapsed(){this.collapsed=!this.collapsed}}},Mc=Rc,zc=(n("2ca2"),Object(K["a"])(Mc,Dc,Pc,!1,null,"74906830",null)),Kc=zc.exports,qc=function(e,t){var n=t._c;return n(t.$options.components.NavMenuItemBase,{tag:"component",staticClass:"hierarchy-item",class:[{collapsed:t.props.isCollapsed},t.data.staticClass]},[n("span",{staticClass:"hierarchy-item-icon icon-inline"},[t._v("/")]),t.props.url?n("router-link",{staticClass:"parent item nav-menu-link",attrs:{to:t.props.url}},[t._t("default")],2):[n("span",{staticClass:"current item"},[t._t("default")],2),t._t("tags")]],2)},Fc=[],Hc=n("863d"),Vc={name:"HierarchyItem",components:{NavMenuItemBase:Hc["a"],InlineChevronRightIcon:vl["a"]},props:{isCollapsed:Boolean,url:{type:String,required:!1}}},Wc=Vc,Uc=(n("260a"),Object(K["a"])(Wc,qc,Fc,!0,null,"382bf39e",null)),Gc=Uc.exports;const Qc=3;var Xc={name:"Hierarchy",components:{Badge:ei["a"],NavMenuItems:xc["a"],HierarchyCollapsedItems:Kc,HierarchyItem:Gc},constants:{MaxVisibleLinks:Qc},inject:["store"],props:{isSymbolDeprecated:Boolean,isSymbolBeta:Boolean,references:Object,currentTopicTitle:{type:String,required:!0},parentTopicIdentifiers:{type:Array,default:()=>[]},currentTopicTags:{type:Array,default:()=>[]}},computed:{windowWidth:({store:e})=>e.state.contentWidth,parentTopics(){return this.parentTopicIdentifiers.reduce((e,t)=>{const n=this.references[t];if(n){const{title:t,url:i}=n;return e.concat({title:t,url:i})}return console.error(`Reference for "${t}" is missing`),e},[])},root:({parentTopics:e,windowWidth:t})=>t<=1e3?null:e[0],firstItemSlice:({root:e})=>e?1:0,linksAfterCollapse:({windowWidth:e,hasBadge:t})=>{const n=t?1:0;return e>1200?Qc-n:e>1e3?Qc-1-n:e>=800?Qc-2-n:0},collapsibleItems:({parentTopics:e,linksAfterCollapse:t,firstItemSlice:n})=>t?e.slice(n,-t):e.slice(n),nonCollapsibleItems:({parentTopics:e,linksAfterCollapse:t,firstItemSlice:n})=>t?e.slice(n).slice(-t):[],hasBadge:({isSymbolDeprecated:e,isSymbolBeta:t,currentTopicTags:n})=>e||t||n.length},methods:{addQueryParamsToUrl(e){return Object(P["b"])(e,this.$route.query)}}},Yc=Xc,Jc=(n("5208"),Object(K["a"])(Yc,$c,Oc,!1,null,"c2bd6086",null)),Zc=Jc.exports,ed=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("NavMenuItemBase",{staticClass:"nav-menu-setting language-container"},[n("div",{class:{"language-toggle-container":e.hasLanguages}},[n("select",{ref:"language-sizer",staticClass:"language-dropdown language-sizer",attrs:{"aria-hidden":"true",tabindex:"-1"}},[n("option",{key:e.currentLanguage.name,attrs:{selected:""}},[e._v(e._s(e.currentLanguage.name))])]),n("label",{staticClass:"nav-menu-setting-label",attrs:{for:e.hasLanguages?"language-toggle":null}},[e._v(e._s(e.$t("formats.colon",{content:e.$t("language")})))]),e.hasLanguages?n("select",{directives:[{name:"model",rawName:"v-model",value:e.languageModel,expression:"languageModel"}],staticClass:"language-dropdown nav-menu-link",style:"width: "+e.adjustedWidth+"px",attrs:{id:"language-toggle"},on:{change:[function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.languageModel=t.target.multiple?n:n[0]},function(t){return e.pushRoute(e.currentLanguage.route)}]}},e._l(e.languages,(function(t){return n("option",{key:t.api,domProps:{value:t.api}},[e._v(" "+e._s(t.name)+" ")])})),0):n("span",{staticClass:"nav-menu-toggle-none current-language",attrs:{"aria-current":"page"}},[e._v(e._s(e.currentLanguage.name))]),e.hasLanguages?n("InlineChevronDownIcon",{staticClass:"toggle-icon icon-inline"}):e._e()],1),e.hasLanguages?n("div",{staticClass:"language-list-container"},[n("span",{staticClass:"nav-menu-setting-label"},[e._v(e._s(e.$t("formats.colon",{content:e.$t("language")})))]),n("ul",{staticClass:"language-list"},e._l(e.languages,(function(t){return n("li",{key:t.api,staticClass:"language-list-item"},[t.api===e.languageModel?n("span",{staticClass:"current-language",attrs:{"data-language":t.api,"aria-current":"page"}},[e._v(" "+e._s(t.name)+" ")]):n("a",{staticClass:"nav-menu-link",attrs:{href:"#"},on:{click:function(n){return n.preventDefault(),e.pushRoute(t.route)}}},[e._v(" "+e._s(t.name)+" ")])])})),0)]):e._e()])},td=[],nd=n("7948"),id={name:"LanguageToggle",components:{InlineChevronDownIcon:nd["a"],NavMenuItemBase:Hc["a"]},inject:{store:{default(){return{setPreferredLanguage(){}}}}},props:{interfaceLanguage:{type:String,required:!0},objcPath:{type:String,required:!1},swiftPath:{type:String,required:!1},closeNav:{type:Function,default:()=>{}}},data(){return{languageModel:null,adjustedWidth:0}},mounted(){const e=Ne(async()=>{await Object(Ee["b"])(3),this.calculateSelectWidth()},150);window.addEventListener("resize",e),window.addEventListener("orientationchange",e),this.$once("hook:beforeDestroy",()=>{window.removeEventListener("resize",e),window.removeEventListener("orientationchange",e)})},watch:{interfaceLanguage:{immediate:!0,handler(e){this.languageModel=e}},currentLanguage:{immediate:!0,handler:"calculateSelectWidth"}},methods:{getRoute(e){const t=e.query===O["a"].swift.key.url?void 0:e.query;return{query:{...this.$route.query,language:t},path:this.isCurrentPath(e.path)?null:Object(L["d"])(e.path)}},async pushRoute(e){await this.closeNav(),this.store.setPreferredLanguage(e.query),this.$router.push(this.getRoute(e))},isCurrentPath(e){return this.$route.path.replace(/^\//,"")===e},async calculateSelectWidth(){await this.$nextTick(),this.adjustedWidth=this.$refs["language-sizer"].clientWidth+6}},computed:{languages(){return[{name:O["a"].swift.name,api:O["a"].swift.key.api,route:{path:this.swiftPath,query:O["a"].swift.key.url}},{name:O["a"].objectiveC.name,api:O["a"].objectiveC.key.api,route:{path:this.objcPath,query:O["a"].objectiveC.key.url}}]},currentLanguage:({languages:e,languageModel:t})=>e.find(e=>e.api===t),hasLanguages:({objcPath:e,swiftPath:t})=>t&&e}},ad=id,sd=(n("b857"),Object(K["a"])(ad,ed,td,!1,null,"d12167e0",null)),rd=sd.exports,od={name:"DocumentationNav",components:{SidenavIcon:zl,NavBase:Ic["a"],NavMenuItems:xc["a"],Hierarchy:Zc,LanguageToggle:rd},props:{title:{type:String,required:!1},parentTopicIdentifiers:{type:Array,required:!1},isSymbolBeta:{type:Boolean,required:!1},isSymbolDeprecated:{type:Boolean,required:!1},isDark:{type:Boolean,default:!1},hasNoBorder:{type:Boolean,default:!1},currentTopicTags:{type:Array,required:!0},references:{type:Object,default:()=>({})},interfaceLanguage:{type:String,required:!1},objcPath:{type:String,required:!1},swiftPath:{type:String,required:!1},sidenavHiddenOnLarge:{type:Boolean,default:!1},displaySidenav:{type:Boolean,default:!1}},computed:{baseNavOpenSidenavButtonId:()=>Go["d"],BreakpointName:()=>Vo["b"],breadcrumbCount:({hierarchyItems:e})=>e.length+1,rootHierarchyReference:({parentTopicIdentifiers:e,references:t})=>t[e[0]]||{},isRootTechnologyLink:({rootHierarchyReference:{kind:e}})=>"technologies"===e,rootLink:({isRootTechnologyLink:e,rootHierarchyReference:t,$route:n})=>e?{path:t.url,query:n.query}:null,hierarchyItems:({parentTopicIdentifiers:e,isRootTechnologyLink:t})=>t?e.slice(1):e},methods:{async handleSidenavToggle(e,t){await e(),this.$emit("toggle-sidenav",t),await this.$nextTick();const n=document.getElementById(Fs);n&&n.focus()}}},ld=od,cd=(n("c61f"),Object(K["a"])(ld,kc,wc,!1,null,"138d523a",null)),dd=cd.exports,ud=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"StaticContentWidth"},[e._t("default")],2)},hd=[],pd={name:"StaticContentWidth",inject:["store"],mounted(){const e=Ne(async()=>{await this.$nextTick(),this.store.setContentWidth(this.$el.offsetWidth)},150);window.addEventListener("resize",e),window.addEventListener("orientationchange",e),this.$once("hook:beforeDestroy",()=>{window.removeEventListener("resize",e),window.removeEventListener("orientationchange",e)}),e()}},gd=pd,fd=Object(K["a"])(gd,ud,hd,!1,null,null,null),md=fd.exports,yd=n("3bdd"),vd=n("4009");const bd="symbol";var Td={watch:{topicData:{immediate:!0,handler:"extractOnThisPageSections"}},methods:{shouldRegisterContentSection(e){return e.type===_n["BlockType"].heading&&e.level<4},extractOnThisPageSections(e){if(!e)return;this.store.resetPageSections();const{metadata:{title:t},primaryContentSections:n,topicSections:i,defaultImplementationsSections:a,relationshipsSections:s,seeAlsoSections:r,kind:o}=e;this.store.addOnThisPageSection({title:t,anchor:vd["a"],level:1,isSymbol:o===bd},{i18n:!1}),n&&n.forEach(e=>{switch(e.kind){case Ke.content:At["a"].methods.forEach.call(e,e=>{this.shouldRegisterContentSection(e)&&this.store.addOnThisPageSection({title:e.text,anchor:e.anchor||Object(nn["a"])(e.text),level:e.level},{i18n:!1})});break;case Ke.properties:case Ke.restBody:case Ke.restCookies:case Ke.restEndpoint:case Ke.restHeaders:case Ke.restParameters:case Ke.restResponses:this.store.addOnThisPageSection({title:e.title,anchor:Object(nn["a"])(e.title),level:2});break;default:qt[e.kind]&&this.store.addOnThisPageSection(qt[e.kind])}}),i&&this.store.addOnThisPageSection(Kt.topics),a&&this.store.addOnThisPageSection(Kt.defaultImplementations),s&&this.store.addOnThisPageSection(Kt.relationships),r&&this.store.addOnThisPageSection(Kt.seeAlso)}}},Sd=n("9b56");const _d="0.3.0",Cd="navigator-hidden-large",{extractProps:kd}=Is.methods;var wd={name:"DocumentationTopicView",constants:{MIN_RENDER_JSON_VERSION_WITH_INDEX:_d,NAVIGATOR_HIDDEN_ON_LARGE_KEY:Cd},components:{Navigator:Cc,AdjustableSidebarWidth:ol,StaticContentWidth:md,NavigatorDataProvider:nr,Topic:Is,CodeTheme:Bs["a"],Nav:dd,QuickNavigationButton:lr,QuickNavigationModal:zo,PortalTarget:I["PortalTarget"]},mixins:[Ms["a"],zs["a"],Td],props:{enableMinimized:{type:Boolean,default:!1}},data(){return{topicDataDefault:null,topicDataObjc:null,sidenavVisibleOnMobile:!1,sidenavHiddenOnLarge:Fo["c"].get(Cd,!1),showQuickNavigationModal:!1,store:js,BreakpointName:Vo["b"]}},computed:{objcOverrides:({topicData:e})=>{const{variantOverrides:t=[]}=e||{},n=({interfaceLanguage:e})=>e===O["a"].objectiveC.key.api,i=({traits:e})=>e.some(n),a=t.find(i);return a?a.patch:null},enableQuickNavigation:({isTargetIDE:e})=>!e&&Object(Ze["c"])(["features","docs","quickNavigation","enable"],!0),topicData:{get(){return this.topicDataObjc?this.topicDataObjc:this.topicDataDefault},set(e){this.topicDataDefault=e}},topicKey:({$route:e,topicProps:t})=>[e.path,t.interfaceLanguage].join(),topicProps(){return kd(this.topicData)},parentTopicIdentifiers:({topicProps:{hierarchy:{paths:e=[]},references:t},$route:n})=>e.length?e.find(e=>{const i=e.find(e=>t[e]&&"technologies"!==t[e].kind),a=i&&t[i];return a&&n.path.toLowerCase().startsWith(a.url.toLowerCase())})||e[0]:[],technology:({$route:e,topicProps:{identifier:t,references:n,role:i,title:a},parentTopicIdentifiers:s})=>{const r={title:a,url:e.path},o=n[t];if(!s.length)return o||r;const l=n[s[0]];return l&&"technologies"!==l.kind?l:(i!==k["a"].collection||o)&&(l&&n[s[1]]||o)||r},languagePaths:({topicData:{variants:e=[]}})=>e.reduce((e,t)=>t.traits.reduce((e,n)=>n.interfaceLanguage?{...e,[n.interfaceLanguage]:(e[n.interfaceLanguage]||[]).concat(t.paths)}:e,e),{}),objcPath:({languagePaths:{[O["a"].objectiveC.key.api]:[e]=[]}={}})=>e,swiftPath:({languagePaths:{[O["a"].swift.key.api]:[e]=[]}={}})=>e,isSymbolBeta:({topicProps:{platforms:e}})=>!!(e&&e.length&&e.every(e=>e.beta)),isSymbolDeprecated:({topicProps:{platforms:e,deprecationSummary:t}})=>!!(t&&t.length>0||e&&e.length&&e.every(e=>e.deprecatedAt)),enableNavigator:({isTargetIDE:e,topicDataDefault:t})=>!e&&Object(yd["b"])(Object(yd["a"])(t.schemaVersion),_d)>=0,enableOnThisPageNav:({isTargetIDE:e})=>!Object(Ze["c"])(["features","docs","onThisPageNavigator","disable"],!1)&&!e,sidebarProps:({sidenavVisibleOnMobile:e,enableNavigator:t,sidenavHiddenOnLarge:n})=>t?{shownOnMobile:e,hiddenOnLarge:n}:{},sidebarListeners(){return this.enableNavigator?{"update:shownOnMobile":this.toggleMobileSidenav,"update:hiddenOnLarge":this.toggleLargeSidenav}:{}}},methods:{applyObjcOverrides(){this.topicDataObjc=C(Object(w["a"])(this.topicData),this.objcOverrides)},handleCodeColorsChange(e){Rs["a"].updateCodeColors(e)},handleToggleSidenav(e){e===Vo["b"].large?this.toggleLargeSidenav():this.toggleMobileSidenav()},openQuickNavigationModal(){this.sidenavVisibleOnMobile||(this.showQuickNavigationModal=!0)},toggleLargeSidenav(e=!this.sidenavHiddenOnLarge){this.sidenavHiddenOnLarge=e,Fo["c"].set(Cd,e)},toggleMobileSidenav(e=!this.sidenavVisibleOnMobile){this.sidenavVisibleOnMobile=e},onQuickNavigationKeydown(e){("/"===e.key||"o"===e.key&&e.shiftKey&&e.metaKey)&&this.enableNavigator&&"input"!==e.target.tagName.toLowerCase()&&(this.openQuickNavigationModal(),e.preventDefault())}},mounted(){this.$bridge.on("contentUpdate",this.handleContentUpdateFromBridge),this.$bridge.on("codeColors",this.handleCodeColorsChange),this.$bridge.send({type:"requestCodeColors"}),this.enableQuickNavigation&&window.addEventListener("keydown",this.onQuickNavigationKeydown)},provide(){return{store:this.store}},inject:{isTargetIDE:{default(){return!1}}},beforeDestroy(){this.$bridge.off("contentUpdate",this.handleContentUpdateFromBridge),this.$bridge.off("codeColors",this.handleCodeColorsChange),this.enableQuickNavigation&&window.removeEventListener("keydown",this.onQuickNavigationKeydown)},beforeRouteEnter(e,t,n){e.meta.skipFetchingData?n(e=>e.newContentMounted()):Object(w["c"])(e,t,n).then(t=>n(n=>{Object(Sd["c"])(e.params.locale,n),n.topicData=t,e.query.language===O["a"].objectiveC.key.url&&n.objcOverrides&&n.applyObjcOverrides()})).catch(n)},beforeRouteUpdate(e,t,n){e.path===t.path&&e.query.language===O["a"].objectiveC.key.url&&this.objcOverrides?(this.applyObjcOverrides(),n()):Object(w["e"])(e,t)?Object(w["c"])(e,t,n).then(t=>{this.topicDataObjc=null,this.topicData=t,e.query.language===O["a"].objectiveC.key.url&&this.objcOverrides&&this.applyObjcOverrides(),Object(Sd["c"])(e.params.locale,this),n()}).catch(n):n()},created(){this.store.reset()},watch:{topicData(){this.$nextTick(()=>{this.newContentMounted()})}}},Id=wd,xd=(n("857c"),Object(K["a"])(Id,i,a,!1,null,"4a89caca",null));t["default"]=xd.exports},f9c9:function(e,t,n){}}]); \ No newline at end of file diff --git a/js/documentation-topic~topic.1679ec90.js b/js/documentation-topic~topic.1679ec90.js new file mode 100644 index 0000000..5203308 --- /dev/null +++ b/js/documentation-topic~topic.1679ec90.js @@ -0,0 +1,20 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["documentation-topic~topic"],{"1c3f":function(t,e,n){"use strict";n("b826")},"2b88":function(t,e,n){"use strict"; +/*! + * portal-vue © Thorsten Lünborg, 2019 + * + * Version: 2.1.7 + * + * LICENCE: MIT + * + * https://github.com/linusborg/portal-vue + * + */function s(t){return t&&"object"===typeof t&&"default"in t?t["default"]:t}Object.defineProperty(e,"__esModule",{value:!0});var r=s(n("2b0e"));function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function a(t){return i(t)||l(t)||c()}function i(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e1&&void 0!==arguments[1]?arguments[1]:{};return t.reduce((function(t,n){var s=n.passengers[0],r="function"===typeof s?s(e):n.passengers;return t.concat(r)}),[])}function f(t,e){return t.map((function(t,e){return[e,t]})).sort((function(t,n){return e(t[1],n[1])||t[0]-n[0]})).map((function(t){return t[1]}))}function p(t,e){return e.reduce((function(e,n){return t.hasOwnProperty(n)&&(e[n]=t[n]),e}),{})}var m={},g={},y={},b=r.extend({data:function(){return{transports:m,targets:g,sources:y,trackInstances:u}},methods:{open:function(t){if(u){var e=t.to,n=t.from,s=t.passengers,o=t.order,a=void 0===o?1/0:o;if(e&&n&&s){var i={to:e,from:n,passengers:h(s),order:a},l=Object.keys(this.transports);-1===l.indexOf(e)&&r.set(this.transports,e,[]);var c=this.$_getTransportIndex(i),d=this.transports[e].slice(0);-1===c?d.push(i):d[c]=i,this.transports[e]=f(d,(function(t,e){return t.order-e.order}))}}},close:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.to,s=t.from;if(n&&(s||!1!==e)&&this.transports[n])if(e)this.transports[n]=[];else{var r=this.$_getTransportIndex(t);if(r>=0){var o=this.transports[n].slice(0);o.splice(r,1),this.transports[n]=o}}},registerTarget:function(t,e,n){u&&(this.trackInstances&&!n&&this.targets[t]&&console.warn("[portal-vue]: Target ".concat(t," already exists")),this.$set(this.targets,t,Object.freeze([e])))},unregisterTarget:function(t){this.$delete(this.targets,t)},registerSource:function(t,e,n){u&&(this.trackInstances&&!n&&this.sources[t]&&console.warn("[portal-vue]: source ".concat(t," already exists")),this.$set(this.sources,t,Object.freeze([e])))},unregisterSource:function(t){this.$delete(this.sources,t)},hasTarget:function(t){return!(!this.targets[t]||!this.targets[t][0])},hasSource:function(t){return!(!this.sources[t]||!this.sources[t][0])},hasContentFor:function(t){return!!this.transports[t]&&!!this.transports[t].length},$_getTransportIndex:function(t){var e=t.to,n=t.from;for(var s in this.transports[e])if(this.transports[e][s].from===n)return+s;return-1}}}),v=new b(m),T=1,S=r.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(T++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},created:function(){var t=this;this.$nextTick((function(){v.registerSource(t.name,t)}))},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){v.unregisterSource(this.name),this.clear()},watch:{to:function(t,e){e&&e!==t&&this.clear(e),this.sendUpdate()}},methods:{clear:function(t){var e={from:this.name,to:t||this.to};v.close(e)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(t){return"function"===typeof t?t(this.slotProps):t},sendUpdate:function(){var t=this.normalizeSlots();if(t){var e={from:this.name,to:this.to,passengers:a(t),order:this.order};v.open(e)}else this.clear()}},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return e&&this.disabled?e.length<=1&&this.slim?this.normalizeOwnChildren(e)[0]:t(n,[this.normalizeOwnChildren(e)]):this.slim?t():t(n,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),w=r.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},data:function(){return{transports:v.transports,firstRender:!0}},created:function(){var t=this;this.$nextTick((function(){v.registerTarget(t.name,t)}))},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(t,e){v.unregisterTarget(e),v.registerTarget(t,this)}},mounted:function(){var t=this;this.transition&&this.$nextTick((function(){t.firstRender=!1}))},beforeDestroy:function(){v.unregisterTarget(this.name)},computed:{ownTransports:function(){var t=this.transports[this.name]||[];return this.multiple?t:0===t.length?[]:[t[t.length-1]]},passengers:function(){return d(this.ownTransports,this.slotProps)}},methods:{children:function(){return 0!==this.passengers.length?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var t=this.slim&&!this.transition;return t&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),t}},render:function(t){var e=this.noWrapper(),n=this.children(),s=this.transition||this.tag;return e?n[0]:this.slim&&!s?t():t(s,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},n)}}),C=0,$=["disabled","name","order","slim","slotProps","tag","to"],k=["multiple","transition"],x=r.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(C++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if("undefined"!==typeof document){var t=document.querySelector(this.mountTo);if(t){var e=this.$props;if(v.targets[e.name])e.bail?console.warn("[portal-vue]: Target ".concat(e.name," is already mounted.\n Aborting because 'bail: true' is set")):this.portalTarget=v.targets[e.name];else{var n=e.append;if(n){var s="string"===typeof n?n:"DIV",r=document.createElement(s);t.appendChild(r),t=r}var o=p(this.$props,k);o.slim=this.targetSlim,o.tag=this.targetTag,o.slotProps=this.targetSlotProps,o.name=this.to,this.portalTarget=new w({el:t,parent:this.$parent||this,propsData:o})}}else console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"))}},beforeDestroy:function(){var t=this.portalTarget;if(this.append){var e=t.$el;e.parentNode.removeChild(e)}t.$destroy()},render:function(t){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),t();if(!this.$scopedSlots.manual){var e=p(this.$props,$);return t(S,{props:e,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var n=this.$scopedSlots.manual({to:this.to});return Array.isArray(n)&&(n=n[0]),n||t()}});function P(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.portalName||"Portal",S),t.component(e.portalTargetName||"PortalTarget",w),t.component(e.MountingPortalName||"MountingPortal",x)}var I={install:P};e.default=I,e.Portal=S,e.PortalTarget=w,e.MountingPortal=x,e.Wormhole=v},"66c9":function(t,e,n){"use strict";e["a"]={state:{codeColors:null},reset(){this.state.codeColors=null},updateCodeColors(t){const e=t=>t?`rgba(${t.red}, ${t.green}, ${t.blue}, ${t.alpha})`:null;this.state.codeColors=Object.entries(t).reduce((t,[n,s])=>({...t,[n]:e(s)}),{})}}},7948:function(t,e,n){"use strict";var s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("SVGIcon",{staticClass:"inline-chevron-down-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-chevron-down"}},[n("path",{attrs:{d:"M12.634 2.964l0.76 0.649-6.343 7.426-6.445-7.423 0.755-0.655 5.683 6.545 5.59-6.542z"}})])},r=[],o=n("be08"),a={name:"InlineChevronDownIcon",components:{SVGIcon:o["a"]}},i=a,l=n("2877"),c=Object(l["a"])(i,s,r,!1,null,null,null);e["a"]=c.exports},8590:function(t,e,n){"use strict";var s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{style:t.codeStyle},[t._t("default")],2)},r=[],o=n("66c9");const a=0,i=255;function l(t){const e=t.match(/rgba\((\d+),\s*(\d+),\s*(\d+),\s*(\d+\.?\d*|\.\d+)\s*\)/);if(!e)throw new Error("invalid rgba() input");const n=10;return{r:parseInt(e[1],n),g:parseInt(e[2],n),b:parseInt(e[3],n),a:parseFloat(e[4])}}function c(t){const{r:e,g:n,b:s}=l(t);return.2126*e+.7152*n+.0722*s}function u(t,e){const n=Math.round(i*e),s=l(t),{a:r}=s,[o,c,u]=[s.r,s.g,s.b].map(t=>Math.max(a,Math.min(i,t+n)));return`rgba(${o}, ${c}, ${u}, ${r})`}function h(t,e){return u(t,e)}function d(t,e){return u(t,-1*e)}var f={name:"CodeTheme",data(){return{codeThemeState:o["a"].state}},computed:{codeStyle(){const{codeColors:t}=this.codeThemeState;return t?{"--text":t.text,"--background":t.background,"--line-highlight":t.lineHighlight,"--url":t.commentURL,"--syntax-comment":t.comment,"--syntax-quote":t.comment,"--syntax-keyword":t.keyword,"--syntax-literal":t.keyword,"--syntax-selector-tag":t.keyword,"--syntax-string":t.stringLiteral,"--syntax-bullet":t.stringLiteral,"--syntax-meta":t.keyword,"--syntax-number":t.stringLiteral,"--syntax-symbol":t.stringLiteral,"--syntax-tag":t.stringLiteral,"--syntax-attr":t.typeAnnotation,"--syntax-built_in":t.typeAnnotation,"--syntax-builtin-name":t.typeAnnotation,"--syntax-class":t.typeAnnotation,"--syntax-params":t.typeAnnotation,"--syntax-section":t.typeAnnotation,"--syntax-title":t.typeAnnotation,"--syntax-type":t.typeAnnotation,"--syntax-attribute":t.keyword,"--syntax-identifier":t.text,"--syntax-subst":t.text,"--color-syntax-param-internal-name":this.internalParamNameColor}:null},internalParamNameColor(){const{background:t,text:e}=this.codeThemeState.codeColors;try{const n=c(t),s=nObject.keys(u).includes(t),default:u.light},codeBackgroundColorOverride:{type:String,default:""},backdropBackgroundColorOverride:{type:String,default:""},width:{type:String,default:null},showClose:{type:Boolean,default:!0}},data(){return{lastFocusItem:null,prefersDarkStyle:!1,focusTrapInstance:null}},computed:{isVisible:{get:({visible:t})=>t,set(t){this.$emit("update:visible",t)}},modalColors(){return{"--code-background":this.codeBackgroundColorOverride,"--backdrop-background":this.backdropBackgroundColorOverride}},themeClass({theme:t,prefersDarkStyle:e,isThemeDynamic:n}){let s={};return n&&(s={"theme-light":!e,"theme-dark":e}),["theme-"+t,s]},stateClasses:({isFullscreen:t,isVisible:e,showClose:n})=>({"modal-fullscreen":t,"modal-standard":!t,"modal-open":e,"modal-with-close":n}),isThemeDynamic:({theme:t})=>t===u.dynamic||t===u.code},watch:{isVisible(t){t?this.onShow():this.onHide()}},mounted(){if(this.focusTrapInstance=new a["a"],document.addEventListener("keydown",this.onKeydown),this.isThemeDynamic){const t=window.matchMedia("(prefers-color-scheme: dark)");t.addListener(this.onColorSchemePreferenceChange),this.$once("hook:beforeDestroy",()=>{t.removeListener(this.onColorSchemePreferenceChange)}),this.onColorSchemePreferenceChange(t)}},beforeDestroy(){this.isVisible&&o["b"].unlockScroll(this.$refs.container),document.removeEventListener("keydown",this.onKeydown),this.focusTrapInstance.destroy()},methods:{async onShow(){await this.$nextTick(),o["b"].lockScroll(this.$refs.container),await this.focusCloseButton(),this.focusTrapInstance.updateFocusContainer(this.$refs.container),this.focusTrapInstance.start(),i["a"].hide(this.$refs.container)},onHide(){o["b"].unlockScroll(this.$refs.container),this.focusTrapInstance.stop(),this.lastFocusItem&&(this.lastFocusItem.focus({preventScroll:!0}),this.lastFocusItem=null),this.$emit("close"),i["a"].show(this.$refs.container)},closeModal(){this.isVisible=!1},selectContent(){window.getSelection().selectAllChildren(this.$refs.content)},onClickOutside(){this.closeModal()},onKeydown(t){const{metaKey:e=!1,ctrlKey:n=!1,key:s}=t;this.isVisible&&("a"===s&&(e||n)&&(t.preventDefault(),this.selectContent()),"Escape"===s&&(t.preventDefault(),this.closeModal()))},onColorSchemePreferenceChange({matches:t}){this.prefersDarkStyle=t},async focusCloseButton(){this.lastFocusItem=document.activeElement,await this.$nextTick(),this.$refs.close&&this.$refs.close.focus(),this.$emit("open")}}},d=h,f=(n("1c3f"),n("2877")),p=Object(f["a"])(d,s,r,!1,null,"795f7b59",null);e["a"]=p.exports},c8e2:function(t,e,n){"use strict";function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return o}));var r=n("0cb0");class o{constructor(t){s(this,"focusContainer",null),s(this,"tabTargets",[]),s(this,"firstTabTarget",null),s(this,"lastTabTarget",null),s(this,"lastFocusedElement",null),this.focusContainer=t,this.onFocus=this.onFocus.bind(this)}updateFocusContainer(t){this.focusContainer=t}start(){this.collectTabTargets(),this.firstTabTarget?this.focusContainer.contains(document.activeElement)&&r["a"].isTabbableElement(document.activeElement)||this.firstTabTarget.focus():console.warn("There are no focusable elements. FocusTrap needs at least one."),this.lastFocusedElement=document.activeElement,document.addEventListener("focus",this.onFocus,!0)}stop(){document.removeEventListener("focus",this.onFocus,!0)}collectTabTargets(){this.tabTargets=r["a"].getTabbableElements(this.focusContainer),this.firstTabTarget=this.tabTargets[0],this.lastTabTarget=this.tabTargets[this.tabTargets.length-1]}onFocus(t){if(this.focusContainer.contains(t.target))this.lastFocusedElement=t.target;else{if(t.preventDefault(),this.collectTabTargets(),this.lastFocusedElement===this.lastTabTarget||!this.lastFocusedElement||!document.contains(this.lastFocusedElement))return this.firstTabTarget.focus(),void(this.lastFocusedElement=this.firstTabTarget);this.lastFocusedElement===this.firstTabTarget&&(this.lastTabTarget.focus(),this.lastFocusedElement=this.lastTabTarget)}}destroy(){this.stop(),this.focusContainer=null,this.tabTargets=[],this.firstTabTarget=null,this.lastTabTarget=null,this.lastFocusedElement=null}}}}]); \ No newline at end of file diff --git a/js/documentation-topic~topic~tutorials-overview.90c61522.js b/js/documentation-topic~topic~tutorials-overview.90c61522.js new file mode 100644 index 0000000..ab75cfe --- /dev/null +++ b/js/documentation-topic~topic~tutorials-overview.90c61522.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["documentation-topic~topic~tutorials-overview"],{"007b":function(e,t,n){},"0444":function(e,t,n){},"05a1":function(e,t,n){},"0939":function(e,t,n){"use strict";n("9034")},"0caf":function(e,t,n){"use strict";t["a"]={inject:{performanceMetricsEnabled:{default:!1},isTargetIDE:{default:!1}},methods:{newContentMounted(){let e;this.performanceMetricsEnabled&&(e=Math.round(window.performance.now()),window.renderedTimes||(window.renderedTimes=[]),window.renderedTimes.push(e)),this.$bridge.send({type:"rendered",data:{time:e}})},handleContentUpdateFromBridge(e){this.topicData=e}}}},"0cb0":function(e,t,n){"use strict";const i=["input","select","textarea","button","optgroup","option","menuitem","fieldset","object","a[href]","*[tabindex]","*[contenteditable]"],a=i.join(",");t["a"]={getTabbableElements(e){const t=e.querySelectorAll(a),n=t.length;let i;const r=[];for(i=0;i=0},isFocusableElement(e){const t=e.nodeName.toLowerCase(),n=i.includes(t);return!("a"!==t||!e.getAttribute("href"))||(n?!e.disabled:"true"===e.getAttribute("contenteditable")||!Number.isNaN(parseFloat(e.getAttribute("tabindex"))))}}},"0cf0":function(e,t,n){},"0da1":function(e,t,n){"use strict";n("5c97")},"0eaa":function(e,t,n){},"0f00":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"row"},[e._t("default")],2)},a=[],r={name:"GridRow"},s=r,o=(n("2224"),n("2877")),c=Object(o["a"])(s,i,a,!1,null,"be73599c",null);t["a"]=c.exports},1020:function(e,t){var n={exports:{}};function i(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach((function(t){var n=e[t];"object"!=typeof n||Object.isFrozen(n)||i(n)})),e}n.exports=i,n.exports.default=i;var a=n.exports;class r{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function s(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function o(e,...t){const n=Object.create(null);for(const i in e)n[i]=e[i];return t.forEach((function(e){for(const t in e)n[t]=e[t]})),n}const c="",l=e=>!!e.kind,u=(e,{prefix:t})=>{if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map((e,t)=>`${e}${"_".repeat(t+1)}`)].join(" ")}return`${t}${e}`};class d{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=s(e)}openNode(e){if(!l(e))return;let t=e.kind;t=e.sublanguage?"language-"+t:u(t,{prefix:this.classPrefix}),this.span(t)}closeNode(e){l(e)&&(this.buffer+=c)}value(){return this.buffer}span(e){this.buffer+=``}}class p{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t={kind:e,children:[]};this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){while(this.closeNode());}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"===typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(e){"string"!==typeof e&&e.children&&(e.children.every(e=>"string"===typeof e)?e.children=[e.children.join("")]:e.children.forEach(e=>{p._collapse(e)}))}}class h extends p{constructor(e){super(),this.options=e}addKeyword(e,t){""!==e&&(this.openNode(t),this.addText(e),this.closeNode())}addText(e){""!==e&&this.add(e)}addSublanguage(e,t){const n=e.root;n.kind=t,n.sublanguage=!0,this.add(n)}toHTML(){const e=new d(this,this.options);return e.value()}finalize(){return!0}}function m(e){return e?"string"===typeof e?e:e.source:null}function f(e){return v("(?=",e,")")}function g(e){return v("(?:",e,")*")}function b(e){return v("(?:",e,")?")}function v(...e){const t=e.map(e=>m(e)).join("");return t}function y(e){const t=e[e.length-1];return"object"===typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function w(...e){const t=y(e),n="("+(t.capture?"":"?:")+e.map(e=>m(e)).join("|")+")";return n}function _(e){return new RegExp(e.toString()+"|").exec("").length-1}function x(e,t){const n=e&&e.exec(t);return n&&0===n.index}const k=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function C(e,{joinWith:t}){let n=0;return e.map(e=>{n+=1;const t=n;let i=m(e),a="";while(i.length>0){const e=k.exec(i);if(!e){a+=i;break}a+=i.substring(0,e.index),i=i.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?a+="\\"+String(Number(e[1])+t):(a+=e[0],"("===e[0]&&n++)}return a}).map(e=>`(${e})`).join(t)}const S=/\b\B/,E="[a-zA-Z]\\w*",O="[a-zA-Z_]\\w*",I="\\b\\d+(\\.\\d+)?",j="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",T="\\b(0b[01]+)",A="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",L=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=v(t,/.*\b/,e.binary,/\b.*/)),o({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},B={begin:"\\\\[\\s\\S]",relevance:0},$={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[B]},N={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[B]},M={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},P=function(e,t,n={}){const i=o({scope:"comment",begin:e,end:t,contains:[]},n);i.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const a=w("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return i.contains.push({begin:v(/[ ]+/,"(",a,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),i},R=P("//","$"),V=P("/\\*","\\*/"),D=P("#","$"),G={scope:"number",begin:I,relevance:0},z={scope:"number",begin:j,relevance:0},q={scope:"number",begin:T,relevance:0},F={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[B,{begin:/\[/,end:/\]/,relevance:0,contains:[B]}]}]},U={scope:"title",begin:E,relevance:0},W={scope:"title",begin:O,relevance:0},H={begin:"\\.\\s*"+O,relevance:0},K=function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})};var Z=Object.freeze({__proto__:null,MATCH_NOTHING_RE:S,IDENT_RE:E,UNDERSCORE_IDENT_RE:O,NUMBER_RE:I,C_NUMBER_RE:j,BINARY_NUMBER_RE:T,RE_STARTERS_RE:A,SHEBANG:L,BACKSLASH_ESCAPE:B,APOS_STRING_MODE:$,QUOTE_STRING_MODE:N,PHRASAL_WORDS_MODE:M,COMMENT:P,C_LINE_COMMENT_MODE:R,C_BLOCK_COMMENT_MODE:V,HASH_COMMENT_MODE:D,NUMBER_MODE:G,C_NUMBER_MODE:z,BINARY_NUMBER_MODE:q,REGEXP_MODE:F,TITLE_MODE:U,UNDERSCORE_TITLE_MODE:W,METHOD_GUARD:H,END_SAME_AS_BEGIN:K});function Y(e,t){const n=e.input[e.index-1];"."===n&&t.ignoreMatch()}function X(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function J(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Y,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function Q(e,t){Array.isArray(e.illegal)&&(e.illegal=w(...e.illegal))}function ee(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function te(e,t){void 0===e.relevance&&(e.relevance=1)}const ne=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach(t=>{delete e[t]}),e.keywords=n.keywords,e.begin=v(n.beforeMatch,f(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},ie=["of","and","for","in","not","or","if","then","parent","list","value"],ae="keyword";function re(e,t,n=ae){const i=Object.create(null);return"string"===typeof e?a(n,e.split(" ")):Array.isArray(e)?a(n,e):Object.keys(e).forEach((function(n){Object.assign(i,re(e[n],t,n))})),i;function a(e,n){t&&(n=n.map(e=>e.toLowerCase())),n.forEach((function(t){const n=t.split("|");i[n[0]]=[e,se(n[0],n[1])]}))}}function se(e,t){return t?Number(t):oe(e)?0:1}function oe(e){return ie.includes(e.toLowerCase())}const ce={},le=e=>{console.error(e)},ue=(e,...t)=>{console.log("WARN: "+e,...t)},de=(e,t)=>{ce[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),ce[`${e}/${t}`]=!0)},pe=new Error;function he(e,t,{key:n}){let i=0;const a=e[n],r={},s={};for(let o=1;o<=t.length;o++)s[o+i]=a[o],r[o+i]=!0,i+=_(t[o-1]);e[n]=s,e[n]._emit=r,e[n]._multi=!0}function me(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw le("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),pe;if("object"!==typeof e.beginScope||null===e.beginScope)throw le("beginScope must be object"),pe;he(e,e.begin,{key:"beginScope"}),e.begin=C(e.begin,{joinWith:""})}}function fe(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw le("skip, excludeEnd, returnEnd not compatible with endScope: {}"),pe;if("object"!==typeof e.endScope||null===e.endScope)throw le("endScope must be object"),pe;he(e,e.end,{key:"endScope"}),e.end=C(e.end,{joinWith:""})}}function ge(e){e.scope&&"object"===typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)}function be(e){ge(e),"string"===typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"===typeof e.endScope&&(e.endScope={_wrap:e.endScope}),me(e),fe(e)}function ve(e){function t(t,n){return new RegExp(m(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=_(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map(e=>e[1]);this.matcherRe=t(C(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const n=t.findIndex((e,t)=>t>0&&void 0!==e),i=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,i)}}class i{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}function a(e){const t=new i;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:"begin"})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}function r(n,i){const s=n;if(n.isCompiled)return s;[X,ee,be,ne].forEach(e=>e(n,i)),e.compilerExtensions.forEach(e=>e(n,i)),n.__beforeBegin=null,[J,Q,te].forEach(e=>e(n,i)),n.isCompiled=!0;let o=null;return"object"===typeof n.keywords&&n.keywords.$pattern&&(n.keywords=Object.assign({},n.keywords),o=n.keywords.$pattern,delete n.keywords.$pattern),o=o||/\w+/,n.keywords&&(n.keywords=re(n.keywords,e.case_insensitive)),s.keywordPatternRe=t(o,!0),i&&(n.begin||(n.begin=/\B|\b/),s.beginRe=t(s.begin),n.end||n.endsWithParent||(n.end=/\B|\b/),n.end&&(s.endRe=t(s.end)),s.terminatorEnd=m(s.end)||"",n.endsWithParent&&i.terminatorEnd&&(s.terminatorEnd+=(n.end?"|":"")+i.terminatorEnd)),n.illegal&&(s.illegalRe=t(n.illegal)),n.contains||(n.contains=[]),n.contains=[].concat(...n.contains.map((function(e){return we("self"===e?n:e)}))),n.contains.forEach((function(e){r(e,s)})),n.starts&&r(n.starts,i),s.matcher=a(s),s}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=o(e.classNameAliases||{}),r(e)}function ye(e){return!!e&&(e.endsWithParent||ye(e.starts))}function we(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return o(e,{variants:null},t)}))),e.cachedVariants?e.cachedVariants:ye(e)?o(e,{starts:e.starts?o(e.starts):null}):Object.isFrozen(e)?o(e):e}var _e="11.3.1";class xe extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const ke=s,Ce=o,Se=Symbol("nomatch"),Ee=7,Oe=function(e){const t=Object.create(null),n=Object.create(null),i=[];let s=!0;const o="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let l={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:h};function u(e){return l.noHighlightRe.test(e)}function d(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const n=l.languageDetectRe.exec(t);if(n){const t=$(n[1]);return t||(ue(o.replace("{}",n[1])),ue("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"}return t.split(/\s+/).find(e=>u(e)||$(e))}function p(e,t,n){let i="",a="";"object"===typeof t?(i=e,n=t.ignoreIllegals,a=t.language):(de("10.7.0","highlight(lang, code, ...args) has been deprecated."),de("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),a=e,i=t),void 0===n&&(n=!0);const r={code:i,language:a};V("before:highlight",r);const s=r.result?r.result:m(r.language,r.code,n);return s.code=r.code,V("after:highlight",s),s}function m(e,n,i,a){const c=Object.create(null);function u(e,t){return e.keywords[t]}function d(){if(!j.keywords)return void A.addText(L);let e=0;j.keywordPatternRe.lastIndex=0;let t=j.keywordPatternRe.exec(L),n="";while(t){n+=L.substring(e,t.index);const i=E.case_insensitive?t[0].toLowerCase():t[0],a=u(j,i);if(a){const[e,r]=a;if(A.addText(n),n="",c[i]=(c[i]||0)+1,c[i]<=Ee&&(B+=r),e.startsWith("_"))n+=t[0];else{const n=E.classNameAliases[e]||e;A.addKeyword(t[0],n)}}else n+=t[0];e=j.keywordPatternRe.lastIndex,t=j.keywordPatternRe.exec(L)}n+=L.substr(e),A.addText(n)}function p(){if(""===L)return;let e=null;if("string"===typeof j.subLanguage){if(!t[j.subLanguage])return void A.addText(L);e=m(j.subLanguage,L,!0,T[j.subLanguage]),T[j.subLanguage]=e._top}else e=_(L,j.subLanguage.length?j.subLanguage:null);j.relevance>0&&(B+=e.relevance),A.addSublanguage(e._emitter,e.language)}function h(){null!=j.subLanguage?p():d(),L=""}function f(e,t){let n=1;while(void 0!==t[n]){if(!e._emit[n]){n++;continue}const i=E.classNameAliases[e[n]]||e[n],a=t[n];i?A.addKeyword(a,i):(L=a,d(),L=""),n++}}function g(e,t){return e.scope&&"string"===typeof e.scope&&A.openNode(E.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(A.addKeyword(L,E.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),L=""):e.beginScope._multi&&(f(e.beginScope,t),L="")),j=Object.create(e,{parent:{value:j}}),j}function b(e,t,n){let i=x(e.endRe,n);if(i){if(e["on:end"]){const n=new r(e);e["on:end"](t,n),n.isMatchIgnored&&(i=!1)}if(i){while(e.endsParent&&e.parent)e=e.parent;return e}}if(e.endsWithParent)return b(e.parent,t,n)}function v(e){return 0===j.matcher.regexIndex?(L+=e[0],1):(P=!0,0)}function y(e){const t=e[0],n=e.rule,i=new r(n),a=[n.__beforeBegin,n["on:begin"]];for(const r of a)if(r&&(r(e,i),i.isMatchIgnored))return v(t);return n.skip?L+=t:(n.excludeBegin&&(L+=t),h(),n.returnBegin||n.excludeBegin||(L=t)),g(n,e),n.returnBegin?0:t.length}function w(e){const t=e[0],i=n.substr(e.index),a=b(j,e,i);if(!a)return Se;const r=j;j.endScope&&j.endScope._wrap?(h(),A.addKeyword(t,j.endScope._wrap)):j.endScope&&j.endScope._multi?(h(),f(j.endScope,e)):r.skip?L+=t:(r.returnEnd||r.excludeEnd||(L+=t),h(),r.excludeEnd&&(L=t));do{j.scope&&A.closeNode(),j.skip||j.subLanguage||(B+=j.relevance),j=j.parent}while(j!==a.parent);return a.starts&&g(a.starts,e),r.returnEnd?0:t.length}function k(){const e=[];for(let t=j;t!==E;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach(e=>A.openNode(e))}let C={};function S(t,a){const r=a&&a[0];if(L+=t,null==r)return h(),0;if("begin"===C.type&&"end"===a.type&&C.index===a.index&&""===r){if(L+=n.slice(a.index,a.index+1),!s){const t=new Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=C.rule,t}return 1}if(C=a,"begin"===a.type)return y(a);if("illegal"===a.type&&!i){const e=new Error('Illegal lexeme "'+r+'" for mode "'+(j.scope||"")+'"');throw e.mode=j,e}if("end"===a.type){const e=w(a);if(e!==Se)return e}if("illegal"===a.type&&""===r)return 1;if(M>1e5&&M>3*a.index){const e=new Error("potential infinite loop, way more iterations than matches");throw e}return L+=r,r.length}const E=$(e);if(!E)throw le(o.replace("{}",e)),new Error('Unknown language: "'+e+'"');const O=ve(E);let I="",j=a||O;const T={},A=new l.__emitter(l);k();let L="",B=0,N=0,M=0,P=!1;try{for(j.matcher.considerAll();;){M++,P?P=!1:j.matcher.considerAll(),j.matcher.lastIndex=N;const e=j.matcher.exec(n);if(!e)break;const t=n.substring(N,e.index),i=S(t,e);N=e.index+i}return S(n.substr(N)),A.closeAllNodes(),A.finalize(),I=A.toHTML(),{language:e,value:I,relevance:B,illegal:!1,_emitter:A,_top:j}}catch(R){if(R.message&&R.message.includes("Illegal"))return{language:e,value:ke(n),illegal:!0,relevance:0,_illegalBy:{message:R.message,index:N,context:n.slice(N-100,N+100),mode:R.mode,resultSoFar:I},_emitter:A};if(s)return{language:e,value:ke(n),illegal:!1,relevance:0,errorRaised:R,_emitter:A,_top:j};throw R}}function y(e){const t={value:ke(e),illegal:!1,relevance:0,_top:c,_emitter:new l.__emitter(l)};return t._emitter.addText(e),t}function _(e,n){n=n||l.languages||Object.keys(t);const i=y(e),a=n.filter($).filter(M).map(t=>m(t,e,!1));a.unshift(i);const r=a.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if($(e.language).supersetOf===t.language)return 1;if($(t.language).supersetOf===e.language)return-1}return 0}),[s,o]=r,c=s;return c.secondBest=o,c}function k(e,t,i){const a=t&&n[t]||i;e.classList.add("hljs"),e.classList.add("language-"+a)}function C(e){let t=null;const n=d(e);if(u(n))return;if(V("before:highlightElement",{el:e,language:n}),e.children.length>0&&(l.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/issues/2886"),console.warn(e)),l.throwUnescapedHTML)){const t=new xe("One of your code blocks includes unescaped HTML.",e.innerHTML);throw t}t=e;const i=t.textContent,a=n?p(i,{language:n,ignoreIllegals:!0}):_(i);e.innerHTML=a.value,k(e,n,a.language),e.result={language:a.language,re:a.relevance,relevance:a.relevance},a.secondBest&&(e.secondBest={language:a.secondBest.language,relevance:a.secondBest.relevance}),V("after:highlightElement",{el:e,result:a,text:i})}function S(e){l=Ce(l,e)}const E=()=>{j(),de("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function O(){j(),de("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let I=!1;function j(){if("loading"===document.readyState)return void(I=!0);const e=document.querySelectorAll(l.cssSelector);e.forEach(C)}function T(){I&&j()}function A(n,i){let a=null;try{a=i(e)}catch(r){if(le("Language definition for '{}' could not be registered.".replace("{}",n)),!s)throw r;le(r),a=c}a.name||(a.name=n),t[n]=a,a.rawDefinition=i.bind(null,e),a.aliases&&N(a.aliases,{languageName:n})}function L(e){delete t[e];for(const t of Object.keys(n))n[t]===e&&delete n[t]}function B(){return Object.keys(t)}function $(e){return e=(e||"").toLowerCase(),t[e]||t[n[e]]}function N(e,{languageName:t}){"string"===typeof e&&(e=[e]),e.forEach(e=>{n[e.toLowerCase()]=t})}function M(e){const t=$(e);return t&&!t.disableAutodetect}function P(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})}function R(e){P(e),i.push(e)}function V(e,t){const n=e;i.forEach((function(e){e[n]&&e[n](t)}))}function D(e){return de("10.7.0","highlightBlock will be removed entirely in v12.0"),de("10.7.0","Please use highlightElement now."),C(e)}"undefined"!==typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",T,!1),Object.assign(e,{highlight:p,highlightAuto:_,highlightAll:j,highlightElement:C,highlightBlock:D,configure:S,initHighlighting:E,initHighlightingOnLoad:O,registerLanguage:A,unregisterLanguage:L,listLanguages:B,getLanguage:$,registerAliases:N,autoDetection:M,inherit:Ce,addPlugin:R}),e.debugMode=function(){s=!1},e.safeMode=function(){s=!0},e.versionString=_e,e.regex={concat:v,lookahead:f,either:w,optional:b,anyNumberOfTimes:g};for(const r in Z)"object"===typeof Z[r]&&a(Z[r]);return Object.assign(e,Z),e};var Ie=Oe({});e.exports=Ie,Ie.HighlightJS=Ie,Ie.default=Ie},"12b1":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i={list:"list",compactGrid:"compactGrid",detailedGrid:"detailedGrid",hidden:"hidden"}},1417:function(e,t,n){var i={"./markdown":["84cb","highlight-js-custom-markdown"],"./markdown.js":["84cb","highlight-js-custom-markdown"],"./swift":["81c8","highlight-js-custom-swift"],"./swift.js":["81c8","highlight-js-custom-swift"]};function a(e){if(!n.o(i,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],a=t[0];return n.e(t[1]).then((function(){return n(a)}))}a.keys=function(){return Object.keys(i)},a.id="1417",e.exports=a},"146e":function(e,t,n){"use strict";var i=n("e425"),a=n("dd18"),r=n("8a61");function s(e){return new Promise((t,n)=>{e.complete?t():(e.addEventListener("load",t,{once:!0}),e.addEventListener("error",n,{once:!0}))})}function o(){return Promise.allSettled([...document.getElementsByTagName("img")].map(s))}t["a"]={mixins:[r["a"]],mounted(){this.scrollToElementIfAnchorPresent()},updated(){this.scrollToElementIfAnchorPresent()},methods:{async scrollToElementIfAnchorPresent(){const{hash:e}=this.$route;if(!e)return;const{imageLoadingStrategy:t}=i["a"].state;i["a"].setImageLoadingStrategy(a["a"].eager),await this.$nextTick(),await o(),this.scrollToElement(e),i["a"].setImageLoadingStrategy(t)}}}},"159b":function(e,t,n){"use strict";n("2d6f")},"17a4":function(e,t,n){"use strict";n("bbe1")},"19cc":function(e,t,n){},"1f39":function(e,t,n){"use strict";n("007b")},2224:function(e,t,n){"use strict";n("b392")},"25a9":function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"e",(function(){return p})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return m})),n.d(t,"d",(function(){return f}));var i=n("748c"),a=n("d26a"),r=n("3bdd");class s extends Error{constructor({location:e,response:t}){super("Request redirected"),this.location=e,this.response=t}}class o extends Error{constructor(e){super("Unable to fetch data"),this.route=e}}async function c(e,t={},n={}){function i(e){return("ide"!==Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_TARGET||0!==e.status)&&!e.ok}const o=Object(a["c"])(e),c=Object(a["d"])(t);c&&(o.search=c);const l=await fetch(o.href,n);if(i(l))throw l;if(l.redirected)throw new s({location:l.url,response:l});const u=await l.json();return Object(r["c"])(u.schemaVersion),u}function l(e){const t=e.replace(/\/$/,"");return Object(i["c"])(["/data",t])+".json"}function u(e){const{pathname:t,search:n}=new URL(e),i=/\/data(\/.*).json$/,a=i.exec(t);return a?a[1]+n:t+n}async function d(e,t,n){const i=l(e.path);let a;try{a=await c(i,e.query)}catch(r){if("ide"===Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_TARGET)throw console.error(r),!1;if(r instanceof s)throw u(r.location);r.status&&404===r.status?n({name:"not-found",params:[e.path]}):n(new o(e))}return a}function p(e,t){return!Object(a["a"])(e,t)}async function h(e,t={}){const n=l(e);return c(n,{},t)}function m(e){return JSON.parse(JSON.stringify(e))}async function f({slug:e}){const t=Object(a["c"])(["/index/",e,"index.json"]);return c(t)}},"2cae":function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return s}));var i=n("31d4"),a=n("66cd");const r={blue:"blue",teal:"teal",orange:"orange",purple:"purple",green:"green",sky:"sky",pink:"pink"},s={[i["b"].article]:r.teal,[i["b"].init]:r.blue,[i["b"].case]:r.orange,[i["b"].class]:r.purple,[i["b"].collection]:r.pink,[a["a"].collectionGroup]:r.teal,[i["b"].dictionarySymbol]:r.purple,[i["b"].enum]:r.orange,[i["b"].extension]:r.orange,[i["b"].func]:r.green,[i["b"].op]:r.green,[i["b"].httpRequest]:r.green,[i["b"].module]:r.sky,[i["b"].method]:r.blue,[i["b"].macro]:r.pink,[i["b"].protocol]:r.purple,[i["b"].property]:r.teal,[i["b"].propertyListKey]:r.green,[i["b"].propertyListKeyReference]:r.green,[i["b"].sampleCode]:r.purple,[i["b"].struct]:r.purple,[i["b"].subscript]:r.blue,[i["b"].typealias]:r.orange,[i["b"].union]:r.purple,[i["b"].var]:r.purple}},"2d6f":function(e,t,n){},"2f34":function(e,t,n){"use strict";t["a"]={inject:{store:{default:()=>({state:{references:{}},setReferences(){},reset(){}})}},computed:{references:({store:e})=>e.state.references}}},3024:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"technology-icon",attrs:{viewBox:"0 0 14 14",themeId:"technology"}},[n("path",{attrs:{d:"M3.39,9l3.16,1.84.47.28.47-.28L10.61,9l.45.26,1.08.63L7,12.91l-5.16-3,1.08-.64L3.39,9M7,0,0,4.1,2.47,5.55,0,7,2.47,8.44,0,9.9,7,14l7-4.1L11.53,8.45,14,7,11.53,5.56,14,4.1ZM7,7.12,5.87,6.45l-1.54-.9L3.39,5,1.85,4.1,7,1.08l5.17,3L10.6,5l-.93.55-1.54.91ZM7,10,3.39,7.9,1.85,7,3.4,6.09,4.94,7,7,8.2,9.06,7,10.6,6.1,12.15,7l-1.55.9Z"}})])},a=[],r=n("be08"),s={name:"TechnologyIcon",components:{SVGIcon:r["a"]}},o=s,c=n("2877"),l=Object(c["a"])(o,i,a,!1,null,null,null);t["a"]=l.exports},"308e":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"column",style:e.style},[e._t("default")],2)},a=[],r={name:"Column",props:{span:{type:Number,default:null}},computed:{style:({span:e})=>({"--col-span":e})}},s=r,o=(n("fe08"),n("2877")),c=Object(o["a"])(s,i,a,!1,null,"0f654188",null);t["a"]=c.exports},"31d4":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a}));const i={article:"article",associatedtype:"associatedtype",buildSetting:"buildSetting",case:"case",collection:"collection",class:"class",container:"container",dictionarySymbol:"dictionarySymbol",enum:"enum",extension:"extension",func:"func",groupMarker:"groupMarker",httpRequest:"httpRequest",init:"init",languageGroup:"languageGroup",learn:"learn",macro:"macro",method:"method",module:"module",op:"op",overview:"overview",project:"project",property:"property",propertyListKey:"propertyListKey",propertyListKeyReference:"propertyListKeyReference",protocol:"protocol",resources:"resources",root:"root",sampleCode:"sampleCode",section:"section",struct:"struct",subscript:"subscript",symbol:"symbol",tutorial:"tutorial",typealias:"typealias",union:"union",var:"var"},a={[i.init]:i.method,[i.case]:i.enum,[i.propertyListKeyReference]:i.propertyListKey,[i.project]:i.tutorial}},"3b75":function(e,t,n){},"3b96":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"curly-brackets-icon",attrs:{viewBox:"0 0 14 14",themeId:"curly-brackets"}},[n("path",{attrs:{d:"M9.987 14h-0.814v-0.916h0.36c0.137 0 0.253-0.038 0.349-0.116 0.099-0.080 0.179-0.188 0.239-0.318 0.064-0.134 0.11-0.298 0.139-0.483 0.031-0.186 0.045-0.38 0.045-0.58v-2.115c0-0.417 0.046-0.781 0.139-1.083 0.092-0.3 0.2-0.554 0.322-0.754 0.127-0.203 0.246-0.353 0.366-0.458 0.087-0.076 0.155-0.131 0.207-0.169-0.052-0.037-0.12-0.093-0.207-0.167-0.12-0.105-0.239-0.255-0.366-0.459-0.122-0.2-0.23-0.453-0.322-0.754-0.093-0.3-0.139-0.665-0.139-1.082v-2.13c0-0.199-0.014-0.392-0.045-0.572-0.029-0.182-0.076-0.345-0.139-0.483-0.060-0.137-0.141-0.246-0.239-0.328-0.095-0.076-0.212-0.115-0.349-0.115h-0.36v-0.916h0.814c0.442 0 0.788 0.18 1.030 0.538 0.238 0.352 0.358 0.826 0.358 1.407v2.236c0 0.3 0.015 0.597 0.044 0.886 0.030 0.287 0.086 0.544 0.164 0.765 0.077 0.216 0.184 0.392 0.318 0.522 0.129 0.124 0.298 0.188 0.503 0.188h0.058v0.916h-0.058c-0.206 0-0.374 0.064-0.503 0.188-0.134 0.129-0.242 0.305-0.318 0.521-0.078 0.223-0.134 0.48-0.164 0.766-0.029 0.288-0.044 0.587-0.044 0.884v2.236c0 0.582-0.12 1.055-0.358 1.409-0.242 0.358-0.588 0.538-1.030 0.538z"}}),n("path",{attrs:{d:"M4.827 14h-0.814c-0.442 0-0.788-0.18-1.030-0.538-0.238-0.352-0.358-0.825-0.358-1.409v-2.221c0-0.301-0.015-0.599-0.045-0.886-0.029-0.287-0.085-0.544-0.163-0.764-0.077-0.216-0.184-0.393-0.318-0.522-0.131-0.127-0.296-0.188-0.503-0.188h-0.058v-0.916h0.058c0.208 0 0.373-0.063 0.503-0.188 0.135-0.129 0.242-0.304 0.318-0.522 0.078-0.22 0.134-0.477 0.163-0.765 0.030-0.286 0.045-0.585 0.045-0.886v-2.251c0-0.582 0.12-1.055 0.358-1.407 0.242-0.358 0.588-0.538 1.030-0.538h0.814v0.916h-0.36c-0.138 0-0.252 0.038-0.349 0.116-0.099 0.079-0.179 0.189-0.239 0.327-0.064 0.139-0.11 0.302-0.141 0.483-0.029 0.18-0.044 0.373-0.044 0.572v2.13c0 0.417-0.046 0.782-0.138 1.082-0.092 0.302-0.201 0.556-0.324 0.754-0.123 0.201-0.246 0.356-0.366 0.459-0.086 0.074-0.153 0.13-0.206 0.167 0.052 0.038 0.12 0.093 0.206 0.169 0.12 0.103 0.243 0.258 0.366 0.458s0.232 0.453 0.324 0.754c0.092 0.302 0.138 0.666 0.138 1.083v2.115c0 0.2 0.015 0.394 0.044 0.58 0.030 0.186 0.077 0.349 0.139 0.482 0.062 0.132 0.142 0.239 0.241 0.32 0.096 0.079 0.21 0.116 0.349 0.116h0.36z"}})])},a=[],r=n("be08"),s={name:"CurlyBracketsIcon",components:{SVGIcon:r["a"]}},o=s,c=n("2877"),l=Object(c["a"])(o,i,a,!1,null,null,null);t["a"]=l.exports},"3ba9":function(e,t,n){},"3bdd":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return d}));const i={major:0,minor:3,patch:0};function a({major:e,minor:t,patch:n}){return[e,t,n].join(".")}function r(e){const[t=0,n=0,i=0]=e.split(".");return[Number(t),Number(n),Number(i)]}function s(e,t){const n=r(e),i=r(t);for(let a=0;ai[a])return 1;if(n[a]`[Swift-DocC-Render] The render node version for this page (${e}) has a different major version component than Swift-DocC-Render supports (${o}). Compatibility is not guaranteed.`;function u(e){const{major:t,minor:n}=e,{major:r,minor:s}=i;return t!==r?l(a(e)):n>s?c(a(e)):""}function d(e){if(!e)return;const t=u(e);t&&console.warn(t)}},"43fe":function(e,t,n){"use strict";n("4573")},4573:function(e,t,n){},"47cc":function(e,t,n){},"49e3":function(e,t,n){},"517a":function(e,t,n){"use strict";n("8222")},5201:function(e,t,n){"use strict";n("0cf0")},"52e4":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("WordBreak",{attrs:{tag:"code"}},[e._t("default")],2)},a=[],r=n("7b1f"),s={name:"CodeVoice",components:{WordBreak:r["a"]}},o=s,c=(n("8c92"),n("2877")),l=Object(c["a"])(o,i,a,!1,null,"05f4a5b7",null);t["a"]=l.exports},5416:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"device-frame",class:e.classes,style:e.styles,attrs:{"data-device":e.device}},[n("div",{staticClass:"device-screen",class:{"with-device":e.currentDeviceAttrs}},[e._t("default")],2),n("div",{staticClass:"device"})])},a=[],r={},s=n("6842");const o=e=>e&&e!==1/0,c=(e,t=4)=>o(e)?+`${Math.round(`${e}e+${t}`)}e-${t}`:null;var l={name:"DeviceFrame",props:{device:{type:String,required:!0}},provide:{insideDeviceFrame:!0},computed:{currentDeviceAttrs:({device:e})=>Object(s["c"])(["theme","device-frames",e],r[e]),styles:({toPixel:e,toUrl:t,toPct:n,currentDeviceAttrs:i={}})=>{const{screenTop:a,screenLeft:r,screenWidth:s,frameWidth:o,lightUrl:l,darkUrl:u,screenHeight:d,frameHeight:p}=i;return{"--screen-top":n(a/p),"--screen-left":n(r/o),"--screen-width":n(s/o),"--screen-height":n(d/p),"--screen-aspect":c(s/d)||null,"--frame-width":e(o),"--frame-aspect":c(o/p)||null,"--device-light-url":t(l),"--device-dark-url":t(u)}},classes:({currentDeviceAttrs:e})=>({"no-device":!e})},methods:{toPixel:e=>o(e)?e+"px":null,toUrl:e=>o(e)?`url(${e})`:null,toPct:e=>o(e)?c(100*e)+"%":null}},u=l,d=(n("b2da"),n("2877")),p=Object(d["a"])(u,i,a,!1,null,"28ae8fd3",null);t["a"]=p.exports},5677:function(e,t,n){"use strict";n.r(t),n.d(t,"BlockType",(function(){return Ct}));var i=n("2f34"),a=n("e3ab"),r=n("7b69"),s=n("5dcc"),o=n("52e4"),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"DictionaryExample"},[e._t("default"),n("CollapsibleCodeListing",{attrs:{content:e.example.content,showLineNumbers:""}})],2)},l=[],u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"collapsible-code-listing",class:{"single-line":1===e.content[0].code.length}},[n("pre",[n("CodeBlock",e._l(this.content,(function(t,i){return n("div",{key:i,class:["container-general",{collapsible:!0===t.collapsible},{collapsed:!0===t.collapsible&&e.collapsed}]},e._l(t.code,(function(t,i){return n("div",{key:i,staticClass:"code-line-container"},[e._v("\n "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showLineNumbers,expression:"showLineNumbers"}],staticClass:"code-number"}),e._v("\n "),n("div",{staticClass:"code-line"},[e._v(e._s(t))]),e._v("\n ")])})),0)})),0)],1)])},d=[],p=n("800b"),h={name:"CollapsibleCodeListing",components:{CodeBlock:p["a"]},props:{collapsed:{type:Boolean,required:!1},content:{type:Array,required:!0},showLineNumbers:{type:Boolean,default:()=>!0}}},m=h,f=(n("efc1"),n("2877")),g=Object(f["a"])(m,u,d,!1,null,"25a17a0e",null),b=g.exports,v={name:"DictionaryExample",components:{CollapsibleCodeListing:b},props:{example:{type:Object,required:!0}}},y=v,w=Object(f["a"])(y,c,l,!1,null,null,null),_=w.exports,x=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Row",{staticClass:"endpoint-example"},[n("Column",{staticClass:"example-code"},[e._t("default"),n("Tabnav",{model:{value:e.currentTab,callback:function(t){e.currentTab=t},expression:"currentTab"}},[n("TabnavItem",{attrs:{value:e.Tab.request}},[e._v(e._s(e.$t("tab.request")))]),n("TabnavItem",{attrs:{value:e.Tab.response}},[e._v(e._s(e.$t("tab.response")))])],1),n("div",{staticClass:"output"},[e.isCurrent(e.Tab.request)?n("div",{staticClass:"code"},[n("CollapsibleCodeListing",e._b({attrs:{collapsed:e.isCollapsed,showLineNumbers:""}},"CollapsibleCodeListing",e.request,!1))],1):e._e(),e.isCurrent(e.Tab.response)?n("div",{staticClass:"code"},[n("CollapsibleCodeListing",e._b({attrs:{collapsed:e.isCollapsed,showLineNumbers:""}},"CollapsibleCodeListing",e.response,!1))],1):e._e()]),e.isCollapsible?n("div",{staticClass:"controls"},[e.isCollapsed?n("a",{staticClass:"toggle",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.showMore.apply(null,arguments)}}},[n("InlinePlusCircleSolidIcon",{staticClass:"control-icon icon-inline"}),e._v(" "+e._s(e.$t("more"))+" ")],1):n("a",{staticClass:"toggle",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.showLess.apply(null,arguments)}}},[n("InlineMinusCircleSolidIcon",{staticClass:"control-icon icon-inline"}),e._v(" "+e._s(e.$t("less"))+" ")],1)]):e._e()],2)],1)},k=[],C=n("0f00"),S=n("620a"),E=function(){var e,t=this,n=t.$createElement,i=t._self._c||n;return i("nav",{staticClass:"tabnav",class:(e={},e["tabnav--"+t.position]=t.position,e["tabnav--vertical"]=t.vertical,e)},[i("ul",{staticClass:"tabnav-items"},[t._t("default")],2)])},O=[];const I="tabnavData";var j={name:"Tabnav",constants:{ProvideKey:I},provide(){const e={selectTab:this.selectTab};return Object.defineProperty(e,"activeTab",{enumerable:!0,get:()=>this.value}),{[I]:e}},props:{position:{type:String,required:!1,validator:e=>new Set(["start","center","end"]).has(e)},vertical:{type:Boolean,default:!1},value:{type:[String,Number],required:!0}},methods:{selectTab(e){this.$emit("input",e)}}},T=j,A=(n("fb8e"),Object(f["a"])(T,E,O,!1,null,"5283512a",null)),L=A.exports,B=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"tabnav-item"},[n("a",{staticClass:"tabnav-link",class:{active:e.isActive},attrs:{href:"#","aria-current":e.isActive?"true":"false"},on:{click:function(t){return t.preventDefault(),e.tabnavData.selectTab(e.value)}}},[e._t("default")],2)])},$=[],N={name:"TabnavItem",inject:{tabnavData:{default:{activeTab:null,selectTab:()=>{}}}},props:{value:{type:[String,Number],default:null}},computed:{isActive({tabnavData:e,value:t}){return e.activeTab===t}}},M=N,P=(n("6869"),Object(f["a"])(M,B,$,!1,null,"6aa9882a",null)),R=P.exports,V=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"inline-plus-circle-solid-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-plus-circle-solid"}},[n("path",{attrs:{d:"M7.005 0.5h-0.008c-1.791 0.004-3.412 0.729-4.589 1.9l0-0c-1.179 1.177-1.908 2.803-1.908 4.6 0 3.59 2.91 6.5 6.5 6.5s6.5-2.91 6.5-6.5c0-3.587-2.906-6.496-6.492-6.5h-0zM4.005 7.52v-1h2.5v-2.51h1v2.51h2.5v1h-2.501v2.49h-1v-2.49z"}})])},D=[],G=n("be08"),z={name:"InlinePlusCircleSolidIcon",components:{SVGIcon:G["a"]}},q=z,F=Object(f["a"])(q,V,D,!1,null,null,null),U=F.exports,W=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"inline-minus-circle-solid-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-minus-circle-solid"}},[n("path",{attrs:{d:"m6.98999129.48999129c3.58985091 0 6.50000001 2.91014913 6.50000001 6.5 0 3.58985091-2.9101491 6.50000001-6.50000001 6.50000001-3.58985087 0-6.5-2.9101491-6.5-6.50000001 0-3.58985087 2.91014913-6.5 6.5-6.5zm3 6.02001742h-6v1h6z","fill-rule":"evenodd"}})])},H=[],K={name:"InlineMinusCircleSolidIcon",components:{SVGIcon:G["a"]}},Z=K,Y=Object(f["a"])(Z,W,H,!1,null,null,null),X=Y.exports;const J={request:"Request",response:"Response"};var Q={name:"EndpointExample",components:{InlineMinusCircleSolidIcon:X,InlinePlusCircleSolidIcon:U,TabnavItem:R,Tabnav:L,CollapsibleCodeListing:b,Row:C["a"],Column:S["a"]},constants:{Tab:J},props:{request:{type:Object,required:!0},response:{type:Object,required:!0}},data(){return{isCollapsed:!0,currentTab:J.request}},computed:{Tab:()=>J,isCollapsible:({response:e,request:t,currentTab:n})=>{const i={[J.request]:t.content,[J.response]:e.content}[n]||[];return i.some(({collapsible:e})=>e)}},methods:{isCurrent(e){return this.currentTab===e},showMore(){this.isCollapsed=!1},showLess(){this.isCollapsed=!0}}},ee=Q,te=(n("b0e7"),Object(f["a"])(ee,x,k,!1,null,"c84e62a6",null)),ne=te.exports,ie=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("figure",{attrs:{id:e.anchor}},[e._t("default")],2)},ae=[],re={name:"Figure",props:{anchor:{type:String,required:!1}}},se=re,oe=Object(f["a"])(se,ie,ae,!1,null,null,null),ce=oe.exports,le=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.tag,{tag:"component",staticClass:"caption",class:{trailing:e.trailing}},[e.title?[n("strong",[e._v(e._s(e.title))]),e._v(" "),e._t("default")]:[e._t("default")]],2)},ue=[];const de={caption:"caption",figcaption:"figcaption"},pe={leading:"leading",trailing:"trailing"};var he={name:"Caption",constants:{CaptionPosition:pe,CaptionTag:de},props:{title:{type:String,required:!1},tag:{type:String,required:!0,validator:e=>Object.hasOwnProperty.call(de,e)},position:{type:String,default:()=>pe.leading,validator:e=>Object.hasOwnProperty.call(pe,e)}},computed:{trailing:({position:e})=>e===pe.trailing}},me=he,fe=(n("6209"),Object(f["a"])(me,le,ue,!1,null,"1b76f4e0",null)),ge=fe.exports,be=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ImageAsset",{attrs:{alt:e.alt,variants:e.variants}})},ve=[],ye=n("8bd9"),we={name:"InlineImage",components:{ImageAsset:ye["a"]},props:{alt:{type:String,default:""},variants:{type:Array,required:!0}}},_e=we,xe=(n("cb92"),Object(f["a"])(_e,be,ve,!1,null,"3a939631",null)),ke=xe.exports,Ce=n("86d8"),Se=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"table-wrapper"},[n("table",{class:{spanned:e.spanned}},[e._t("default")],2)])},Ee=[],Oe={name:"Table",props:{spanned:{type:Boolean,default:!1}}},Ie=Oe,je=(n("ec71"),Object(f["a"])(Ie,Se,Ee,!1,null,"5ed73c89",null)),Te=je.exports,Ae=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("s",{attrs:{"data-before-text":e.$t("accessibility.strike.start"),"data-after-text":e.$t("accessibility.strike.end")}},[e._t("default")],2)},Le=[],Be={name:"StrikeThrough"},$e=Be,Ne=(n("d0da"),Object(f["a"])($e,Ae,Le,!1,null,"7fc51673",null)),Me=Ne.exports,Pe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("small",[e._t("default")],2)},Re=[],Ve={name:"Small"},De=Ve,Ge=(n("b0f5"),Object(f["a"])(De,Pe,Re,!1,null,"77035f61",null)),ze=Ge.exports,qe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Asset",{attrs:{identifier:e.identifier,"video-autoplays":!1,"video-muted":!1,showsReplayButton:!e.isClientMobile,showsVideoControls:e.isClientMobile,deviceFrame:e.deviceFrame}})},Fe=[],Ue=n("80e4"),We=n("7689"),He={name:"BlockVideo",mixins:[We["a"]],components:{Asset:Ue["a"]},props:{identifier:{type:String,required:!0},deviceFrame:{type:String,required:!1}}},Ke=He,Ze=(n("fe1c"),Object(f["a"])(Ke,qe,Fe,!1,null,"035a093f",null)),Ye=Ze.exports,Xe=n("308e"),Je=n("ee9e"),Qe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"TabNavigator",class:[{"tabs--vertical":e.vertical}]},[n("Tabnav",e._b({model:{value:e.currentTitle,callback:function(t){e.currentTitle=t},expression:"currentTitle"}},"Tabnav",{position:e.position,vertical:e.vertical},!1),e._l(e.titles,(function(t){return n("TabnavItem",{key:t,attrs:{value:t}},[e._v(" "+e._s(t)+" ")])})),1),n("div",{staticClass:"tabs-content"},[n("div",{staticClass:"tabs-content-container"},[n("transition-group",{attrs:{name:"fade"}},[e._l(e.titles,(function(t){return[n("div",{directives:[{name:"show",rawName:"v-show",value:t===e.currentTitle,expression:"title === currentTitle"}],key:t,staticClass:"tab-container",class:{active:t===e.currentTitle}},[e._t(t)],2)]}))],2)],1)])],1)},et=[],tt={name:"TabNavigator",components:{TabnavItem:R,Tabnav:L},props:{vertical:{type:Boolean,default:!1},position:{type:String,default:"start",validator:e=>new Set(["start","center","end"]).has(e)},titles:{type:Array,required:!0,default:()=>[]}},data(){return{currentTitle:this.titles[0]}},watch:{titles(e,t){if(e.length!t.includes(e));this.currentTitle=n||this.currentTitle}}}},nt=tt,it=(n("9ed5"),Object(f["a"])(nt,Qe,et,!1,null,"e671a734",null)),at=it.exports,rt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticClass:"tasklist"},e._l(e.tasks,(function(t,i){return n("li",{key:i},[e.showCheckbox(t)?n("input",{attrs:{type:"checkbox",disabled:""},domProps:{checked:t.checked}}):e._e(),e._t("task",null,{task:t})],2)})),0)},st=[];const ot="checked",ct=e=>Object.hasOwnProperty.call(e,ot);var lt={name:"TaskList",props:{tasks:{required:!0,type:Array,validator:e=>e.some(ct)}},methods:{showCheckbox:ct}},ut=lt,dt=(n("c3da"),Object(f["a"])(ut,rt,st,!1,null,"6a56a858",null)),pt=dt.exports,ht=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isListStyle?n("div",{staticClass:"links-block"},e._l(e.items,(function(e){return n("TopicsLinkBlock",{key:e.identifier,staticClass:"topic-link-block",attrs:{topic:e}})})),1):n("TopicsLinkCardGrid",{staticClass:"links-block",attrs:{items:e.items,"topic-style":e.blockStyle}})},mt=[],ft=n("70fb"),gt=n("12b1"),bt={name:"LinksBlock",mixins:[i["a"]],components:{TopicsLinkBlock:()=>n.e("chunk-c0335d80").then(n.bind(null,"2a18")),TopicsLinkCardGrid:ft["a"]},props:{identifiers:{type:Array,required:!0},blockStyle:{type:String,default:gt["a"].compactGrid}},computed:{isListStyle:({blockStyle:e})=>e===gt["a"].list,items:({identifiers:e,references:t})=>e.reduce((e,n)=>t[n]?e.concat(t[n]):e,[])}},vt=bt,yt=(n("6e71"),Object(f["a"])(vt,ht,mt,!1,null,"ce6f87f6",null)),wt=yt.exports,_t=n("5416");const{CaptionPosition:xt,CaptionTag:kt}=ge.constants,Ct={aside:"aside",codeListing:"codeListing",endpointExample:"endpointExample",heading:"heading",orderedList:"orderedList",paragraph:"paragraph",table:"table",termList:"termList",unorderedList:"unorderedList",dictionaryExample:"dictionaryExample",small:"small",video:"video",row:"row",tabNavigator:"tabNavigator",links:"links"},St={codeVoice:"codeVoice",emphasis:"emphasis",image:"image",inlineHead:"inlineHead",link:"link",newTerm:"newTerm",reference:"reference",strong:"strong",text:"text",superscript:"superscript",subscript:"subscript",strikethrough:"strikethrough"},Et={both:"both",column:"column",none:"none",row:"row"},Ot={left:"left",right:"right",center:"center",unset:"unset"},It=7;function jt(e,t){const n=n=>n.map(jt(e,t)),i=t=>t.map(t=>e("li",{},n(t.content))),c=(t,i,a,r,s,o,c)=>{const{colspan:l,rowspan:u}=o[`${s}_${r}`]||{};if(0===l||0===u)return null;const d=c[r]||Ot.unset;let p=null;return d!==Ot.unset&&(p=d+"-cell"),e(t,{attrs:{...i,colspan:l,rowspan:u},class:p},n(a))},l=(t,n=Et.none,i={},a=[])=>{switch(n){case Et.both:{const[n,...r]=t;return[e("thead",{},[e("tr",{},n.map((e,t)=>c("th",{scope:"col"},e,t,0,i,a)))]),e("tbody",{},r.map(([t,...n],r)=>e("tr",{},[c("th",{scope:"row"},t,0,r+1,i,a),...n.map((e,t)=>c("td",{},e,t+1,r+1,i,a))])))]}case Et.column:return[e("tbody",{},t.map(([t,...n],r)=>e("tr",{},[c("th",{scope:"row"},t,0,r,i,a),...n.map((e,t)=>c("td",{},e,t+1,r,i,a))])))];case Et.row:{const[n,...r]=t;return[e("thead",{},[e("tr",{},n.map((e,t)=>c("th",{scope:"col"},e,t,0,i,a)))]),e("tbody",{},r.map((t,n)=>e("tr",{},t.map((e,t)=>c("td",{},e,t,n+1,i,a)))))]}default:return[e("tbody",{},t.map((t,n)=>e("tr",{},t.map((e,t)=>c("td",{},e,t,n,i,a)))))]}},u=({metadata:{abstract:t=[],anchor:i,title:a,...r},...s})=>{const o={...s,metadata:r},c=[n([o])];if(a&&t.length||t.length){const i=a?xt.leading:xt.trailing,r=i===xt.trailing?1:0,s=kt.figcaption;c.splice(r,0,e(ge,{props:{title:a,position:i,tag:s}},n(t)))}return e(ce,{props:{anchor:i}},c)},d=({metadata:{deviceFrame:t},...i})=>e(_t["a"],{props:{device:t}},n([i]));return function(c){switch(c.type){case Ct.aside:{const t={kind:c.style,name:c.name};return e(a["a"],{props:t},n(c.content))}case Ct.codeListing:{if(c.metadata&&c.metadata.anchor)return u(c);const t={syntax:c.syntax,fileType:c.fileType,content:c.code,showLineNumbers:c.showLineNumbers};return e(r["a"],{props:t})}case Ct.endpointExample:{const t={request:c.request,response:c.response};return e(ne,{props:t},n(c.summary||[]))}case Ct.heading:{const t={anchor:c.anchor,level:c.level};return e(s["a"],{props:t},c.text)}case Ct.orderedList:return e("ol",{attrs:{start:c.start}},i(c.items));case Ct.paragraph:{const t=1===c.inlineContent.length&&c.inlineContent[0].type===St.image,i=t?{class:["inline-image-container"]}:{};return e("p",i,n(c.inlineContent))}case Ct.table:{const t=l(c.rows,c.header,c.extendedData,c.alignments);if(c.metadata&&c.metadata.abstract){const{title:i}=c.metadata,a=i?xt.leading:xt.trailing,r=kt.caption;t.unshift(e(ge,{props:{title:i,position:a,tag:r}},n(c.metadata.abstract)))}return e(Te,{attrs:{id:c.metadata&&c.metadata.anchor},props:{spanned:!!c.extendedData}},t)}case Ct.termList:return e("dl",{},c.items.map(({term:t,definition:i})=>[e("dt",{},n(t.inlineContent)),e("dd",{},n(i.content))]));case Ct.unorderedList:{const t=e=>pt.props.tasks.validator(e.items);return t(c)?e(pt,{props:{tasks:c.items},scopedSlots:{task:e=>n(e.task.content)}}):e("ul",{},i(c.items))}case Ct.dictionaryExample:{const t={example:c.example};return e(_,{props:t},n(c.summary||[]))}case Ct.small:return e("p",{},[e(ze,{},n(c.inlineContent))]);case Ct.video:{if(c.metadata&&c.metadata.abstract)return u(c);if(!t[c.identifier])return null;const{deviceFrame:n}=c.metadata||{};return e(Ye,{props:{identifier:c.identifier,deviceFrame:n}})}case Ct.row:{const t=c.numberOfColumns?{large:c.numberOfColumns}:void 0;return e(Je["a"],{props:{columns:t}},c.columns.map(t=>e(Xe["a"],{props:{span:t.size}},n(t.content))))}case Ct.tabNavigator:{const t=c.tabs.length>It,i=c.tabs.map(e=>e.title),a=c.tabs.reduce((e,t)=>({...e,[t.title]:()=>n(t.content)}),{});return e(at,{props:{titles:i,vertical:t},scopedSlots:a})}case Ct.links:return e(wt,{props:{blockStyle:c.style,identifiers:c.items}});case St.codeVoice:return e(o["a"],{},c.code);case St.emphasis:case St.newTerm:return e("em",n(c.inlineContent));case St.image:{if(c.metadata&&(c.metadata.anchor||c.metadata.abstract))return u(c);const n=t[c.identifier];return n?c.metadata&&c.metadata.deviceFrame?d(c):e(ke,{props:{alt:n.alt,variants:n.variants}}):null}case St.link:return e("a",{attrs:{href:c.destination}},c.title);case St.reference:{const i=t[c.identifier];if(!i)return null;const a=c.overridingTitleInlineContent||i.titleInlineContent,r=c.overridingTitle||i.title;return e(Ce["a"],{props:{url:i.url,kind:i.kind,role:i.role,isActive:c.isActive,ideTitle:i.ideTitle,titleStyle:i.titleStyle,hasInlineFormatting:!!a}},a?n(a):r)}case St.strong:case St.inlineHead:return e("strong",n(c.inlineContent));case St.text:return"\n"===c.text?e("br"):c.text;case St.superscript:return e("sup",n(c.inlineContent));case St.subscript:return e("sub",n(c.inlineContent));case St.strikethrough:return e(Me,n(c.inlineContent));default:return null}}}var Tt,At,Lt={name:"ContentNode",constants:{TableHeaderStyle:Et,TableColumnAlignments:Ot},mixins:[i["a"]],render:function(e){return e(this.tag,{class:"content"},this.content.map(jt(e,this.references),this))},props:{content:{type:Array,required:!0},tag:{type:String,default:()=>"div"}},methods:{map(e){function t(n=[]){return n.map(n=>{switch(n.type){case Ct.aside:return e({...n,content:t(n.content)});case Ct.dictionaryExample:return e({...n,summary:t(n.summary)});case Ct.paragraph:case St.emphasis:case St.strong:case St.inlineHead:case St.superscript:case St.subscript:case St.strikethrough:case St.newTerm:return e({...n,inlineContent:t(n.inlineContent)});case Ct.orderedList:case Ct.unorderedList:return e({...n,items:n.items.map(e=>({...e,content:t(e.content)}))});case Ct.table:return e({...n,rows:n.rows.map(e=>e.map(t))});case Ct.termList:return e({...n,items:n.items.map(e=>({...e,term:{inlineContent:t(e.term.inlineContent)},definition:{content:t(e.definition.content)}}))});default:return e(n)}})}return t(this.content)},forEach(e){function t(n=[]){n.forEach(n=>{switch(e(n),n.type){case Ct.aside:t(n.content);break;case Ct.paragraph:case St.emphasis:case St.strong:case St.inlineHead:case St.newTerm:case St.superscript:case St.subscript:case St.strikethrough:t(n.inlineContent);break;case Ct.orderedList:case Ct.unorderedList:n.items.forEach(e=>t(e.content));break;case Ct.dictionaryExample:t(n.summary);break;case Ct.table:n.rows.forEach(e=>{e.forEach(t)});break;case Ct.termList:n.items.forEach(e=>{t(e.term.inlineContent),t(e.definition.content)});break}})}return t(this.content)},reduce(e,t){let n=t;return this.forEach(t=>{n=e(n,t)}),n}},computed:{plaintext(){return this.reduce((e,t)=>t.type===Ct.paragraph?e+"\n":t.type===St.text?`${e}${t.text}`:e,"").trim()}},BlockType:Ct,InlineType:St},Bt=Lt,$t=Object(f["a"])(Bt,Tt,At,!1,null,null,null);t["default"]=$t.exports},"598a":function(e,t,n){},"5c97":function(e,t,n){},"5da3":function(e,t,n){e.exports=n.p+"img/no-image@2x.df2a0a50.png"},"5dcc":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("h"+e.level,{tag:"component",attrs:{id:e.anchor}},[e.shouldLink?n("router-link",{staticClass:"header-anchor",attrs:{to:{hash:"#"+e.anchor}},on:{click:function(t){return e.handleFocusAndScroll(e.anchor)}}},[e._t("default"),n("span",{staticClass:"visuallyhidden"},[e._v(e._s(e.$t("accessibility.in-page-link")))]),n("LinkIcon",{staticClass:"icon",attrs:{"aria-hidden":"true"}})],2):[e._t("default")]],2)},a=[],r=n("8a61"),s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"link-icon",attrs:{viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M19.34,4.88L15.12,.66c-.87-.87-2.3-.87-3.17,0l-3.55,3.56-1.38,1.38-1.4,1.4c-.47,.47-.68,1.09-.64,1.7,.02,.29,.09,.58,.21,.84,.11,.23,.24,.44,.43,.63l4.22,4.22h0l.53-.53,.53-.53h0l-4.22-4.22c-.29-.29-.29-.77,0-1.06l1.4-1.4,.91-.91,.58-.58,.55-.55,2.9-2.9c.29-.29,.77-.29,1.06,0l4.22,4.22c.29,.29,.29,.77,0,1.06l-2.9,2.9c.14,.24,.24,.49,.31,.75,.08,.32,.11,.64,.09,.96l3.55-3.55c.87-.87,.87-2.3,0-3.17Z"}}),n("path",{attrs:{d:"M14.41,9.82s0,0,0,0l-4.22-4.22h0l-.53,.53-.53,.53h0l4.22,4.22c.29,.29,.29,.77,0,1.06l-1.4,1.4-.91,.91-.58,.58-.55,.55h0l-2.9,2.9c-.29,.29-.77,.29-1.06,0L1.73,14.04c-.29-.29-.29-.77,0-1.06l2.9-2.9c-.14-.24-.24-.49-.31-.75-.08-.32-.11-.64-.09-.97L.68,11.93c-.87,.87-.87,2.3,0,3.17l4.22,4.22c.87,.87,2.3,.87,3.17,0l3.55-3.55,1.38-1.38,1.4-1.4c.47-.47,.68-1.09,.64-1.7-.02-.29-.09-.58-.21-.84-.11-.22-.24-.44-.43-.62Z"}})])},o=[],c=n("be08"),l={name:"LinkIcon",components:{SVGIcon:c["a"]}},u=l,d=n("2877"),p=Object(d["a"])(u,s,o,!1,null,null,null),h=p.exports,m={name:"LinkableHeading",mixins:[r["a"]],components:{LinkIcon:h},props:{anchor:{type:String,required:!1},level:{type:Number,default:()=>2,validator:e=>e>=1&&e<=6}},inject:{enableMinimized:{default:()=>!1},isTargetIDE:{default:()=>!1}},computed:{shouldLink:({anchor:e,enableMinimized:t,isTargetIDE:n})=>!!e&&!t&&!n}},f=m,g=(n("bbf6"),Object(d["a"])(f,i,a,!1,null,"6007a8a4",null));t["a"]=g.exports},6058:function(e,t,n){},6209:function(e,t,n){"use strict";n("0eaa")},"620a":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"col",class:e.classes},[e._t("default")],2)},a=[];const r=0,s=12,o=new Set(["large","medium","small"]),c=e=>({type:Object,default:()=>({}),validator:t=>Object.keys(t).every(n=>o.has(n)&&e(t[n]))}),l=c(e=>"boolean"===typeof e),u=c(e=>"number"===typeof e&&e>=r&&e<=s);var d={name:"GridColumn",props:{isCentered:l,isUnCentered:l,span:{...u,default:()=>({large:s})}},computed:{classes:function(){return{["large-"+this.span.large]:void 0!==this.span.large,["medium-"+this.span.medium]:void 0!==this.span.medium,["small-"+this.span.small]:void 0!==this.span.small,"large-centered":!!this.isCentered.large,"medium-centered":!!this.isCentered.medium,"small-centered":!!this.isCentered.small,"large-uncentered":!!this.isUnCentered.large,"medium-uncentered":!!this.isUnCentered.medium,"small-uncentered":!!this.isUnCentered.small}}}},p=d,h=(n("6e4a"),n("2877")),m=Object(h["a"])(p,i,a,!1,null,"2ee3ad8b",null);t["a"]=m.exports},"636c":function(e,t,n){},"63e6":function(e,t,n){},"64b5":function(e,t,n){},6667:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"diagonal-arrow",attrs:{viewBox:"0 0 14 14",themeId:"diagonal-arrow"}},[n("path",{attrs:{d:"M0.010 12.881l10.429-10.477-3.764 0.824-0.339-1.549 7.653-1.679-1.717 7.622-1.546-0.349 0.847-3.759-10.442 10.487z"}})])},a=[],r=n("be08"),s={name:"DiagonalArrowIcon",components:{SVGIcon:r["a"]}},o=s,c=n("2877"),l=Object(c["a"])(o,i,a,!1,null,null,null);t["a"]=l.exports},"66cd":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i={article:"article",codeListing:"codeListing",collection:"collection",collectionGroup:"collectionGroup",containerSymbol:"containerSymbol",devLink:"devLink",dictionarySymbol:"dictionarySymbol",generic:"generic",link:"link",media:"media",pseudoCollection:"pseudoCollection",pseudoSymbol:"pseudoSymbol",restRequestSymbol:"restRequestSymbol",sampleCode:"sampleCode",symbol:"symbol",table:"table",learn:"learn",overview:"overview",project:"project",tutorial:"tutorial",resources:"resources"}},6869:function(e,t,n){"use strict";n("9649")},"6e4a":function(e,t,n){"use strict";n("05a1")},"6e71":function(e,t,n){"use strict";n("3ba9")},"70fb":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"TopicsLinkCardGrid"},[n("Row",{attrs:{columns:{large:e.compactCards?3:2,medium:2}}},e._l(e.items,(function(t){return n("Column",{key:t.title},[n("TopicsLinkCardGridItem",{attrs:{item:t,compact:e.compactCards}})],1)})),1)],1)},a=[],r=n("ee9e"),s=n("308e"),o=n("12b1"),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Card",{staticClass:"reference-card-grid-item",attrs:{url:e.item.url,image:e.imageReferences.card,title:e.item.title,"floating-style":"",size:e.cardSize,"link-text":e.compact?"":e.$t(e.linkText)},scopedSlots:e._u([e.imageReferences.card?null:{key:"cover",fn:function(t){var i=t.classes;return[n("div",{staticClass:"reference-card-grid-item__image",class:i},[n("TopicTypeIcon",{staticClass:"reference-card-grid-item__icon",attrs:{type:e.item.role,"image-override":e.references[e.imageReferences.icon]}})],1)]}}],null,!0)},[e.compact?e._e():n("ContentNode",{attrs:{content:e.item.abstract}})],1)},l=[],u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Reference",e._b({staticClass:"card",class:e.classes,attrs:{url:e.url}},"Reference",e.linkAriaTags,!1),[n("CardCover",{attrs:{variants:e.imageVariants,rounded:e.floatingStyle,alt:e.imageReference.alt,"aria-hidden":"true"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._t("cover",null,null,t)]}}],null,!0)}),n("div",{staticClass:"details",attrs:{"aria-hidden":"true"}},[e.eyebrow?n("div",{staticClass:"eyebrow",attrs:{id:e.eyebrowId,"aria-label":e.formatAriaLabel("- "+e.eyebrow)}},[e._v(" "+e._s(e.eyebrow)+" ")]):e._e(),n("div",{staticClass:"title",attrs:{id:e.titleId}},[e._v(" "+e._s(e.title)+" ")]),e.$slots.default?n("div",{staticClass:"card-content",attrs:{id:e.contentId}},[e._t("default")],2):e._e(),e.linkText?n(e.hasButton?"ButtonLink":"div",{tag:"component",staticClass:"link"},[e._v(" "+e._s(e.linkText)+" "),e.showExternalLinks?n("DiagonalArrowIcon",{staticClass:"icon-inline link-icon"}):e.hasButton?e._e():n("InlineChevronRightIcon",{staticClass:"icon-inline link-icon"})],1):e._e()],1)],1)},d=[],p=n("76ab"),h=n("34b0"),m=n("6667"),f=n("86d8"),g={small:"small",large:"large"},b=n("2f34"),v=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"card-cover-wrap",class:{rounded:e.rounded}},[e._t("default",(function(){return[n("ImageAsset",{staticClass:"card-cover",attrs:{variants:e.variants,alt:e.alt}})]}),{classes:"card-cover"})],2)},y=[],w=n("8bd9"),_={name:"CardCover",components:{ImageAsset:w["a"]},props:{variants:{type:Array,required:!0},rounded:{type:Boolean,default:!1},alt:{type:String,default:null}}},x=_,k=(n("850e"),n("2877")),C=Object(k["a"])(x,v,y,!1,null,"0c1c40a1",null),S=C.exports,E={name:"Card",components:{Reference:f["a"],DiagonalArrowIcon:m["a"],InlineChevronRightIcon:h["a"],CardCover:S,ButtonLink:p["a"]},constants:{CardSize:g},mixins:[b["a"]],computed:{titleId:({_uid:e})=>"card_title_"+e,contentId:({_uid:e})=>"card_content_"+e,eyebrowId:({_uid:e})=>"card_eyebrow_"+e,linkAriaTags:({titleId:e,eyebrowId:t,contentId:n,eyebrow:i,$slots:a})=>({"aria-labelledby":e.concat(i?" "+t:""),"aria-describedby":a.default?""+n:null}),classes:({size:e,floatingStyle:t})=>[e,{"floating-style":t}],imageReference:({image:e,references:t})=>t[e]||{},imageVariants:({imageReference:e})=>e.variants||[]},props:{linkText:{type:String,required:!1},url:{type:String,required:!1,default:""},eyebrow:{type:String,required:!1},image:{type:String,required:!1},size:{type:String,validator:e=>Object.prototype.hasOwnProperty.call(g,e)},title:{type:String,required:!0},hasButton:{type:Boolean,default:()=>!1},floatingStyle:{type:Boolean,default:!1},showExternalLinks:{type:Boolean,default:!1},formatAriaLabel:{type:Function,default:e=>e}}},O=E,I=(n("0939"),Object(k["a"])(O,u,d,!1,null,"328d568a",null)),j=I.exports,T=n("f12c"),A=n("66cd");const L={[A["a"].article]:"documentation.card.read-article",[A["a"].overview]:"documentation.card.start-tutorial",[A["a"].collection]:"documentation.card.view-api",[A["a"].symbol]:"documentation.card.view-symbol",[A["a"].sampleCode]:"documentation.card.view-sample-code"};var B={name:"TopicsLinkCardGridItem",components:{TopicTypeIcon:T["a"],Card:j,ContentNode:()=>Promise.resolve().then(n.bind(null,"5677"))},mixins:[b["a"]],props:{item:{type:Object,required:!0},compact:{type:Boolean,default:!0}},computed:{imageReferences:({item:e})=>(e.images||[]).reduce((e,t)=>(e[t.type]=t.identifier,e),{icon:null,card:null}),linkText:({item:e})=>L[e.role]||"documentation.card.learn-more",cardSize:({compact:e})=>e?void 0:g.large}},$=B,N=(n("8f26"),Object(k["a"])($,c,l,!1,null,"08a5e3f8",null)),M=N.exports,P={name:"TopicsLinkCardGrid",components:{TopicsLinkCardGridItem:M,Column:s["a"],Row:r["a"]},props:{items:{type:Array,required:!0},topicStyle:{type:String,default:o["a"].compactGrid,validator:e=>e===o["a"].compactGrid||e===o["a"].detailedGrid}},computed:{compactCards:({topicStyle:e})=>e===o["a"].compactGrid}},R=P,V=Object(k["a"])(R,i,a,!1,null,null,null);t["a"]=V.exports},"72e7":function(e,t,n){"use strict";const i={up:"up",down:"down"};t["a"]={constants:{IntersectionDirections:i},data(){return{intersectionObserver:null,intersectionPreviousScrollY:0,intersectionScrollDirection:i.down}},computed:{intersectionThreshold(){const e=[];for(let t=0;t<=1;t+=.01)e.push(t);return e},intersectionRoot(){return null},intersectionRootMargin(){return"0px 0px 0px 0px"},intersectionObserverOptions(){return{root:this.intersectionRoot,rootMargin:this.intersectionRootMargin,threshold:this.intersectionThreshold}}},async mounted(){await n.e("chunk-2d0d3105").then(n.t.bind(null,"5abe",7)),this.intersectionObserver=new IntersectionObserver(e=>{this.detectIntersectionScrollDirection();const t=this.onIntersect;t?e.forEach(t):console.warn("onIntersect not implemented")},this.intersectionObserverOptions),this.getIntersectionTargets().forEach(e=>{this.intersectionObserver.observe(e)})},beforeDestroy(){this.intersectionObserver&&this.intersectionObserver.disconnect()},methods:{getIntersectionTargets(){return[this.$el]},detectIntersectionScrollDirection(){window.scrollYthis.intersectionPreviousScrollY&&(this.intersectionScrollDirection=i.up),this.intersectionPreviousScrollY=window.scrollY}}}},"74ea":function(e,t,n){"use strict";n("636c")},7689:function(e,t,n){"use strict";t["a"]={computed:{isClientMobile(){let e=!1;return e="maxTouchPoints"in navigator||"msMaxTouchPoints"in navigator?Boolean(navigator.maxTouchPoints||navigator.msMaxTouchPoints):window.matchMedia?window.matchMedia("(pointer:coarse)").matches:"orientation"in window,e}}}},"76ab":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.resolvedComponent,e._b({tag:"component",staticClass:"button-cta",class:{"is-dark":e.isDark}},"component",e.componentProps,!1),[e._t("default")],2)},a=[],r=n("86d8"),s={name:"ButtonLink",components:{Reference:r["a"]},props:{url:{type:String,required:!1},isDark:{type:Boolean,default:!1}},computed:{resolvedComponent:({url:e})=>e?r["a"]:"button",componentProps:({url:e})=>e?{url:e}:{}}},o=s,c=(n("0da1"),n("2877")),l=Object(c["a"])(o,i,a,!1,null,"c9c81868",null);t["a"]=l.exports},"7b1f":function(e,t,n){"use strict";var i,a,r={functional:!0,name:"WordBreak",render(e,{props:t,slots:n,data:i}){const a=n().default||[],r=a.filter(e=>e.text&&!e.tag);if(0===r.length||r.length!==a.length)return e(t.tag,i,a);const s=r.map(({text:e})=>e).join(),o=[];let c=null,l=0;while(null!==(c=t.safeBoundaryPattern.exec(s))){const t=c.index+1;o.push(s.slice(l,t)),o.push(e("wbr",{key:c.index})),l=t}return o.push(s.slice(l,s.length)),e(t.tag,i,o)},props:{safeBoundaryPattern:{type:RegExp,default:()=>/([a-z](?=[A-Z])|(:)\w|\w(?=[._]\w))/g},tag:{type:String,default:()=>"span"}}},s=r,o=n("2877"),c=Object(o["a"])(s,i,a,!1,null,null,null);t["a"]=c.exports},"7b69":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"code-listing",class:{"single-line":1===e.syntaxHighlightedLines.length},attrs:{"data-syntax":e.syntaxNameNormalized}},[e.fileName?n("Filename",{attrs:{isActionable:e.isFileNameActionable,fileType:e.fileType},on:{click:function(t){return e.$emit("file-name-click")}}},[e._v(e._s(e.fileName)+" ")]):e._e(),n("div",{staticClass:"container-general"},[n("pre",[n("CodeBlock",[e._l(e.syntaxHighlightedLines,(function(t,i){return[n("span",{key:i,class:["code-line-container",{highlighted:e.isHighlighted(i)}]},[e.showLineNumbers?n("span",{staticClass:"code-number",attrs:{"data-line-number":e.lineNumberFor(i)}}):e._e(),n("span",{staticClass:"code-line",domProps:{innerHTML:e._s(t)}})]),e._v("\n")]}))],2)],1)])],1)},a=[],r=n("002d"),s=n("8649"),o=n("800b"),c=n("1020"),l=n.n(c);const u={objectivec:["objective-c"]},d={bash:["sh","zsh"],c:["h"],cpp:["cc","c++","h++","hpp","hh","hxx","cxx"],css:[],diff:["patch"],http:["https"],java:["jsp"],javascript:["js","jsx","mjs","cjs"],json:[],llvm:[],markdown:["md","mkdown","mkd"],objectivec:["mm","objc","obj-c"].concat(u.objectivec),perl:["pl","pm"],php:[],python:["py","gyp","ipython"],ruby:["rb","gemspec","podspec","thor","irb"],scss:[],shell:["console","shellsession"],swift:[],xml:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],...Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_HLJS_LANGUAGES?Object.fromEntries(Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_HLJS_LANGUAGES.split(",").map(e=>[e,[]])):void 0},p=new Set(["markdown","swift"]),h=Object.entries(d),m=new Set(Object.keys(d)),f=new Map;async function g(e){const t=[e];try{return await t.reduce(async(e,t)=>{let i;await e,i=p.has(t)?await n("1417")("./"+t):await n("b7b0")("./"+t),l.a.registerLanguage(t,i.default)},Promise.resolve()),!0}catch(i){return console.error(`Could not load ${e} file`),!1}}function b(e){if(m.has(e))return e;const t=h.find(([,t])=>t.includes(e));return t?t[0]:null}function v(e){if(f.has(e))return f.get(e);const t=b(e);return f.set(e,t),t}l.a.configure({classPrefix:"syntax-",languages:[...m]});const y=async e=>{const t=v(e);return!(!t||l.a.listLanguages().includes(t))&&g(t)},w=/\r\n|\r|\n/g,_=/syntax-/;function x(e){return 0===e.length?[]:e.split(w)}function k(e){return(e.trim().match(w)||[]).length}function C(e){const t=document.createElement("template");return t.innerHTML=e,t.content.childNodes}function S(e){const{className:t}=e;if(!_.test(t))return null;const n=x(e.innerHTML).reduce((e,n)=>`${e}${n}\n`,"");return C(n.trim())}function E(e){return Array.from(e.childNodes).forEach(e=>{if(k(e.textContent))try{const t=e.childNodes.length?E(e):S(e);t&&e.replaceWith(...t)}catch(t){console.error(t)}}),S(e)}function O(e,t){const n=b(t);if(!l.a.getLanguage(n))throw new Error("Unsupported language for syntax highlighting: "+t);return l.a.highlight(e,{language:n,ignoreIllegals:!0}).value}function I(e,t){const n=e.join("\n"),i=O(n,t),a=document.createElement("code");return a.innerHTML=i,E(a),x(a.innerHTML)}var j=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"filename"},[e.isActionable?n("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.$emit("click")}}},[n("FileIcon",{attrs:{fileType:e.fileType}}),e._t("default")],2):n("span",[n("FileIcon",{attrs:{fileType:e.fileType}}),e._t("default")],2)])},T=[],A=function(){var e=this,t=e.$createElement,n=e._self._c||t;return"swift"===e.fileType?n("SwiftFileIcon",{staticClass:"file-icon"}):n("GenericFileIcon",{staticClass:"file-icon"})},L=[],B=n("a88f"),$=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"generic-file-icon",attrs:{viewBox:"0 0 14 14",themeId:"generic-file"}},[n("path",{attrs:{d:"M8.033 1l3.967 4.015v7.985h-10v-12zM7.615 2h-4.615v10h8v-6.574z"}}),n("path",{attrs:{d:"M7 1h1v4h-1z"}}),n("path",{attrs:{d:"M7 5h5v1h-5z"}})])},N=[],M=n("be08"),P={name:"GenericFileIcon",components:{SVGIcon:M["a"]}},R=P,V=n("2877"),D=Object(V["a"])(R,$,N,!1,null,null,null),G=D.exports,z={name:"CodeListingFileIcon",components:{SwiftFileIcon:B["a"],GenericFileIcon:G},props:{fileType:String}},q=z,F=(n("e6db"),Object(V["a"])(q,A,L,!1,null,"7c381064",null)),U=F.exports,W={name:"CodeListingFilename",components:{FileIcon:U},props:{isActionable:{type:Boolean,default:()=>!1},fileType:String}},H=W,K=(n("8608"),Object(V["a"])(H,j,T,!1,null,"c8c40662",null)),Z=K.exports,Y={name:"CodeListing",components:{Filename:Z,CodeBlock:o["a"]},data(){return{syntaxHighlightedLines:[]}},props:{fileName:String,isFileNameActionable:{type:Boolean,default:()=>!1},syntax:String,fileType:String,content:{type:Array,required:!0},startLineNumber:{type:Number,default:()=>1},highlights:{type:Array,default:()=>[]},showLineNumbers:{type:Boolean,default:()=>!1}},computed:{escapedContent:({content:e})=>e.map(r["c"]),highlightedLineNumbers(){return new Set(this.highlights.map(({line:e})=>e))},syntaxNameNormalized(){const e={occ:s["a"].objectiveC.key.url};return e[this.syntax]||this.syntax}},watch:{content:{handler:"syntaxHighlightLines",immediate:!0}},methods:{isHighlighted(e){return this.highlightedLineNumbers.has(this.lineNumberFor(e))},lineNumberFor(e){return this.startLineNumber+e},async syntaxHighlightLines(){let e;try{await y(this.syntaxNameNormalized),e=I(this.content,this.syntaxNameNormalized)}catch(t){e=this.escapedContent}this.syntaxHighlightedLines=e.map(e=>""===e?"\n":e)}}},X=Y,J=(n("7e3a"),Object(V["a"])(X,i,a,!1,null,"59f42f5b",null));t["a"]=J.exports},"7e3a":function(e,t,n){"use strict";n("f030")},"800b":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("code",{attrs:{tabindex:"0","data-before-code":e.$t("accessibility.code.start"),"data-after-code":e.$t("accessibility.code.end")}},[e._t("default")],2)},a=[],r={name:"CodeBlock"},s=r,o=(n("159b"),n("2877")),c=Object(o["a"])(s,i,a,!1,null,"08295b2f",null);t["a"]=c.exports},"80c8":function(e,t,n){},"80e4":function(e,t,n){"use strict";var i,a,r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"asset"},[n(e.assetComponent,e._g(e._b({tag:"component"},"component",e.assetProps,!1),e.assetListeners))],1)},s=[],o=n("8bd9"),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ConditionalWrapper",{ref:"wrapper",attrs:{tag:e.DeviceFrameComponent,"should-wrap":!!e.deviceFrame,device:e.deviceFrame}},[n("video",{ref:"video",attrs:{controls:e.showsControls,autoplay:e.autoplays,poster:e.normalisedPosterPath,width:e.optimalWidth,playsinline:""},domProps:{muted:e.muted},on:{playing:function(t){return e.$emit("playing")},pause:function(t){return e.$emit("pause")},ended:function(t){return e.$emit("ended")}}},[n("source",{attrs:{src:e.normalizePath(e.videoAttributes.url)}})])])},l=[],u=n("748c"),d=n("e425"),p=n("821b"),h={functional:!0,name:"ConditionalWrapper",props:{tag:[Object,String],shouldWrap:Boolean},render(e,t){return t.props.shouldWrap?e(t.props.tag,t.data,t.children):t.children}},m=h,f=n("2877"),g=Object(f["a"])(m,i,a,!1,null,null,null),b=g.exports,v=n("5416"),y={name:"VideoAsset",components:{ConditionalWrapper:b},props:{variants:{type:Array,required:!0},showsControls:{type:Boolean,default:()=>!0},autoplays:{type:Boolean,default:()=>!0},posterVariants:{type:Array,required:!1,default:()=>[]},muted:{type:Boolean,default:!0},deviceFrame:{type:String,required:!1}},data:()=>({appState:d["a"].state,optimalWidth:null}),computed:{DeviceFrameComponent:()=>v["a"],preferredColorScheme:({appState:e})=>e.preferredColorScheme,systemColorScheme:({appState:e})=>e.systemColorScheme,userPrefersDark:({preferredColorScheme:e,systemColorScheme:t})=>e===p["a"].dark||e===p["a"].auto&&t===p["a"].dark,shouldShowDarkVariant:({darkVideoVariantAttributes:e,userPrefersDark:t})=>e&&t,defaultVideoAttributes(){return this.videoVariantsGroupedByAppearance.light[0]||this.darkVideoVariantAttributes||{}},darkVideoVariantAttributes(){return this.videoVariantsGroupedByAppearance.dark[0]},videoVariantsGroupedByAppearance(){return Object(u["e"])(this.variants)},posterVariantsGroupedByAppearance(){const{light:e,dark:t}=Object(u["e"])(this.posterVariants);return{light:Object(u["a"])(e),dark:Object(u["a"])(t)}},defaultPosterAttributes:({posterVariantsGroupedByAppearance:e,userPrefersDark:t})=>t&&e.dark.length?e.dark[0]:e.light[0]||{},normalisedPosterPath:({defaultPosterAttributes:e})=>Object(u["c"])(e.src),videoAttributes:({darkVideoVariantAttributes:e,defaultVideoAttributes:t,shouldShowDarkVariant:n})=>n?e:t},watch:{normalisedPosterPath:{immediate:!0,handler:"getPosterDimensions"}},methods:{normalizePath:u["c"],async getPosterDimensions(e){if(!e)return void(this.optimalWidth=null);const{density:t}=this.defaultPosterAttributes,n=parseInt(t.match(/\d+/)[0],10),{width:i}=await Object(u["b"])(e);this.optimalWidth=i/n}}},w=y,_=Object(f["a"])(w,c,l,!1,null,null,null),x=_.exports,k=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"video-replay-container"},[n("VideoAsset",{ref:"asset",attrs:{variants:e.variants,autoplays:e.autoplays,showsControls:e.showsControls,muted:e.muted,posterVariants:e.posterVariants,deviceFrame:e.deviceFrame},on:{pause:e.onPause,playing:e.onVideoPlaying,ended:e.onVideoEnd}}),e.showsControls?e._e():n("a",{staticClass:"control-button",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.togglePlayStatus.apply(null,arguments)}}},[e._v(" "+e._s(e.text)+" "),e.videoEnded?n("InlineReplayIcon",{staticClass:"control-icon icon-inline"}):e.isPlaying?n("PauseIcon",{staticClass:"control-icon icon-inline"}):n("PlayIcon",{staticClass:"control-icon icon-inline"})],1)],1)},C=[],S=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"inline-replay-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-replay"}},[n("path",{attrs:{d:"M2.254 10.201c-1.633-2.613-0.838-6.056 1.775-7.689 2.551-1.594 5.892-0.875 7.569 1.592l0.12 0.184-0.848 0.53c-1.34-2.145-4.166-2.797-6.311-1.457s-2.797 4.166-1.457 6.311 4.166 2.797 6.311 1.457c1.006-0.629 1.71-1.603 2.003-2.723l0.056-0.242 0.98 0.201c-0.305 1.487-1.197 2.792-2.51 3.612-2.613 1.633-6.056 0.838-7.689-1.775z"}}),n("path",{attrs:{d:"M10.76 1.355l0.984-0.18 0.851 4.651-4.56-1.196 0.254-0.967 3.040 0.796z"}})])},E=[],O=n("be08"),I={name:"InlineReplayIcon",components:{SVGIcon:O["a"]}},j=I,T=Object(f["a"])(j,S,E,!1,null,null,null),A=T.exports,L=n("c4dd"),B=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"pause-icon",attrs:{viewBox:"0 0 14 14",themeId:"pause"}},[n("path",{attrs:{d:"M5 4h1v6h-1z"}}),n("path",{attrs:{d:"M8 4h1v6h-1z"}}),n("path",{attrs:{d:"M7 0.5c-3.6 0-6.5 2.9-6.5 6.5s2.9 6.5 6.5 6.5 6.5-2.9 6.5-6.5-2.9-6.5-6.5-6.5zM7 12.5c-3 0-5.5-2.5-5.5-5.5s2.5-5.5 5.5-5.5 5.5 2.5 5.5 5.5-2.5 5.5-5.5 5.5z"}})])},$=[],N={name:"PauseIcon",components:{SVGIcon:O["a"]}},M=N,P=Object(f["a"])(M,B,$,!1,null,null,null),R=P.exports,V={name:"ReplayableVideoAsset",components:{PauseIcon:R,PlayIcon:L["a"],InlineReplayIcon:A,VideoAsset:x},props:{variants:{type:Array,required:!0},showsControls:{type:Boolean,default:()=>!0},autoplays:{type:Boolean,default:()=>!0},muted:{type:Boolean,default:!0},posterVariants:{type:Array,default:()=>[]},deviceFrame:{type:String,required:!1}},computed:{text(){return this.videoEnded?this.$t("video.replay"):this.isPlaying?this.$t("video.pause"):this.$t("video.play")}},data(){return{isPlaying:!1,videoEnded:!1}},methods:{async togglePlayStatus(){const e=this.$refs.asset.$refs.video;e&&(this.isPlaying&&!this.videoEnded?await e.pause():await e.play())},onVideoEnd(){this.isPlaying=!1,this.videoEnded=!0},onVideoPlaying(){const{video:e}=this.$refs.asset.$refs;this.isPlaying=!e.paused,this.videoEnded=e.ended},onPause(){const{video:e}=this.$refs.asset.$refs;!this.showsControls&&this.isPlaying&&(this.isPlaying=!1),this.videoEnded=e.ended}}},D=V,G=(n("74ea"),Object(f["a"])(D,k,C,!1,null,"7653dfd0",null)),z=G.exports,q=n("2f34");const F={video:"video",image:"image"};var U={name:"Asset",components:{ImageAsset:o["a"],VideoAsset:x},constants:{AssetTypes:F},mixins:[q["a"]],props:{identifier:{type:String,required:!0},showsReplayButton:{type:Boolean,default:()=>!1},showsVideoControls:{type:Boolean,default:()=>!0},videoAutoplays:{type:Boolean,default:()=>!0},videoMuted:{type:Boolean,default:!0},deviceFrame:{type:String,required:!1}},computed:{rawAsset(){return this.references[this.identifier]||{}},isRawAssetVideo:({rawAsset:e})=>e.type===F.video,videoPoster(){return this.isRawAssetVideo&&this.references[this.rawAsset.poster]},asset(){return this.isRawAssetVideo&&this.prefersReducedMotion&&this.videoPoster||this.rawAsset},assetComponent(){switch(this.asset.type){case F.image:return o["a"];case F.video:return this.showsReplayButton?z:x;default:return}},prefersReducedMotion(){return window.matchMedia("(prefers-reduced-motion)").matches},assetProps(){return{[F.image]:this.imageProps,[F.video]:this.videoProps}[this.asset.type]},imageProps(){return{alt:this.asset.alt,variants:this.asset.variants}},videoProps(){return{variants:this.asset.variants,showsControls:this.showsVideoControls,muted:this.videoMuted,autoplays:!this.prefersReducedMotion&&this.videoAutoplays,posterVariants:this.videoPoster?this.videoPoster.variants:[],deviceFrame:this.deviceFrame}},assetListeners(){return{[F.image]:null,[F.video]:{ended:()=>this.$emit("videoEnded")}}[this.asset.type]}}},W=U,H=(n("5201"),Object(f["a"])(W,r,s,!1,null,"dcbc7b38",null));t["a"]=H.exports},"81c0":function(e,t,n){},8222:function(e,t,n){},"850e":function(e,t,n){"use strict";n("88d2")},8608:function(e,t,n){"use strict";n("a7f3")},"863d":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"nav-menu-item",class:{"nav-menu-item--animated":e.animate}},[e._t("default")],2)},a=[],r={name:"NavMenuItemBase",props:{animate:{type:Boolean,default:!0}}},s=r,o=(n("43fe"),n("2877")),c=Object(o["a"])(s,i,a,!1,null,"66cbfe4c",null);t["a"]=c.exports},8649:function(e,t,n){"use strict";t["a"]={objectiveC:{name:"Objective-C",key:{api:"occ",url:"objc"}},swift:{name:"Swift",key:{api:"swift",url:"swift"}}}},"86d8":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.refComponent,{tag:"component",attrs:{url:e.urlWithParams,"is-active":e.isActiveComputed}},[e._t("default")],2)},a=[],r=n("d26a"),s=n("66cd"),o=n("9895"),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isActive?n("a",{attrs:{href:e.url}},[e._t("default")],2):n("span",[e._t("default")],2)},l=[],u={name:"ReferenceExternal",props:{url:{type:String,required:!0},isActive:{type:Boolean,default:!0}}},d=u,p=n("2877"),h=Object(p["a"])(d,c,l,!1,null,null,null),m=h.exports,f=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ReferenceInternal",e._b({},"ReferenceInternal",e.$props,!1),[n("CodeVoice",[e._t("default")],2)],1)},g=[],b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isActive?n("router-link",{attrs:{to:e.url}},[e._t("default")],2):n("span",[e._t("default")],2)},v=[],y={name:"ReferenceInternal",props:{url:{type:String,required:!0},isActive:{type:Boolean,default:!0}}},w=y,_=Object(p["a"])(w,b,v,!1,null,null,null),x=_.exports,k=n("52e4"),C={name:"ReferenceInternalSymbol",props:x.props,components:{ReferenceInternal:x,CodeVoice:k["a"]}},S=C,E=Object(p["a"])(S,f,g,!1,null,null,null),O=E.exports,I={name:"Reference",computed:{isInternal({url:e}){if(!e.startsWith("/")&&!e.startsWith("#"))return!1;const{resolved:{name:t}={}}=this.$router.resolve(e)||{};return t!==o["b"]},isSymbolReference(){return"symbol"===this.kind&&!this.hasInlineFormatting&&(this.role===s["a"].symbol||this.role===s["a"].dictionarySymbol)},isDisplaySymbol({isSymbolReference:e,titleStyle:t,ideTitle:n}){return n?e&&"symbol"===t:e},refComponent(){return this.isInternal?this.isDisplaySymbol?O:x:m},urlWithParams({isInternal:e}){return e?Object(r["b"])(this.url,this.$route.query):this.url},isActiveComputed({url:e,isActive:t}){return!(!e||!t)}},props:{url:{type:String,required:!0},kind:{type:String,required:!1},role:{type:String,required:!1},isActive:{type:Boolean,required:!1,default:!0},ideTitle:{type:String,required:!1},titleStyle:{type:String,required:!1},hasInlineFormatting:{type:Boolean,default:!1}}},j=I,T=Object(p["a"])(j,i,a,!1,null,null,null);t["a"]=T.exports},"88d2":function(e,t,n){},"8a61":function(e,t,n){"use strict";var i=n("3908");t["a"]={methods:{async scrollToElement(e){await Object(i["b"])(8);const t=this.$router.resolve({hash:e}),{selector:n,offset:a}=await this.$router.options.scrollBehavior(t.route),r=document.querySelector(n);return r?(r.scrollIntoView(),window.scrollY+window.innerHeight`${Object(r["c"])(e.src)} ${e.density}`).join(", "),n=e[0],i={srcSet:t,src:Object(r["c"])(n.src)},{width:a}=n.size||{width:null};return a&&(i.width=a,i.height="auto"),i}var h={name:"ImageAsset",mixins:[s],inject:{imageLoadingStrategy:{default:null}},data:()=>({appState:o["a"].state,fallbackImageSrcSet:null,optimalWidth:null}),computed:{allVariants:({lightVariants:e=[],darkVariants:t=[]})=>e.concat(t),defaultAttributes:({lightVariantAttributes:e,darkVariantAttributes:t})=>e||t,darkVariantAttributes:({darkVariants:e})=>p(e),lightVariantAttributes:({lightVariants:e})=>p(e),loading:({appState:e,imageLoadingStrategy:t})=>t||e.imageLoadingStrategy,preferredColorScheme:({appState:e})=>e.preferredColorScheme,prefersAuto:({preferredColorScheme:e})=>e===c["a"].auto,prefersDark:({preferredColorScheme:e})=>e===c["a"].dark},props:{alt:{type:String,default:""},variants:{type:Array,required:!0},shouldCalculateOptimalWidth:{type:Boolean,default:!0}},methods:{handleImageLoadError(){this.fallbackImageSrcSet=u.a+" 2x"},async calculateOptimalWidth(){const{$refs:{img:{currentSrc:e}},allVariants:t}=this,{density:n}=t.find(({src:t})=>e.endsWith(t)),i=parseInt(n.match(/\d+/)[0],d),a=await Object(r["b"])(e),s=a.width/i;return s},async optimizeImageSize(){if(!this.defaultAttributes.width&&this.$refs.img)try{this.optimalWidth=await this.calculateOptimalWidth()}catch{console.error("Unable to calculate optimal image width")}}},mounted(){this.shouldCalculateOptimalWidth&&this.$refs.img.addEventListener("load",this.optimizeImageSize)}},m=h,f=n("2877"),g=Object(f["a"])(m,i,a,!1,null,null,null);t["a"]=g.exports},"8c92":function(e,t,n){"use strict";n("80c8")},"8d2d":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"tutorial-icon",attrs:{viewBox:"0 0 14 14",themeId:"tutorial"}},[n("path",{attrs:{d:"M0.933 6.067h3.733v1.867h-3.733v-1.867z"}}),n("path",{attrs:{d:"M0.933 1.867h3.733v1.867h-3.733v-1.867z"}}),n("path",{attrs:{d:"M13.067 1.867v10.267h-7.467v-10.267zM12.133 2.8h-5.6v8.4h5.6z"}}),n("path",{attrs:{d:"M0.933 10.267h3.733v1.867h-3.733v-1.867z"}})])},a=[],r=n("be08"),s={name:"TutorialIcon",components:{SVGIcon:r["a"]}},o=s,c=n("2877"),l=Object(c["a"])(o,i,a,!1,null,null,null);t["a"]=l.exports},"8d90":function(e,t,n){},"8f26":function(e,t,n){"use strict";n("0444")},9034:function(e,t,n){},"95da":function(e,t,n){"use strict";var i=n("0cb0");const a="data-original-",r="aria-hidden",s="tabindex";function o(e,t){const n=a+t;if(e.getAttribute(n))return;const i=e.getAttribute(t)||"";e.setAttribute(n,i)}function c(e,t){const n=a+t;if(!e.hasAttribute(n))return;const i=e.getAttribute(n);e.removeAttribute(n),i.length?e.setAttribute(t,i):e.removeAttribute(t)}function l(e,t){const n=document.body;let i=e,a=e;while(i=i.previousElementSibling)t(i);while(a=a.nextElementSibling)t(a);e.parentElement&&e.parentElement!==n&&l(e.parentElement,t)}const u=e=>{o(e,r),o(e,s),e.setAttribute(r,"true"),e.setAttribute(s,"-1");const t=i["a"].getTabbableElements(e);let n=t.length-1;while(n>=0)o(t[n],s),t[n].setAttribute(s,"-1"),n-=1},d=e=>{c(e,r),c(e,s);const t=e.querySelectorAll(`[${a+s}]`);let n=t.length-1;while(n>=0)c(t[n],s),n-=1};t["a"]={hide(e){l(e,u)},show(e){l(e,d)}}},9649:function(e,t,n){},"9a61":function(e,t,n){"use strict";n("19cc")},"9b30":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticClass:"nav-menu-items",attrs:{"data-previous-menu-children-count":e.previousSiblingChildren}},[e._t("default")],2)},a=[],r={name:"NavMenuItems",props:{previousSiblingChildren:{type:Number,default:0}}},s=r,o=(n("517a"),n("2877")),c=Object(o["a"])(s,i,a,!1,null,"67c1c0a5",null);t["a"]=c.exports},"9ed5":function(e,t,n){"use strict";n("a5f5")},a295:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{attrs:{viewBox:"0 0 14 14",themeId:"path"}},[n("path",{attrs:{d:"M0 0.948h2.8v2.8h-2.8z"}}),n("path",{attrs:{d:"M11.2 10.252h2.8v2.8h-2.8z"}}),n("path",{attrs:{d:"M6.533 1.852h0.933v10.267h-0.933z"}}),n("path",{attrs:{d:"M2.8 1.852h4.667v0.933h-4.667z"}}),n("path",{attrs:{d:"M6.533 11.186h4.667v0.933h-4.667z"}})])},a=[],r=n("be08"),s={name:"PathIcon",components:{SVGIcon:r["a"]}},o=s,c=n("2877"),l=Object(c["a"])(o,i,a,!1,null,null,null);t["a"]=l.exports},a4f0:function(e,t,n){},a5f5:function(e,t,n){},a7a5:function(e,t,n){},a7d8:function(e,t,n){},a7f3:function(e,t,n){},a88f:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"swift-file-icon",attrs:{viewBox:"0 0 15 14",themeId:"swift-file"}},[n("path",{attrs:{d:"M14.93,13.56A2.15,2.15,0,0,0,15,13a5.37,5.37,0,0,0-1.27-3.24A6.08,6.08,0,0,0,14,7.91,9.32,9.32,0,0,0,9.21.31a8.51,8.51,0,0,1,1.78,5,6.4,6.4,0,0,1-.41,2.18A45.06,45.06,0,0,1,3.25,1.54,44.57,44.57,0,0,0,7.54,6.9,45.32,45.32,0,0,1,1.47,2.32,35.69,35.69,0,0,0,8.56,9.94a6.06,6.06,0,0,1-3.26.85A9.48,9.48,0,0,1,0,8.91a10,10,0,0,0,8.1,4.72c2.55,0,3.25-1.2,4.72-1.2a2.09,2.09,0,0,1,1.91,1.15C14.79,13.69,14.88,13.75,14.93,13.56Z"}})])},a=[],r=n("be08"),s={name:"SwiftFileIcon",components:{SVGIcon:r["a"]}},o=s,c=(n("c3e5"),n("2877")),l=Object(c["a"])(o,i,a,!1,null,"c01a6890",null);t["a"]=l.exports},a97e:function(e,t,n){"use strict";var i=n("63b8");const a=e=>e?`(max-width: ${e}px)`:"",r=e=>e?`(min-width: ${e}px)`:"";function s({minWidth:e,maxWidth:t}){return["only screen",r(e),a(t)].filter(Boolean).join(" and ")}function o({maxWidth:e,minWidth:t}){return window.matchMedia(s({minWidth:t,maxWidth:e}))}var c,l,u={name:"BreakpointEmitter",constants:{BreakpointAttributes:i["a"],BreakpointName:i["b"],BreakpointScopes:i["c"]},props:{scope:{type:String,default:()=>i["c"].default,validator:e=>e in i["c"]}},render(){return this.$scopedSlots.default?this.$scopedSlots.default({matchingBreakpoint:this.matchingBreakpoint}):null},data:()=>({matchingBreakpoint:null}),methods:{initMediaQuery(e,t){const n=o(t),i=t=>this.handleMediaQueryChange(t,e);n.addListener(i),this.$once("hook:beforeDestroy",()=>{n.removeListener(i)}),i(n)},handleMediaQueryChange(e,t){e.matches&&(this.matchingBreakpoint=t,this.$emit("change",t))}},mounted(){const e=i["a"][this.scope]||{};Object.entries(e).forEach(([e,t])=>{this.initMediaQuery(e,t)})}},d=u,p=n("2877"),h=Object(p["a"])(d,c,l,!1,null,null,null);t["a"]=h.exports},a9f1:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"article-icon",attrs:{viewBox:"0 0 14 14",themeId:"article"}},[n("path",{attrs:{d:"M8.033 1l3.967 4.015v7.985h-10v-12zM7.615 2h-4.615v10h8v-6.574z"}}),n("path",{attrs:{d:"M7 1h1v4h-1z"}}),n("path",{attrs:{d:"M7 5h5v1h-5z"}})])},a=[],r=n("be08"),s={name:"ArticleIcon",components:{SVGIcon:r["a"]}},o=s,c=n("2877"),l=Object(c["a"])(o,i,a,!1,null,null,null);t["a"]=l.exports},aea0:function(e,t,n){},b0e7:function(e,t,n){"use strict";n("8d90")},b0f5:function(e,t,n){"use strict";n("49e3")},b2da:function(e,t,n){"use strict";n("e529")},b392:function(e,t,n){},b7b0:function(e,t,n){var i={"./bash":["f0f8","highlight-js-bash"],"./c":["1fe5","highlight-js-c"],"./cpp":["0209","highlight-js-cpp"],"./css":["ee8c","highlight-js-css"],"./diff":["48b8","highlight-js-diff"],"./http":["c01d","highlight-js-http"],"./java":["332f","highlight-js-java"],"./javascript":["4dd1","highlight-js-javascript"],"./json":["5ad2","highlight-js-json"],"./llvm":["7c30","highlight-js-llvm"],"./markdown":["04b0","highlight-js-markdown"],"./objectivec":["9bf2","highlight-js-objectivec"],"./perl":["6a51","highlight-js-perl"],"./php":["2907","highlight-js-php"],"./python":["9510","highlight-js-python"],"./ruby":["82cb","highlight-js-ruby"],"./scss":["6113","highlight-js-scss"],"./shell":["b65b","highlight-js-shell"],"./swift":["2a39","highlight-js-swift"],"./xml":["8dcb","highlight-js-xml"]};function a(e){if(!n.o(i,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],a=t[0];return n.e(t[1]).then((function(){return n.t(a,7)}))}a.keys=function(){return Object.keys(i)},a.id="b7b0",e.exports=a},b8f2:function(e,t,n){"use strict";n("a7a5")},bbe1:function(e,t,n){},bbf6:function(e,t,n){"use strict";n("63e6")},bf08:function(e,t,n){"use strict";var i=n("2788"),a=n("002d"),r=n("d26a"),s=n("5677");t["a"]={methods:{extractFirstParagraphText(e=[]){const t=s["default"].computed.plaintext.bind({...s["default"].methods,content:e})();return Object(a["e"])(t)}},computed:{pagePath:({$route:{path:e="/"}={}})=>e,pageURL:({pagePath:e="/"})=>Object(r["e"])(e),disableMetadata:()=>!1},mounted(){this.disableMetadata||Object(i["a"])({title:this.pageTitle,description:this.pageDescription,url:this.pageURL,currentLocale:this.$i18n.locale})}}},c081:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.action?n("DestinationDataProvider",{attrs:{destination:e.action},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.url,a=t.title;return n("ButtonLink",{attrs:{url:i,isDark:e.isDark}},[e._v(" "+e._s(a)+" ")])}}],null,!1,1264376715)}):e._e()},a=[],r=n("76ab"),s=n("c7ea"),o={name:"CallToActionButton",components:{DestinationDataProvider:s["a"],ButtonLink:r["a"]},props:{action:{type:Object,required:!0},isDark:{type:Boolean,default:!1}}},c=o,l=n("2877"),u=Object(l["a"])(c,i,a,!1,null,null,null);t["a"]=u.exports},c3da:function(e,t,n){"use strict";n("fda2")},c3e5:function(e,t,n){"use strict";n("aea0")},c4dd:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"play-icon",attrs:{viewBox:"0 0 14 14",themeId:"play"}},[n("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5v0c0-3.59 2.91-6.5 6.5-6.5v0zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5v0c0-3.038-2.462-5.5-5.5-5.5v0z"}}),n("path",{attrs:{d:"M10.195 7.010l-5 3v-6l5 3z"}})])},a=[],r=n("be08"),s={name:"PlayIcon",components:{SVGIcon:r["a"]}},o=s,c=n("2877"),l=Object(c["a"])(o,i,a,!1,null,null,null);t["a"]=l.exports},c7ea:function(e,t,n){"use strict";var i=n("2f34");const a={link:"link",reference:"reference",text:"text"};var r,s,o={name:"DestinationDataProvider",mixins:[i["a"]],props:{destination:{type:Object,required:!0,default:()=>({})}},inject:{isTargetIDE:{default:()=>!1}},constants:{DestinationType:a},computed:{isExternal:({reference:e,destination:t})=>e.type===a.link||t.type===a.link,shouldAppendOpensInBrowser:({isExternal:e,isTargetIDE:t})=>e&&t,reference:({references:e,destination:t})=>e[t.identifier]||{},linkUrl:({destination:e,reference:t})=>({[a.link]:e.destination,[a.reference]:t.url,[a.text]:e.text}[e.type]),linkTitle:({reference:e,destination:t})=>({[a.link]:t.title,[a.reference]:t.overridingTitle||e.title,[a.text]:""}[t.type])},methods:{formatAriaLabel(e){return this.shouldAppendOpensInBrowser?e+" (opens in browser)":e}},render(){return this.$scopedSlots.default({url:this.linkUrl||"",title:this.linkTitle||"",formatAriaLabel:this.formatAriaLabel,isExternal:this.isExternal})}},c=o,l=n("2877"),u=Object(l["a"])(c,r,s,!1,null,null,null);t["a"]=u.exports},cb92:function(e,t,n){"use strict";n("598a")},cbcf:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("nav",{ref:"nav",staticClass:"nav",class:e.rootClasses,attrs:{role:"navigation"}},[n("div",{ref:"wrapper",staticClass:"nav__wrapper"},[n("div",{staticClass:"nav__background"}),e.hasOverlay?n("div",{staticClass:"nav-overlay",on:{click:e.closeNav}}):e._e(),n("div",{staticClass:"nav-content"},[e._t("pre-title",null,{className:"pre-title"},{closeNav:e.closeNav,inBreakpoint:e.inBreakpoint,currentBreakpoint:e.currentBreakpoint,isOpen:e.isOpen}),e.$slots.default?n("div",{staticClass:"nav-title"},[e._t("default")],2):e._e(),e._t("after-title"),n("div",{staticClass:"nav-menu"},[n("a",{ref:"axToggle",staticClass:"nav-ax-toggle",attrs:{href:"#",role:"button"},on:{click:function(t){return t.preventDefault(),e.toggleNav.apply(null,arguments)}}},[n("span",{staticClass:"visuallyhidden"},[e.isOpen?[e._v(" "+e._s(e.$t("documentation.nav.close-menu"))+" ")]:[e._v(" "+e._s(e.$t("documentation.nav.open-menu"))+" ")]],2)]),n("div",{ref:"tray",staticClass:"nav-menu-tray",on:{transitionend:function(t){return t.target!==t.currentTarget?null:e.onTransitionEnd.apply(null,arguments)},click:e.handleTrayClick}},[e._t("tray",(function(){return[n("NavMenuItems",[e._t("menu-items")],2)]}),{closeNav:e.closeNav})],2)]),n("div",{staticClass:"nav-actions"},[n("a",{ref:"toggle",staticClass:"nav-menucta",attrs:{href:"#",tabindex:"-1","aria-hidden":"true"},on:{click:function(t){return t.preventDefault(),e.toggleNav.apply(null,arguments)}}},[n("span",{staticClass:"nav-menucta-chevron"})])])],2),e._t("after-content")],2),n("BreakpointEmitter",{attrs:{scope:e.BreakpointScopes.nav},on:{change:e.onBreakpointChange}})],1)},a=[],r=n("72e7"),s=n("9b30"),o=n("a97e"),c=n("f2af"),l=n("942d"),u=n("63b8"),d=n("95da"),p=n("3908");const{noClose:h}=l["a"],{BreakpointName:m,BreakpointScopes:f}=o["a"].constants,g=8,b={isDark:"theme-dark",isOpen:"nav--is-open",inBreakpoint:"nav--in-breakpoint-range",isTransitioning:"nav--is-transitioning",isSticking:"nav--is-sticking",hasSolidBackground:"nav--solid-background",hasNoBorder:"nav--noborder",hasFullWidthBorder:"nav--fullwidth-border",isWideFormat:"nav--is-wide-format",noBackgroundTransition:"nav--no-bg-transition"};var v={name:"NavBase",components:{NavMenuItems:s["a"],BreakpointEmitter:o["a"]},constants:{NavStateClasses:b,NoBGTransitionFrames:g},props:{breakpoint:{type:String,default:m.small},hasOverlay:{type:Boolean,default:!0},hasSolidBackground:{type:Boolean,default:!1},hasNoBorder:{type:Boolean,default:!1},hasFullWidthBorder:{type:Boolean,default:!1},isDark:{type:Boolean,default:!1},isWideFormat:{type:Boolean,default:!1}},mixins:[r["a"]],data(){return{isOpen:!1,isTransitioning:!1,isSticking:!1,noBackgroundTransition:!0,currentBreakpoint:m.large}},computed:{BreakpointScopes:()=>f,inBreakpoint:({currentBreakpoint:e,breakpoint:t})=>!Object(u["d"])(e,t),rootClasses:({isOpen:e,inBreakpoint:t,isTransitioning:n,isSticking:i,hasSolidBackground:a,hasNoBorder:r,hasFullWidthBorder:s,isDark:o,isWideFormat:c,noBackgroundTransition:l})=>({[b.isDark]:o,[b.isOpen]:e,[b.inBreakpoint]:t,[b.isTransitioning]:n,[b.isSticking]:i,[b.hasSolidBackground]:a,[b.hasNoBorder]:r,[b.hasFullWidthBorder]:s,[b.isWideFormat]:c,[b.noBackgroundTransition]:l})},watch:{isOpen(e){this.$emit("change",e),e?this.onExpand():this.onClose()}},async mounted(){window.addEventListener("keydown",this.onEscape),window.addEventListener("popstate",this.closeNav),window.addEventListener("orientationchange",this.closeNav),document.addEventListener("click",this.handleClickOutside),this.handleFlashOnMount(),await this.$nextTick()},beforeDestroy(){window.removeEventListener("keydown",this.onEscape),window.removeEventListener("popstate",this.closeNav),window.removeEventListener("orientationchange",this.closeNav),document.removeEventListener("click",this.handleClickOutside),this.isOpen&&this.toggleScrollLock(!1)},methods:{getIntersectionTargets(){return[document.getElementById(l["e"])||this.$el]},toggleNav(){this.isOpen=!this.isOpen,this.isTransitioning=!0},closeNav(){const e=this.isOpen;return this.isOpen=!1,this.resolveOnceTransitionsEnd(e)},resolveOnceTransitionsEnd(e){return e&&this.inBreakpoint?(this.isTransitioning=!0,new Promise(e=>{const t=this.$watch("isTransitioning",()=>{e(),t()})})):Promise.resolve()},async onTransitionEnd({propertyName:e}){"max-height"===e&&(this.$emit("changed",this.isOpen),this.isTransitioning=!1,this.isOpen?(this.$emit("opened"),this.toggleScrollLock(!0)):this.$emit("closed"))},onBreakpointChange(e){this.currentBreakpoint=e,this.inBreakpoint||this.closeNav()},onIntersect({intersectionRatio:e}){window.scrollY<0||(this.isSticking=1!==e)},onEscape({key:e}){"Escape"===e&&this.isOpen&&(this.closeNav(),this.$refs.axToggle.focus())},handleTrayClick({target:e}){e.href&&!e.classList.contains(h)&&this.closeNav()},handleClickOutside({target:e}){this.$refs.nav.contains(e)||this.closeNav()},toggleScrollLock(e){e?c["b"].lockScroll(this.$refs.tray):c["b"].unlockScroll(this.$refs.tray)},onExpand(){this.$emit("open"),d["a"].hide(this.$refs.wrapper),document.activeElement===this.$refs.toggle&&document.activeElement.blur()},onClose(){this.$emit("close"),this.toggleScrollLock(!1),d["a"].show(this.$refs.wrapper)},async handleFlashOnMount(){await Object(p["b"])(g),this.noBackgroundTransition=!1}}},y=v,w=(n("1f39"),n("2877")),_=Object(w["a"])(y,i,a,!1,null,"5c0521d3",null);t["a"]=_.exports},d0da:function(e,t,n){"use strict";n("64b5")},e3ab:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("aside",{class:e.kind,attrs:{"aria-label":e.kind}},[n("p",{staticClass:"label"},[e._v(e._s(e.name||e.$t(e.label)))]),e._t("default")],2)},a=[];const r={deprecated:"deprecated",experiment:"experiment",important:"important",note:"note",tip:"tip",warning:"warning"};var s={name:"Aside",props:{kind:{type:String,required:!0,validator:e=>Object.prototype.hasOwnProperty.call(r,e)},name:{type:String,required:!1}},computed:{label:({kind:e})=>"aside-kind."+e}},o=s,c=(n("b8f2"),n("2877")),l=Object(c["a"])(o,i,a,!1,null,"3ccce809",null);t["a"]=l.exports},e529:function(e,t,n){},e6db:function(e,t,n){"use strict";n("47cc")},ec71:function(e,t,n){"use strict";n("a4f0")},ee9e:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"row",class:{"with-columns":e.columns},style:e.style},[e._t("default")],2)},a=[],r=n("63b8"),s={name:"Row",props:{columns:{type:Object,required:!1,validator:e=>Object.entries(e).every(([e,t])=>r["b"][e]&&"number"===typeof t)},gap:{type:Number,required:!1}},computed:{style:({columns:e={},gap:t})=>({"--col-count-large":e.large,"--col-count-medium":e.medium,"--col-count-small":e.small||1,"--col-gap":t&&t+"px"})}},o=s,c=(n("17a4"),n("2877")),l=Object(c["a"])(o,i,a,!1,null,"1bcb2d0f",null);t["a"]=l.exports},efc1:function(e,t,n){"use strict";n("3b75")},f030:function(e,t,n){},f12c:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"TopicTypeIcon",style:e.styles},[e.imageOverride?n("OverridableAsset",{staticClass:"icon-inline",attrs:{imageOverride:e.imageOverride,shouldCalculateOptimalWidth:e.shouldCalculateOptimalWidth}}):n(e.icon,e._b({tag:"component",staticClass:"icon-inline"},"component",e.iconProps,!1))],1)},a=[],r=n("a295"),s=n("3024"),o=n("a9f1"),c=n("8d2d"),l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{attrs:{viewBox:"0 0 14 14",height:"14",themeId:"topic-func"}},[n("path",{attrs:{d:"M13 1v12h-12v-12zM12.077 1.923h-10.154v10.154h10.154z"}}),n("path",{attrs:{d:"M5.191 9.529c0.044 0.002 0.089 0.004 0.133 0.004 0.108 0 0.196-0.025 0.262-0.074s0.122-0.113 0.166-0.188c0.044-0.077 0.078-0.159 0.103-0.247s0.049-0.173 0.074-0.251l0.598-2.186h-0.709l0.207-0.702h0.702l0.288-1.086c0.083-0.384 0.256-0.667 0.517-0.849s0.591-0.273 0.99-0.273c0.108 0 0.212 0.007 0.314 0.022s0.203 0.027 0.306 0.037l-0.207 0.761c-0.054-0.006-0.106-0.011-0.155-0.018s-0.102-0.011-0.155-0.011c-0.108 0-0.196 0.016-0.262 0.048s-0.122 0.075-0.166 0.129-0.080 0.115-0.107 0.185c-0.028 0.068-0.055 0.14-0.085 0.214l-0.222 0.842h0.768l-0.192 0.702h-0.783l-0.628 2.319c-0.059 0.222-0.129 0.419-0.21 0.594s-0.182 0.322-0.303 0.443-0.269 0.214-0.443 0.281-0.385 0.1-0.631 0.1c-0.084 0-0.168-0.004-0.251-0.011s-0.168-0.014-0.251-0.018l0.207-0.768c0.040 0 0.081 0.001 0.126 0.004z"}})])},u=[],d=n("be08"),p={name:"TopicFuncIcon",components:{SVGIcon:d["a"]}},h=p,m=n("2877"),f=Object(m["a"])(h,l,u,!1,null,null,null),g=f.exports,b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"collection-icon",attrs:{viewBox:"0 0 14 14",themeId:"collection"}},[n("path",{attrs:{d:"m1 1v12h12v-12zm11 11h-10v-10h10z"}}),n("path",{attrs:{d:"m3 4h8v1h-8zm0 2.5h8v1h-8zm0 2.5h8v1h-8z"}}),n("path",{attrs:{d:"m3 4h8v1h-8z"}}),n("path",{attrs:{d:"m3 6.5h8v1h-8z"}}),n("path",{attrs:{d:"m3 9h8v1h-8z"}})])},v=[],y={name:"CollectionIcon",components:{SVGIcon:d["a"]}},w=y,_=Object(m["a"])(w,b,v,!1,null,null,null),x=_.exports,k=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{attrs:{viewBox:"0 0 14 14",height:"14",themeId:"topic-func-op"}},[n("path",{attrs:{d:"M13 13h-12v-12h12zM1.923 12.077h10.154v-10.154h-10.154z"}}),n("path",{attrs:{d:"M5.098 4.968v-1.477h-0.738v1.477h-1.477v0.738h1.477v1.477h0.738v-1.477h1.477v-0.738z"}}),n("path",{attrs:{d:"M8.030 4.807l-2.031 5.538h0.831l2.031-5.538z"}}),n("path",{attrs:{d:"M8.894 8.805v0.923h2.215v-0.923z"}})])},C=[],S={name:"TopicFuncOpIcon",components:{SVGIcon:d["a"]}},E=S,O=Object(m["a"])(E,k,C,!1,null,null,null),I=O.exports,j=n("3b96"),T=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{attrs:{viewBox:"0 0 14 14",height:"14",themeId:"topic-subscript"}},[n("path",{attrs:{d:"M13 13h-12v-12h12zM1.923 12.077h10.154v-10.154h-10.154z"}}),n("path",{attrs:{d:"M4.133 3.633v6.738h1.938v-0.831h-0.923v-5.077h0.923v-0.831z"}}),n("path",{attrs:{d:"M9.856 10.371v-6.738h-1.938v0.831h0.923v5.077h-0.923v0.831z"}})])},A=[],L={name:"TopicSubscriptIcon",components:{SVGIcon:d["a"]}},B=L,$=Object(m["a"])(B,T,A,!1,null,null,null),N=$.exports,M=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"two-letter-icon",attrs:{width:"16px",height:"16px",viewBox:"0 0 16 16",themeId:"two-letter"}},[n("g",{attrs:{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[n("g",{attrs:{transform:"translate(1.000000, 1.000000)"}},[n("rect",{attrs:{stroke:"currentColor",x:"0.5",y:"0.5",width:"13",height:"13"}}),n("text",{attrs:{"font-size":"8","font-weight":"bold",fill:"currentColor"}},[n("tspan",{attrs:{x:"8.2",y:"11"}},[e._v(e._s(e.second))])]),n("text",{attrs:{"font-size":"11","font-weight":"bold",fill:"currentColor"}},[n("tspan",{attrs:{x:"1.7",y:"11"}},[e._v(e._s(e.first))])])])])])},P=[],R={name:"TwoLetterSymbolIcon",components:{SVGIcon:d["a"]},props:{first:{type:String,required:!0},second:{type:String,required:!0}}},V=R,D=Object(m["a"])(V,M,P,!1,null,null,null),G=D.exports,z=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"single-letter-icon",attrs:{width:"16px",height:"16px",viewBox:"0 0 16 16",themeId:"single-letter"}},[n("g",{attrs:{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[n("rect",{attrs:{stroke:"currentColor",x:"1",y:"1",width:"14",height:"14"}}),n("text",{attrs:{"font-size":"11","font-weight":"bold",fill:"currentColor",x:"49%",y:"12","text-anchor":"middle"}},[n("tspan",[e._v(e._s(e.symbol))])])])])},q=[],F={name:"SingleLetterSymbolIcon",components:{SVGIcon:d["a"]},props:{symbol:{type:String,required:!0}}},U=F,W=Object(m["a"])(U,z,q,!1,null,null,null),H=W.exports,K=n("31d4"),Z=n("2cae"),Y=n("fdd9");const X={[K["b"].article]:o["a"],[K["b"].associatedtype]:x,[K["b"].buildSetting]:x,[K["b"].class]:H,[K["b"].collection]:x,[K["b"].dictionarySymbol]:H,[K["b"].container]:x,[K["b"].enum]:H,[K["b"].extension]:G,[K["b"].func]:g,[K["b"].op]:I,[K["b"].httpRequest]:H,[K["b"].languageGroup]:x,[K["b"].learn]:r["a"],[K["b"].method]:H,[K["b"].macro]:H,[K["b"].module]:s["a"],[K["b"].overview]:r["a"],[K["b"].protocol]:G,[K["b"].property]:H,[K["b"].propertyListKey]:H,[K["b"].resources]:r["a"],[K["b"].sampleCode]:j["a"],[K["b"].struct]:H,[K["b"].subscript]:N,[K["b"].symbol]:x,[K["b"].tutorial]:c["a"],[K["b"].typealias]:H,[K["b"].union]:H,[K["b"].var]:H},J={[K["b"].class]:{symbol:"C"},[K["b"].dictionarySymbol]:{symbol:"O"},[K["b"].enum]:{symbol:"E"},[K["b"].extension]:{first:"E",second:"x"},[K["b"].httpRequest]:{symbol:"E"},[K["b"].method]:{symbol:"M"},[K["b"].macro]:{symbol:"#"},[K["b"].protocol]:{first:"P",second:"r"},[K["b"].property]:{symbol:"P"},[K["b"].propertyListKey]:{symbol:"K"},[K["b"].struct]:{symbol:"S"},[K["b"].typealias]:{symbol:"T"},[K["b"].union]:{symbol:"U"},[K["b"].var]:{symbol:"V"}};var Q={name:"TopicTypeIcon",components:{OverridableAsset:Y["a"],SVGIcon:d["a"],SingleLetterSymbolIcon:H},constants:{TopicTypeIcons:X,TopicTypeProps:J},props:{type:{type:String,required:!0},withColors:{type:Boolean,default:!1},imageOverride:{type:Object,default:null},shouldCalculateOptimalWidth:{type:Boolean,default:!0}},computed:{normalisedType:({type:e})=>K["a"][e]||e,icon:({normalisedType:e})=>X[e]||x,iconProps:({normalisedType:e})=>J[e]||{},color:({normalisedType:e})=>Z["b"][e],styles:({color:e,withColors:t})=>t&&e?{"--icon-color":`var(--color-type-icon-${e})`}:{}}},ee=Q,te=(n("9a61"),Object(m["a"])(ee,i,a,!1,null,"18b61706",null));t["a"]=te.exports},f2af:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));let i=!1,a=-1,r=0;const s="data-scroll-lock-disable",o=()=>window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1);function c(e){e.touches.length>1||e.preventDefault()}const l=e=>!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight;function u(){r=document.body.getBoundingClientRect().top,document.body.style.overflow="hidden scroll",document.body.style.top=r+"px",document.body.style.position="fixed",document.body.style.width="100%"}function d(e){e&&(e.ontouchstart=null,e.ontouchmove=null),document.removeEventListener("touchmove",c)}function p(e,t){const n=e.targetTouches[0].clientY-a,i=e.target.closest(`[${s}]`)||t;return 0===i.scrollTop&&n>0||l(i)&&n<0?c(e):(e.stopPropagation(),!0)}function h(e){document.addEventListener("touchmove",c,{passive:!1}),e&&(e.ontouchstart=e=>{1===e.targetTouches.length&&(a=e.targetTouches[0].clientY)},e.ontouchmove=t=>{1===t.targetTouches.length&&p(t,e)})}t["b"]={lockScroll(e){i||(o()?h(e):u(),i=!0)},unlockScroll(e){i&&(o()?d(e):(document.body.style.removeProperty("overflow"),document.body.style.removeProperty("top"),document.body.style.removeProperty("position"),document.body.style.removeProperty("width"),window.scrollTo(0,Math.abs(r))),i=!1)}}},fb8e:function(e,t,n){"use strict";n("6058")},fda2:function(e,t,n){},fdd9:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.shouldUseAsset?n("ImageAsset",e._b({},"ImageAsset",{variants:e.variants,loading:null,shouldCalculateOptimalWidth:e.shouldCalculateOptimalWidth,alt:e.alt},!1)):n("SVGIcon",{attrs:{"icon-url":e.iconUrl,themeId:e.themeId}})},a=[],r=n("8bd9"),s=n("be08"),o={name:"OverridableAsset",components:{SVGIcon:s["a"],ImageAsset:r["a"]},props:{imageOverride:{type:Object,default:null},shouldCalculateOptimalWidth:{type:Boolean,default:!0}},computed:{variants:({imageOverride:e})=>e?e.variants:[],alt:({imageOverride:e})=>e.alt,firstVariant:({variants:e})=>e[0],iconUrl:({firstVariant:e})=>e&&e.url,themeId:({firstVariant:e})=>e&&e.svgID,isSameOrigin:({iconUrl:e,sameOrigin:t})=>t(e),shouldUseAsset:({isSameOrigin:e,themeId:t})=>!e||!t},methods:{sameOrigin(e){if(!e)return!1;const t=new URL(e,window.location),n=new URL(window.location);return t.origin===n.origin}}},c=o,l=n("2877"),u=Object(l["a"])(c,i,a,!1,null,null,null);t["a"]=u.exports},fe08:function(e,t,n){"use strict";n("a7d8")},fe1c:function(e,t,n){"use strict";n("81c0")}}]); \ No newline at end of file diff --git a/js/highlight-js-bash.1b52852f.js b/js/highlight-js-bash.1b52852f.js new file mode 100644 index 0000000..6db1778 --- /dev/null +++ b/js/highlight-js-bash.1b52852f.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-bash"],{f0f8:function(e,s){function t(e){const s=e.regex,t={},n={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[t]}]};Object.assign(t,{className:"variable",variants:[{begin:s.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},n]});const a={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},i={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},c={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t,a]};a.contains.push(c);const o={className:"",begin:/\\"/},r={className:"string",begin:/'/,end:/'/},l={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,t]},p=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],d=e.SHEBANG({binary:`(${p.join("|")})`,relevance:10}),h={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=["if","then","else","elif","fi","for","while","in","do","done","case","esac","function"],u=["true","false"],b={match:/(\/[a-z._-]+)+/},g=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],f=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],w=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],k=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:m,literal:u,built_in:[...g,...f,"set","shopt",...w,...k]},contains:[d,e.SHEBANG(),h,l,e.HASH_COMMENT_MODE,i,b,c,o,r,t]}}e.exports=t}}]); \ No newline at end of file diff --git a/js/highlight-js-c.d1db3f17.js b/js/highlight-js-c.d1db3f17.js new file mode 100644 index 0000000..3bc41ac --- /dev/null +++ b/js/highlight-js-c.d1db3f17.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-c"],{"1fe5":function(e,n){function s(e){const n=e.regex,s=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),t="decltype\\(auto\\)",a="[a-zA-Z_]\\w*::",i="<[^<>]+>",r="("+t+"|"+n.optional(a)+"[a-zA-Z_]\\w*"+n.optional(i)+")",l={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},o="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+o+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},d={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},u={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},s,e.C_BLOCK_COMMENT_MODE]},g={className:"title",begin:n.optional(a)+e.IDENT_RE,relevance:0},p=n.optional(a)+e.IDENT_RE+"\\s*\\(",m=["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],_=["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],f={keyword:m,type:_,literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},b=[u,l,s,e.C_BLOCK_COMMENT_MODE,d,c],w={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:f,contains:b.concat([{begin:/\(/,end:/\)/,keywords:f,contains:b.concat(["self"]),relevance:0}]),relevance:0},h={begin:"("+r+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:f,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:t,keywords:f,relevance:0},{begin:p,returnBegin:!0,contains:[e.inherit(g,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,c,d,l,{begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,c,d,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,u]};return{name:"C",aliases:["h"],keywords:f,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:u,strings:c,keywords:f}}}e.exports=s}}]); \ No newline at end of file diff --git a/js/highlight-js-cpp.eaddddbe.js b/js/highlight-js-cpp.eaddddbe.js new file mode 100644 index 0000000..db9fd82 --- /dev/null +++ b/js/highlight-js-cpp.eaddddbe.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-cpp"],{"0209":function(e,t){function n(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",r="<[^<>]+>",s="(?!struct)("+a+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional(r)+")",c={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},o="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",l={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+o+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},d={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},u={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(l,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},p={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},_=t.optional(i)+e.IDENT_RE+"\\s*\\(",m=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],g=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],f=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],b=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],h=["NULL","false","nullopt","nullptr","true"],w=["_Pragma"],y={type:g,keyword:m,literal:h,built_in:w,_type_hints:f},v={className:"function.dispatch",relevance:0,keywords:{_hint:b},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},k=[v,u,c,n,e.C_BLOCK_COMMENT_MODE,d,l],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:y,contains:k.concat([{begin:/\(/,end:/\)/,keywords:y,contains:k.concat(["self"]),relevance:0}]),relevance:0},E={className:"function",begin:"("+s+"[\\*&\\s]+)+"+_,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:y,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:y,relevance:0},{begin:_,returnBegin:!0,contains:[p],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[l,d]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,l,d,c,{begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,l,d,c]}]},c,n,e.C_BLOCK_COMMENT_MODE,u]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:y,illegal:"",keywords:y,contains:["self",c]},{begin:e.IDENT_RE+"::",keywords:y},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}e.exports=n}}]); \ No newline at end of file diff --git a/js/highlight-js-css.75eab1fe.js b/js/highlight-js-css.75eab1fe.js new file mode 100644 index 0000000..3d507d0 --- /dev/null +++ b/js/highlight-js-css.75eab1fe.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-css"],{ee8c:function(e,t){const o=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),i=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],r=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],a=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],n=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],l=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-height","max-width","min-height","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function s(e){const t=e.regex,s=o(e),d={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},c="and or not only",g=/@-?\w[\w]*(-\w+)*/,m="[a-zA-Z-][a-zA-Z0-9_-]*",p=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[s.BLOCK_COMMENT,d,s.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+m,relevance:0},s.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+a.join("|")+")"},{begin:":(:)?("+n.join("|")+")"}]},s.CSS_VARIABLE,{className:"attribute",begin:"\\b("+l.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[s.BLOCK_COMMENT,s.HEXCOLOR,s.IMPORTANT,s.CSS_NUMBER_MODE,...p,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},s.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:g},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:c,attribute:r.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...p,s.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+i.join("|")+")\\b"}]}}e.exports=s}}]); \ No newline at end of file diff --git a/js/highlight-js-custom-markdown.7cffc4b3.js b/js/highlight-js-custom-markdown.7cffc4b3.js new file mode 100644 index 0000000..5271416 --- /dev/null +++ b/js/highlight-js-custom-markdown.7cffc4b3.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-custom-markdown","highlight-js-markdown"],{"04b0":function(n,e){function a(n){const e=n.regex,a={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},i={begin:"^[-\\*]{3,}",end:"$"},s={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},t={className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},c={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},d=/[A-Za-z][A-Za-z0-9+.-]*/,l={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:e.concat(/\[.+?\]\(/,d,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},g={className:"strong",contains:[],variants:[{begin:/_{2}/,end:/_{2}/},{begin:/\*{2}/,end:/\*{2}/}]},o={className:"emphasis",contains:[],variants:[{begin:/\*(?!\*)/,end:/\*/},{begin:/_(?!_)/,end:/_/,relevance:0}]};g.contains.push(o),o.contains.push(g);let r=[a,l];g.contains=g.contains.concat(r),o.contains=o.contains.concat(r),r=r.concat(g,o);const b={className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:r},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:r}]}]},u={className:"quote",begin:"^>\\s+",contains:r,end:"$"};return{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[b,a,t,g,o,u,s,i,l,c]}}n.exports=a},"84cb":function(n,e,a){"use strict";a.r(e);var i=a("04b0"),s=a.n(i);const t={begin:"",returnBegin:!0,contains:[{className:"link",begin:"doc:",end:">",excludeEnd:!0}]},c={className:"link",begin:/`{2}(?!`)/,end:/`{2}(?!`)/,excludeBegin:!0,excludeEnd:!0},d={begin:"^>\\s+[Note:|Tip:|Important:|Experiment:|Warning:]",end:"$",returnBegin:!0,contains:[{className:"quote",begin:"^>",end:"\\s+"},{className:"type",begin:"Note|Tip|Important|Experiment|Warning",end:":"},{className:"quote",begin:".*",end:"$",endsParent:!0}]},l={begin:"@",end:"[{\\)\\s]",returnBegin:!0,contains:[{className:"title",begin:"@",end:"[\\s+(]",excludeEnd:!0},{begin:":",end:"[,\\)\n\t]",excludeBegin:!0,keywords:{literal:"true false null undefined"},contains:[{className:"number",begin:"\\b([\\d_]+(\\.[\\deE_]+)?|0x[a-fA-F0-9_]+(\\.[a-fA-F0-9p_]+)?|0b[01_]+|0o[0-7_]+)\\b",endsWithParent:!0,excludeEnd:!0},{className:"string",variants:[{begin:/"""/,end:/"""/},{begin:/"/,end:/"/}],endsParent:!0},{className:"link",begin:"http|https",endsWithParent:!0,excludeEnd:!0}]}]};e["default"]=function(n){const e=s()(n),a=e.contains.find(({className:n})=>"code"===n);a.variants=a.variants.filter(({begin:n})=>!n.includes("( {4}|\\t)"));const i=[...e.contains.filter(({className:n})=>"code"!==n),a];return{...e,contains:[c,t,d,l,...i]}}}}]); \ No newline at end of file diff --git a/js/highlight-js-custom-swift.5cda5c20.js b/js/highlight-js-custom-swift.5cda5c20.js new file mode 100644 index 0000000..d19f988 --- /dev/null +++ b/js/highlight-js-custom-swift.5cda5c20.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-custom-swift","highlight-js-swift"],{"2a39":function(e,n){function t(e){return e?"string"===typeof e?e:e.source:null}function a(e){return i("(?=",e,")")}function i(...e){const n=e.map(e=>t(e)).join("");return n}function s(e){const n=e[e.length-1];return"object"===typeof n&&n.constructor===Object?(e.splice(e.length-1,1),n):{}}function c(...e){const n=s(e),a="("+(n.capture?"":"?:")+e.map(e=>t(e)).join("|")+")";return a}const u=e=>i(/\b/,e,/\w$/.test(e)?/\b/:/\B/),o=["Protocol","Type"].map(u),r=["init","self"].map(u),l=["Any","Self"],m=["actor","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],d=["false","nil","true"],p=["assignment","associativity","higherThan","left","lowerThan","none","right"],F=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],b=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],f=c(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),h=c(f,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),w=i(f,h,"*"),y=c(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),g=c(y,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),E=i(y,g,"*"),v=i(/[A-Z]/,g,"*"),A=["autoclosure",i(/convention\(/,c("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",i(/objc\(/,E,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],N=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function k(e){const n={match:/\s+/,relevance:0},t=e.COMMENT("/\\*","\\*/",{contains:["self"]}),s=[e.C_LINE_COMMENT_MODE,t],f={match:[/\./,c(...o,...r)],className:{2:"keyword"}},y={match:i(/\./,c(...m)),relevance:0},k=m.filter(e=>"string"===typeof e).concat(["_|0"]),C=m.filter(e=>"string"!==typeof e).concat(l).map(u),D={variants:[{className:"keyword",match:c(...C,...r)}]},B={$pattern:c(/\b\w+/,/#\w+/),keyword:k.concat(F),literal:d},_=[f,y,D],S={match:i(/\./,c(...b)),relevance:0},x={className:"built_in",match:i(/\b/,c(...b),/(?=\()/)},M=[S,x],I={match:/->/,relevance:0},$={className:"operator",relevance:0,variants:[{match:w},{match:`\\.(\\.|${h})+`}]},O=[I,$],L="([0-9]_*)+",T="([0-9a-fA-F]_*)+",j={className:"number",relevance:0,variants:[{match:`\\b(${L})(\\.(${L}))?([eE][+-]?(${L}))?\\b`},{match:`\\b0x(${T})(\\.(${T}))?([pP][+-]?(${L}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},K=(e="")=>({className:"subst",variants:[{match:i(/\\/,e,/[0\\tnr"']/)},{match:i(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),P=(e="")=>({className:"subst",match:i(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),z=(e="")=>({className:"subst",label:"interpol",begin:i(/\\/,e,/\(/),end:/\)/}),q=(e="")=>({begin:i(e,/"""/),end:i(/"""/,e),contains:[K(e),P(e),z(e)]}),U=(e="")=>({begin:i(e,/"/),end:i(/"/,e),contains:[K(e),z(e)]}),Z={className:"string",variants:[q(),q("#"),q("##"),q("###"),U(),U("#"),U("##"),U("###")]},V={match:i(/`/,E,/`/)},W={className:"variable",match:/\$\d+/},G={className:"variable",match:`\\$${g}+`},J=[V,W,G],R={match:/(@|#)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:N,contains:[...O,j,Z]}]}},X={className:"keyword",match:i(/@/,c(...A))},H={className:"meta",match:i(/@/,E)},Q=[R,X,H],Y={match:a(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:i(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,g,"+")},{className:"type",match:v,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:i(/\s+&\s+/,a(v)),relevance:0}]},ee={begin://,keywords:B,contains:[...s,..._,...Q,I,Y]};Y.contains.push(ee);const ne={match:i(E,/\s*:/),keywords:"_|0",relevance:0},te={begin:/\(/,end:/\)/,relevance:0,keywords:B,contains:["self",ne,...s,..._,...M,...O,j,Z,...J,...Q,Y]},ae={begin://,contains:[...s,Y]},ie={begin:c(a(i(E,/\s*:/)),a(i(E,/\s+/,E,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:E}]},se={begin:/\(/,end:/\)/,keywords:B,contains:[ie,...s,..._,...O,j,Z,...Q,Y,te],endsParent:!0,illegal:/["']/},ce={match:[/func/,/\s+/,c(V.match,E,w)],className:{1:"keyword",3:"title.function"},contains:[ae,se,n],illegal:[/\[/,/%/]},ue={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[ae,se,n],illegal:/\[|%/},oe={match:[/operator/,/\s+/,w],className:{1:"keyword",3:"title"}},re={begin:[/precedencegroup/,/\s+/,v],className:{1:"keyword",3:"title"},contains:[Y],keywords:[...p,...d],end:/}/};for(const a of Z.variants){const e=a.contains.find(e=>"interpol"===e.label);e.keywords=B;const n=[..._,...M,...O,j,Z,...J];e.contains=[...n,{begin:/\(/,end:/\)/,contains:["self",...n]}]}return{name:"Swift",keywords:B,contains:[...s,ce,ue,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:B,contains:[e.inherit(e.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),..._]},oe,re,{beginKeywords:"import",end:/$/,contains:[...s],relevance:0},..._,...M,...O,j,Z,...J,...Q,Y,te]}}e.exports=k},"81c8":function(e,n,t){"use strict";t.r(n);var a=t("2a39"),i=t.n(a);n["default"]=function(e){const n=i()(e);n.keywords.keyword=[...n.keywords.keyword,"distributed"];const t=({beginKeywords:e=""})=>e.split(" ").includes("class"),a=n.contains.findIndex(t);if(a>=0){const{beginKeywords:e,...t}=n.contains[a];n.contains[a]={...t,begin:/\b(struct|protocol|extension|enum|actor|class\b(?!.*\bfunc))\b/}}return n}}}]); \ No newline at end of file diff --git a/js/highlight-js-diff.62d66733.js b/js/highlight-js-diff.62d66733.js new file mode 100644 index 0000000..64337fa --- /dev/null +++ b/js/highlight-js-diff.62d66733.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-diff"],{"48b8":function(e,n){function a(e){const n=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:n.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:n.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}e.exports=a}}]); \ No newline at end of file diff --git a/js/highlight-js-http.163e45b6.js b/js/highlight-js-http.163e45b6.js new file mode 100644 index 0000000..14f39a9 --- /dev/null +++ b/js/highlight-js-http.163e45b6.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-http"],{c01d:function(e,n){function a(e){const n=e.regex,a="HTTP/(2|1\\.[01])",s=/[A-Za-z][A-Za-z0-9-]*/,t={className:"attribute",begin:n.concat("^",s,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},i=[t,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+a+" \\d{3})",end:/$/,contains:[{className:"meta",begin:a},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:i}},{begin:"(?=^[A-Z]+ (.*?) "+a+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:a},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:i}},e.inherit(t,{relevance:0})]}}e.exports=a}}]); \ No newline at end of file diff --git a/js/highlight-js-java.8326d9d8.js b/js/highlight-js-java.8326d9d8.js new file mode 100644 index 0000000..f11ca2a --- /dev/null +++ b/js/highlight-js-java.8326d9d8.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-java"],{"332f":function(e,a){var n="[0-9](_*[0-9])*",s=`\\.(${n})`,i="[0-9a-fA-F](_*[0-9a-fA-F])*",t={className:"number",variants:[{begin:`(\\b(${n})((${s})|\\.)?|(${s}))[eE][+-]?(${n})[fFdD]?\\b`},{begin:`\\b(${n})((${s})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${s})[fFdD]?\\b`},{begin:`\\b(${n})[fFdD]\\b`},{begin:`\\b0[xX]((${i})\\.?|(${i})?\\.(${i}))[pP][+-]?(${n})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${i})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function r(e,a,n){return-1===n?"":e.replace(a,s=>r(e,a,n-1))}function c(e){e.regex;const a="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",n=a+r("(?:<"+a+"~~~(?:\\s*,\\s*"+a+"~~~)*>)?",/~~~/g,2),s=["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do"],i=["super","this"],c=["false","true","null"],l=["char","boolean","long","float","int","byte","short","double"],o={keyword:s,literal:c,type:l,built_in:i},b={className:"meta",begin:"@"+a,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},_={className:"params",begin:/\(/,end:/\)/,keywords:o,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:o,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,a],className:{1:"keyword",3:"title.class"}},{begin:[a,/\s+/,a,/\s+/,/=/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,a],className:{1:"keyword",3:"title.class"},contains:[_,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+n+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:o,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:o,relevance:0,contains:[b,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,t,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},t,b]}}e.exports=c}}]); \ No newline at end of file diff --git a/js/highlight-js-javascript.acb8a8eb.js b/js/highlight-js-javascript.acb8a8eb.js new file mode 100644 index 0000000..ac843fc --- /dev/null +++ b/js/highlight-js-javascript.acb8a8eb.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-javascript"],{"4dd1":function(e,n){const a="[A-Za-z$_][0-9A-Za-z$_]*",t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],s=["true","false","null","undefined","NaN","Infinity"],c=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],r=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],o=["arguments","this","super","console","window","document","localStorage","module","global"],l=[].concat(i,c,r);function b(e){const n=e.regex,b=(e,{after:n})=>{const a="",end:""},u=/<[A-Za-z0-9\\._:-]+\s*\/>/,m={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,n)=>{const a=e[0].length+e.index,t=e.input[a];if("<"===t||","===t)return void n.ignoreMatch();let s;">"===t&&(b(e,{after:a})||n.ignoreMatch());const c=e.input.substr(a);(s=c.match(/^\s+extends\s+/))&&0===s.index&&n.ignoreMatch()}},E={$pattern:a,keyword:t,literal:s,built_in:l,"variable.language":o},A="[0-9](_?[0-9])*",y=`\\.(${A})`,N="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",f={className:"number",variants:[{begin:`(\\b(${N})((${y})|\\.)?|(${y}))[eE][+-]?(${A})\\b`},{begin:`\\b(${N})\\b((${y})\\b|\\.)?|(${y})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},h={className:"subst",begin:"\\$\\{",end:"\\}",keywords:E,contains:[]},_={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,h],subLanguage:"xml"}},p={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,h],subLanguage:"css"}},v={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,h]},w=e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:d+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),S={className:"comment",variants:[w,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},R=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,_,p,v,f];h.contains=R.concat({begin:/\{/,end:/\}/,keywords:E,contains:["self"].concat(R)});const k=[].concat(S,h.contains),O=k.concat([{begin:/\(/,end:/\)/,keywords:E,contains:["self"].concat(k)}]),I={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:E,contains:O},x={variants:[{match:[/class/,/\s+/,d,/\s+/,/extends/,/\s+/,n.concat(d,"(",n.concat(/\./,d),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,d],scope:{1:"keyword",3:"title.class"}}]},T={relevance:0,match:n.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]+|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+/),className:"title.class",keywords:{_:[...c,...r]}},C={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},M={variants:[{match:[/function/,/\s+/,d,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[I],illegal:/%/},B={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function $(e){return n.concat("(?!",e.join("|"),")")}const D={match:n.concat(/\b/,$([...i,"super"]),d,n.lookahead(/\(/)),className:"title.function",relevance:0},U={begin:n.concat(/\./,n.lookahead(n.concat(d,/(?![0-9A-Za-z$_(])/))),end:d,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Z={match:[/get|set/,/\s+/,d,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},I]},z="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",F={match:[/const|var|let/,/\s+/,d,/\s*/,/=\s*/,n.lookahead(z)],className:{1:"keyword",3:"title.function"},contains:[I]};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:E,exports:{PARAMS_CONTAINS:O,CLASS_REFERENCE:T},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),C,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,_,p,v,S,f,T,{className:"attr",begin:d+n.lookahead(":"),relevance:0},F,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[S,e.REGEXP_MODE,{className:"function",begin:z,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:E,contains:O}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:g.begin,end:g.end},{match:u},{begin:m.begin,"on:begin":m.isTrulyOpeningTag,end:m.end}],subLanguage:"xml",contains:[{begin:m.begin,end:m.end,skip:!0,contains:["self"]}]}]},M,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[I,e.inherit(e.TITLE_MODE,{begin:d,className:"title.function"})]},{match:/\.\.\./,relevance:0},U,{match:"\\$"+d,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[I]},D,B,x,Z,{match:/\$[(.]/}]}}e.exports=b}}]); \ No newline at end of file diff --git a/js/highlight-js-json.471128d2.js b/js/highlight-js-json.471128d2.js new file mode 100644 index 0000000..c87d3c3 --- /dev/null +++ b/js/highlight-js-json.471128d2.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-json"],{"5ad2":function(n,e){function a(n){const e={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},a={match:/[{}[\],:]/,className:"punctuation",relevance:0},s={beginKeywords:["true","false","null"].join(" ")};return{name:"JSON",contains:[e,a,n.QUOTE_STRING_MODE,s,n.C_NUMBER_MODE,n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}n.exports=a}}]); \ No newline at end of file diff --git a/js/highlight-js-llvm.6100b125.js b/js/highlight-js-llvm.6100b125.js new file mode 100644 index 0000000..0beb806 --- /dev/null +++ b/js/highlight-js-llvm.6100b125.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-llvm"],{"7c30":function(e,n){function a(e){const n=e.regex,a=/([-a-zA-Z$._][\w$.-]*)/,t={className:"type",begin:/\bi\d+(?=\s|\b)/},i={className:"operator",relevance:0,begin:/=/},c={className:"punctuation",relevance:0,begin:/,/},l={className:"number",variants:[{begin:/0[xX][a-fA-F0-9]+/},{begin:/-?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},r={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},s={className:"variable",variants:[{begin:n.concat(/%/,a)},{begin:/%\d+/},{begin:/#\d+/}]},o={className:"title",variants:[{begin:n.concat(/@/,a)},{begin:/@\d+/},{begin:n.concat(/!/,a)},{begin:n.concat(/!\d+/,a)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[t,e.COMMENT(/;\s*$/,null,{relevance:0}),e.COMMENT(/;/,/$/),e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:/"/,end:/[^\\]"/}]},o,c,i,s,r,l]}}e.exports=a}}]); \ No newline at end of file diff --git a/js/highlight-js-markdown.90077643.js b/js/highlight-js-markdown.90077643.js new file mode 100644 index 0000000..dc8d097 --- /dev/null +++ b/js/highlight-js-markdown.90077643.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-markdown"],{"04b0":function(n,e){function a(n){const e=n.regex,a={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},i={begin:"^[-\\*]{3,}",end:"$"},s={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},c={className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},t={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},g=/[A-Za-z][A-Za-z0-9+.-]*/,d={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:e.concat(/\[.+?\]\(/,g,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},l={className:"strong",contains:[],variants:[{begin:/_{2}/,end:/_{2}/},{begin:/\*{2}/,end:/\*{2}/}]},o={className:"emphasis",contains:[],variants:[{begin:/\*(?!\*)/,end:/\*/},{begin:/_(?!_)/,end:/_/,relevance:0}]};l.contains.push(o),o.contains.push(l);let b=[a,d];l.contains=l.contains.concat(b),o.contains=o.contains.concat(b),b=b.concat(l,o);const r={className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:b},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:b}]}]},m={className:"quote",begin:"^>\\s+",contains:b,end:"$"};return{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[r,a,c,l,o,m,s,i,d,t]}}n.exports=a}}]); \ No newline at end of file diff --git a/js/highlight-js-objectivec.bcdf5156.js b/js/highlight-js-objectivec.bcdf5156.js new file mode 100644 index 0000000..2456ffc --- /dev/null +++ b/js/highlight-js-objectivec.bcdf5156.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-objectivec"],{"9bf2":function(e,n){function _(e){const n={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},_=/[a-zA-Z@][a-zA-Z0-9_]*/,i=["int","float","while","char","export","sizeof","typedef","const","struct","for","union","unsigned","long","volatile","static","bool","mutable","if","do","return","goto","void","enum","else","break","extern","asm","case","short","default","double","register","explicit","signed","typename","this","switch","continue","wchar_t","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","super","unichar","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],t=["false","true","FALSE","TRUE","nil","YES","NO","NULL"],a=["BOOL","dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],o={$pattern:_,keyword:i,literal:t,built_in:a},s={$pattern:_,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:o,illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+s.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:s,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}e.exports=_}}]); \ No newline at end of file diff --git a/js/highlight-js-perl.757d7b6f.js b/js/highlight-js-perl.757d7b6f.js new file mode 100644 index 0000000..a4c74d1 --- /dev/null +++ b/js/highlight-js-perl.757d7b6f.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-perl"],{"6a51":function(e,n){function t(e){const n=e.regex,t=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],s=/[dualxmsipngr]{0,12}/,r={$pattern:/[\w.]+/,keyword:t.join(" ")},i={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:r},a={begin:/->\{/,end:/\}/},o={variants:[{begin:/\$\d/},{begin:n.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},c=[e.BACKSLASH_ESCAPE,i,o],g=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],l=(e,t,r="\\1")=>{const i="\\1"===r?r:n.concat(r,t);return n.concat(n.concat("(?:",e,")"),t,/(?:\\.|[^\\\/])*?/,i,/(?:\\.|[^\\\/])*?/,r,s)},d=(e,t,r)=>n.concat(n.concat("(?:",e,")"),t,/(?:\\.|[^\\\/])*?/,r,s),p=[o,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:c,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:l("s|tr|y",n.either(...g,{capture:!0}))},{begin:l("s|tr|y","\\(","\\)")},{begin:l("s|tr|y","\\[","\\]")},{begin:l("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:d("(?:m|qr)?",/\//,/\//)},{begin:d("m|qr",n.either(...g,{capture:!0}),/\1/)},{begin:d("m|qr",/\(/,/\)/)},{begin:d("m|qr",/\[/,/\]/)},{begin:d("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return i.contains=p,a.contains=p,{name:"Perl",aliases:["pl","pm"],keywords:r,contains:p}}e.exports=t}}]); \ No newline at end of file diff --git a/js/highlight-js-php.cc8d6c27.js b/js/highlight-js-php.cc8d6c27.js new file mode 100644 index 0000000..3d12a9c --- /dev/null +++ b/js/highlight-js-php.cc8d6c27.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-php"],{2907:function(e,r){function t(e){const r={className:"variable",begin:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*(?![A-Za-z0-9])(?![$])"},t={className:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?[=]?/},{begin:/\?>/}]},a={className:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},n=e.inherit(e.APOS_STRING_MODE,{illegal:null}),i=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(a)}),o=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*(\w+)\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(a)}),l={className:"string",contains:[e.BACKSLASH_ESCAPE,t],variants:[e.inherit(n,{begin:"b'",end:"'"}),e.inherit(i,{begin:'b"',end:'"'}),i,n,o]},c={className:"number",variants:[{begin:"\\b0b[01]+(?:_[01]+)*\\b"},{begin:"\\b0o[0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0x[\\da-f]+(?:_[\\da-f]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:e[+-]?\\d+)?"}],relevance:0},s={keyword:"__CLASS__ __DIR__ __FILE__ __FUNCTION__ __LINE__ __METHOD__ __NAMESPACE__ __TRAIT__ die echo exit include include_once print require require_once array abstract and as binary bool boolean break callable case catch class clone const continue declare default do double else elseif empty enddeclare endfor endforeach endif endswitch endwhile enum eval extends final finally float for foreach from global goto if implements instanceof insteadof int integer interface isset iterable list match|0 mixed new object or private protected public real return string switch throw trait try unset use var void while xor yield",literal:"false null true",built_in:"Error|0 AppendIterator ArgumentCountError ArithmeticError ArrayIterator ArrayObject AssertionError BadFunctionCallException BadMethodCallException CachingIterator CallbackFilterIterator CompileError Countable DirectoryIterator DivisionByZeroError DomainException EmptyIterator ErrorException Exception FilesystemIterator FilterIterator GlobIterator InfiniteIterator InvalidArgumentException IteratorIterator LengthException LimitIterator LogicException MultipleIterator NoRewindIterator OutOfBoundsException OutOfRangeException OuterIterator OverflowException ParentIterator ParseError RangeException RecursiveArrayIterator RecursiveCachingIterator RecursiveCallbackFilterIterator RecursiveDirectoryIterator RecursiveFilterIterator RecursiveIterator RecursiveIteratorIterator RecursiveRegexIterator RecursiveTreeIterator RegexIterator RuntimeException SeekableIterator SplDoublyLinkedList SplFileInfo SplFileObject SplFixedArray SplHeap SplMaxHeap SplMinHeap SplObjectStorage SplObserver SplObserver SplPriorityQueue SplQueue SplStack SplSubject SplSubject SplTempFileObject TypeError UnderflowException UnexpectedValueException UnhandledMatchError ArrayAccess Closure Generator Iterator IteratorAggregate Serializable Stringable Throwable Traversable WeakReference WeakMap Directory __PHP_Incomplete_Class parent php_user_filter self static stdClass"};return{case_insensitive:!0,keywords:s,contains:[e.HASH_COMMENT_MODE,e.COMMENT("//","$",{contains:[t]}),e.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler"}),t,{className:"keyword",begin:/\$this\b/},r,{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{className:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:s,contains:["self",r,e.C_BLOCK_COMMENT_MODE,l,c]}]},{className:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",relevance:0,end:";",contains:[e.UNDERSCORE_TITLE_MODE]},l,c]}}e.exports=t}}]); \ No newline at end of file diff --git a/js/highlight-js-python.c214ed92.js b/js/highlight-js-python.c214ed92.js new file mode 100644 index 0000000..c8d2ed8 --- /dev/null +++ b/js/highlight-js-python.c214ed92.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-python"],{9510:function(e,n){function a(e){const n=e.regex,a=/[\p{XID_Start}_]\p{XID_Continue}*/u,i=["and","as","assert","async","await","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],s=["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],t=["__debug__","Ellipsis","False","None","NotImplemented","True"],r=["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"],l={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:i,built_in:s,literal:t,type:r},o={className:"meta",begin:/^(>>>|\.\.\.) /},b={className:"subst",begin:/\{/,end:/\}/,keywords:l,illegal:/#/},c={begin:/\{\{/,relevance:0},d={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,o],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,o],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,o,c,b]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,o,c,b]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,c,b]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,c,b]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},p="[0-9](_?[0-9])*",g=`(\\b(${p}))?\\.(${p})|\\b(${p})\\.`,m={className:"number",relevance:0,variants:[{begin:`(\\b(${p})|(${g}))[eE][+-]?(${p})[jJ]?\\b`},{begin:`(${g})[jJ]?`},{begin:"\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?\\b"},{begin:"\\b0[bB](_?[01])+[lL]?\\b"},{begin:"\\b0[oO](_?[0-7])+[lL]?\\b"},{begin:"\\b0[xX](_?[0-9a-fA-F])+[lL]?\\b"},{begin:`\\b(${p})[jJ]\\b`}]},_={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:l,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},u={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:["self",o,m,d,e.HASH_COMMENT_MODE]}]};return b.contains=[d,m,o],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:l,illegal:/(<\/|->|\?)|=>/,contains:[o,m,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},d,_,e.HASH_COMMENT_MODE,{match:[/def/,/\s+/,a],scope:{1:"keyword",3:"title.function"},contains:[u]},{variants:[{match:[/class/,/\s+/,a,/\s*/,/\(\s*/,a,/\s*\)/]},{match:[/class/,/\s+/,a]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[m,u,d]}]}}e.exports=a}}]); \ No newline at end of file diff --git a/js/highlight-js-ruby.f889d392.js b/js/highlight-js-ruby.f889d392.js new file mode 100644 index 0000000..a8355da --- /dev/null +++ b/js/highlight-js-ruby.f889d392.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-ruby"],{"82cb":function(e,n){function a(e){const n=e.regex,a="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",i={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor __FILE__",built_in:"proc lambda",literal:"true false nil"},s={className:"doctag",begin:"@[A-Za-z]+"},b={begin:"#<",end:">"},c=[e.COMMENT("#","$",{contains:[s]}),e.COMMENT("^=begin","^=end",{contains:[s],relevance:10}),e.COMMENT("^__END__","\\n$")],r={className:"subst",begin:/#\{/,end:/\}/,keywords:i},d={className:"string",contains:[e.BACKSLASH_ESCAPE,r],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:n.concat(/<<[-~]?'?/,n.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,r]})]}]},t="[1-9](_?[0-9])*|0",o="[0-9](_?[0-9])*",g={className:"number",relevance:0,variants:[{begin:`\\b(${t})(\\.(${o}))?([eE][+-]?(${o})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},l={className:"params",begin:"\\(",end:"\\)",endsParent:!0,keywords:i},_=[d,{className:"class",beginKeywords:"class module",end:"$|;",illegal:/=/,contains:[e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|!)?"}),{begin:"<\\s*",contains:[{begin:"("+e.IDENT_RE+"::)?"+e.IDENT_RE,relevance:0}]}].concat(c)},{className:"function",begin:n.concat(/def\s+/,n.lookahead(a+"\\s*(\\(|;|$)")),relevance:0,keywords:"def",end:"$|;",contains:[e.inherit(e.TITLE_MODE,{begin:a}),l].concat(c)},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[d,{begin:a}],relevance:0},g,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,relevance:0,keywords:i},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,r],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(b,c),relevance:0}].concat(b,c);r.contains=_,l.contains=_;const w="[>?]>",E="[\\w#]+\\(\\w+\\):\\d+:\\d+>",u="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",N=[{begin:/^\s*=>/,starts:{end:"$",contains:_}},{className:"meta",begin:"^("+w+"|"+E+"|"+u+")(?=[ ])",starts:{end:"$",contains:_}}];return c.unshift(b),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:i,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(N).concat(c).concat(_)}}e.exports=a}}]); \ No newline at end of file diff --git a/js/highlight-js-scss.62ee18da.js b/js/highlight-js-scss.62ee18da.js new file mode 100644 index 0000000..8f46244 --- /dev/null +++ b/js/highlight-js-scss.62ee18da.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-scss"],{6113:function(e,t){const i=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),o=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],r=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],a=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],n=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],l=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-height","max-width","min-height","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function s(e){const t=i(e),s=n,d=a,c="@[a-z-]+",p="and or not only",g="[a-zA-Z-][a-zA-Z0-9_-]*",m={className:"variable",begin:"(\\$"+g+")\\b"};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+o.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+d.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+s.join("|")+")"},m,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+l.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,contains:[t.BLOCK_COMMENT,m,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT]},{begin:"@(page|font-face)",keywords:{$pattern:c,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:p,attribute:r.join(" ")},contains:[{begin:c,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},m,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}}e.exports=s}}]); \ No newline at end of file diff --git a/js/highlight-js-shell.dd7f411f.js b/js/highlight-js-shell.dd7f411f.js new file mode 100644 index 0000000..999f452 --- /dev/null +++ b/js/highlight-js-shell.dd7f411f.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-shell"],{b65b:function(s,n){function e(s){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}s.exports=e}}]); \ No newline at end of file diff --git a/js/highlight-js-swift.84f3e88c.js b/js/highlight-js-swift.84f3e88c.js new file mode 100644 index 0000000..89d1daf --- /dev/null +++ b/js/highlight-js-swift.84f3e88c.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-swift"],{"2a39":function(e,n){function a(e){return e?"string"===typeof e?e:e.source:null}function t(e){return i("(?=",e,")")}function i(...e){const n=e.map(e=>a(e)).join("");return n}function s(e){const n=e[e.length-1];return"object"===typeof n&&n.constructor===Object?(e.splice(e.length-1,1),n):{}}function u(...e){const n=s(e),t="("+(n.capture?"":"?:")+e.map(e=>a(e)).join("|")+")";return t}const c=e=>i(/\b/,e,/\w$/.test(e)?/\b/:/\B/),o=["Protocol","Type"].map(c),r=["init","self"].map(c),l=["Any","Self"],m=["actor","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],p=["false","nil","true"],d=["assignment","associativity","higherThan","left","lowerThan","none","right"],F=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],b=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],h=u(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),f=u(h,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),w=i(h,f,"*"),y=u(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),g=u(y,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),E=i(y,g,"*"),v=i(/[A-Z]/,g,"*"),A=["autoclosure",i(/convention\(/,u("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",i(/objc\(/,E,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],N=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function C(e){const n={match:/\s+/,relevance:0},a=e.COMMENT("/\\*","\\*/",{contains:["self"]}),s=[e.C_LINE_COMMENT_MODE,a],h={match:[/\./,u(...o,...r)],className:{2:"keyword"}},y={match:i(/\./,u(...m)),relevance:0},C=m.filter(e=>"string"===typeof e).concat(["_|0"]),k=m.filter(e=>"string"!==typeof e).concat(l).map(c),D={variants:[{className:"keyword",match:u(...k,...r)}]},B={$pattern:u(/\b\w+/,/#\w+/),keyword:C.concat(F),literal:p},_=[h,y,D],S={match:i(/\./,u(...b)),relevance:0},M={className:"built_in",match:i(/\b/,u(...b),/(?=\()/)},x=[S,M],$={match:/->/,relevance:0},I={className:"operator",relevance:0,variants:[{match:w},{match:`\\.(\\.|${f})+`}]},O=[$,I],L="([0-9]_*)+",T="([0-9a-fA-F]_*)+",j={className:"number",relevance:0,variants:[{match:`\\b(${L})(\\.(${L}))?([eE][+-]?(${L}))?\\b`},{match:`\\b0x(${T})(\\.(${T}))?([pP][+-]?(${L}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},P=(e="")=>({className:"subst",variants:[{match:i(/\\/,e,/[0\\tnr"']/)},{match:i(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),K=(e="")=>({className:"subst",match:i(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),z=(e="")=>({className:"subst",label:"interpol",begin:i(/\\/,e,/\(/),end:/\)/}),q=(e="")=>({begin:i(e,/"""/),end:i(/"""/,e),contains:[P(e),K(e),z(e)]}),U=(e="")=>({begin:i(e,/"/),end:i(/"/,e),contains:[P(e),z(e)]}),Z={className:"string",variants:[q(),q("#"),q("##"),q("###"),U(),U("#"),U("##"),U("###")]},V={match:i(/`/,E,/`/)},W={className:"variable",match:/\$\d+/},G={className:"variable",match:`\\$${g}+`},J=[V,W,G],R={match:/(@|#)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:N,contains:[...O,j,Z]}]}},X={className:"keyword",match:i(/@/,u(...A))},H={className:"meta",match:i(/@/,E)},Q=[R,X,H],Y={match:t(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:i(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,g,"+")},{className:"type",match:v,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:i(/\s+&\s+/,t(v)),relevance:0}]},ee={begin://,keywords:B,contains:[...s,..._,...Q,$,Y]};Y.contains.push(ee);const ne={match:i(E,/\s*:/),keywords:"_|0",relevance:0},ae={begin:/\(/,end:/\)/,relevance:0,keywords:B,contains:["self",ne,...s,..._,...x,...O,j,Z,...J,...Q,Y]},te={begin://,contains:[...s,Y]},ie={begin:u(t(i(E,/\s*:/)),t(i(E,/\s+/,E,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:E}]},se={begin:/\(/,end:/\)/,keywords:B,contains:[ie,...s,..._,...O,j,Z,...Q,Y,ae],endsParent:!0,illegal:/["']/},ue={match:[/func/,/\s+/,u(V.match,E,w)],className:{1:"keyword",3:"title.function"},contains:[te,se,n],illegal:[/\[/,/%/]},ce={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[te,se,n],illegal:/\[|%/},oe={match:[/operator/,/\s+/,w],className:{1:"keyword",3:"title"}},re={begin:[/precedencegroup/,/\s+/,v],className:{1:"keyword",3:"title"},contains:[Y],keywords:[...d,...p],end:/}/};for(const t of Z.variants){const e=t.contains.find(e=>"interpol"===e.label);e.keywords=B;const n=[..._,...x,...O,j,Z,...J];e.contains=[...n,{begin:/\(/,end:/\)/,contains:["self",...n]}]}return{name:"Swift",keywords:B,contains:[...s,ue,ce,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:B,contains:[e.inherit(e.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),..._]},oe,re,{beginKeywords:"import",end:/$/,contains:[...s],relevance:0},..._,...x,...O,j,Z,...J,...Q,Y,ae]}}e.exports=C}}]); \ No newline at end of file diff --git a/js/highlight-js-xml.9c3688c7.js b/js/highlight-js-xml.9c3688c7.js new file mode 100644 index 0000000..55cc1e2 --- /dev/null +++ b/js/highlight-js-xml.9c3688c7.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-xml"],{"8dcb":function(e,n){function a(e){const n=e.regex,a=n.concat(/[A-Z_]/,n.optional(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),s=/[A-Za-z0-9._:-]+/,t={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},i={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},c=e.inherit(i,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"string"}),r=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),g={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin://,relevance:10,contains:[i,r,l,c,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[i,c,r,l]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},t,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[g],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[g],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:a,relevance:0,starts:g}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(a,/>/))),contains:[{className:"name",begin:a,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}e.exports=a}}]); \ No newline at end of file diff --git a/js/index.e8a5d294.js b/js/index.e8a5d294.js new file mode 100644 index 0000000..f24cc9e --- /dev/null +++ b/js/index.e8a5d294.js @@ -0,0 +1,9 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */(function(e){function t(t){for(var i,o,s=t[0],c=t[1],l=t[2],u=0,h=[];u])/g,o=/^-+/,r=/["'&<>]/g;function a(e){return e.trim().replace(i,"-").replace(o,"").toLowerCase()}function s(e){const t=e=>({'"':""","'":"'","&":"&","<":"<",">":">"}[e]||e);return e.replace(r,t)}function c(e){return e.replace(/#(.*)/,(e,t)=>"#"+CSS.escape(t))}function l(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function u(e){let t,n;const i="\\s*",o=" ",r=e.trim(),a=r.length;if(!a)return o;const s=[];for(t=0;t[{name:"description",content:t},{property:"og:locale",content:i},{property:"og:site_name",content:r},{property:"og:type",content:"website"},{property:"og:title",content:e},{property:"og:description",content:t},{property:"og:url",content:n},{property:"og:image",content:Object(o["e"])("/developer-og.jpg")},{name:"twitter:image",content:Object(o["e"])("/developer-og-twitter.jpg")},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:description",content:t},{name:"twitter:title",content:e},{name:"twitter:url",content:n}],s=e=>[e,r].filter(Boolean).join(" | "),c=e=>{const{content:t}=e,n=e.property?"property":"name",i=e[n],o=document.querySelector(`meta[${n}="${i}"]`);if(o&&t)o.setAttribute("content",t);else if(o&&!t)o.remove();else if(t){const t=document.createElement("meta");t.setAttribute(n,e[n]),t.setAttribute("content",e.content),document.getElementsByTagName("head")[0].appendChild(t)}},l=e=>{document.title=e};function u({title:e,description:t,url:n,currentLocale:i}){const o=s(e);l(o),a({title:o,description:t,url:n,currentLocale:i}).forEach(e=>c(e))}function h(e){document.querySelector("html").setAttribute("lang",e)}},"34b0":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"inline-chevron-right-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-chevron-right"}},[n("path",{attrs:{d:"M2.964 1.366l0.649-0.76 7.426 6.343-7.423 6.445-0.655-0.755 6.545-5.683-6.542-5.59z"}})])},o=[],r=n("be08"),a={name:"InlineChevronRightIcon",components:{SVGIcon:r["a"]}},s=a,c=n("2877"),l=Object(c["a"])(s,i,o,!1,null,null,null);t["a"]=l.exports},3502:function(e,t,n){},3908:function(e,t,n){"use strict";function i(e){let t=null,n=e-1;const i=new Promise(e=>{t=e});return requestAnimationFrame((function e(){n-=1,n<=0?t():requestAnimationFrame(e)})),i}function o(e){return new Promise(t=>{setTimeout(t,e)})}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}))},"3be4":function(e,t,n){},"3ca7":function(e){e.exports=JSON.parse('[{"code":"en-US","name":"English","slug":"en-US"},{"code":"zh-CN","name":"简体中文","slug":"zh-CN"},{"code":"ja-JP","name":"日本語","slug":"ja-JP"}]')},4009:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i="app-top"},"48b1":function(e,t,n){"use strict";n("e487")},5522:function(e,t,n){"use strict";n("a3e8")},"5c0b":function(e,t,n){"use strict";n("9c0c")},"5d2d":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return l}));const i="developer.setting.";function o(e=localStorage){return{getItem:t=>{try{return e.getItem(t)}catch(n){return null}},setItem:(t,n)=>{try{e.setItem(t,n)}catch(i){}},removeItem:t=>{try{e.removeItem(t)}catch(n){}}}}function r(e){return{get:(t,n)=>{const o=JSON.parse(e.getItem(i+t));return null!==o?o:n},set:(t,n)=>e.setItem(i+t,JSON.stringify(n)),remove:t=>e.removeItem(i+t)}}const a=o(window.localStorage),s=o(window.sessionStorage),c=r(a),l=r(s)},"63b8":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return r})),n.d(t,"d",(function(){return s}));const i={large:"large",medium:"medium",small:"small"},o={default:"default",nav:"nav"},r={[o.default]:{[i.large]:{minWidth:1069,contentWidth:980},[i.medium]:{minWidth:736,maxWidth:1068,contentWidth:692},[i.small]:{minWidth:320,maxWidth:735,contentWidth:280}},[o.nav]:{[i.large]:{minWidth:1024},[i.medium]:{minWidth:768,maxWidth:1023},[i.small]:{minWidth:320,maxWidth:767}}},a={[i.small]:0,[i.medium]:1,[i.large]:2};function s(e,t){return a[e]>a[t]}},6842:function(e,t,n){"use strict";function i(e,t,n){let i,o=e,r=t;for("string"===typeof r&&(r=[r]),i=0;ie.json()).catch(()=>({}))}const c=(e,t)=>i(r,e,t)},"748c":function(e,t,n){"use strict";function i(e){return e.reduce((e,t)=>(t.traits.includes("dark")?e.dark.push(t):e.light.push(t),e),{light:[],dark:[]})}function o(e){const t=["1x","2x","3x"];return t.reduce((t,n)=>{const i=e.find(e=>e.traits.includes(n));return i?t.concat({density:n,src:i.url,size:i.size}):t},[])}function r(e){const t="/",n=new RegExp(t+"+","g");return e.join(t).replace(n,t)}function a(e){const{baseUrl:t}=window,n=Array.isArray(e)?r(e):e;return n&&"string"===typeof n&&!n.startsWith(t)&&n.startsWith("/")?r([t,n]):n}function s(e){return e?e.startsWith("/")?e:"/"+e:e}function c(e){return e?`url('${a(e)}')`:void 0}function l(e){return new Promise((t,n)=>{const i=new Image;i.src=e,i.onerror=n,i.onload=()=>t({width:i.width,height:i.height})})}n.d(t,"e",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return s})),n.d(t,"f",(function(){return c})),n.d(t,"b",(function(){return l}))},"7ac6":function(e,t,n){},"7d8d":function(e){e.exports=JSON.parse('{"view-in":"日本語で表示","continue-viewing":"日本語で表示を続ける","language":"言語","video":{"replay":"リプレイ","play":"再生","pause":"一時停止","watch":"概要のビデオを観る"},"tutorials":{"title":"チュートリアル | チュートリアル","step":"手順{number}","submit":"送信","next":"次へ","preview":{"title":"プレビューなし | プレビュー | プレビュー","no-preview-available-step":"この手順では利用可能なプレビューがありません。"},"nav":{"chapters":"章","current":"現在の{thing}"},"assessment":{"check-your-understanding":"理解度を確認する","success-message":"よくできました。このチュートリアルの問題にすべて回答しました。","answer-number-is":"問題番号{index}は","correct":"正解です","incorrect":"不正解です","next-question":"次の問題"},"project-files":"プロジェクトファイル","estimated-time":"予測時間","sections":{"chapter":"{number}章"},"question-of":"{total}問中の{index}問","section-of":"{total}件中の{number}件","overriding-title":"{title}の{newTitle}","time":{"format":"{number} {minutes}","minutes":{"full":"分 | 分 | {count}分","short":"分 | 分"},"hours":{"full":"時間 | 時間"}}},"documentation":{"title":"ドキュメント","nav":{"breadcrumbs":"パンくずリスト","menu":"メニュー","open-menu":"メニューを開く","close-menu":"メニューを閉じる"},"current-page":"現在のページは{title}です","card":{"learn-more":"詳しい情報","read-article":"記事を読む","start-tutorial":"チュートリアルを開始","view-api":"APIのコレクションを表示","view-symbol":"記号を表示","view-sample-code":"サンプルコードを表示"}},"aside-kind":{"beta":"ベータ版","experiment":"試験運用版","important":"重要","note":"注意","tip":"ヒント","warning":"警告","deprecated":"非推奨"},"change-type":{"added":"追加","modified":"変更","deprecated":"非推奨"},"verbs":{"hide":"非表示","show":"表示","close":"閉じる"},"sections":{"title":"セクション{number}","on-this-page":"このページの内容","topics":"トピック","default-implementations":"デフォルト実装","relationships":"関連項目","see-also":"参照","declaration":"宣言","details":"詳細","parameters":"パラメータ","possible-values":"使用できる値","parts":"パーツ","availability":"利用可能","resources":"リソース"},"metadata":{"details":{"name":"名前","key":"キー","type":"タイプ"},"beta":{"legal":"このドキュメントはベータ版のソフトウェアのもので、変更される可能性があります。","software":"ベータ版ソフトウェア"},"default-implementation":"デフォルト実装あり。| デフォルト実装あり。"},"availability":{"introduced-and-deprecated":"{name} {introducedAt}で導入され、{name} {deprecatedAt}で非推奨になりました","available-on":"{name} {introducedAt}以降で使用できます"},"more":"さらに表示","less":"表示を減らす","api-reference":"APIリファレンス","filter":{"title":"フィルタ","search-symbols":"{technology}でシンボルを検索","suggested-tags":"提案されたタグ | 提案されたタグ","selected-tags":"選択したタグ | 選択したタグ","add-tag":"タグを追加","tag-select-remove":"タグ。選択してリストから削除します。","navigate":"シンボルを移動するには、上下左右の矢印キーを押します。","siblings-label":"{total-siblings}個中{number-siblings}個のシンボルが{parent-siblings}の中にあります","parent-label":"{total-siblings}個中{number-siblings}個のシンボルが1個のシンボルを含む{parent-siblings}の中にあります | {total-siblings}個中{number-siblings}個のシンボルが{number-parent}個のシンボルを含む{parent-siblings}の中にあります","reset-filter":"フィルタをリセット"},"navigator":{"title":"ドキュメントナビゲータ","open-navigator":"ドキュメントナビゲータを開く","close-navigator":"ドキュメントナビゲータを閉じる","no-results":"結果が見つかりません。","no-children":"使用できるデータがありません。","error-fetching":"データを取得する際にエラーが起きました。","items-found":"項目が見つかりません | 1個の項目が見つかりました | {number}個の項目が見つかりましたTabキーを押すと項目をナビゲートできます。","navigator-is":"ナビゲータは{state}です","state":{"loading":"読み込み中","ready":"準備完了"},"tags":{"hide-deprecated":"非推奨の項目を非表示"}},"tab":{"request":"リクエスト","response":"レスポンス"},"required":"必須","parameters":{"default":"デフォルト","minimum":"最小","maximum":"最大","possible-types":"タイプ | 使用できるタイプ","possible-values":"値 | 使用できる値"},"content-type":"Content-Type: {value}","read-only":"読み出し専用","error":{"unknown":"原因不明のエラーが起きました。","image":"イメージを読み込めませんでした"},"color-scheme":{"select":"カラースキーム環境設定を選択","auto":"自動","dark":"ダーク","light":"ライト"},"accessibility":{"strike":{"start":"取り消し線テキストの開始","end":"取り消し線テキストの終了"},"code":{"start":"コードブロックの開始","end":"コードブロックの終了"},"skip-navigation":"ナビゲーションをスキップ"},"select-language":"このページの言語を選択","icons":{"clear":"消去","web-service-endpoint":"Webサービスのエンドポイント","search":"検索"},"formats":{"parenthesis":"({content})","colon":"{content}: "},"quicknav":{"button":{"label":"クイックナビゲーションを開く","title":"クリックするか「/」を入力すると素早く移動します"}}}')},"821b":function(e,t,n){"use strict";t["a"]={auto:"auto",dark:"dark",light:"light"}},"942d":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"e",(function(){return r})),n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return s}));const i=52,o=48,r="nav-sticky-anchor",a="nav-open-navigator",s={noClose:"noclose"}},"94a8":function(e){e.exports=JSON.parse('{"view-in":"View in English","continue-viewing":"Continue viewing in English","language":"Language","video":{"replay":"Replay","play":"Play","pause":"Pause","watch":"Watch intro video"},"tutorials":{"title":"Tutorial | Tutorials","step":"Step {number}","submit":"Submit","next":"Next","preview":{"title":"No Preview | Preview | Previews","no-preview-available-step":"No preview available for this step."},"nav":{"chapters":"Chapters","current":"Current {thing}"},"assessment":{"check-your-understanding":"Check Your Understanding","success-message":"Great job, you\'ve answered all the questions for this tutorial.","answer-number-is":"Answer number {index} is","correct":"correct","incorrect":"incorrect","next-question":"Next question"},"project-files":"Project files","estimated-time":"Estimated Time","sections":{"chapter":"Chapter {number}"},"question-of":"Question {index} of {total}","section-of":"{number} of {total}","overriding-title":"{newTitle} with {title}","time":{"format":"{number} {minutes}","minutes":{"full":"minute | minutes | {count} minutes","short":"min | mins"},"hours":{"full":"hour | hours"}}},"documentation":{"title":"Documentation","nav":{"breadcrumbs":"Breadcrumbs","menu":"Menu","open-menu":"Open Menu","close-menu":"Close Menu"},"current-page":"Current page is {title}","card":{"learn-more":"Learn More","read-article":"Read article","start-tutorial":"Start tutorial","view-api":"View API collection","view-symbol":"View symbol","view-sample-code":"View sample code"}},"aside-kind":{"beta":"Beta","experiment":"Experiment","important":"Important","note":"Note","tip":"Tip","warning":"Warning","deprecated":"Deprecated"},"change-type":{"added":"Added","modified":"Modified","deprecated":"Deprecated"},"verbs":{"hide":"Hide","show":"Show","close":"Close"},"sections":{"title":"Section {number}","on-this-page":"On this page","topics":"Topics","default-implementations":"Default Implementations","relationships":"Relationships","see-also":"See Also","declaration":"Declaration","details":"Details","parameters":"Parameters","possible-values":"Possible Values","parts":"Parts","availability":"Availability","resources":"Resources"},"metadata":{"details":{"name":"Name","key":"Key","type":"Type"},"beta":{"legal":"This documentation refers to beta software and may be changed.","software":"Beta Software"},"default-implementation":"Default implementation provided. | Default implementations provided."},"availability":{"introduced-and-deprecated":"Introduced in {name} {introducedAt} and deprecated in {name} {deprecatedAt}","available-on":"Available on {name} {introducedAt} and later"},"more":"More","less":"Less","api-reference":"API Reference","filter":{"title":"Filter","search-symbols":"Search symbols in {technology}","suggested-tags":"Suggested tag | Suggested tags","selected-tags":"Selected tag | Selected tags","add-tag":"Add tag","tag-select-remove":"Tag. Select to remove from list.","navigate":"To navigate the symbols, press Up Arrow, Down Arrow, Left Arrow or Right Arrow","siblings-label":"{number-siblings} of {total-siblings} symbols inside {parent-siblings}","parent-label":"{number-siblings} of {total-siblings} symbols inside {parent-siblings} containing one symbol | {number-siblings} of {total-siblings} symbols inside {parent-siblings} containing {number-parent} symbols","reset-filter":"Reset Filter"},"navigator":{"title":"Documentation Navigator","open-navigator":"Open Documentation Navigator","close-navigator":"Close Documentation Navigator","no-results":"No results found.","no-children":"No data available.","error-fetching":"There was an error fetching the data.","items-found":"No items were found | 1 item was found | {number} items were found. Tab back to navigate through them.","navigator-is":"Navigator is {state}","state":{"loading":"loading","ready":"ready"},"tags":{"hide-deprecated":"Hide Deprecated"}},"tab":{"request":"Request","response":"Response"},"required":"Required","parameters":{"default":"Default","minimum":"Minimum","maximum":"Maximum","possible-types":"Type | Possible types","possible-values":"Value | Possible Values"},"content-type":"Content-Type: {value}","read-only":"Read-only","error":{"unknown":"An unknown error occurred.","image":"Image failed to load","not-found":"The page you\'re looking for can\'t be found."},"color-scheme":{"select":"Select a color scheme preference","auto":"Auto","dark":"Dark","light":"Light"},"accessibility":{"strike":{"start":"start of stricken text","end":"end of stricken text"},"code":{"start":"start of code block","end":"end of code block"},"skip-navigation":"Skip Navigation","in-page-link":"in page link"},"select-language":"Select the language for this page","icons":{"clear":"Clear","web-service-endpoint":"Web Service Endpoint","search":"Search"},"formats":{"parenthesis":"({content})","colon":"{content}: "},"quicknav":{"button":{"label":"Open Quick Navigation","title":"Click or type / for quick navigation"}}}')},9895:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));const i="not-found",o="documentation-topic"},9923:function(e,t,n){"use strict";n.r(t),n.d(t,"defaultLocale",(function(){return a})),n.d(t,"messages",(function(){return s}));var i=n("94a8"),o=n("d9c4"),r=n("7d8d");const a="en-US",s={"en-US":i,"zh-CN":o,"ja-JP":r}},"9b56":function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return u}));var i=n("3ca7"),o=n("9923"),r=n("2788");const a=i.reduce((e,t)=>({...e,[t.slug]:t.code}),{});function s(e){return a[e]}function c(e){return!!a[e]}function l(e){return{params:{locale:e===o["defaultLocale"]?void 0:e}}}function u(e=o["defaultLocale"],t){if(!c(e))return;t.$i18n.locale=e;const n=s(e);Object(r["b"])(n)}},"9c0c":function(e,t,n){},"9dba":function(e,t,n){"use strict";n("3502")},a2be:function(e,t,n){"use strict";n("01da")},a3e8:function(e,t,n){},a919:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"close-icon",attrs:{viewBox:"0 0 14 14",themeId:"close"}},[n("path",{attrs:{d:"M12.73,0l1.27,1.27-5.74,5.73,5.72,5.72-1.27,1.27-5.72-5.72L1.28,13.99,.01,12.72,5.72,7.01,0,1.28,1.27,.01,6.99,5.73,12.73,0Z"}})])},o=[],r=n("be08"),a={name:"CloseIcon",components:{SVGIcon:r["a"]}},s=a,c=n("2877"),l=Object(c["a"])(s,i,o,!1,null,null,null);t["a"]=l.exports},be08:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{staticClass:"svg-icon",attrs:{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[e.themeOverrideURL?n("use",{attrs:{href:e.themeOverrideURL+"#"+e.themeId,width:"100%",height:"100%"}}):e._t("default")],2)},o=[],r=n("6842"),a={name:"SVGIcon",props:{themeId:{type:String,required:!1},iconUrl:{type:String,default:null}},computed:{themeOverrideURL:({iconUrl:e,themeId:t})=>e||Object(r["c"])(["theme","icons",t],void 0)}},s=a,c=(n("c2c4"),n("2877")),l=Object(c["a"])(s,i,o,!1,null,"33d3200a",null);t["a"]=l.exports},c2c4:function(e,t,n){"use strict";n("161e")},c83d:function(e,t,n){},d26a:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return l}));var i=n("748c"),o={input:"input",tags:"tags"};function r(e={}){return Object.entries(e).reduce((e,[t,n])=>n?e.concat(`${encodeURIComponent(t)}=${encodeURIComponent(n)}`):e,[]).join("&")}function a(e,{changes:t,language:n,context:i}={}){const[o,a]=e.split("#"),s=o.match(/\?.*/),c=r({changes:t,language:n,context:i}),l=s?"&":"?",u=a?o:e,h=c?`${l}${c}`:"",d=a?"#"+a:"";return`${u}${h}${d}`}function s(e,t){const{query:{changes:n,[o.input]:i,[o.tags]:r,...a}={}}=e,{query:{changes:s,[o.input]:c,[o.tags]:l,...u}={}}=t;return e.name===t.name&&JSON.stringify({path:e.path,query:a})===JSON.stringify({path:t.path,query:u})}function c(e,t=window.location.href){return new URL(Object(i["c"])(e),t)}function l(e,t){return c(e,t).href}},d369:function(e,t,n){"use strict";var i=n("5d2d");const o={preferredColorScheme:"developer.setting.preferredColorScheme",preferredLocale:"developer.setting.preferredLocale",preferredLanguage:"docs.setting.preferredLanguage"},r={preferredColorScheme:"docs.setting.preferredColorScheme"};t["a"]=Object.defineProperties({},Object.keys(o).reduce((e,t)=>({...e,[t]:{get:()=>{const e=r[t],n=i["a"].getItem(o[t]);return e?n||i["a"].getItem(e):n},set:e=>i["a"].setItem(o[t],e)}}),{}))},d9c4:function(e){e.exports=JSON.parse('{"view-in":"以中文查看","continue-viewing":"继续以中文查看","language":"语言","video":{"replay":"重新播放","play":"播放","pause":"暂停","watch":"观看介绍视频"},"tutorials":{"title":"教程","step":"第 {number} 步","submit":"提交","next":"下一步","preview":{"title":"无预览 | 预览","no-preview-available-step":"这一步没有预览。"},"nav":{"chapters":"章节","current":"当前{thing}"},"assessment":{"check-your-understanding":"检查你的理解程度","success-message":"很棒,你回答了此教程的所有问题。","answer-number-is":"第 {index} 个答案","correct":"正确","incorrect":"错误","next-question":"下一个问题"},"project-files":"项目文件","estimated-time":"预计时间","sections":{"chapter":"第 {number} 章"},"question-of":"第 {index} 个问题(共 {total} 个)","section-of":"{number}/{total}","overriding-title":"{newTitle}{title}","time":{"format":"{number} {minutes}","minutes":{"full":"分钟 | {count} 分钟","short":"分钟"},"hours":{"full":"小时"}}},"documentation":{"title":"文档","nav":{"breadcrumbs":"面包屑导航","menu":"菜单","open-menu":"打开菜单","close-menu":"关闭菜单"},"current-page":"当前页面为:{title}","card":{"learn-more":"进一步了解","read-article":"阅读文章","start-tutorial":"开始教程","view-api":"查看 API 集合","view-symbol":"查看符号","view-sample-code":"查看示例代码"}},"aside-kind":{"beta":"Beta 版","experiment":"试验","important":"重要事项","note":"注","tip":"提示","warning":"警告","deprecated":"已弃用"},"change-type":{"added":"已添加","modified":"已修改","deprecated":"已弃用"},"verbs":{"hide":"隐藏","show":"显示","close":"关闭"},"sections":{"title":"第 {number} 部分","on-this-page":"在此页面上","topics":"主题","default-implementations":"默认实现","relationships":"关系","see-also":"另请参阅","declaration":"声明","details":"详细信息","parameters":"参数","possible-values":"可能值","parts":"部件","availability":"可用性","resources":"资源"},"metadata":{"details":{"name":"名称","key":"密钥","type":"类型"},"beta":{"legal":"此文档涉及 Beta 版软件且可能会改动。","software":"Beta 版软件"},"default-implementation":"提供默认实现。| 提供默认实现方法。"},"availability":{"introduced-and-deprecated":"{name} {introducedAt} 中引入,{name} {deprecatedAt} 中弃用","available-on":"{name} {introducedAt} 及更高版本中可用"},"more":"更多","less":"更少","api-reference":"API 参考","filter":{"title":"过滤","search-symbols":"在 {technology} 搜索符号","suggested-tags":"建议标签","selected-tags":"所选标签","add-tag":"添加标签","tag-select-remove":"标签。选择以从列表中移除。","navigate":"若要导航符号,请按下上箭头、下箭头、左箭头或右箭头。","siblings-label":"{parent-siblings} 内含 {number-siblings} 个符号(共 {total-siblings} 个)","parent-label":"{parent-siblings} 内含 {number-siblings} 个符号(共 {total-siblings} 个)包含一个符号 | {parent-siblings} 内含 {number-siblings} 个符号(共 {total-siblings} 个)包含 {number-parent} 个符号","reset-filter":"还原过滤条件"},"navigator":{"title":"文档导航器","open-navigator":"打开文档导航器","close-navigator":"关闭文档导航器","no-results":"未找到结果。","no-children":"无可用数据。","error-fetching":"获取数据时出错。","items-found":"未找到任何项目 | 找到 1 个项目 | 找到 {number} 个项目。按下 Tab 键导航。","navigator-is":"导航器{state}","state":{"loading":"正在载入","ready":"准备就绪"},"tags":{"hide-deprecated":"隐藏已弃用"}},"tab":{"request":"请求","response":"回复"},"required":"必需","parameters":{"default":"默认","minimum":"最小值","maximum":"最大值","possible-types":"类型 | 可能类型","possible-values":"值 | 可能值"},"content-type":"内容类型:{value}","read-only":"只读","error":{"unknown":"出现未知错误。","image":"图像无法载入"},"color-scheme":{"select":"选择首选颜色方案","auto":"自动","dark":"深色","light":"浅色"},"accessibility":{"strike":{"start":"删除线文本开始","end":"删除线文本结束"},"code":{"start":"代码块开头","end":"代码块结尾"},"skip-navigation":"跳过导航"},"select-language":"选择此页面的语言","icons":{"clear":"清除","web-service-endpoint":"网络服务端点","search":"搜索"},"formats":{"parenthesis":"({content})","colon":"{content}: "},"quicknav":{"button":{"label":"打开快速导航","title":"点按或键入 / 进行快速导航"}}}')},dd18:function(e,t,n){"use strict";t["a"]={eager:"eager",lazy:"lazy"}},e425:function(e,t,n){"use strict";var i=n("821b"),o=n("dd18"),r=n("d369"),a=n("3ca7");const s="undefined"!==typeof window.matchMedia&&[i["a"].light,i["a"].dark,"no-preference"].some(e=>window.matchMedia(`(prefers-color-scheme: ${e})`).matches),c=s?i["a"].auto:i["a"].light;t["a"]={state:{imageLoadingStrategy:"ide"===Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_TARGET?o["a"].eager:o["a"].lazy,preferredColorScheme:r["a"].preferredColorScheme||c,preferredLocale:r["a"].preferredLocale,supportsAutoColorScheme:s,systemColorScheme:i["a"].light,availableLocales:[]},reset(){this.state.imageLoadingStrategy="ide"===Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_TARGET?o["a"].eager:o["a"].lazy,this.state.preferredColorScheme=r["a"].preferredColorScheme||c,this.state.supportsAutoColorScheme=s,this.state.systemColorScheme=i["a"].light},setImageLoadingStrategy(e){this.state.imageLoadingStrategy=e},setPreferredColorScheme(e){this.state.preferredColorScheme=e,r["a"].preferredColorScheme=e},setAllLocalesAreAvailable(){const e=a.map(e=>e.code);this.state.availableLocales=e},setAvailableLocales(e=[]){this.state.availableLocales=e},setPreferredLocale(e){this.state.preferredLocale=e,r["a"].preferredLocale=this.state.preferredLocale},setSystemColorScheme(e){this.state.systemColorScheme=e},syncPreferredColorScheme(){r["a"].preferredColorScheme&&r["a"].preferredColorScheme!==this.state.preferredColorScheme&&(this.state.preferredColorScheme=r["a"].preferredColorScheme)}}},e487:function(e,t,n){},e759:function(e,t,n){"use strict";n("3be4")},e9e6:function(e,t,n){"use strict";n("7ac6")},ed78:function(e,t,n){"use strict";n("c83d")},ed96:function(e,t,n){n.p=window.baseUrl},f161:function(e,t,n){"use strict";n.r(t);n("ed96");var i=n("2b0e"),o=n("a925"),r=n("8c4f"),a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{fromkeyboard:e.fromKeyboard,hascustomheader:e.hasCustomHeader},attrs:{id:"app"}},[n("div",{attrs:{id:e.AppTopID}}),e.isTargetIDE?e._e():n("a",{attrs:{href:"#main",id:"skip-nav"}},[e._v(e._s(e.$t("accessibility.skip-navigation")))]),n("InitialLoadingPlaceholder"),e._t("header",(function(){return[e.enablei18n?n("SuggestLang"):e._e(),e.hasCustomHeader?n("custom-header",{attrs:{"data-color-scheme":e.preferredColorScheme}}):e._e()]}),{isTargetIDE:e.isTargetIDE}),n("div",{attrs:{id:e.baseNavStickyAnchorId}}),e._t("default",(function(){return[n("router-view",{staticClass:"router-content"}),e.hasCustomFooter?n("custom-footer",{attrs:{"data-color-scheme":e.preferredColorScheme}}):e.isTargetIDE?e._e():n("Footer",{scopedSlots:e._u([{key:"default",fn:function(t){var i=t.className;return[e.enablei18n?n("div",{class:i},[n("LocaleSelector")],1):e._e()]}}])})]}),{isTargetIDE:e.isTargetIDE}),e._t("footer",null,{isTargetIDE:e.isTargetIDE})],2)},s=[],c=n("e425"),l=n("821b"),u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("footer",{staticClass:"footer"},[n("div",{staticClass:"row"},[n("ColorSchemeToggle")],1),e._t("default",null,{className:"row"})],2)},h=[],d=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"color-scheme-toggle",attrs:{"aria-label":e.$t("color-scheme.select"),role:"radiogroup"}},e._l(e.options,(function(t){return n("label",{key:t},[n("input",{attrs:{type:"radio"},domProps:{checked:t==e.preferredColorScheme,value:t},on:{input:e.setPreferredColorScheme}}),n("div",{staticClass:"text"},[e._v(e._s(e.$t("color-scheme."+t)))])])})),0)},g=[],m={name:"ColorSchemeToggle",data:()=>({appState:c["a"].state}),computed:{options:({supportsAutoColorScheme:e})=>[l["a"].light,l["a"].dark,...e?[l["a"].auto]:[]],preferredColorScheme:({appState:e})=>e.preferredColorScheme,supportsAutoColorScheme:({appState:e})=>e.supportsAutoColorScheme},methods:{setPreferredColorScheme:e=>{c["a"].setPreferredColorScheme(e.target.value)}},watch:{preferredColorScheme:{immediate:!0,handler(e){document.body.dataset.colorScheme=e}}}},p=m,f=(n("9dba"),n("2877")),b=Object(f["a"])(p,d,g,!1,null,"02a6f6ec",null),v=b.exports,w={name:"Footer",components:{ColorSchemeToggle:v}},y=w,j=(n("e9e6"),Object(f["a"])(y,u,h,!1,null,"4e049dbd",null)),S=j.exports,E=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.loaded?e._e():n("div",{staticClass:"InitialLoadingPlaceholder",attrs:{id:"loading-placeholder"}})},C=[],_={name:"InitialLoadingPlaceholder",data(){return{loaded:!1}},created(){const e=()=>{this.loaded=!0};this.$router.onReady(e,e)}},P=_,k=(n("48b1"),Object(f["a"])(P,E,C,!1,null,"35c356b6",null)),L=k.exports,A=n("942d"),T=n("6842");function x(e,t){return e&&"object"===typeof e&&Object.prototype.hasOwnProperty.call(e,t)&&"string"===typeof e[t]}function O(e,t,n,i){if(!t||"object"!==typeof t||i&&(x(t,"light")||x(t,"dark"))){let o=t;if(x(t,i)&&(o=t[i]),"object"===typeof o)return;n[e]=o}else Object.entries(t).forEach(([t,o])=>{const r=[e,t].join("-");O(r,o,n,i)})}function I(e,t="light"){const n={},i=e||{};return O("-",i,n,t),n}var $=n("4009"),D=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.displaySuggestLang?n("div",{staticClass:"suggest-lang"},[n("div",{staticClass:"suggest-lang__wrapper"},[n("router-link",{staticClass:"suggest-lang__link",attrs:{to:e.getLocaleParam(e.preferredLocale),lang:e.getCodeForSlug(e.preferredLocale)},nativeOn:{click:function(t){return e.setPreferredLocale(e.preferredLocale)}}},[e._v(e._s(e.$i18n.messages[e.preferredLocale]["view-in"])),n("InlineChevronRightIcon",{staticClass:"icon-inline"})],1),n("div",{staticClass:"suggest-lang__close-icon-wrapper"},[n("button",{staticClass:"suggest-lang__close-icon-button",attrs:{"aria-label":e.$t("continue-viewing")},on:{click:function(t){return e.setPreferredLocale(e.$i18n.locale)}}},[n("CloseIcon",{staticClass:"icon-inline"})],1)])],1)]):e._e()},N=[],R=n("34b0"),U=n("a919"),q=n("3ca7"),V=n("9b56"),B={name:"SuggestLang",components:{InlineChevronRightIcon:R["a"],CloseIcon:U["a"]},computed:{preferredLocale:()=>{const e=c["a"].state.preferredLocale;if(e)return e;const t=q.find(e=>{const t=e.code.split("-")[0],n=window.navigator.language.split("-")[0];return n===t});return t?t.slug:null},displaySuggestLang:({preferredLocale:e,$i18n:t})=>e&&t.locale!==e},methods:{setPreferredLocale:e=>{c["a"].setPreferredLocale(e)},getCodeForSlug:V["a"],getLocaleParam:V["b"]}},M=B,W=(n("ed78"),Object(f["a"])(M,D,N,!1,null,"ad72c62e",null)),F=W.exports,G=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"locale-selector"},[n("select",{attrs:{"aria-label":e.$t("select-language")},domProps:{value:e.$i18n.locale},on:{change:e.updateRouter}},e._l(e.locales,(function(t){var i=t.slug,o=t.name,r=t.code;return n("option",{key:i,attrs:{lang:r},domProps:{value:i}},[e._v(" "+e._s(o)+" ")])})),0),n("ChevronThickIcon",{staticClass:"icon-inline"})],1)},H=[],J=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"chevron-thick-icon",attrs:{viewBox:"0 0 14 10.5",themeId:"chevron-thick"}},[n("path",{attrs:{d:"M12.43,0l1.57,1.22L7,10.5,0,1.23,1.58,0,7,7,12.43,0Z"}})])},K=[],z=n("be08"),Y={name:"ChevronThickIcon",components:{SVGIcon:z["a"]}},Q=Y,Z=Object(f["a"])(Q,J,K,!1,null,null,null),X=Z.exports,ee={name:"LocaleSelector",components:{ChevronThickIcon:X},methods:{updateRouter({target:{value:e}}){this.$router.push(Object(V["b"])(e)),c["a"].setPreferredLocale(e),Object(V["c"])(e,this)}},computed:{availableLocales:()=>c["a"].state.availableLocales,locales:({availableLocales:e})=>q.filter(({code:t})=>e.includes(t))}},te=ee,ne=(n("e759"),Object(f["a"])(te,G,H,!1,null,"7e4d9b69",null)),ie=ne.exports,oe={name:"CoreApp",components:{Footer:S,InitialLoadingPlaceholder:L,SuggestLang:F,LocaleSelector:ie},provide(){return{isTargetIDE:this.isTargetIDE,performanceMetricsEnabled:"true"===Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_PERFORMANCE_ENABLED}},data(){return{AppTopID:$["a"],appState:c["a"].state,fromKeyboard:!1,isTargetIDE:"ide"===Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_TARGET,themeSettings:T["d"],baseNavStickyAnchorId:A["e"]}},computed:{currentColorScheme:({appState:e})=>e.systemColorScheme,preferredColorScheme:({appState:e})=>e.preferredColorScheme,availableLocales:({appState:e})=>e.availableLocales,CSSCustomProperties:({currentColorScheme:e,preferredColorScheme:t,themeSettings:n})=>I(n.theme,t===l["a"].auto?e:t),hasCustomHeader:()=>!!window.customElements.get("custom-header"),hasCustomFooter:()=>!!window.customElements.get("custom-footer"),enablei18n:({availableLocales:e})=>Object(T["c"])(["features","docs","i18n","enable"],!1)&&e.length>1},props:{enableThemeSettings:{type:Boolean,default:!0}},watch:{CSSCustomProperties:{immediate:!0,handler(e){this.detachStylesFromRoot(e),this.attachStylesToRoot(e)}}},async created(){window.addEventListener("keydown",this.onKeyDown),this.$bridge.on("navigation",this.handleNavigationRequest),this.enableThemeSettings&&Object.assign(this.themeSettings,await Object(T["b"])()),window.addEventListener("pageshow",this.syncPreferredColorScheme),this.$once("hook:beforeDestroy",()=>{window.removeEventListener("pageshow",this.syncPreferredColorScheme)})},mounted(){(document.querySelector(".footer-current-year")||{}).innerText=(new Date).getFullYear(),this.attachColorSchemeListeners()},beforeDestroy(){this.fromKeyboard?window.removeEventListener("mousedown",this.onMouseDown):window.removeEventListener("keydown",this.onKeyDown),this.$bridge.off("navigation",this.handleNavigationRequest),this.detachStylesFromRoot(this.CSSCustomProperties)},methods:{onKeyDown(){this.fromKeyboard=!0,window.addEventListener("mousedown",this.onMouseDown),window.removeEventListener("keydown",this.onKeyDown)},onMouseDown(){this.fromKeyboard=!1,window.addEventListener("keydown",this.onKeyDown),window.removeEventListener("mousedown",this.onMouseDown)},handleNavigationRequest(e){this.$router.push(e)},attachColorSchemeListeners(){if(!window.matchMedia)return;const e=window.matchMedia("(prefers-color-scheme: dark)");e.addListener(this.onColorSchemePreferenceChange),this.$once("hook:beforeDestroy",()=>{e.removeListener(this.onColorSchemePreferenceChange)}),this.onColorSchemePreferenceChange(e)},onColorSchemePreferenceChange({matches:e}){const t=e?l["a"].dark:l["a"].light;c["a"].setSystemColorScheme(t)},attachStylesToRoot(e){const t=document.body;Object.entries(e).filter(([,e])=>Boolean(e)).forEach(([e,n])=>{t.style.setProperty(e,n)})},detachStylesFromRoot(e){const t=document.body;Object.entries(e).forEach(([e])=>{t.style.removeProperty(e)})},syncPreferredColorScheme(){c["a"].syncPreferredColorScheme()}}},re=oe,ae=(n("5c0b"),n("a2be"),Object(f["a"])(re,a,s,!1,null,"7d594ed9",null)),se=ae.exports;class ce{constructor(){this.$send=()=>{}}send(e){this.$send(e)}}class le{constructor(){const{webkit:{messageHandlers:{bridge:e={}}={}}={}}=window;this.bridge=e;const{postMessage:t=(()=>{})}=e;this.$send=t.bind(e)}send(e){this.$send(e)}}class ue{constructor(e=new ce){this.backend=e,this.listeners={}}send(e){this.backend.send(e)}receive(e){this.emit(e.type,e.data)}emit(e,t){this.listeners[e]&&this.listeners[e].forEach(e=>e(t))}on(e,t){this.listeners[e]||(this.listeners[e]=new Set),this.listeners[e].add(t)}off(e,t){this.listeners[e]&&this.listeners[e].delete(t)}}var he={install(e,t){let n;n=t.performanceMetricsEnabled||"ide"===t.appTarget?new le:new ce,e.prototype.$bridge=new ue(n)}};function de(e){return"custom-"+e}function ge(e){return class extends HTMLElement{constructor(){super();const t=this.attachShadow({mode:"open"}),n=e.content.cloneNode(!0);t.appendChild(n)}}}function me(e){const t=de(e),n=document.getElementById(t);n&&window.customElements.define(t,ge(n))}function pe(e,t={names:["header","footer"]}){const{names:n}=t;e.config.ignoredElements=/^custom-/,n.forEach(me)}function fe(e,t){const{value:n=!1}=t;e.style.display=n?"none":""}var be={hide:fe};function ve(e,{performanceMetrics:t=!1}={}){e.config.productionTip=!1,e.use(pe),e.directive("hide",be.hide),e.use(he,{appTarget:Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_TARGET,performanceMetricsEnabled:t}),window.bridge=e.prototype.$bridge,e.config.performance=t}var we=n("9895"),ye=n("63b8"),je=n("3908"),Se=n("002d"),Ee=n("d26a");const Ce=10;function _e(e){const{name:t}=e,n=t.includes(we["a"]);return n?Ce:0}function Pe(){const{location:e}=window;return e.pathname+e.search+e.hash}function ke(){const e=Math.max(document.documentElement.clientWidth||0,window.innerWidth||0);return ePromise.all([n.e("documentation-topic~topic~tutorials-overview"),n.e("tutorials-overview")]).then(n.bind(null,"f025"))},{path:"/tutorials/:id/*",name:"topic",component:()=>Promise.all([n.e("documentation-topic~topic~tutorials-overview"),n.e("documentation-topic~topic"),n.e("topic")]).then(n.bind(null,"3213"))},{path:"/documentation/*",name:we["a"],component:()=>Promise.all([n.e("documentation-topic~topic~tutorials-overview"),n.e("chunk-c0335d80"),n.e("documentation-topic~topic"),n.e("documentation-topic")]).then(n.bind(null,"f8ac"))},{path:"*",name:we["b"],component:Ke},{path:"*",name:"server-error",component:Me}];const Ye=[{pathPrefix:"/:locale?",nameSuffix:"-locale"}];function Qe(e,t=[],n=Ye){return n.reduce((n,i)=>n.concat(e.filter(e=>!t.includes(e.name)).map(e=>({...e,path:i.pathPrefix+e.path,name:e.name+i.nameSuffix}))),[])}const Ze=[...Qe(ze,[we["b"]]),...ze];function Xe(e={}){const t=new r["a"]({mode:"history",base:T["a"],scrollBehavior:Le,...e,routes:e.routes||Ze});return t.onReady(()=>{"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual"),Ae()}),"ide"!==Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_TARGET&&t.onError(e=>{const{route:n={path:"/"}}=e;t.replace({name:"server-error",params:[n.path]})}),window.addEventListener("unload",Te),t}var et=n("9923");function tt(e=et){const{defaultLocale:t,messages:n,dateTimeFormats:i={}}=e,r=new o["a"]({dateTimeFormats:i,locale:t,fallbackLocale:t,messages:n});return r}i["default"].use(ve),i["default"].use(r["a"]),i["default"].use(o["a"]),new i["default"]({router:Xe(),render:e=>e(se),i18n:tt()}).$mount("#app")}}); \ No newline at end of file diff --git a/js/topic.8cd0c0c4.js b/js/topic.8cd0c0c4.js new file mode 100644 index 0000000..af0651e --- /dev/null +++ b/js/topic.8cd0c0c4.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["topic"],{"0466":function(e,t,n){},"0503":function(e,t,n){"use strict";n("e38e")},"0c11":function(e,t,n){},"0c14":function(e,t,n){},1006:function(e,t,n){"use strict";n("a95e")},"1dd5":function(e,t,n){"use strict";n("7b17")},"257c":function(e,t,n){"use strict";n("7748")},"2a05":function(e,t,n){},"2f9d":function(e,t,n){"use strict";n("525c")},3213:function(e,t,n){"use strict";n.r(t);var s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.topicData?n(e.componentFor(e.topicData),e._b({key:e.topicKey,tag:"component",attrs:{hierarchy:e.hierarchy}},"component",e.propsFor(e.topicData),!1)):e._e()],1)},i=[],r=n("25a9"),o=n("a97e");const{BreakpointName:a}=o["a"].constants;var c,l,u={state:{linkableSections:[],breakpoint:a.large,references:{}},addLinkableSection(e){const t={...e,visibility:0};t.sectionNumber=this.state.linkableSections.length,this.state.linkableSections.push(t)},reset(){this.state.linkableSections=[],this.state.breakpoint=a.large,this.state.references={}},updateLinkableSection(e){this.state.linkableSections=this.state.linkableSections.map(t=>e.anchor===t.anchor?{...t,visibility:e.visibility}:t)},updateBreakpoint(e){this.state.breakpoint=e},setReferences(e){this.state.references=e}},d=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"article"},[e.isTargetIDE?e._e():n("NavigationBar",{attrs:{chapters:e.hierarchy.modules,technology:e.metadata.category,topic:e.heroTitle||"",rootReference:e.hierarchy.reference,identifierUrl:e.identifierUrl}}),n("main",{attrs:{id:"main",role:"main",tabindex:"0"}},[e._t("above-hero"),e._l(e.sections,(function(t,s){return n(e.componentFor(t),e._b({key:s,tag:"component"},"component",e.propsFor(t),!1))}))],2),n("PortalTarget",{attrs:{name:"modal-destination",multiple:""}})],1)},p=[],h=n("2b88"),m=n("e425"),f=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("NavBase",{attrs:{id:"nav","aria-label":e.technology,hasSolidBackground:""}},[n("template",{slot:"default"},[n("ReferenceUrlProvider",{attrs:{reference:e.rootReference},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.urlWithParams;return n("NavTitleContainer",{attrs:{to:s}},[n("template",{slot:"default"},[e._v(e._s(e.technology))]),n("template",{slot:"subhead"},[e._v(e._s(e.$tc("tutorials.title",2)))])],2)}}])})],1),n("template",{slot:"after-title"},[n("div",{staticClass:"separator"})]),n("template",{slot:"tray"},[n("div",{staticClass:"mobile-dropdown-container"},[n("MobileDropdown",{attrs:{options:e.chapters,sections:e.optionsForSections,currentOption:e.currentSection?e.currentSection.title:""},on:{"select-section":e.onSelectSection}})],1),n("div",{staticClass:"dropdown-container"},[n("PrimaryDropdown",{staticClass:"primary-dropdown",attrs:{options:e.chapters,currentOption:e.topic}}),n("ChevronIcon",{staticClass:"icon-inline"}),e.currentSection?n("SecondaryDropdown",{staticClass:"secondary-dropdown",attrs:{options:e.optionsForSections,currentOption:e.currentSection.title,sectionTracker:e.sectionIndicatorText},on:{"select-section":e.onSelectSection}}):e._e()],1),e._t("tray",null,{siblings:e.chapters.length+e.optionsForSections.length})],2)],2)},v=[],b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"chevron-icon",attrs:{viewBox:"0 0 14 14",themeId:"chevron"}},[n("path",{attrs:{d:"M3.22 1.184l0.325-0.38 7.235 6.201-7.235 6.19-0.325-0.38 6.792-5.811-6.792-5.82z"}})])},g=[],y=n("be08"),C={name:"ChevronIcon",components:{SVGIcon:y["a"]}},w=C,_=n("2877"),k=Object(_["a"])(w,b,g,!1,null,null,null),S=k.exports,x=n("d26a"),T=n("2f34"),I={name:"ReferenceUrlProvider",mixins:[T["a"]],props:{reference:{type:String,required:!0}},computed:{resolvedReference:({references:e,reference:t})=>e[t]||{},url:({resolvedReference:e})=>e.url,title:({resolvedReference:e})=>e.title},render(){return this.$scopedSlots.default({url:this.url,urlWithParams:Object(x["b"])(this.url,this.$route.query),title:this.title,reference:this.resolvedReference})}},A=I,$=Object(_["a"])(A,c,l,!1,null,null,null),O=$.exports,N=n("8a61"),P=n("cbcf"),q=n("653a"),D=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("NavMenuItems",{staticClass:"mobile-dropdown"},e._l(e.options,(function(t){return n("ReferenceUrlProvider",{key:t.reference,attrs:{reference:t.reference},scopedSlots:e._u([{key:"default",fn:function(s){var i=s.title;return n("NavMenuItemBase",{staticClass:"chapter-list",attrs:{role:"group"}},[n("p",{staticClass:"chapter-name"},[e._v(e._s(i))]),n("ul",{staticClass:"tutorial-list"},e._l(t.projects,(function(t){return n("ReferenceUrlProvider",{key:t.reference,attrs:{reference:t.reference},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.url,i=t.urlWithParams,r=t.title;return n("li",{staticClass:"tutorial-list-item"},[n("router-link",{staticClass:"option tutorial",attrs:{to:i,value:r}},[e._v(" "+e._s(r)+" ")]),s===e.$route.path?n("ul",{staticClass:"section-list",attrs:{role:"listbox"}},e._l(e.sections,(function(t){return n("li",{key:t.title},[n("router-link",{class:e.classesFor(t),attrs:{to:{path:t.path,query:e.$route.query},value:t.title},nativeOn:{click:function(n){return e.onClick(t)}}},[e._v(" "+e._s(t.title)+" ")])],1)})),0):e._e()],1)}}],null,!0)})})),1)])}}],null,!0)})})),1)},j=[],R=n("863d"),M=n("9b30"),B={name:"MobileDropdown",components:{NavMenuItems:M["a"],NavMenuItemBase:R["a"],ReferenceUrlProvider:O},props:{options:{type:Array,required:!0},currentOption:{type:String,required:!0},sections:{type:Array,required:!1,default:()=>[]}},methods:{classesFor(e){return["option","section",{active:this.currentOption===e.title},this.depthClass(e)]},depthClass(e){const{depth:t=0}=e;return"depth"+t},onClick(e){this.$emit("select-section",e.path)}}},L=B,E=(n("e688"),Object(_["a"])(L,D,j,!1,null,"154acfbd",null)),F=E.exports,V=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("DropdownCustom",{staticClass:"tutorial-dropdown",attrs:{value:e.currentOption,"aria-label":e.$t("tutorials.nav.current",{thing:e.$t("sections.title")}),isSmall:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.closeAndFocusToggler,i=t.contentClasses,r=t.navigateOverOptions,o=t.OptionClass,a=t.ActiveOptionClass;return[n("ul",{staticClass:"options",class:i,attrs:{role:"listbox",tabindex:"0"}},e._l(e.options,(function(t){return n("router-link",{key:t.title,attrs:{to:{path:t.path,query:e.$route.query},custom:""},scopedSlots:e._u([{key:"default",fn:function(i){var c,l=i.navigate;return[n("li",{class:[o,(c={},c[a]=e.currentOption===t.title,c)],attrs:{role:"option",value:t.title,"aria-selected":e.currentOption===t.title,"aria-current":e.ariaCurrent(t.title),tabindex:-1},on:{click:function(n){return e.setActive(t,l,s,n)},keydown:[function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter")?null:e.setActive(t,l,s,n)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:s.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"tab",9,t.key,"Tab")?null:s.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),r(t,1))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),r(t,-1))}]}},[e._v(" "+e._s(t.title)+" ")])]}}],null,!0)})})),1)]}}])},[n("template",{slot:"toggle-post-content"},[n("span",{staticClass:"section-tracker"},[e._v(e._s(e.sectionTracker))])])],2)},U=[],H=function(){var e,t=this,n=t.$createElement,s=t._self._c||n;return s("BaseDropdown",{staticClass:"dropdown-custom",class:(e={},e[t.OpenedClass]=t.isOpen,e["dropdown-small"]=t.isSmall,e),attrs:{value:t.value},scopedSlots:t._u([{key:"dropdown",fn:function(e){var n=e.dropdownClasses;return[s("span",{staticClass:"visuallyhidden",attrs:{id:"DropdownLabel_"+t._uid}},[t._v(t._s(t.ariaLabel))]),s("button",{ref:"dropdownToggle",staticClass:"form-dropdown-toggle",class:n,attrs:{role:"button",id:"DropdownToggle_"+t._uid,"aria-labelledby":"DropdownLabel_"+t._uid+" DropdownToggle_"+t._uid,"aria-expanded":t.isOpen?"true":"false","aria-haspopup":"true"},on:{click:t.toggleDropdown,keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),t.openDropdown.apply(null,arguments))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.closeAndFocusToggler.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:(e.preventDefault(),t.openDropdown.apply(null,arguments))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:(e.preventDefault(),t.openDropdown.apply(null,arguments))}]}},[s("span",{staticClass:"form-dropdown-title"},[t._v(t._s(t.value))]),t._t("toggle-post-content")],2)]}}],null,!0)},[s("template",{slot:"eyebrow"},[t._t("eyebrow")],2),s("template",{slot:"after"},[t._t("default",null,null,{value:t.value,isOpen:t.isOpen,contentClasses:["form-dropdown-content",{"is-open":t.isOpen}],closeDropdown:t.closeDropdown,onChangeAction:t.onChangeAction,closeAndFocusToggler:t.closeAndFocusToggler,navigateOverOptions:t.navigateOverOptions,OptionClass:t.OptionClass,ActiveOptionClass:t.ActiveOptionClass})],2)],2)},z=[],G=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-element"},[e._t("dropdown",(function(){return[n("select",e._b({directives:[{name:"model",rawName:"v-model",value:e.modelValue,expression:"modelValue"}],class:e.dropdownClasses,on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.modelValue=t.target.multiple?n:n[0]}}},"select",e.$attrs,!1),[e._t("default")],2)]}),{dropdownClasses:e.dropdownClasses,value:e.value}),n("InlineChevronDownIcon",{staticClass:"form-icon",attrs:{"aria-hidden":"true"}}),e.$slots.eyebrow?n("span",{staticClass:"form-label",attrs:{"aria-hidden":"true"}},[e._t("eyebrow")],2):e._e(),e._t("after")],2)},W=[],Q=n("7948"),K={name:"BaseDropdown",inheritAttrs:!1,props:{value:{type:String,default:""}},components:{InlineChevronDownIcon:Q["a"]},computed:{modelValue:{get:({value:e})=>e,set(e){this.$emit("input",e)}},dropdownClasses({value:e}){return["form-dropdown",{"form-dropdown-selectnone":""===e,"no-eyebrow":!this.$slots.eyebrow}]}}},X=K,J=(n("ed71"),Object(_["a"])(X,G,W,!1,null,"998803d8",null)),Y=J.exports;const Z="is-open",ee="option",te="option-active";var ne={name:"DropdownCustom",components:{BaseDropdown:Y},constants:{OpenedClass:Z,OptionClass:ee,ActiveOptionClass:te},props:{value:{type:String,default:""},ariaLabel:{type:String,default:""},isSmall:{type:Boolean,default:!1}},data(){return{isOpen:!1,OpenedClass:Z,OptionClass:ee,ActiveOptionClass:te}},mounted(){document.addEventListener("click",this.closeOnLoseFocus)},beforeDestroy(){document.removeEventListener("click",this.closeOnLoseFocus)},methods:{onChangeAction(e){this.$emit("input",e)},toggleDropdown(){this.isOpen?this.closeDropdown():this.openDropdown()},async closeAndFocusToggler(){this.closeDropdown(),await this.$nextTick(),this.$refs.dropdownToggle.focus({preventScroll:!0})},closeDropdown(){this.isOpen=!1,this.$emit("close")},openDropdown(){this.isOpen=!0,this.$emit("open"),this.focusActiveLink()},closeOnLoseFocus(e){!this.$el.contains(e.target)&&this.isOpen&&this.closeDropdown()},navigateOverOptions({target:e},t){const n=this.$el.querySelectorAll("."+ee),s=Array.from(n),i=s.indexOf(e),r=s[i+t];r&&r.focus({preventScroll:!0})},async focusActiveLink(){const e=this.$el.querySelector("."+te);e&&(await this.$nextTick(),e.focus({preventScroll:!0}))}}},se=ne,ie=(n("e84c"),Object(_["a"])(se,H,z,!1,null,"12dd746a",null)),re=ie.exports,oe={name:"SecondaryDropdown",components:{DropdownCustom:re},props:{options:{type:Array,required:!0},currentOption:{type:String,required:!0},sectionTracker:{type:String,required:!1}},methods:{ariaCurrent(e){return this.currentOption===e&&"section"},setActive(e,t,n,s){t(s),this.$emit("select-section",e.path),n()}}},ae=oe,ce=(n("7f7b"),Object(_["a"])(ae,V,U,!1,null,"554d62b6",null)),le=ce.exports,ue=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("DropdownCustom",{staticClass:"tutorial-dropdown",attrs:{value:e.currentOption,"aria-label":e.$t("tutorials.nav.current",{thing:e.$tc("tutorials.title",1)}),isSmall:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.closeAndFocusToggler,i=t.contentClasses,r=t.closeDropdown,o=t.navigateOverOptions,a=t.OptionClass,c=t.ActiveOptionClass;return[n("ul",{staticClass:"options",class:i,attrs:{tabindex:"0"}},e._l(e.options,(function(t){return n("ReferenceUrlProvider",{key:t.reference,attrs:{reference:t.reference},scopedSlots:e._u([{key:"default",fn:function(i){var l=i.title;return n("li",{staticClass:"chapter-list",attrs:{role:"group"}},[n("p",{staticClass:"chapter-name"},[e._v(e._s(l))]),n("ul",{attrs:{role:"listbox"}},e._l(t.projects,(function(t){return n("ReferenceUrlProvider",{key:t.reference,attrs:{reference:t.reference},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.urlWithParams,l=t.title;return[n("router-link",{attrs:{to:i,custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var i,u=t.navigate,d=t.isActive;return[n("li",{class:(i={},i[a]=!0,i[c]=d,i),attrs:{role:"option",value:l,"aria-selected":d,"aria-current":!!d&&"tutorial",tabindex:-1},on:{click:function(t){return e.setActive(u,r,t)},keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.setActive(u,r,t)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:s.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"tab",9,t.key,"Tab")?null:s.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),o(t,1))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),o(t,-1))}]}},[e._v(" "+e._s(l)+" ")])]}}],null,!0)})]}}],null,!0)})})),1)])}}],null,!0)})})),1)]}}])})},de=[],pe={name:"PrimaryDropdown",components:{DropdownCustom:re,ReferenceUrlProvider:O},props:{options:{type:Array,required:!0},currentOption:{type:String,required:!0}},methods:{setActive(e,t,n){e(n),t()}}},he=pe,me=(n("9938"),Object(_["a"])(he,ue,de,!1,null,"4bddb6e6",null)),fe=me.exports;const ve={title:"Introduction",url:"#introduction",reference:"introduction",sectionNumber:0,depth:0};var be={name:"NavigationBar",components:{NavTitleContainer:q["a"],NavBase:P["a"],ReferenceUrlProvider:O,PrimaryDropdown:fe,SecondaryDropdown:le,MobileDropdown:F,ChevronIcon:S},mixins:[N["a"],T["a"]],props:{chapters:{type:Array,required:!0},technology:{type:String,required:!0},topic:{type:String,required:!0},rootReference:{type:String,required:!0},identifierUrl:{type:String,required:!0}},data(){return{currentSection:ve,tutorialState:this.store.state}},watch:{pageSectionWithHighestVisibility(e){e&&(this.currentSection=e)}},computed:{currentProject(){return this.chapters.reduce((e,{projects:t})=>e.concat(t),[]).find(e=>e.reference===this.identifierUrl)},pageSections(){if(!this.currentProject)return[];const e=[ve].concat(this.currentProject.sections);return this.tutorialState.linkableSections.map((t,n)=>{const s=e[n],i=this.references[s.reference],{url:r,title:o}=i||s;return{...t,title:o,path:r}})},optionsForSections(){return this.pageSections.map(({depth:e,path:t,title:n})=>({depth:e,path:t,title:n}))},pageSectionWithHighestVisibility(){return[...this.pageSections].sort((e,t)=>t.visibility-e.visibility).find(e=>e.visibility>0)},sectionIndicatorText(){const e=this.tutorialState.linkableSections.length-1,{sectionNumber:t}=this.currentSection||{};if(0!==t)return this.$t("tutorials.section-of",{number:t,total:e})}},methods:{onSelectSection(e){const t=e.split("#")[1];this.handleFocusAndScroll(t)}}},ge=be,ye=(n("ea88"),Object(_["a"])(ge,f,v,!1,null,"717bc942",null)),Ce=ye.exports,we=n("bf08"),_e=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"body"},[n("BodyContent",{attrs:{content:e.content}})],1)},ke=[],Se=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("article",{staticClass:"body-content"},e._l(e.content,(function(t,s){return n(e.componentFor(t),e._b({key:s,tag:"component",staticClass:"layout"},"component",e.propsFor(t),!1))})),1)},xe=[],Te=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"columns",class:e.classes},[e._l(e.columns,(function(t,s){return[n("Asset",{key:t.media,attrs:{identifier:t.media,videoAutoplays:!1}}),t.content?n("ContentNode",{key:s,attrs:{content:t.content}}):e._e()]}))],2)},Ie=[],Ae=n("80e4"),$e=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BaseContentNode",{attrs:{content:e.articleContent}})},Oe=[],Ne=n("5677"),Pe={name:"ContentNode",components:{BaseContentNode:Ne["default"]},props:Ne["default"].props,computed:{articleContent(){return this.map(e=>{switch(e.type){case Ne["default"].BlockType.codeListing:return{...e,showLineNumbers:!0};case Ne["default"].BlockType.heading:{const{anchor:t,...n}=e;return n}default:return e}})}},methods:Ne["default"].methods,BlockType:Ne["default"].BlockType,InlineType:Ne["default"].InlineType},qe=Pe,De=(n("cb8d"),Object(_["a"])(qe,$e,Oe,!1,null,"3cfe1c35",null)),je=De.exports,Re={name:"Columns",components:{Asset:Ae["a"],ContentNode:je},props:{columns:{type:Array,required:!0}},computed:{classes(){return{"cols-2":2===this.columns.length,"cols-3":3===this.columns.length}}}},Me=Re,Be=(n("e9b0"),Object(_["a"])(Me,Te,Ie,!1,null,"30edf911",null)),Le=Be.exports,Ee=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"content-and-media",class:e.classes},[n("ContentNode",{attrs:{content:e.content}}),n("Asset",{attrs:{identifier:e.media}})],1)},Fe=[];const Ve={leading:"leading",trailing:"trailing"};var Ue={name:"ContentAndMedia",components:{Asset:Ae["a"],ContentNode:je},props:{content:je.props.content,media:Ae["a"].props.identifier,mediaPosition:{type:String,default:()=>Ve.trailing,validator:e=>Object.prototype.hasOwnProperty.call(Ve,e)}},computed:{classes(){return{"media-leading":this.mediaPosition===Ve.leading,"media-trailing":this.mediaPosition===Ve.trailing}}},MediaPosition:Ve},He=Ue,ze=(n("1006"),Object(_["a"])(He,Ee,Fe,!1,null,"3fa44f9e",null)),Ge=ze.exports,We=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"full-width"},e._l(e.groups,(function(t,s){return n(e.componentFor(t),e._b({key:s,tag:"component",staticClass:"group"},"component",e.propsFor(t),!1),[n("ContentNode",{attrs:{content:t.content}})],1)})),1)},Qe=[],Ke=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.tag,{tag:"component",attrs:{id:e.anchor}},[e._t("default")],2)},Xe=[],Je=n("72e7"),Ye={name:"LinkableElement",mixins:[Je["a"]],inject:{navigationBarHeight:{default(){}},store:{default(){return{addLinkableSection(){},updateLinkableSection(){}}}}},props:{anchor:{type:String,required:!0},depth:{type:Number,default:()=>0},tag:{type:String,default:()=>"div"},title:{type:String,required:!0}},computed:{intersectionRootMargin(){const e=this.navigationBarHeight?`-${this.navigationBarHeight}px`:"0%";return e+" 0% -50% 0%"}},created(){this.store.addLinkableSection({anchor:this.anchor,depth:this.depth,title:this.title,visibility:0})},methods:{onIntersect(e){const t=Math.min(1,e.intersectionRatio);this.store.updateLinkableSection({anchor:this.anchor,depth:this.depth,title:this.title,visibility:t})}}},Ze=Ye,et=Object(_["a"])(Ze,Ke,Xe,!1,null,null,null),tt=et.exports;const{BlockType:nt}=je;var st={name:"FullWidth",components:{ContentNode:je,LinkableElement:tt},props:je.props,computed:{groups:({content:e})=>e.reduce((e,t)=>0===e.length||t.type===nt.heading?[...e,{heading:t.type===nt.heading?t:null,content:[t]}]:[...e.slice(0,e.length-1),{heading:e[e.length-1].heading,content:e[e.length-1].content.concat(t)}],[])},methods:{componentFor(e){return e.heading?tt:"div"},depthFor(e){switch(e.level){case 1:case 2:return 0;default:return 1}},propsFor(e){return e.heading?{anchor:e.heading.anchor,depth:this.depthFor(e.heading),title:e.heading.text}:{}}}},it=st,rt=(n("aece"),Object(_["a"])(it,We,Qe,!1,null,"1f2be54b",null)),ot=rt.exports;const at={columns:"columns",contentAndMedia:"contentAndMedia",fullWidth:"fullWidth"};var ct={name:"BodyContent",props:{content:{type:Array,required:!0,validator:e=>e.every(({kind:e})=>Object.prototype.hasOwnProperty.call(at,e))}},methods:{componentFor(e){return{[at.columns]:Le,[at.contentAndMedia]:Ge,[at.fullWidth]:ot}[e.kind]},propsFor(e){const{content:t,kind:n,media:s,mediaPosition:i}=e;return{[at.columns]:{columns:t},[at.contentAndMedia]:{content:t,media:s,mediaPosition:i},[at.fullWidth]:{content:t}}[n]}},LayoutKind:at},lt=ct,ut=(n("1dd5"),Object(_["a"])(lt,Se,xe,!1,null,"4d5a806e",null)),dt=ut.exports,pt={name:"Body",components:{BodyContent:dt},props:dt.props},ht=pt,mt=(n("5237"),Object(_["a"])(ht,_e,ke,!1,null,"6499e2f2",null)),ft=mt.exports,vt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("TutorialCTA",e._b({},"TutorialCTA",e.$props,!1))},bt=[],gt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BaseCTA",e._b({attrs:{label:e.$t("tutorials.next")}},"BaseCTA",e.baseProps,!1))},yt=[],Ct=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"call-to-action"},[n("Row",[n("LeftColumn",[n("span",{staticClass:"label"},[e._v(e._s(e.label))]),n("h2",[e._v(" "+e._s(e.title)+" ")]),e.abstract?n("ContentNode",{staticClass:"description",attrs:{content:[e.abstractParagraph]}}):e._e(),e.action?n("Button",{attrs:{action:e.action}}):e._e()],1),n("RightColumn",{staticClass:"right-column"},[e.media?n("Asset",{staticClass:"media",attrs:{identifier:e.media}}):e._e()],1)],1)],1)},wt=[],_t=n("0f00"),kt=n("620a"),St=n("c081"),xt={name:"CallToAction",components:{Asset:Ae["a"],Button:St["a"],ContentNode:Ne["default"],LeftColumn:{render(e){return e(kt["a"],{props:{span:{large:5,small:12}}},this.$slots.default)}},RightColumn:{render(e){return e(kt["a"],{props:{span:{large:6,small:12}}},this.$slots.default)}},Row:_t["a"]},props:{title:{type:String,required:!0},label:{type:String,required:!0},abstract:{type:Array,required:!1},action:{type:Object,required:!1},media:{type:String,required:!1}},computed:{abstractParagraph(){return{type:"paragraph",inlineContent:this.abstract}}}},Tt=xt,It=(n("c7dd"),Object(_["a"])(Tt,Ct,wt,!1,null,"042a0474",null)),At=It.exports,$t={name:"CallToAction",components:{BaseCTA:At},computed:{baseProps(){return{title:this.title,abstract:this.abstract,action:this.action,media:this.media}}},props:{title:{type:String,required:!0},abstract:{type:Array,required:!1},action:{type:Object,required:!1},media:{type:String,required:!1}}},Ot=$t,Nt=Object(_["a"])(Ot,gt,yt,!1,null,null,null),Pt=Nt.exports,qt={name:"CallToAction",components:{TutorialCTA:Pt},props:Pt.props},Dt=qt,jt=(n("3e1b"),Object(_["a"])(Dt,vt,bt,!1,null,"426a965c",null)),Rt=jt.exports,Mt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("TutorialHero",e._b({},"TutorialHero",e.$props,!1))},Bt=[],Lt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("LinkableSection",{staticClass:"tutorial-hero",attrs:{anchor:"introduction",title:e.sectionTitle}},[n("div",{staticClass:"hero dark"},[e.backgroundImageUrl?n("div",{staticClass:"bg",style:e.bgStyle}):e._e(),e._t("above-title"),n("Row",[n("Column",[n("Headline",{attrs:{level:1}},[e.chapter?n("template",{slot:"eyebrow"},[e._v(e._s(e.chapter))]):e._e(),e._v(" "+e._s(e.title)+" ")],2),e.content||e.video?n("div",{staticClass:"intro"},[e.content?n("ContentNode",{attrs:{content:e.content}}):e._e(),e.video?[n("p",[n("a",{staticClass:"call-to-action",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.toggleCallToActionModal.apply(null,arguments)}}},[e._v(" Watch intro video "),n("PlayIcon",{staticClass:"cta-icon icon-inline"})],1)]),n("GenericModal",{attrs:{visible:e.callToActionModalVisible,isFullscreen:"",theme:"dark"},on:{"update:visible":function(t){e.callToActionModalVisible=t}}},[n("Asset",{directives:[{name:"show",rawName:"v-show",value:e.callToActionModalVisible,expression:"callToActionModalVisible"}],ref:"asset",staticClass:"video-asset",attrs:{identifier:e.video},on:{videoEnded:e.handleVideoEnd}})],1)]:e._e()],2):e._e(),n("Metadata",{staticClass:"metadata",attrs:{projectFilesUrl:e.projectFilesUrl,estimatedTimeInMinutes:e.estimatedTimeInMinutes,xcodeRequirement:e.xcodeRequirementData}})],1)],1)],2)])},Et=[],Ft=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"headline"},[e.$slots.eyebrow?n("span",{staticClass:"eyebrow"},[e._t("eyebrow")],2):e._e(),n("Heading",{staticClass:"heading",attrs:{level:e.level}},[e._t("default")],2)],1)},Vt=[];const Ut=1,Ht=6,zt={type:Number,required:!0,validator:e=>e>=Ut&&e<=Ht},Gt={name:"Heading",render:function(e){return e("h"+this.level,this.$slots.default)},props:{level:zt}};var Wt={name:"Headline",components:{Heading:Gt},props:{level:zt}},Qt=Wt,Kt=(n("3976"),Object(_["a"])(Qt,Ft,Vt,!1,null,"d46a1474",null)),Xt=Kt.exports,Jt=n("c161"),Yt=n("c4dd"),Zt=n("748c"),en=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"metadata"},[e.estimatedTimeInMinutes?n("div",{staticClass:"item",attrs:{"aria-label":"\n "+e.$tc("tutorials.time.minutes.full",e.estimatedTimeInMinutes,{count:e.estimatedTimeInMinutes})+"\n "+e.$t("tutorials.estimated-time")+"\n "}},[n("div",{staticClass:"content",attrs:{"aria-hidden":"true"}},[n("i18n",{staticClass:"duration",attrs:{path:"tutorials.time.format",tag:"div"},scopedSlots:e._u([{key:"number",fn:function(){return[e._v(" "+e._s(e.estimatedTimeInMinutes)+" ")]},proxy:!0},{key:"minutes",fn:function(){return[n("div",{staticClass:"minutes"},[e._v(e._s(e.$tc("tutorials.time.minutes.short",e.estimatedTimeInMinutes))+" ")])]},proxy:!0}],null,!1,3313752798)})],1),n("div",{staticClass:"bottom",attrs:{"aria-hidden":"true"}},[e._v(e._s(e.$t("tutorials.estimated-time")))])]):e._e(),e.projectFilesUrl?n("div",{staticClass:"item"},[n("DownloadIcon",{staticClass:"item-large-icon icon-inline"}),n("div",{staticClass:"content bottom"},[n("a",{staticClass:"content-link project-download",attrs:{href:e.projectFilesUrl}},[e._v(" "+e._s(e.$t("tutorials.project-files"))+" "),n("InlineDownloadIcon",{staticClass:"small-icon icon-inline"})],1)])],1):e._e(),e.xcodeRequirement?n("div",{staticClass:"item"},[n("XcodeIcon",{staticClass:"item-large-icon icon-inline"}),n("div",{staticClass:"content bottom"},[e.isTargetIDE?n("span",[e._v(e._s(e.xcodeRequirement.title))]):n("a",{staticClass:"content-link",attrs:{href:e.xcodeRequirement.url}},[e._v(" "+e._s(e.xcodeRequirement.title)+" "),n("InlineChevronRightIcon",{staticClass:"icon-inline small-icon xcode-icon"})],1)])],1):e._e()])},tn=[],nn=n("de60"),sn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"xcode-icon",attrs:{viewBox:"0 0 14 14",themeId:"xcode"}},[n("path",{attrs:{d:"M2.668 4.452l-1.338-2.229 0.891-0.891 2.229 1.338 1.338 2.228 3.667 3.666 0.194-0.194 2.933 2.933c0.13 0.155 0.209 0.356 0.209 0.576 0 0.497-0.403 0.9-0.9 0.9-0.22 0-0.421-0.079-0.577-0.209l0.001 0.001-2.934-2.933 0.181-0.181-3.666-3.666z"}}),n("path",{attrs:{d:"M11.824 1.277l-0.908 0.908c-0.091 0.091-0.147 0.216-0.147 0.354 0 0.106 0.033 0.205 0.090 0.286l-0.001-0.002 0.058 0.069 0.185 0.185c0.090 0.090 0.215 0.146 0.353 0.146 0.107 0 0.205-0.033 0.286-0.090l-0.002 0.001 0.069-0.057 0.909-0.908c0.118 0.24 0.187 0.522 0.187 0.82 0 1.045-0.848 1.893-1.893 1.893-0.296 0-0.577-0.068-0.826-0.189l0.011 0.005-5.5 5.5c0.116 0.238 0.184 0.518 0.184 0.813 0 1.045-0.848 1.893-1.893 1.893-0.296 0-0.576-0.068-0.826-0.189l0.011 0.005 0.908-0.909c0.090-0.090 0.146-0.215 0.146-0.353 0-0.107-0.033-0.205-0.090-0.286l0.001 0.002-0.057-0.069-0.185-0.185c-0.091-0.091-0.216-0.147-0.354-0.147-0.106 0-0.205 0.033-0.286 0.090l0.002-0.001-0.069 0.058-0.908 0.908c-0.116-0.238-0.184-0.518-0.184-0.813 0-1.045 0.847-1.892 1.892-1.892 0.293 0 0.571 0.067 0.819 0.186l-0.011-0.005 5.5-5.5c-0.116-0.238-0.184-0.519-0.184-0.815 0-1.045 0.847-1.892 1.892-1.892 0.296 0 0.577 0.068 0.827 0.19l-0.011-0.005z"}})])},rn=[],on={name:"XcodeIcon",components:{SVGIcon:y["a"]}},an=on,cn=Object(_["a"])(an,sn,rn,!1,null,null,null),ln=cn.exports,un=n("34b0"),dn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"inline-download-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-download"}},[n("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5s2.91-6.5 6.5-6.5zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5s-2.462-5.5-5.5-5.5z"}}),n("path",{attrs:{d:"M7.51 2.964l-0.001 5.431 1.308-2.041 0.842 0.539-2.664 4.162-2.633-4.164 0.845-0.534 1.303 2.059 0.001-5.452z"}})])},pn=[],hn={name:"InlineDownloadIcon",components:{SVGIcon:y["a"]}},mn=hn,fn=Object(_["a"])(mn,dn,pn,!1,null,null,null),vn=fn.exports,bn={name:"HeroMetadata",components:{InlineDownloadIcon:vn,InlineChevronRightIcon:un["a"],DownloadIcon:nn["a"],XcodeIcon:ln},inject:["isTargetIDE"],props:{projectFilesUrl:{type:String},estimatedTimeInMinutes:{type:Number},xcodeRequirement:{type:Object,required:!1}}},gn=bn,yn=(n("33ff"),Object(_["a"])(gn,en,tn,!1,null,"94ff76c0",null)),Cn=yn.exports,wn={name:"Hero",components:{PlayIcon:Yt["a"],GenericModal:Jt["a"],Column:{render(e){return e(kt["a"],{props:{span:{large:7,medium:9,small:12}}},this.$slots.default)}},ContentNode:Ne["default"],Headline:Xt,Metadata:Cn,Row:_t["a"],Asset:Ae["a"],LinkableSection:tt},mixins:[T["a"]],props:{title:{type:String,required:!0},chapter:{type:String},content:{type:Array},projectFiles:{type:String},estimatedTimeInMinutes:{type:Number},xcodeRequirement:{type:String,required:!1},video:{type:String},backgroundImage:{type:String}},computed:{backgroundImageUrl(){const e=this.references[this.backgroundImage]||{},{variants:t=[]}=e,n=t.find(e=>e.traits.includes("light"));return Object(Zt["c"])((n||{}).url)},projectFilesUrl(){return this.projectFiles?Object(Zt["c"])(this.references[this.projectFiles].url):null},bgStyle(){return{backgroundImage:Object(Zt["f"])(this.backgroundImageUrl)}},xcodeRequirementData(){return this.references[this.xcodeRequirement]},sectionTitle(){return"Introduction"}},data(){return{callToActionModalVisible:!1}},methods:{async toggleCallToActionModal(){this.callToActionModalVisible=!0,await this.$nextTick();const e=this.$refs.asset.$el.querySelector("video");if(e)try{await e.play(),e.muted=!1}catch(t){}},handleVideoEnd(){this.callToActionModalVisible=!1}}},_n=wn,kn=(n("7fae"),Object(_["a"])(_n,Lt,Et,!1,null,"55543c5a",null)),Sn=kn.exports,xn={name:"Hero",components:{TutorialHero:Sn},props:Sn.props},Tn=xn,In=(n("2f9d"),Object(_["a"])(Tn,Mt,Bt,!1,null,"35a9482f",null)),An=In.exports,$n=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("TutorialAssessments",e._b({},"TutorialAssessments",e.$props,!1),[n("p",{attrs:{slot:"success"},slot:"success"},[e._v("Great job, you've answered all the questions for this article.")])])},On=[],Nn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("LinkableSection",{staticClass:"assessments-wrapper",attrs:{anchor:e.anchor,title:e.title}},[n("Row",{ref:"assessments",staticClass:"assessments"},[n("MainColumn",[n("Row",{staticClass:"banner"},[n("HeaderColumn",[n("h2",{staticClass:"title"},[e._v(e._s(e.title))])])],1),e.completed?n("div",{staticClass:"success"},[e._t("success",(function(){return[n("p",[e._v(e._s(e.SuccessMessage))])]}))],2):n("div",[n("Progress",e._b({ref:"progress"},"Progress",e.progress,!1)),n("Quiz",{key:e.activeIndex,attrs:{choices:e.activeAssessment.choices,content:e.activeAssessment.content,isLast:e.isLast,title:e.activeAssessment.title},on:{submit:e.onSubmit,advance:e.onAdvance,"see-results":e.onSeeResults}})],1),n("div",{staticClass:"visuallyhidden",attrs:{"aria-live":"assertive"}},[e.completed?e._t("success",(function(){return[e._v(" "+e._s(e.SuccessMessage)+" ")]})):e._e()],2)],1)],1)],1)},Pn=[],qn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Row",[n("p",{staticClass:"title"},[e._v(e._s(e.$t("tutorials.question-of",{index:e.index,total:e.total})))])])},Dn=[],jn={name:"AssessmentsProgress",components:{Row:_t["a"]},props:{index:{type:Number,required:!0},total:{type:Number,required:!0}}},Rn=jn,Mn=(n("6866"),Object(_["a"])(Rn,qn,Dn,!1,null,"28135d78",null)),Bn=Mn.exports,Ln=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"quiz"},[n("ContentNode",{staticClass:"title",attrs:{content:e.title}}),e.content?n("ContentNode",{staticClass:"question-content",attrs:{content:e.content}}):e._e(),n("div",{staticClass:"choices"},[e._l(e.choices,(function(t,s){return n("label",{key:s,class:e.choiceClasses[s]},[n(e.getIconComponent(s),{tag:"component",staticClass:"choice-icon"}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedIndex,expression:"selectedIndex"}],attrs:{type:"radio",name:"assessment"},domProps:{value:s,checked:e._q(e.selectedIndex,s)},on:{change:function(t){e.selectedIndex=s}}}),n("ContentNode",{staticClass:"question",attrs:{content:t.content}}),e.userChoices[s].checked?[n("ContentNode",{staticClass:"answer",attrs:{content:t.justification}}),t.reaction?n("p",{staticClass:"answer"},[e._v(e._s(t.reaction))]):e._e()]:e._e()],2)})),n("div",{staticClass:"visuallyhidden",attrs:{"aria-live":"assertive"}},[e._v(" "+e._s(e.ariaLiveText)+" ")])],2),n("div",{staticClass:"controls"},[n("ButtonLink",{staticClass:"check",attrs:{disabled:null===e.selectedIndex||e.showNextQuestion},nativeOn:{click:function(t){return e.submit.apply(null,arguments)}}},[e._v(" "+e._s(e.$t("tutorials.submit"))+" ")]),e.isLast?n("ButtonLink",{staticClass:"results",attrs:{disabled:!e.showNextQuestion},nativeOn:{click:function(t){return e.seeResults.apply(null,arguments)}}},[e._v(" "+e._s(e.$t("tutorials.next"))+" ")]):n("ButtonLink",{staticClass:"next",attrs:{disabled:!e.showNextQuestion},nativeOn:{click:function(t){return e.advance.apply(null,arguments)}}},[e._v(" "+e._s(e.$t("tutorials.assessment.next-question"))+" ")])],1)],1)},En=[],Fn=n("76ab"),Vn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"reset-circle-icon",attrs:{viewBox:"0 0 14 14",themeId:"reset-circle"}},[n("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5v0c0-3.59 2.91-6.5 6.5-6.5v0zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5v0c0-3.038-2.462-5.5-5.5-5.5v0z"}}),n("path",{attrs:{d:"M3.828 4.539l0.707-0.707 5.657 5.657-0.707 0.707-5.657-5.657z"}}),n("path",{attrs:{d:"M3.828 9.489l5.657-5.657 0.707 0.707-5.657 5.657-0.707-0.707z"}})])},Un=[],Hn={name:"ResetCircleIcon",components:{SVGIcon:y["a"]}},zn=Hn,Gn=Object(_["a"])(zn,Vn,Un,!1,null,null,null),Wn=Gn.exports,Qn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"check-circle-icon",attrs:{viewBox:"0 0 14 14",themeId:"check-circle"}},[n("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5v0c0-3.59 2.91-6.5 6.5-6.5v0zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5v0c0-3.038-2.462-5.5-5.5-5.5v0z"}}),n("path",{attrs:{d:"M9.626 3.719l0.866 0.5-3.5 6.062-3.464-2 0.5-0.866 2.6 1.5z"}})])},Kn=[],Xn={name:"CheckCircleIcon",components:{SVGIcon:y["a"]}},Jn=Xn,Yn=Object(_["a"])(Jn,Qn,Kn,!1,null,null,null),Zn=Yn.exports,es={name:"Quiz",components:{CheckCircleIcon:Zn,ResetCircleIcon:Wn,ContentNode:Ne["default"],ButtonLink:Fn["a"]},props:{content:{type:Array,required:!1},choices:{type:Array,required:!0},isLast:{type:Boolean,default:!1},title:{type:Array,required:!0}},data(){return{userChoices:this.choices.map(()=>({checked:!1})),selectedIndex:null,checkedIndex:null}},computed:{correctChoices(){return this.choices.reduce((e,t,n)=>t.isCorrect?e.add(n):e,new Set)},choiceClasses(){return this.userChoices.map((e,t)=>({choice:!0,active:this.selectedIndex===t,disabled:e.checked||this.showNextQuestion,correct:e.checked&&this.choices[t].isCorrect,incorrect:e.checked&&!this.choices[t].isCorrect}))},showNextQuestion(){return Array.from(this.correctChoices).every(e=>this.userChoices[e].checked)},ariaLiveText(){if(null===this.checkedIndex)return"";const{isCorrect:e}=this.choices[this.checkedIndex];return`${this.$t("tutorials.assessment.answer-number-is",{index:this.checkedIndex+1})} ${e?this.$t("tutorials.assessment.correct"):this.$t("tutorials.assessment.incorrect")}\n `}},methods:{getIconComponent(e){const t=this.userChoices[e];if(t&&t.checked)return this.choices[e].isCorrect?Zn:Wn},submit(){this.$set(this.userChoices,this.selectedIndex,{checked:!0}),this.checkedIndex=this.selectedIndex,this.$emit("submit")},advance(){this.$emit("advance")},seeResults(){this.$emit("see-results")}}},ts=es,ns=(n("0503"),Object(_["a"])(ts,Ln,En,!1,null,"19ed40e2",null)),ss=ns.exports;const is=12,rs="tutorials.assessment.success-message";var os={name:"Assessments",constants:{SuccessMessage:rs},components:{LinkableSection:tt,Quiz:ss,Progress:Bn,Row:_t["a"],HeaderColumn:{render(e){return e(kt["a"],{props:{isCentered:{large:!0},span:{large:10}}},this.$slots.default)}},MainColumn:{render(e){return e(kt["a"],{props:{isCentered:{large:!0},span:{large:10,medium:10,small:12}}},this.$slots.default)}}},props:{assessments:{type:Array,required:!0},anchor:{type:String,required:!0}},inject:["navigationBarHeight"],data(){return{activeIndex:0,completed:!1,SuccessMessage:this.$t(rs)}},computed:{activeAssessment(){return this.assessments[this.activeIndex]},isLast(){return this.activeIndex===this.assessments.length-1},progress(){return{index:this.activeIndex+1,total:this.assessments.length}},title(){return this.$t("tutorials.assessment.check-your-understanding")}},methods:{scrollTo(e,t=0){e.scrollIntoView(!0),window.scrollBy(0,-this.navigationBarHeight-t)},onSubmit(){this.$nextTick(()=>{this.scrollTo(this.$refs.progress.$el,is)})},onAdvance(){this.activeIndex+=1,this.$nextTick(()=>{this.scrollTo(this.$refs.progress.$el,is)})},onSeeResults(){this.completed=!0,this.$nextTick(()=>{this.scrollTo(this.$refs.assessments.$el,is)})}}},as=os,cs=(n("da20"),Object(_["a"])(as,Nn,Pn,!1,null,"65e3c02c",null)),ls=cs.exports,us={name:"Assessments",components:{TutorialAssessments:ls},props:ls.props},ds=us,ps=(n("f264"),Object(_["a"])(ds,$n,On,!1,null,"3c94366b",null)),hs=ps.exports;const ms={articleBody:"articleBody",callToAction:"callToAction",hero:"hero",assessments:"assessments"};var fs={name:"Article",components:{NavigationBar:Ce,PortalTarget:h["PortalTarget"]},mixins:[we["a"]],inject:{isTargetIDE:{default:!1},store:{default(){return{reset(){},setReferences(){}}}}},props:{hierarchy:{type:Object,required:!0},metadata:{type:Object,required:!0},references:{type:Object,required:!0},sections:{type:Array,required:!0,validator:e=>e.every(({kind:e})=>Object.prototype.hasOwnProperty.call(ms,e))},identifierUrl:{type:String,required:!0}},computed:{heroSection(){return this.sections.find(this.isHero)},heroTitle(){return(this.heroSection||{}).title},pageTitle(){return this.heroTitle?`${this.heroTitle} — ${this.metadata.category} Tutorials`:void 0},pageDescription:({heroSection:e,extractFirstParagraphText:t})=>e?t(e.content):null},methods:{componentFor(e){const{kind:t}=e;return{[ms.articleBody]:ft,[ms.callToAction]:Rt,[ms.hero]:An,[ms.assessments]:hs}[t]},isHero(e){return e.kind===ms.hero},propsFor(e){const{abstract:t,action:n,anchor:s,assessments:i,backgroundImage:r,chapter:o,content:a,estimatedTimeInMinutes:c,kind:l,media:u,projectFiles:d,title:p,video:h,xcodeRequirement:m}=e;return{[ms.articleBody]:{content:a},[ms.callToAction]:{abstract:t,action:n,media:u,title:p},[ms.hero]:{backgroundImage:r,chapter:o,content:a,estimatedTimeInMinutes:c,projectFiles:d,title:p,video:h,xcodeRequirement:m},[ms.assessments]:{anchor:s,assessments:i}}[l]}},created(){m["a"].setAvailableLocales(this.metadata.availableLocales),this.store.reset(),this.store.setReferences(this.references)},watch:{references(e){this.store.setReferences(e)},"metadata.availableLocales":function(e){m["a"].setAvailableLocales(e)}},SectionKind:ms},vs=fs,bs=(n("79ef"),Object(_["a"])(vs,d,p,!1,null,"7d4562ea",null)),gs=bs.exports,ys=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tutorial"},[e.isTargetIDE?e._e():n("NavigationBar",{attrs:{technology:e.metadata.category,chapters:e.hierarchy.modules,topic:e.tutorialTitle||"",rootReference:e.hierarchy.reference,identifierUrl:e.identifierUrl}}),n("main",{attrs:{id:"main",role:"main",tabindex:"0"}},[e._l(e.sections,(function(e,t){return n("Section",{key:t,attrs:{section:e}})})),n("BreakpointEmitter",{on:{change:e.handleBreakpointChange}})],2),n("PortalTarget",{attrs:{name:"modal-destination",multiple:""}})],1)},Cs=[],ws=n("66c9"),_s=n("7689"),ks=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sections"},e._l(e.tasks,(function(t,s){return n("Section",e._b({key:s,attrs:{id:t.anchor,sectionNumber:s+1,isRuntimePreviewVisible:e.isRuntimePreviewVisible},on:{"runtime-preview-toggle":e.onRuntimePreviewToggle}},"Section",t,!1))})),1)},Ss=[],xs=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("LinkableSection",{staticClass:"section",attrs:{anchor:e.anchor,title:e.introProps.title}},[n("Intro",e._b({},"Intro",e.introProps,!1)),e.stepsSection.length>0?n("Steps",{attrs:{content:e.stepsSection,isRuntimePreviewVisible:e.isRuntimePreviewVisible,sectionNumber:e.sectionNumber},on:{"runtime-preview-toggle":e.onRuntimePreviewToggle}}):e._e()],1)},Ts=[],Is=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"intro-container"},[n("Row",{class:["intro","intro-"+e.sectionNumber,{ide:e.isTargetIDE}]},[n("Column",{staticClass:"left"},[n("Headline",{attrs:{level:2}},[n("router-link",{attrs:{slot:"eyebrow",to:e.sectionLink},slot:"eyebrow"},[e._v(" "+e._s(e.$t("sections.title",{number:e.sectionNumber}))+" ")]),e._v(" "+e._s(e.title)+" ")],1),n("ContentNode",{attrs:{content:e.content}})],1),n("Column",{staticClass:"right"},[n("div",{staticClass:"media"},[e.media?n("Asset",{attrs:{identifier:e.media,showsReplayButton:!e.isClientMobile,showsVideoControls:e.isClientMobile,videoAutoplays:!e.isClientMobile}}):e._e()],1)])],1),e.expandedSections.length>0?n("ExpandedIntro",{staticClass:"expanded-intro",attrs:{content:e.expandedSections}}):e._e()],1)},As=[],$s={name:"SectionIntro",inject:{isClientMobile:{default:()=>!1},isTargetIDE:{default:()=>!1}},components:{Asset:Ae["a"],ContentNode:Ne["default"],ExpandedIntro:dt,Headline:Xt,Row:_t["a"],Column:{render(e){return e(kt["a"],{props:{span:{large:6,small:12}}},this.$slots.default)}}},props:{sectionAnchor:{type:String,required:!0},content:{type:Array,required:!0},media:{type:String,required:!0},title:{type:String,required:!0},sectionNumber:{type:Number,required:!0},expandedSections:{type:Array,default:()=>[]}},methods:{focus(){this.$emit("focus",this.media)}},computed:{sectionLink(){return{path:this.$route.path,hash:this.sectionAnchor,query:this.$route.query}}}},Os=$s,Ns=(n("257c"),Object(_["a"])(Os,Is,As,!1,null,"7f9a8f65",null)),Ps=Ns.exports,qs=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"steps"},[n("div",{staticClass:"content-container"},e._l(e.contentNodes,(function(t,s){return n(t.component,e._b({key:s,ref:"contentNodes",refInFor:!0,tag:"component",class:e.contentClass(s),attrs:{currentIndex:e.activeStep}},"component",t.props,!1))})),1),e.isBreakpointSmall?e._e():n("BackgroundTheme",{staticClass:"asset-container",class:e.assetContainerClasses},[n("transition",{attrs:{name:"fade"}},[e.visibleAsset.media?n("div",{key:e.visibleAsset.media,class:["asset-wrapper",{ide:e.isTargetIDE}]},[n("Asset",{ref:"asset",staticClass:"step-asset",attrs:{identifier:e.visibleAsset.media,showsReplayButton:"",showsVideoControls:!1}})],1):e._e(),e.visibleAsset.code?n("CodePreview",{attrs:{code:e.visibleAsset.code,preview:e.visibleAsset.runtimePreview,isRuntimePreviewVisible:e.isRuntimePreviewVisible},on:{"runtime-preview-toggle":e.onRuntimePreviewToggle}},[e.visibleAsset.runtimePreview?n("transition",{attrs:{name:"fade"}},[n("Asset",{key:e.visibleAsset.runtimePreview,attrs:{identifier:e.visibleAsset.runtimePreview}})],1):e._e()],1):e._e()],1)],1)],1)},Ds=[],js=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["code-preview",{ide:e.isTargetIDE}]},[n("CodeTheme",[e.code?n("CodeListing",e._b({attrs:{showLineNumbers:""}},"CodeListing",e.codeProps,!1)):e._e()],1),n("div",{staticClass:"runtime-preview",class:e.runtimePreviewClasses,style:e.previewStyles},[n("div",{staticClass:"runtimve-preview__container"},[n("button",{staticClass:"header",attrs:{disabled:!e.hasRuntimePreview,title:e.runtimePreviewTitle},on:{click:e.togglePreview}},[n("span",{staticClass:"runtime-preview-label",attrs:{"aria-label":e.textAriaLabel}},[e._v(e._s(e.togglePreviewText))]),n("DiagonalArrowIcon",{staticClass:"icon-inline preview-icon",class:[e.shouldDisplayHideLabel?"preview-hide":"preview-show"]})],1),n("transition",{on:{leave:e.handleLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.shouldDisplayHideLabel,expression:"shouldDisplayHideLabel"}],staticClass:"runtime-preview-asset"},[e._t("default")],2)])],1)])],1)},Rs=[],Ms=n("7b69"),Bs=n("6667"),Ls=n("8590");const{BreakpointName:Es}=o["a"].constants;function Fs({width:e,height:t},n=1){const s=400,i=e<=s?1.75:3;return{width:e/(i/n),height:t/(i/n)}}var Vs={name:"CodePreview",inject:{isTargetIDE:{default:!1},store:{default(){return{state:{references:{}}}}}},components:{DiagonalArrowIcon:Bs["a"],CodeListing:Ms["a"],CodeTheme:Ls["a"]},props:{code:{type:String,required:!0},preview:{type:String,required:!1},isRuntimePreviewVisible:{type:Boolean,required:!0}},data(){return{tutorialState:this.store.state}},computed:{references:({tutorialState:e})=>e.references,currentBreakpoint(){return this.tutorialState.breakpoint},hasRuntimePreview(){return!!this.preview},previewAssetSize(){const e=this.hasRuntimePreview?this.references[this.preview]:{},t=(e.variants||[{}])[0]||{},n={width:900};let s=t.size||{};s.width||s.height||(s=n);const i=this.currentBreakpoint===Es.medium?.8:1;return Fs(s,i)},previewSize(){const e={width:102};return this.shouldDisplayHideLabel&&this.previewAssetSize?{width:this.previewAssetSize.width}:e},previewStyles(){const{width:e}=this.previewSize;return{width:e+"px"}},codeProps(){return this.references[this.code]},runtimePreviewClasses(){return{collapsed:!this.shouldDisplayHideLabel,disabled:!this.hasRuntimePreview,"runtime-preview-ide":this.isTargetIDE}},shouldDisplayHideLabel(){return this.hasRuntimePreview&&this.isRuntimePreviewVisible},runtimePreviewTitle(){return this.hasRuntimePreview?null:this.$t("tutorials.preview.no-preview-available-step")},togglePreviewText(){return this.$tc("tutorials.preview.title",this.hasRuntimePreview?1:0)},textAriaLabel(){return`${this.togglePreviewText}, ${this.shouldDisplayHideLabel?this.$t("verbs.hide"):this.$t("verbs.show")}`}},methods:{handleLeave(e,t){setTimeout(t,200)},togglePreview(){this.hasRuntimePreview&&this.$emit("runtime-preview-toggle",!this.isRuntimePreviewVisible)}}},Us=Vs,Hs=(n("b27b"),Object(_["a"])(Us,js,Rs,!1,null,"4f53426a",null)),zs=Hs.exports,Gs=n("3908"),Ws=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{style:e.backgroundStyle},[e._t("default")],2)},Qs=[],Ks={name:"BackgroundTheme",data(){return{codeThemeState:ws["a"].state}},computed:{backgroundStyle(){const{codeColors:e}=this.codeThemeState;return e?{"--background":e.background}:null}}},Xs=Ks,Js=Object(_["a"])(Xs,Ws,Qs,!1,null,null,null),Ys=Js.exports,Zs=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["step-container","step-"+e.stepNumber]},[n("div",{ref:"step",staticClass:"step",class:{focused:e.isActive},attrs:{"data-index":e.index}},[n("p",{staticClass:"step-label"},[e._v(e._s(e.$t("tutorials.step",{number:e.stepNumber})))]),n("ContentNode",{attrs:{content:e.content}}),e.caption&&e.caption.length>0?n("ContentNode",{staticClass:"caption",attrs:{content:e.caption}}):e._e()],1),e.isBreakpointSmall||!e.isTargetIDE?n("div",{staticClass:"media-container"},[e.media?n("Asset",{attrs:{identifier:e.media,showsReplayButton:!e.isClientMobile,showsVideoControls:e.isClientMobile,videoAutoplays:!e.isClientMobile}}):e._e(),e.code?n("MobileCodePreview",{attrs:{code:e.code}},[e.runtimePreview?n("Asset",{staticClass:"preview",attrs:{identifier:e.runtimePreview}}):e._e()],1):e._e()],1):e._e()])},ei=[],ti=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BackgroundTheme",{staticClass:"mobile-code-preview"},[e.code?n("GenericModal",{staticClass:"full-code-listing-modal",attrs:{theme:e.isTargetIDE?"code":"light",codeBackgroundColorOverride:e.modalBackgroundColor,isFullscreen:"",visible:e.fullCodeIsVisible},on:{"update:visible":function(t){e.fullCodeIsVisible=t}}},[n("div",{staticClass:"full-code-listing-modal-content"},[n("CodeTheme",[n("CodeListing",e._b({staticClass:"full-code-listing",attrs:{showLineNumbers:""}},"CodeListing",e.codeProps,!1))],1)],1)]):e._e(),n("CodeTheme",[e.code?n("MobileCodeListing",e._b({attrs:{showLineNumbers:""},on:{"file-name-click":e.toggleFullCode}},"MobileCodeListing",e.codeProps,!1)):e._e()],1),n("CodeTheme",{staticClass:"preview-toggle-container"},[n("PreviewToggle",{attrs:{isActionable:!!e.$slots.default},on:{click:e.togglePreview}})],1),e.$slots.default?n("GenericModal",{staticClass:"runtime-preview-modal",attrs:{theme:e.isTargetIDE?"dynamic":"light",isFullscreen:"",visible:e.previewIsVisible},on:{"update:visible":function(t){e.previewIsVisible=t}}},[n("div",{staticClass:"runtime-preview-modal-content"},[n("span",{staticClass:"runtime-preview-label"},[e._v(e._s(e.$tc("tutorials.preview.title",1)))]),e._t("default")],2)]):e._e()],1)},ni=[],si=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"code-listing-preview",attrs:{"data-syntax":e.syntax}},[n("CodeListing",{attrs:{fileName:e.fileName,syntax:e.syntax,fileType:e.fileType,content:e.previewedLines,startLineNumber:e.displayedRange.start,highlights:e.highlights,showLineNumbers:"",isFileNameActionable:""},on:{"file-name-click":function(t){return e.$emit("file-name-click")}}})],1)},ii=[],ri={name:"MobileCodeListing",components:{CodeListing:Ms["a"]},props:{fileName:String,syntax:String,fileType:String,content:{type:Array,required:!0},highlights:{type:Array,default:()=>[]}},computed:{highlightedLineNumbers(){return new Set(this.highlights.map(({line:e})=>e))},firstHighlightRange(){if(0===this.highlightedLineNumbers.size)return{start:1,end:this.content.length};const e=Math.min(...this.highlightedLineNumbers.values());let t=e;while(this.highlightedLineNumbers.has(t+1))t+=1;return{start:e,end:t}},displayedRange(){const e=this.firstHighlightRange,t=e.start-2<1?1:e.start-2,n=e.end+3>=this.content.length+1?this.content.length+1:e.end+3;return{start:t,end:n}},previewedLines(){return this.content.slice(this.displayedRange.start-1,this.displayedRange.end-1)}}},oi=ri,ai=(n("fae5"),Object(_["a"])(oi,si,ii,!1,null,"5ad4e037",null)),ci=ai.exports,li=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"toggle-preview"},[e.isActionable?n("a",{staticClass:"toggle-text",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.$emit("click")}}},[e._v(" "+e._s(e.$tc("tutorials.preview.title",1))+" "),n("InlinePlusCircleIcon",{staticClass:"toggle-icon icon-inline"})],1):n("span",{staticClass:"toggle-text"},[e._v(" "+e._s(e.$tc("tutorials.preview.title",0))+" ")])])},ui=[],di=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"inline-plus-circle-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-plus-circle"}},[n("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5v0c0-3.59 2.91-6.5 6.5-6.5v0zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5v0c0-3.038-2.462-5.5-5.5-5.5v0z"}}),n("path",{attrs:{d:"M4 6.52h6v1h-6v-1z"}}),n("path",{attrs:{d:"M6.5 4.010h1v6h-1v-6z"}})])},pi=[],hi={name:"InlinePlusCircleIcon",components:{SVGIcon:y["a"]}},mi=hi,fi=Object(_["a"])(mi,di,pi,!1,null,null,null),vi=fi.exports,bi={name:"MobileCodePreviewToggle",components:{InlinePlusCircleIcon:vi},props:{isActionable:{type:Boolean,required:!0}}},gi=bi,yi=(n("bf0a"),Object(_["a"])(gi,li,ui,!1,null,"78763c14",null)),Ci=yi.exports,wi={name:"MobileCodePreview",inject:["isTargetIDE"],mixins:[T["a"]],components:{GenericModal:Jt["a"],CodeListing:Ms["a"],MobileCodeListing:ci,PreviewToggle:Ci,CodeTheme:Ls["a"],BackgroundTheme:Ys},props:{code:{type:String,required:!0}},computed:{codeProps(){return this.references[this.code]},modalBackgroundColor(){const{codeColors:e}=this.store.state;return e?e.background:null}},data(){return{previewIsVisible:!1,fullCodeIsVisible:!1}},methods:{togglePreview(){this.previewIsVisible=!this.previewIsVisible},toggleFullCode(){this.fullCodeIsVisible=!this.fullCodeIsVisible}}},_i=wi,ki=(n("3fcc"),Object(_["a"])(_i,ti,ni,!1,null,"1aed4baa",null)),Si=ki.exports;const{BreakpointName:xi}=o["a"].constants;var Ti={name:"Step",components:{Asset:Ae["a"],MobileCodePreview:Si,ContentNode:Ne["default"]},inject:["isTargetIDE","isClientMobile","store"],props:{code:{type:String,required:!1},content:{type:Array,required:!0},caption:{type:Array,required:!1},media:{type:String,required:!1},runtimePreview:{type:String,required:!1},sectionNumber:{type:Number,required:!0},stepNumber:{type:Number,required:!0},numberOfSteps:{type:Number,required:!0},index:{type:Number,required:!0},currentIndex:{type:Number,required:!0}},data(){return{tutorialState:this.store.state}},computed:{isBreakpointSmall(){return this.tutorialState.breakpoint===xi.small},isActive:({index:e,currentIndex:t})=>e===t}},Ii=Ti,Ai=(n("c643"),Object(_["a"])(Ii,Zs,ei,!1,null,"eb45ec92",null)),$i=Ai.exports;const{BreakpointName:Oi}=o["a"].constants,{IntersectionDirections:Ni}=Je["a"].constants,Pi="-35% 0% -65% 0%";var qi={name:"SectionSteps",components:{ContentNode:Ne["default"],Step:$i,Asset:Ae["a"],CodePreview:zs,BackgroundTheme:Ys},mixins:[Je["a"]],constants:{IntersectionMargins:Pi},inject:["isTargetIDE","store"],data(){const e=this.content.findIndex(this.isStepNode),{code:t,media:n,runtimePreview:s}=this.content[e]||{};return{tutorialState:this.store.state,visibleAsset:{media:n,code:t,runtimePreview:s},activeStep:e}},computed:{assetContainerClasses(){return{"for-step-code":!!this.visibleAsset.code,ide:this.isTargetIDE}},numberOfSteps(){return this.content.filter(this.isStepNode).length},contentNodes(){return this.content.reduce(({stepCounter:e,nodes:t},n,s)=>{const{type:i,...r}=n,o=this.isStepNode(n),a=o?e+1:e;return o?{stepCounter:e+1,nodes:t.concat({component:$i,type:i,props:{...r,stepNumber:a,index:s,numberOfSteps:this.numberOfSteps,sectionNumber:this.sectionNumber}})}:{stepCounter:e,nodes:t.concat({component:Ne["default"],type:i,props:{content:[n]}})}},{stepCounter:0,nodes:[]}).nodes},isBreakpointSmall(){return this.tutorialState.breakpoint===Oi.small},stepNodes:({contentNodes:e,isStepNode:t})=>e.filter(t),intersectionRootMargin:()=>Pi},async mounted(){await Object(Gs["b"])(8),this.findClosestStepNode()},methods:{isStepNode({type:e}){return"step"===e},contentClass(e){return{["interstitial interstitial-"+(e+1)]:!this.isStepNode(this.content[e])}},onReverseIntoLastStep(){const{asset:e}=this.$refs;if(e){const t=e.$el.querySelector("video");t&&(t.currentTime=0,t.play().catch(()=>{}))}},onFocus(e){const{code:t,media:n,runtimePreview:s}=this.content[e];this.activeStep=e,this.visibleAsset={code:t,media:n,runtimePreview:s}},onRuntimePreviewToggle(e){this.$emit("runtime-preview-toggle",e)},findClosestStepNode(){const e=.333*window.innerHeight;let t=null,n=0;this.stepNodes.forEach(s=>{const{index:i}=s.props,r=this.$refs.contentNodes[i].$refs.step;if(!r)return;const{top:o,bottom:a}=r.getBoundingClientRect(),c=o-e,l=a-e,u=Math.abs(c+l);(0===n||u<=n)&&(n=u,t=i)}),null!==t&&this.onFocus(t)},getIntersectionTargets(){const{stepNodes:e,$refs:t}=this;return e.map(({props:{index:e}})=>t.contentNodes[e].$refs.step)},onIntersect(e){const{target:t,isIntersecting:n}=e;if(!n)return;const s=parseFloat(t.getAttribute("data-index"));this.intersectionScrollDirection===Ni.down&&s===this.stepNodes[this.stepNodes.length-1].props.index&&this.onReverseIntoLastStep(),this.onFocus(s)}},props:{content:{type:Array,required:!0},isRuntimePreviewVisible:{type:Boolean,require:!0},sectionNumber:{type:Number,required:!0}}},Di=qi,ji=(n("d4f3"),Object(_["a"])(Di,qs,Ds,!1,null,"2786be2a",null)),Ri=ji.exports,Mi={name:"Section",components:{Intro:Ps,LinkableSection:tt,Steps:Ri},computed:{introProps(){const[{content:e,media:t},...n]=this.contentSection;return{content:e,expandedSections:n,media:t,sectionAnchor:this.anchor,sectionNumber:this.sectionNumber,title:this.title}}},props:{anchor:{type:String,required:!0},title:{type:String,required:!0},contentSection:{type:Array,required:!0},stepsSection:{type:Array,required:!0},sectionNumber:{type:Number,required:!0},isRuntimePreviewVisible:{type:Boolean,required:!0}},methods:{onRuntimePreviewToggle(e){this.$emit("runtime-preview-toggle",e)}}},Bi=Mi,Li=(n("9dc4"),Object(_["a"])(Bi,xs,Ts,!1,null,"6b3a0b3a",null)),Ei=Li.exports,Fi={name:"SectionList",components:{Section:Ei},data(){return{isRuntimePreviewVisible:!0}},props:{tasks:{type:Array,required:!0}},methods:{onRuntimePreviewToggle(e){this.isRuntimePreviewVisible=e}}},Vi=Fi,Ui=(n("4d07"),Object(_["a"])(Vi,ks,Ss,!1,null,"79a75e9e",null)),Hi=Ui.exports;const zi={assessments:ls,hero:Sn,tasks:Hi,callToAction:Pt},Gi=new Set(Object.keys(zi)),Wi={name:"TutorialSection",render:function(e){const{kind:t,...n}=this.section,s=zi[t];return s?e(s,{props:n}):null},props:{section:{type:Object,required:!0,validator:e=>Gi.has(e.kind)}}};var Qi={name:"Tutorial",mixins:[we["a"],_s["a"]],components:{NavigationBar:Ce,Section:Wi,PortalTarget:h["PortalTarget"],BreakpointEmitter:o["a"]},inject:["isTargetIDE","store"],computed:{heroSection(){return this.sections.find(({kind:e})=>"hero"===e)},tutorialTitle(){return(this.heroSection||{}).title},pageTitle(){return this.tutorialTitle?`${this.tutorialTitle} — ${this.metadata.category} Tutorials`:void 0},pageDescription:({heroSection:e,extractFirstParagraphText:t})=>e?t(e.content):null},props:{sections:{type:Array,required:!0},references:{type:Object,required:!0},hierarchy:{type:Object,required:!0},metadata:{type:Object,required:!0},identifierUrl:{type:String,required:!0}},methods:{handleBreakpointChange(e){this.store.updateBreakpoint(e)},handleCodeColorsChange(e){ws["a"].updateCodeColors(e)}},created(){m["a"].setAvailableLocales(this.metadata.availableLocales),this.store.reset(),this.store.setReferences(this.references)},watch:{references(e){this.store.setReferences(e)},"metadata.availableLocales":function(e){m["a"].setAvailableLocales(e)}},mounted(){this.$bridge.on("codeColors",this.handleCodeColorsChange),this.$bridge.send({type:"requestCodeColors"})},provide(){return{isClientMobile:this.isClientMobile}},beforeDestroy(){this.$bridge.off("codeColors",this.handleCodeColorsChange)}},Ki=Qi,Xi=(n("424f"),Object(_["a"])(Ki,ys,Cs,!1,null,"611d0574",null)),Ji=Xi.exports,Yi=n("0caf"),Zi=n("146e");const er={article:"article",tutorial:"project"};var tr={name:"Topic",inject:{isTargetIDE:{default:!1}},mixins:[Yi["a"],Zi["a"]],data(){return{topicData:null}},computed:{navigationBarHeight(){return this.isTargetIDE?0:52},store(){return u},hierarchy(){const{hierarchy:e={}}=this.topicData,{technologyNavigation:t=["overview","tutorials","resources"]}=e||{};return{...e,technologyNavigation:t}},topicKey:({$route:e,topicData:t})=>[e.path,t.identifier.interfaceLanguage].join()},beforeRouteEnter(e,t,n){e.meta.skipFetchingData?n(e=>e.newContentMounted()):Object(r["c"])(e,t,n).then(e=>n(t=>{t.topicData=e})).catch(n)},beforeRouteUpdate(e,t,n){Object(r["e"])(e,t)?Object(r["c"])(e,t,n).then(e=>{this.topicData=e,n()}).catch(n):n()},created(){this.store.reset()},mounted(){this.$bridge.on("contentUpdate",this.handleContentUpdateFromBridge)},beforeDestroy(){this.$bridge.off("contentUpdate",this.handleContentUpdateFromBridge)},methods:{componentFor(e){const{kind:t}=e;return{[er.article]:gs,[er.tutorial]:Ji}[t]},propsFor(e){const{hierarchy:t,kind:n,metadata:s,references:i,sections:r,identifier:o}=e;return{[er.article]:{hierarchy:t,metadata:s,references:i,sections:r,identifierUrl:o.url},[er.tutorial]:{hierarchy:t,metadata:s,references:i,sections:r,identifierUrl:o.url}}[n]}},provide(){return{navigationBarHeight:this.navigationBarHeight,store:this.store}},watch:{topicData(){this.$nextTick(()=>{this.newContentMounted()})}}},nr=tr,sr=Object(_["a"])(nr,s,i,!1,null,null,null);t["default"]=sr.exports},"32b1":function(e,t,n){},"33ff":function(e,t,n){"use strict";n("4e3e")},3976:function(e,t,n){"use strict";n("0c11")},"3e1b":function(e,t,n){"use strict";n("c5c1")},"3fcc":function(e,t,n){"use strict";n("0c14")},"424f":function(e,t,n){"use strict";n("99b6")},4718:function(e,t,n){},"4b4a":function(e,t,n){},"4d07":function(e,t,n){"use strict";n("b52e")},"4e3e":function(e,t,n){},5237:function(e,t,n){"use strict";n("4b4a")},"525c":function(e,t,n){},5892:function(e,t,n){},5913:function(e,t,n){},"63a8":function(e,t,n){},"653a":function(e,t,n){"use strict";var s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-link",{staticClass:"nav-title-content",attrs:{to:e.to}},[n("span",{staticClass:"title"},[e._t("default")],2),n("span",{staticClass:"subhead"},[e._v(" "),e._t("subhead")],2)])},i=[],r={name:"NavTitleContainer",props:{to:{type:[String,Object],required:!0}}},o=r,a=(n("f1e6"),n("2877")),c=Object(a["a"])(o,s,i,!1,null,"854b4dd6",null);t["a"]=c.exports},6866:function(e,t,n){"use strict";n("5892")},7096:function(e,t,n){},"735b":function(e,t,n){},7748:function(e,t,n){},"79ef":function(e,t,n){"use strict";n("bcaa")},"7b17":function(e,t,n){},"7f7b":function(e,t,n){"use strict";n("735b")},"7fae":function(e,t,n){"use strict";n("a53d")},9924:function(e,t,n){},9938:function(e,t,n){"use strict";n("d513")},"99b6":function(e,t,n){},"9dc4":function(e,t,n){"use strict";n("fe9d")},a0d4:function(e,t,n){},a40c:function(e,t,n){},a53d:function(e,t,n){},a95e:function(e,t,n){},aa4c:function(e,t,n){},aece:function(e,t,n){"use strict";n("c0df")},b27b:function(e,t,n){"use strict";n("2a05")},b52e:function(e,t,n){},bcaa:function(e,t,n){},bf0a:function(e,t,n){"use strict";n("4718")},c0df:function(e,t,n){},c5c1:function(e,t,n){},c643:function(e,t,n){"use strict";n("9924")},c7dd:function(e,t,n){"use strict";n("aa4c")},cb8d:function(e,t,n){"use strict";n("0466")},d4f3:function(e,t,n){"use strict";n("fc13")},d513:function(e,t,n){},d86f:function(e,t,n){},da20:function(e,t,n){"use strict";n("a40c")},de60:function(e,t,n){"use strict";var s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"download-icon",attrs:{viewBox:"0 0 14 14",themeId:"download"}},[n("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5s2.91-6.5 6.5-6.5zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5s-2.462-5.5-5.5-5.5z"}}),n("path",{attrs:{d:"M7.51 2.964l-0.001 5.431 1.308-2.041 0.842 0.539-2.664 4.162-2.633-4.164 0.845-0.534 1.303 2.059 0.001-5.452z"}})])},i=[],r=n("be08"),o={name:"DownloadIcon",components:{SVGIcon:r["a"]}},a=o,c=n("2877"),l=Object(c["a"])(a,s,i,!1,null,null,null);t["a"]=l.exports},e38e:function(e,t,n){},e688:function(e,t,n){"use strict";n("5913")},e84c:function(e,t,n){"use strict";n("d86f")},e9b0:function(e,t,n){"use strict";n("ee09")},ea88:function(e,t,n){"use strict";n("ed98")},ed71:function(e,t,n){"use strict";n("7096")},ed98:function(e,t,n){},ee09:function(e,t,n){},f1e6:function(e,t,n){"use strict";n("a0d4")},f264:function(e,t,n){"use strict";n("63a8")},fae5:function(e,t,n){"use strict";n("32b1")},fc13:function(e,t,n){},fe9d:function(e,t,n){}}]); \ No newline at end of file diff --git a/js/tutorials-overview.2a32cd6f.js b/js/tutorials-overview.2a32cd6f.js new file mode 100644 index 0000000..3025a8a --- /dev/null +++ b/js/tutorials-overview.2a32cd6f.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["tutorials-overview"],{"032c":function(t,e,n){"use strict";n("9b79")},"0b61":function(t,e,n){},"13d5":function(t,e,n){},"15ac":function(t,e,n){"use strict";n("ddf1")},"17d2":function(t,e,n){},"202a":function(t,e,n){"use strict";n("5899")},"277b":function(t,e,n){"use strict";n("60ca")},"29e3":function(t,e,n){"use strict";n("0b61")},3233:function(t,e,n){"use strict";n("8d8f")},4230:function(t,e,n){"use strict";n("52f5")},"441c":function(t,e,n){},"52f5":function(t,e,n){},5899:function(t,e,n){},"60ca":function(t,e,n){},"653a":function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("router-link",{staticClass:"nav-title-content",attrs:{to:t.to}},[n("span",{staticClass:"title"},[t._t("default")],2),n("span",{staticClass:"subhead"},[t._v(" "),t._t("subhead")],2)])},s=[],a={name:"NavTitleContainer",props:{to:{type:[String,Object],required:!0}}},o=a,r=(n("f1e6"),n("2877")),c=Object(r["a"])(o,i,s,!1,null,"854b4dd6",null);e["a"]=c.exports},6899:function(t,e,n){"use strict";n("441c")},"6fb0":function(t,e,n){"use strict";n("eec8")},"7c60":function(t,e,n){},"8d8f":function(t,e,n){},"8f86":function(t,e,n){},9359:function(t,e,n){"use strict";n("9e08")},9792:function(t,e,n){"use strict";n("c8c8")},"9b79":function(t,e,n){},"9e08":function(t,e,n){},a0d4:function(t,e,n){},a975:function(t,e,n){"use strict";n("7c60")},aebc:function(t,e,n){"use strict";n("c0c9")},b9bf:function(t,e,n){"use strict";n("13d5")},c0c9:function(t,e,n){},c8c8:function(t,e,n){},ca4e:function(t,e,n){"use strict";n("17d2")},ddf1:function(t,e,n){},de60:function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("SVGIcon",{staticClass:"download-icon",attrs:{viewBox:"0 0 14 14",themeId:"download"}},[n("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5s2.91-6.5 6.5-6.5zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5s-2.462-5.5-5.5-5.5z"}}),n("path",{attrs:{d:"M7.51 2.964l-0.001 5.431 1.308-2.041 0.842 0.539-2.664 4.162-2.633-4.164 0.845-0.534 1.303 2.059 0.001-5.452z"}})])},s=[],a=n("be08"),o={name:"DownloadIcon",components:{SVGIcon:a["a"]}},r=o,c=n("2877"),l=Object(c["a"])(r,i,s,!1,null,null,null);e["a"]=l.exports},dfc1:function(t,e,n){},ed64:function(t,e,n){"use strict";n("dfc1")},eec8:function(t,e,n){},f025:function(t,e,n){"use strict";n.r(e);var i,s,a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.topicData?n("Overview",t._b({key:t.topicKey},"Overview",t.overviewProps,!1)):t._e()},o=[],r=n("25a9"),c=n("0caf"),l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tutorials-overview"},[t.isTargetIDE?t._e():n("Nav",{staticClass:"theme-dark",attrs:{sections:t.otherSections}},[t._v(" "+t._s(t.title)+" ")]),n("main",{staticClass:"main",attrs:{id:"main",role:"main",tabindex:"0"}},[n("div",{staticClass:"radial-gradient"},[t._t("above-hero"),t.heroSection?n("Hero",{attrs:{action:t.heroSection.action,content:t.heroSection.content,estimatedTime:t.metadata.estimatedTime,image:t.heroSection.image,title:t.heroSection.title}}):t._e()],2),t.otherSections.length>0?n("LearningPath",{attrs:{sections:t.otherSections}}):t._e()],1)],1)},u=[],m=n("e425"),d={state:{activeTutorialLink:null,activeVolume:null,references:{}},reset(){this.state.activeTutorialLink=null,this.state.activeVolume=null,this.state.references={}},setActiveSidebarLink(t){this.state.activeTutorialLink=t},setActiveVolume(t){this.state.activeVolume=t},setReferences(t){this.state.references=t}},p=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("NavBase",[n("NavTitleContainer",{attrs:{to:t.buildUrl(t.$route.path,t.$route.query)}},[n("template",{slot:"default"},[t._t("default")],2),n("template",{slot:"subhead"},[t._v(t._s(t.$tc("tutorials.title",2)))])],2),n("template",{slot:"menu-items"},[n("NavMenuItemBase",{staticClass:"in-page-navigation"},[n("TutorialsNavigation",{attrs:{sections:t.sections}})],1),t._t("menu-items")],2)],2)},h=[],v=n("cbcf"),f=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nav",{staticClass:"tutorials-navigation"},[n("TutorialsNavigationList",t._l(t.sections,(function(e,i){return n("li",{key:e.name+"_"+i,class:t.sectionClasses(e)},[t.isVolume(e)?n(t.componentForVolume(e),t._b({tag:"component",on:{"select-menu":t.onSelectMenu,"deselect-menu":t.onDeselectMenu}},"component",t.propsForVolume(e),!1),t._l(e.chapters,(function(e){return n("li",{key:e.name},[n("TutorialsNavigationLink",[t._v(" "+t._s(e.name)+" ")])],1)})),0):t.isResources(e)?n("TutorialsNavigationLink",[t._v(" "+t._s(t.$t("sections.resources"))+" ")]):t._e()],1)})),0)],1)},b=[],_=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("router-link",{staticClass:"tutorials-navigation-link",class:{active:t.active},attrs:{to:t.fragment},nativeOn:{click:function(e){return t.handleFocusAndScroll(t.fragment.hash)}}},[t._t("default")],2)},g=[],C=n("002d"),y=n("8a61"),T={name:"TutorialsNavigationLink",mixins:[y["a"]],inject:{store:{default:()=>({state:{}})}},data(){return{state:this.store.state}},computed:{active:({state:{activeTutorialLink:t},text:e})=>e===t,fragment:({text:t,$route:e})=>({hash:Object(C["a"])(t),query:e.query}),text:({$slots:{default:[{text:t}]}})=>t.trim()}},S=T,V=(n("6fb0"),n("2877")),k=Object(V["a"])(S,_,g,!1,null,"e9f9b59c",null),I=k.exports,x=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ol",{staticClass:"tutorials-navigation-list",attrs:{role:"list"}},[t._t("default")],2)},N=[],O={name:"TutorialsNavigationList"},$=O,j=(n("202a"),Object(V["a"])($,x,N,!1,null,"6f2800d1",null)),A=j.exports,w=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tutorials-navigation-menu",class:{collapsed:t.collapsed}},[n("button",{staticClass:"toggle",attrs:{"aria-expanded":t.collapsed?"false":"true",type:"button"},on:{click:function(e){return e.stopPropagation(),t.onClick.apply(null,arguments)}}},[n("span",{staticClass:"text"},[t._v(t._s(t.title))]),n("InlineCloseIcon",{staticClass:"toggle-icon icon-inline"})],1),n("transition-expand",[t.collapsed?t._e():n("div",{staticClass:"tutorials-navigation-menu-content"},[n("TutorialsNavigationList",{attrs:{"aria-label":t.$t("tutorials.nav.chapters")}},[t._t("default")],2)],1)])],1)},q=[],L=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("SVGIcon",{staticClass:"inline-close-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-close"}},[n("path",{attrs:{d:"M11.91 1l1.090 1.090-4.917 4.915 4.906 4.905-1.090 1.090-4.906-4.905-4.892 4.894-1.090-1.090 4.892-4.894-4.903-4.904 1.090-1.090 4.903 4.904z"}})])},E=[],M=n("be08"),D={name:"InlineCloseIcon",components:{SVGIcon:M["a"]}},F=D,R=Object(V["a"])(F,L,E,!1,null,null,null),B=R.exports,G={name:"TransitionExpand",functional:!0,render(t,e){const n={props:{name:"expand"},on:{afterEnter(t){t.style.height="auto"},enter(t){const{width:e}=getComputedStyle(t);t.style.width=e,t.style.position="absolute",t.style.visibility="hidden",t.style.height="auto";const{height:n}=getComputedStyle(t);t.style.width=null,t.style.position=null,t.style.visibility=null,t.style.height=0,getComputedStyle(t).height,requestAnimationFrame(()=>{t.style.height=n})},leave(t){const{height:e}=getComputedStyle(t);t.style.height=e,getComputedStyle(t).height,requestAnimationFrame(()=>{t.style.height=0})}}};return t("transition",n,e.children)}},z=G,P=(n("032c"),Object(V["a"])(z,i,s,!1,null,null,null)),H=P.exports,K={name:"TutorialsNavigationMenu",components:{InlineCloseIcon:B,TransitionExpand:H,TutorialsNavigationList:A},props:{collapsed:{type:Boolean,default:!0},title:{type:String,required:!0}},methods:{onClick(){this.collapsed?this.$emit("select-menu",this.title):this.$emit("deselect-menu")}}},U=K,Z=(n("277b"),Object(V["a"])(U,w,q,!1,null,"489416f8",null)),J=Z.exports;const Q={resources:"resources",volume:"volume"};var W={name:"TutorialsNavigation",components:{TutorialsNavigationLink:I,TutorialsNavigationList:A,TutorialsNavigationMenu:J},constants:{SectionKind:Q},inject:{store:{default:()=>({setActiveVolume(){}})}},data(){return{state:this.store.state}},props:{sections:{type:Array,required:!0}},computed:{activeVolume:({state:t})=>t.activeVolume},methods:{sectionClasses(t){return{volume:this.isVolume(t),"volume--named":this.isNamedVolume(t),resource:this.isResources(t)}},componentForVolume:({name:t})=>t?J:A,isResources:({kind:t})=>t===Q.resources,isVolume:({kind:t})=>t===Q.volume,activateFirstNamedVolume(){const{isNamedVolume:t,sections:e}=this,n=e.find(t);n&&this.store.setActiveVolume(n.name)},isNamedVolume(t){return this.isVolume(t)&&t.name},onDeselectMenu(){this.store.setActiveVolume(null)},onSelectMenu(t){this.store.setActiveVolume(t)},propsForVolume({name:t}){const{activeVolume:e}=this;return t?{collapsed:t!==e,title:t}:{"aria-label":"Chapters"}}},created(){this.activateFirstNamedVolume()}},X=W,Y=(n("a975"),Object(V["a"])(X,f,b,!1,null,"79093ed6",null)),tt=Y.exports,et=n("653a"),nt=n("d26a"),it=n("863d");const st={resources:"resources",volume:"volume"};var at={name:"Nav",constants:{SectionKind:st},components:{NavMenuItemBase:it["a"],NavTitleContainer:et["a"],TutorialsNavigation:tt,NavBase:v["a"]},props:{sections:{type:Array,require:!0}},methods:{buildUrl:nt["b"]}},ot=at,rt=(n("9359"),Object(V["a"])(ot,p,h,!1,null,"b806ee20",null)),ct=rt.exports,lt=n("bf08"),ut=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"hero"},[n("div",{staticClass:"copy-container"},[n("h1",{staticClass:"title"},[t._v(t._s(t.title))]),t.content?n("ContentNode",{attrs:{content:t.content}}):t._e(),t.estimatedTime?n("p",{staticClass:"meta"},[n("TimerIcon"),n("span",{staticClass:"meta-content"},[n("strong",{staticClass:"time"},[t._v(t._s(t.estimatedTime))]),n("span",[t._v(" "+t._s(t.$t("tutorials.estimated-time")))])])],1):t._e(),t.action?n("CallToActionButton",{attrs:{action:t.action,"aria-label":t.$t("tutorials.overriding-title",{newTitle:t.action.overridingTitle,title:t.title}),isDark:""}}):t._e()],1),t.image?n("Asset",{attrs:{identifier:t.image}}):t._e()],1)},mt=[],dt=n("80e4"),pt=n("c081"),ht=n("5677"),vt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("SVGIcon",{staticClass:"timer-icon",attrs:{viewBox:"0 0 14 14",themeId:"timer"}},[n("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5v0c0-3.59 2.91-6.5 6.5-6.5v0zM7 2c-2.761 0-5 2.239-5 5s2.239 5 5 5c2.761 0 5-2.239 5-5v0c0-2.761-2.239-5-5-5v0z"}}),n("path",{attrs:{d:"M6.51 3.51h1.5v3.5h-1.5v-3.5z"}}),n("path",{attrs:{d:"M6.51 7.010h4v1.5h-4v-1.5z"}})])},ft=[],bt={name:"TimerIcon",components:{SVGIcon:M["a"]}},_t=bt,gt=Object(V["a"])(_t,vt,ft,!1,null,null,null),Ct=gt.exports,yt={name:"Hero",components:{Asset:dt["a"],CallToActionButton:pt["a"],ContentNode:ht["default"],TimerIcon:Ct},props:{action:{type:Object,required:!1},content:{type:Array,required:!1},estimatedTime:{type:String,required:!1},image:{type:String,required:!1},title:{type:String,required:!0}}},Tt=yt,St=(n("29e3"),Object(V["a"])(Tt,ut,mt,!1,null,"383dab71",null)),Vt=St.exports,kt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"learning-path",class:t.classes},[n("div",{staticClass:"main-container"},[t.isTargetIDE?t._e():n("div",{staticClass:"secondary-content-container"},[n("TutorialsNavigation",{attrs:{sections:t.sections,"aria-label":t.$t("sections.on-this-page")}})],1),n("div",{staticClass:"primary-content-container"},[n("div",{staticClass:"content-sections-container"},[t._l(t.volumes,(function(e,i){return n("Volume",t._b({key:"volume_"+i,staticClass:"content-section"},"Volume",t.propsFor(e),!1))})),t._l(t.otherSections,(function(e,i){return n(t.componentFor(e),t._b({key:"resource_"+i,tag:"component",staticClass:"content-section"},"component",t.propsFor(e),!1))}))],2)])])])},It=[],xt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"resources",attrs:{id:"resources",tabindex:"-1"}},[n("VolumeName",{attrs:{name:t.$t("sections.resources"),content:t.content}}),n("TileGroup",{attrs:{tiles:t.tiles}})],1)},Nt=[],Ot=n("72e7");const $t={topOneThird:"-30% 0% -70% 0%",center:"-50% 0% -50% 0%"};var jt={mixins:[Ot["a"]],computed:{intersectionRoot(){return null},intersectionRootMargin(){return $t.center}},methods:{onIntersect(t){if(!t.isIntersecting)return;const e=this.onIntersectViewport;e?e():console.warn("onIntersectViewportCenter not implemented")}}},At=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"volume-name"},[t.image?n("Asset",{staticClass:"image",attrs:{identifier:t.image,"aria-hidden":"true"}}):t._e(),n("h2",{staticClass:"name"},[t._v(" "+t._s(t.name)+" ")]),t.content?n("ContentNode",{attrs:{content:t.content}}):t._e()],1)},wt=[],qt={name:"VolumeName",components:{ContentNode:ht["default"],Asset:dt["a"]},props:{image:{type:String,required:!1},content:{type:Array,required:!1},name:{type:String,required:!1}}},Lt=qt,Et=(n("ca4e"),Object(V["a"])(Lt,At,wt,!1,null,"569db166",null)),Mt=Et.exports,Dt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tile-group",class:t.countClass},t._l(t.tiles,(function(e){return n("Tile",t._b({key:e.title},"Tile",t.propsFor(e),!1))})),1)},Ft=[],Rt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tile"},[t.identifier?n("div",{staticClass:"icon"},[n(t.iconComponent,{tag:"component"})],1):t._e(),n("div",{staticClass:"title"},[t._v(t._s(t.title))]),n("ContentNode",{attrs:{content:t.content}}),t.action?n("DestinationDataProvider",{attrs:{destination:t.action},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.url,s=e.title;return n("Reference",{staticClass:"link",attrs:{url:i}},[t._v(" "+t._s(s)+" "),n("InlineChevronRightIcon",{staticClass:"link-icon icon-inline"})],1)}}],null,!1,3874201962)}):t._e()],1)},Bt=[],Gt=n("3b96"),zt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("SVGIcon",{staticClass:"document-icon",attrs:{viewBox:"0 0 14 14",themeId:"document"}},[n("path",{attrs:{d:"M11.2,5.3,8,2l-.1-.1H2.8V12.1h8.5V6.3l-.1-1ZM8,3.2l2,2.1H8Zm2.4,8H3.6V2.8H7V6.3h3.4Z"}})])},Pt=[],Ht={name:"DocumentIcon",components:{SVGIcon:M["a"]}},Kt=Ht,Ut=(n("3233"),Object(V["a"])(Kt,zt,Pt,!1,null,"3a80772b",null)),Zt=Ut.exports,Jt=n("de60"),Qt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("SVGIcon",{staticClass:"forum-icon",attrs:{viewBox:"0 0 14 14",themeId:"forum"}},[n("path",{attrs:{d:"M13 1v9h-7l-1.5 3-1.5-3h-2v-9zM12 2h-10v7h1.616l0.884 1.763 0.88-1.763h6.62z"}}),n("path",{attrs:{d:"M3 4h8.001v1h-8.001v-1z"}}),n("path",{attrs:{d:"M3 6h8.001v1h-8.001v-1z"}})])},Wt=[],Xt={name:"ForumIcon",components:{SVGIcon:M["a"]}},Yt=Xt,te=Object(V["a"])(Yt,Qt,Wt,!1,null,null,null),ee=te.exports,ne=n("c4dd"),ie=n("86d8"),se=n("34b0"),ae=n("c7ea");const oe={documentation:"documentation",downloads:"downloads",featured:"featured",forums:"forums",sampleCode:"sampleCode",videos:"videos"};var re={name:"Tile",constants:{Identifier:oe},components:{DestinationDataProvider:ae["a"],InlineChevronRightIcon:se["a"],ContentNode:ht["default"],CurlyBracketsIcon:Gt["a"],DocumentIcon:Zt,DownloadIcon:Jt["a"],ForumIcon:ee,PlayIcon:ne["a"],Reference:ie["a"]},props:{action:{type:Object,required:!1},content:{type:Array,required:!0},identifier:{type:String,required:!1},title:{type:String,require:!0}},computed:{iconComponent:({identifier:t})=>({[oe.documentation]:Zt,[oe.downloads]:Jt["a"],[oe.forums]:ee,[oe.sampleCode]:Gt["a"],[oe.videos]:ne["a"]}[t])}},ce=re,le=(n("6899"),Object(V["a"])(ce,Rt,Bt,!1,null,"96abac22",null)),ue=le.exports,me={name:"TileGroup",components:{Tile:ue},props:{tiles:{type:Array,required:!0}},computed:{countClass:({tiles:t})=>"count-"+t.length},methods:{propsFor:({action:t,content:e,identifier:n,title:i})=>({action:t,content:e,identifier:n,title:i})}},de=me,pe=(n("f0ca"),Object(V["a"])(de,Dt,Ft,!1,null,"015f9f13",null)),he=pe.exports,ve={name:"Resources",mixins:[jt],inject:{store:{default:()=>({setActiveSidebarLink(){},setActiveVolume(){}})}},components:{VolumeName:Mt,TileGroup:he},computed:{intersectionRootMargin:()=>$t.topOneThird},props:{content:{type:Array,required:!1},tiles:{type:Array,required:!0}},methods:{onIntersectViewport(){this.store.setActiveSidebarLink("Resources"),this.store.setActiveVolume(null)}}},fe=ve,be=(n("ed64"),Object(V["a"])(fe,xt,Nt,!1,null,"7f8022c1",null)),_e=be.exports,ge=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"volume"},[t.name?n("VolumeName",t._b({},"VolumeName",{name:t.name,image:t.image,content:t.content},!1)):t._e(),t._l(t.chapters,(function(e,i){return n("Chapter",{key:e.name,staticClass:"tile",attrs:{content:e.content,image:e.image,name:e.name,number:i+1,topics:t.lookupTopics(e.tutorials),volumeHasName:!!t.name}})}))],2)},Ce=[],ye=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"chapter",attrs:{id:t.anchor,tabindex:"-1"}},[n("div",{staticClass:"info"},[n("Asset",{attrs:{identifier:t.image,"aria-hidden":"true"}}),n("div",{staticClass:"intro"},[n(t.volumeHasName?"h3":"h2",{tag:"component",staticClass:"name",attrs:{"aria-label":t.name+" - "+t.$tc("tutorials.sections.chapter",{number:t.number})}},[n("span",{staticClass:"eyebrow",attrs:{"aria-hidden":"true"}},[t._v(" "+t._s(t.$t("tutorials.sections.chapter",{number:t.number}))+" ")]),n("span",{staticClass:"name-text",attrs:{"aria-hidden":"true"}},[t._v(t._s(t.name))])]),t.content?n("ContentNode",{attrs:{content:t.content}}):t._e()],1)],1),n("TopicList",{attrs:{topics:t.topics}})],1)},Te=[],Se=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ol",{staticClass:"topic-list"},t._l(t.topics,(function(e){return n("li",{key:e.url,staticClass:"topic",class:[t.kindClassFor(e),{"no-time-estimate":!e.estimatedTime}]},[n("div",{staticClass:"topic-icon"},[n(t.iconComponent(e),{tag:"component"})],1),n("router-link",{staticClass:"container",attrs:{to:t.buildUrl(e.url,t.$route.query),"aria-label":t.ariaLabelFor(e)}},[n("div",{staticClass:"link"},[t._v(t._s(e.title))]),e.estimatedTime?n("div",{staticClass:"time"},[n("TimerIcon"),n("span",{staticClass:"time-label"},[t._v(t._s(e.estimatedTime))])],1):t._e()])],1)})),0)},Ve=[],ke=n("a9f1"),Ie=n("8d2d");const xe={article:"article",tutorial:"project"},Ne={article:"article",tutorial:"tutorial"},Oe={[xe.article]:"Article",[xe.tutorial]:"Tutorial"};var $e={name:"ChapterTopicList",components:{TimerIcon:Ct},constants:{TopicKind:xe,TopicKindClass:Ne,TopicKindIconLabel:Oe},props:{topics:{type:Array,required:!0}},methods:{buildUrl:nt["b"],iconComponent:({kind:t})=>({[xe.article]:ke["a"],[xe.tutorial]:Ie["a"]}[t]),kindClassFor:({kind:t})=>({[xe.article]:Ne.article,[xe.tutorial]:Ne.tutorial}[t]),formatTime(t){return t.replace("min"," "+this.$t("tutorials.time.minutes.full")).replace("hrs"," "+this.$t("tutorials.time.hours.full"))},ariaLabelFor(t){const{title:e,estimatedTime:n,kind:i}=t,s=[e,Oe[i]];return n&&s.push(`${this.formatTime(n)} ${this.$t("tutorials.estimated-time")}`),s.join(" - ")}}},je=$e,Ae=(n("9792"),Object(V["a"])(je,Se,Ve,!1,null,"45ec37c5",null)),we=Ae.exports,qe={name:"Chapter",mixins:[jt],inject:{store:{default:()=>({setActiveSidebarLink(){},setActiveVolume(){}})}},components:{Asset:dt["a"],ContentNode:ht["default"],TopicList:we},props:{content:{type:Array,required:!1},image:{type:String,required:!0},name:{type:String,required:!0},number:{type:Number,required:!0},topics:{type:Array,required:!0},volumeHasName:{type:Boolean,default:!1}},computed:{anchor:({name:t})=>Object(C["a"])(t),intersectionRootMargin:()=>$t.topOneThird},methods:{onIntersectViewport(){this.store.setActiveSidebarLink(this.name),this.volumeHasName||this.store.setActiveVolume(null)}}},Le=qe,Ee=(n("4230"),Object(V["a"])(Le,ye,Te,!1,null,"7468bc5e",null)),Me=Ee.exports,De={name:"Volume",mixins:[jt],components:{VolumeName:Mt,Chapter:Me},computed:{references:({store:t})=>t.state.references,intersectionRootMargin:()=>$t.topOneThird},inject:{store:{default:()=>({setActiveVolume(){},state:{references:{}}})}},props:{chapters:{type:Array,required:!0},content:{type:Array,required:!1},image:{type:String,required:!1},name:{type:String,required:!1}},methods:{lookupTopics(t){return t.reduce((t,e)=>t.concat(this.references[e]||[]),[])},onIntersectViewport(){this.name&&this.store.setActiveVolume(this.name)}}},Fe=De,Re=(n("b9bf"),Object(V["a"])(Fe,ge,Ce,!1,null,"540dbf10",null)),Be=Re.exports;const Ge={resources:"resources",volume:"volume"};var ze={name:"LearningPath",components:{Resources:_e,TutorialsNavigation:tt,Volume:Be},constants:{SectionKind:Ge},inject:{isTargetIDE:{default:!1}},props:{sections:{type:Array,required:!0,validator:t=>t.every(t=>Object.prototype.hasOwnProperty.call(Ge,t.kind))}},computed:{classes:({isTargetIDE:t})=>({ide:t}),partitionedSections:({sections:t})=>t.reduce(([t,e],n)=>n.kind===Ge.volume?[t.concat(n),e]:[t,e.concat(n)],[[],[]]),volumes:({partitionedSections:t})=>t[0],otherSections:({partitionedSections:t})=>t[1]},methods:{componentFor:({kind:t})=>({[Ge.resources]:_e,[Ge.volume]:Be}[t]),propsFor:({chapters:t,content:e,image:n,kind:i,name:s,tiles:a})=>({[Ge.resources]:{content:e,tiles:a},[Ge.volume]:{chapters:t,content:e,image:n,name:s}}[i])}},Pe=ze,He=(n("aebc"),Object(V["a"])(Pe,kt,It,!1,null,"69a72bbc",null)),Ke=He.exports;const Ue={hero:"hero",resources:"resources",volume:"volume"};var Ze={name:"TutorialsOverview",components:{Hero:Vt,LearningPath:Ke,Nav:ct},mixins:[lt["a"]],constants:{SectionKind:Ue},inject:{isTargetIDE:{default:!1}},props:{metadata:{type:Object,default:()=>({})},references:{type:Object,default:()=>({})},sections:{type:Array,default:()=>[],validator:t=>t.every(t=>Object.prototype.hasOwnProperty.call(Ue,t.kind))}},computed:{pageTitle:({title:t})=>[t,"Tutorials"].filter(Boolean).join(" "),pageDescription:({heroSection:t,extractFirstParagraphText:e})=>t?e(t.content):null,partitionedSections:({sections:t})=>t.reduce(([t,e],n)=>n.kind===Ue.hero?[t.concat(n),e]:[t,e.concat(n)],[[],[]]),heroSections:({partitionedSections:t})=>t[0],otherSections:({partitionedSections:t})=>t[1],heroSection:({heroSections:t})=>t[0],store:()=>d,title:({metadata:{category:t=""}})=>t},provide(){return{store:this.store}},created(){m["a"].setAvailableLocales(this.metadata.availableLocales),this.store.reset(),this.store.setReferences(this.references)},watch:{references(t){this.store.setReferences(t)},"metadata.availableLocales":function(t){m["a"].setAvailableLocales(t)}}},Je=Ze,Qe=(n("15ac"),Object(V["a"])(Je,l,u,!1,null,"29ed9b58",null)),We=Qe.exports,Xe=n("146e"),Ye={name:"TutorialsOverview",components:{Overview:We},mixins:[c["a"],Xe["a"]],data(){return{topicData:null}},computed:{overviewProps:({topicData:{metadata:t,references:e,sections:n}})=>({metadata:t,references:e,sections:n}),topicKey:({$route:t,topicData:e})=>[t.path,e.identifier.interfaceLanguage].join()},beforeRouteEnter(t,e,n){t.meta.skipFetchingData?n(t=>t.newContentMounted()):Object(r["c"])(t,e,n).then(t=>n(e=>{e.topicData=t})).catch(n)},beforeRouteUpdate(t,e,n){Object(r["e"])(t,e)?Object(r["c"])(t,e,n).then(t=>{this.topicData=t,n()}).catch(n):n()},mounted(){this.$bridge.on("contentUpdate",this.handleContentUpdateFromBridge)},beforeDestroy(){this.$bridge.off("contentUpdate",this.handleContentUpdateFromBridge)},watch:{topicData(){this.$nextTick(()=>{this.newContentMounted()})}}},tn=Ye,en=Object(V["a"])(tn,a,o,!1,null,null,null);e["default"]=en.exports},f0ca:function(t,e,n){"use strict";n("8f86")},f1e6:function(t,e,n){"use strict";n("a0d4")}}]); \ No newline at end of file diff --git a/metadata.json b/metadata.json new file mode 100644 index 0000000..7a246a2 --- /dev/null +++ b/metadata.json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":1,"patch":0},"bundleDisplayName":"jose-swift","bundleIdentifier":"jose-swift"} \ No newline at end of file