Skip to content
Merged
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
166 changes: 70 additions & 96 deletions schema/bom-1.6.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3828,7 +3828,6 @@
"enum": [
"algorithm",
"certificate",
"key",
"protocol",
"relatedCryptoMaterial"
]
Expand Down Expand Up @@ -4228,126 +4227,101 @@
}
}
},
"keyProperties": {
"relatedCryptoMaterialProperties": {
"type": "object",
"title": "Properties for Keys",
"description": "Properties for crypto assets of asset type 'key'",
"title": "related crypto material properties",
"description": "Properties for crypto assets of asset type 'relatedCryptoMaterial'",
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"title": "key type",
"description": "The type of the key",
"enum": [
"privateKey",
"publicKey",
"secretKey"
]
"type": "string",
"title": "relatedCryptoMaterialType",
"description": "The type for the related crypto material",
"enum": [
"privateKey",
"publicKey",
"secretKey",
"ciphertext",
"signature",
"digest",
"initializationVector",
"nonce",
"seed",
"salt",
"sharedSecret",
"tag",
"additionalData",
"password",
"credential",
"token",
"other",
"unknown"
]
},
"id": {
"type": "string",
"title": "key id",
"description": "The identifier for the key"
"type": "string",
"title": "id",
"description": "The identifier for the relatedCryptoMaterial"
},
"state": {
"type": "string",
"title": "key state",
"description": "The key state according to NIST SP 800-57",
"enum": [
"preActivation",
"active",
"suspended",
"deactivated",
"compromised",
"destroyed"
]
},
"size": {
"type": "integer",
"title": "Crypto asset size (in bits)",
"description": "Size of the crypto asset (in bits)"
},
"keyAlgorithmRef": {
"$ref": "#/definitions/cryptoRef",
"title": "Algorithm reference",
"description": "Bom-ref to algorithm used to generate the key"
"type": "string",
"title": "state",
"description": "The key state according to NIST SP 800-57",
"enum": [
"preActivation",
"active",
"suspended",
"deactivated",
"compromised",
"destroyed"
]
},
"securedBy": {
"$ref": "#/definitions/securedBy",
"title": "Crypto asset is secured by"
"algorithmRef": {
"$ref": "#/definitions/cryptoRef",
"title": "Algorithm reference",
"description": "Bom-ref to algorithm used to generate the relatedCryptoMaterial"
},
"creationDate": {
"type": "string",
"format": "date-time",
"title": "creation date",
"description": "The date and time (timestamp) when the key was created."
"type": "string",
"format": "date-time",
"title": "creation date",
"description": "The date and time (timestamp) when the relatedCryptoMaterial was created."
},
"activationDate": {
"type": "string",
"format": "date-time",
"title": "activation date",
"description": "The date and time (timestamp) when the key was activated."
"type": "string",
"format": "date-time",
"title": "activation date",
"description": "The date and time (timestamp) when the relatedCryptoMaterial was activated."
},
"updateDate": {
"type": "string",
"format": "date-time",
"title": "update date",
"description": "The date and time (timestamp) when the key was updated."
"type": "string",
"format": "date-time",
"title": "update date",
"description": "The date and time (timestamp) when the relatedCryptoMaterial was updated."
},
"expirationDate": {
"type": "string",
"format": "date-time",
"title": "expiration date",
"description": "The date and time (timestamp) when the key expired."
}
}
},
"relatedCryptoMaterialProperties": {
"type": "object",
"title": "related crypto material properties",
"description": "Properties for crypto assets of asset type 'relatedCryptoMaterial'",
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"title": "relatedCryptoMaterialType",
"description": "The type for the related crypto material",
"enum": [
"ciphertext",
"signature",
"digest",
"initializationVector",
"nonce",
"seed",
"salt",
"sharedSecret",
"tag",
"additionalData",
"password",
"credential",
"token",
"other",
"unknown"
]
"type": "string",
"format": "date-time",
"title": "expiration date",
"description": "The date and time (timestamp) when the relatedCryptoMaterial expired."
},
"value": {
"type": "string",
"title": "Value assosiated to the crypto material",
"description": "The assosiated value of the crypto material"
"type": "string",
"title": "Value assosiated to the crypto material",
"description": "The assosiated value of the crypto material"
},
"size": {
"type": "integer",
"title": "Crypto asset size (in bits)",
"description": "Size of the crypto asset (in bits)"
"type": "integer",
"title": "Crypto asset size (in bits)"
},
"format": {
"type": "string",
"title": "format",
"description": "format of the related crypto material (e.g. P8, PEM, DER)"
"type": "string",
"title": "format",
"description": "format of the related crypto material (e.g. P8, PEM, DER)"
},
"securedBy": {
"$ref": "#/definitions/securedBy",
"title": "Crypto asset is secured by"
"$ref": "#/definitions/securedBy",
"title": "Crypto asset is secured by"
}
}
},
Expand Down