-
Notifications
You must be signed in to change notification settings - Fork 14
Signing API based on JWS #527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
4e6cad9
Merge pull request #520 from admin-shell-io/IDTA-01002-3-2_working
BirgitBoss f236b9d
Create signatures.adoc
aorzelskiGH ef519a7
Update signatures.adoc
aorzelskiGH 27d35d7
Update signatures.adoc
aorzelskiGH 1a40ce7
Signature description
aorzelskiGH 3a68c85
Add JWS
aorzelskiGH 36abd01
Add operations for JWS signatures
aorzelskiGH 239c173
Add JWS signature profiles
aorzelskiGH 28c3b03
Add mapping of JWS signature
aorzelskiGH 72f428d
Add signature profiles
aorzelskiGH 0160f7b
add changelog for PR Signing (#561)
BirgitBoss 616aab5
Merge branch 'IDTA-01002-3-2_working' into aorzelski/jws
sebbader-sap c11d3bc
adding signature profiles as openapi yaml
sebbader-sap 55f729a
editorial fix
sebbader-sap a23cc20
editorial change
sebbader-sap 8dc9098
fix typo
sebbader-sap File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
71 changes: 71 additions & 0 deletions
71
AssetAdministrationShellRepositoryServiceSpecification/V3.2_SSP-004.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| openapi: 3.0.3 | ||
| info: | ||
| title: DotAAS Part 2 | HTTP/REST | Asset Administration Shell Repository Service Specification | ||
| description: >- | ||
| The Signature Profile of the Asset Administration Shell Repository Service Specification as part of the [Specification of the Asset Administration Shell: Part 2](https://industrialdigitaltwin.org/en/content-hub/aasspecifications). | ||
|
|
||
| Copyright: Industrial Digital Twin Association (IDTA) 2026 | ||
| contact: | ||
| name: Industrial Digital Twin Association (IDTA) | ||
| email: info@idtwin.org | ||
| license: | ||
| name: CC BY 4.0 | ||
| url: https://creativecommons.org/licenses/by/4.0/ | ||
| version: V3.2.0_SSP-004 | ||
| x-profile-identifier: https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRepositoryServiceSpecification/SSP-004 | ||
| servers: | ||
| - url: 'https://admin-shell.io/api/v3/' | ||
| - url: 'https://example.com/' | ||
| paths: | ||
|
|
||
| /shells/{aasIdentifier}/$signed: | ||
| parameters: | ||
| - $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/parameters/AssetAdministrationShellIdentifier' | ||
| get: | ||
| tags: | ||
| - Asset Administration Shell Repository API | ||
| summary: Returns a specific Asset Administration Shell as a JWS string | ||
| operationId: GetAssetAdministrationShellByIdSigned | ||
| x-semanticIds: | ||
| - https://admin-shell.io/aas/API/GetAssetAdministrationShellByIdSigned/3/2 | ||
| responses: | ||
| '200': | ||
| description: Requested Asset Administration Shell as a JWS string. | ||
| content: | ||
| text/plain: | ||
| schema: | ||
| type: string | ||
| format: jwt | ||
| description: A JWS string containing the requested Asset Administration Shell | ||
| '400': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/bad-request' | ||
| '401': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/unauthorized' | ||
| '403': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/forbidden' | ||
| '404': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/not-found' | ||
| '500': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/internal-server-error' | ||
| default: | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/default' | ||
|
|
||
| /description: | ||
| get: | ||
| tags: | ||
| - Description API | ||
| summary: Returns the self-describing information of a network resource (ServiceDescription) | ||
| operationId: GetSelfDescription | ||
| x-semanticIds: | ||
| - https://admin-shell.io/aas/API/GetSelfDescription/3/2 | ||
| responses: | ||
| '200': | ||
| description: Requested Description | ||
| content: | ||
| application/json: | ||
| schema: | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/schemas/ServiceDescription' | ||
| '401': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/unauthorized' | ||
| '403': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/forbidden' |
74 changes: 74 additions & 0 deletions
74
ConceptDescriptionRepositoryServiceSpecification/V3.2_SSP-003.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,74 @@ | ||
| openapi: 3.0.3 | ||
| info: | ||
| title: DotAAS Part 2 | HTTP/REST | Concept Description Repository Service Specification | ||
| description: >- | ||
| The Signature Profile of the ConceptDescription Repository Service Specification as part of [Specification of the Asset Administration Shell: Part 2](https://industrialdigitaltwin.org/en/content-hub/aasspecifications). | ||
|
|
||
| Copyright: Industrial Digital Twin Association (IDTA) March 2026 | ||
| contact: | ||
| name: Industrial Digital Twin Association (IDTA) | ||
| email: info@idtwin.org | ||
| license: | ||
| name: CC BY 4.0 | ||
| url: https://creativecommons.org/licenses/by/4.0/ | ||
| version: V3.2.0_SSP-003 | ||
| x-profile-identifier: https://admin-shell.io/aas/API/3/2/ConceptDescriptionRepositoryServiceSpecification/SSP-003 | ||
| termsOfService: https://github.com/admin-shell-io/aas-specs-metamodel | ||
| servers: | ||
| - url: 'https://admin-shell.io/api/v3/' | ||
| - url: 'https://example.com/' | ||
| paths: | ||
| /concept-descriptions/{cdIdentifier}/$signed: | ||
| get: | ||
| tags: | ||
| - Concept Description Repository API | ||
| summary: Returns a specific Concept Description as a JWS string. | ||
| operationId: GetConceptDescriptionByIdSigned | ||
| x-semanticIds: | ||
| - https://admin-shell.io/aas/API/GetConceptDescriptionByIdSigned/3/2 | ||
| parameters: | ||
| - name: cdIdentifier | ||
| in: path | ||
| description: The Concept Description’s unique id (UTF8-BASE64-URL-encoded) | ||
| required: true | ||
| style: simple | ||
| explode: true | ||
| schema: | ||
| type: string | ||
| responses: | ||
| '200': | ||
| description: Requested Concept Description as a JWS string. | ||
| content: | ||
| text/plain: | ||
| schema: | ||
| type: string | ||
| format: jwt | ||
| description: A JWS string containing the requested Concept Description. | ||
| '400': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/bad-request' | ||
| '403': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/forbidden' | ||
| '404': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/not-found' | ||
| '500': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/internal-server-error' | ||
| default: | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/default' | ||
|
|
||
| /description: | ||
| get: | ||
| tags: | ||
| - Description API | ||
| summary: Returns the self-describing information of a network resource (ServiceDescription) | ||
| operationId: GetSelfDescription | ||
| x-semanticIds: | ||
| - https://admin-shell.io/aas/API/GetSelfDescription/3/2 | ||
| responses: | ||
| '200': | ||
| description: Requested Description | ||
| content: | ||
| application/json: | ||
| schema: | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/schemas/ServiceDescription' | ||
| '403': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/forbidden' | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.