Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions schema/2.0/model/cyclonedx-cryptography-2.0.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,47 @@
"unknown": "The padding scheme is not known."
}
},
"hash": {
"type": "string",
"title": "Hash",
"description": "The hash or extendable output function that is used for the cryptographic algorithm.",
"enum": [
"md5",
"sha-1",
"sha-224",
"sha-256",
"sha-384",
"sha-512",
"sha-512/224",
"sha-512/256",
"sha3-224",
"sha3-256",
"sha3-384",
"sha3-512",
"shake128",
"shake256",
"other",
"unknown"
],
"meta:enum": {
"md5": "MD5 hash algorithm.",
"sha-1": "SHA-1 hash algorithm.",
"sha-224": "SHA-224 hash algorithm.",
"sha-256": "SHA-256 hash algorithm.",
"sha-384": "SHA-384 hash algorithm.",
"sha-512": "SHA-512 hash algorithm.",
"sha-512/224": "SHA-512/224 hash algorithm.",
"sha-512/256": "SHA-512/256 hash algorithm.",
"sha3-224": "SHA3-224 hash algorithm.",
"sha3-256": "SHA3-256 hash algorithm.",
"sha3-384": "SHA3-384 hash algorithm.",
"sha3-512": "SHA3-512 hash algorithm.",
"shake128": "SHAKE128 extendable output function.",
"shake256": "SHAKE256 extendable output function.",
"other": "Another hash or extendable output function.",
"unknown": "The hash or extendable output function is not known."
}
},
"cryptoFunctions": {
"type": "array",
"title": "Cryptographic functions",
Expand Down