diff --git a/schema/2.0/modules/cyclonedx-cryptography-2.0.schema.json b/schema/2.0/modules/cyclonedx-cryptography-2.0.schema.json index e84ef647e..769e3ac53 100644 --- a/schema/2.0/modules/cyclonedx-cryptography-2.0.schema.json +++ b/schema/2.0/modules/cyclonedx-cryptography-2.0.schema.json @@ -1038,17 +1038,18 @@ "relatedCryptographicAsset": { "type": "object", "title": "Related Cryptographic Asset", - "description": "A cryptographic assets related to this component.", + "description": "A cryptographic asset related to this component.", "additionalProperties": false, "properties": { "type": { "type": "string", "title": "Type", - "description": "Specifies the mechanism by which the cryptographic asset is secured by.", + "description": "The kind of referenced cryptographic asset, such as an algorithm, certificate, public key, or private key.", "examples": [ - "publicKey", - "privateKey", - "algorithm" + "public-key", + "private-key", + "algorithm", + "certificate" ] }, "ref": { diff --git a/tools/src/test/resources/2.0/valid-cryptography-certificate-2.0.json b/tools/src/test/resources/2.0/valid-cryptography-certificate-2.0.json index c05da003c..245e59b84 100644 --- a/tools/src/test/resources/2.0/valid-cryptography-certificate-2.0.json +++ b/tools/src/test/resources/2.0/valid-cryptography-certificate-2.0.json @@ -48,7 +48,7 @@ "ref": "6b00f384-6c39-420f-91eb-94de0f7be569" }, { - "type": "publicKey", + "type": "public-key", "ref": "ceb37320-8239-40e8-ab77-8798dbd98773" } ] diff --git a/tools/src/test/resources/2.0/valid-cryptography-certificate-advanced-2.0.json b/tools/src/test/resources/2.0/valid-cryptography-certificate-advanced-2.0.json index 7ab898291..501b2708d 100644 --- a/tools/src/test/resources/2.0/valid-cryptography-certificate-advanced-2.0.json +++ b/tools/src/test/resources/2.0/valid-cryptography-certificate-advanced-2.0.json @@ -103,7 +103,7 @@ "ref": "2A0DA4D2-BBCA-4515-9BCD-C870A3EA4CE8" }, { - "type": "publicKey", + "type": "public-key", "ref": "ACCAF8BC-5F73-4869-A3FE-1C64E8D96408" } ] @@ -174,7 +174,7 @@ "ref": "14478B86-9306-45B5-BA2A-1660B723244C" }, { - "type": "publicKey", + "type": "public-key", "ref": "F1F3D902-0A1B-4C0C-9F6A-F36E041B0B7D" } ] diff --git a/tools/src/test/resources/2.0/valid-cryptography-full-2.0.json b/tools/src/test/resources/2.0/valid-cryptography-full-2.0.json index 67e031048..851c8f291 100644 --- a/tools/src/test/resources/2.0/valid-cryptography-full-2.0.json +++ b/tools/src/test/resources/2.0/valid-cryptography-full-2.0.json @@ -335,7 +335,7 @@ "ref": "algorithm-rsa-sha256" }, { - "type": "publicKey", + "type": "public-key", "ref": "key-rsa-4096-public" } ]