Skip to content

Commit ba08e19

Browse files
authored
fix: typo schema subject (eclipse-dataspace-dcp#204)
* fix: typo in documentation * fix: VP definition formatting
1 parent a786083 commit ba08e19

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

specifications/credential.issuance.protocol.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ the client's [=DID=] to obtain cryptographic material for validation and credent
7676

7777
The ID Token MUST contain a `token` claim that is a bearer token granting write privileges for the
7878
requested [=Verifiable Credentials=] into the client's `Credential Service` as defined
79-
by[[[#verifiable-presentation-protocol]]]
79+
by [[[#verifiable-presentation-protocol]]]
8080

8181
The bearer token MAY also be used by the [=Issuer Service=] to resolve [=Verifiable Presentations=] the client is
8282
required to hold for issuance of the requested [=Verifiable Credentials=].
@@ -234,7 +234,7 @@ The following is a non-normative example of a credential offer request:
234234
| | - `credentialType`: A single string specifying type of credential being offered |
235235
| **Optional** | - `@context`: Specifies a valid Json-Ld context ([[json-ld11]], sect. 3.1). As the `credentialObject` is usually embedded, its context is provided by the enveloping object. |
236236
| | - `bindingMethods`: An array of strings defining the key material that an issued credential is bound to |
237-
| | - `credentialSubject`: A URL pointing to the credential schema of the object in a VC's `credentialSubject` property.|
237+
| | - `credentialSchema`: A URL pointing to the credential schema of the object in a VC's `credentialSubject` property. |
238238
| | - `profiles`: An array of strings containing the aliases of the [profiles](#profiles-of-the-decentralized-claims-protocol), e.g. `"vc20-bssl/jwt"` |
239239
| | - `issuancePolicy`: A [presentation definition](https://identity.foundation/presentation-exchange/spec/v2.0.0/#presentation-definition) [[presentation-ex]] signifying the required [=Verifiable Presentation=] for issuance. |
240240
| | - `offerReason`: A reason for the offer as a string. Valid values may include `reissue` and `proof-key-revocation` |

specifications/verifiable.presentation.protocol.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -192,15 +192,15 @@ when a `presentationDefinition`
192192
is provided in the [[[#presentation-query-message]]].
193193

194194
### Presentation Validation
195-
[=Verifier=] SHOULD validate the [=Verifiable-Presentation=] in the following manner:
196-
197-
1. The [=Verifier=] MUST assert that the [=Verifiable-Presentation=] is created either according to the `scope` or `presentationDefinition`
198-
2. The [=Verifier=] MUST validate the signature of the [=Verifiable-Presentation=] by using the key obtained from the resolved `VerificationMethod` of the [=Verifiable-Presentation=]. [=DID=] resolution is performed according to the [=DID=] Method specified in the [=DID=] part of the `VerificationMethod` of the [=Verifiable-Presentation=].
199-
3. The [=Verifier=] MUST validate that the `VerificationMethod` of the [=Verifiable-Presentation=] has the `Authentication` [Verification Relationship](https://www.w3.org/TR/did-1.0/#authentication)
200-
4. The [=Verifier=] MUST assert that the [=DID=] in the `VerificationMethod` of the [=Verifiable-Credential=] has the same value as the `issuer` of the [=Verifiable-Credential=].
201-
5. The [=Verifier=] MUST validate the signature of the [=Verifiable-Credential=] by using the key obtained from the resolved `VerificationMethod` of the [=Verifiable-Credential=]. [=DID=] resolution is performed according to the [=DID=] Method specified in the [=DID=] part of the `VerificationMethod` of the [=Verifiable-Presentation=].
202-
6. If the [=Verifiable-Credential=] contains a revocation mechanism, such as `StatusList2021`, the [=Verifier=] MUST validate the status of the [=Verifiable-Credential=] according to the revocation mechanism.
203-
7. If the [=Verifiable-Presentation=] contains any claims regarding its `expiryDate` or `validity`, the [=Verifier=] MUST validate those claims.
204-
8. If any of the steps fail, the [=Verifier=] MUST consider the [=Verifiable-Presentation=] invalid.
205-
206-
Additionally, if the specific semantics of a data space and credentials require cryptographic holder binding, the [=Verifier=] MUST assert that the `credentialSubject.id` in the [=Verifiable-Credential=] and the [=DID=] part of the `VerificationMethod` of the [=Verifiable-Presentation=] have the same value.
195+
[=Verifier=] SHOULD validate the [=Verifiable Presentation=] in the following manner:
196+
197+
1. The [=Verifier=] MUST assert that the [=Verifiable Presentation=] is created either according to the `scope` or `presentationDefinition`
198+
2. The [=Verifier=] MUST validate the signature of the [=Verifiable Presentation=] by using the key obtained from the resolved `VerificationMethod` of the [=Verifiable Presentation=]. [=DID=] resolution is performed according to the [=DID=] Method specified in the [=DID=] part of the `VerificationMethod` of the [=Verifiable Presentation=].
199+
3. The [=Verifier=] MUST validate that the `VerificationMethod` of the [=Verifiable Presentation=] has the `Authentication` [Verification Relationship](https://www.w3.org/TR/did-1.0/#authentication)
200+
4. The [=Verifier=] MUST assert that the [=DID=] in the `VerificationMethod` of the [=Verifiable Credential=] has the same value as the `issuer` of the [=Verifiable Credential=].
201+
5. The [=Verifier=] MUST validate the signature of the [=Verifiable Credential=] by using the key obtained from the resolved `VerificationMethod` of the [=Verifiable Credential=]. [=DID=] resolution is performed according to the [=DID=] Method specified in the [=DID=] part of the `VerificationMethod` of the [=Verifiable Presentation=].
202+
6. If the [=Verifiable Credential=] contains a revocation mechanism, such as `StatusList2021`, the [=Verifier=] MUST validate the status of the [=Verifiable Credential=] according to the revocation mechanism.
203+
7. If the [=Verifiable Presentation=] contains any claims regarding its `expiryDate` or `validity`, the [=Verifier=] MUST validate those claims.
204+
8. If any of the steps fail, the [=Verifier=] MUST consider the [=Verifiable Presentation=] invalid.
205+
206+
Additionally, if the specific semantics of a data space and credentials require cryptographic holder binding, the [=Verifier=] MUST assert that the `credentialSubject.id` in the [=Verifiable Credential=] and the [=DID=] part of the `VerificationMethod` of the [=Verifiable Presentation=] have the same value.

0 commit comments

Comments
 (0)