Skip to content

Commit

Permalink
fix size type and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bhess committed Oct 12, 2023
1 parent 6f38f48 commit 17dba3d
Showing 1 changed file with 90 additions and 90 deletions.
180 changes: 90 additions & 90 deletions schema/bom-1.6.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -4233,96 +4233,96 @@
"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": [
"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"
},
"state": {
"type": "string",
"title": "key state",
"description": "The key state according to NIST SP 800-57",
"enum": [
"preActivation",
"active",
"suspended",
"deactivated",
"compromised",
"destroyed"
]
},
"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 relatedCryptoMaterial was created."
},
"activationDate": {
"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 relatedCryptoMaterial was updated."
},
"expirationDate": {
"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"
},
"size": {
"$ref": "#/definitions/size",
"title": "Crypto asset size (in bits)"
},
"format": {
"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"
}
"type": {
"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": "id",
"description": "The identifier for the relatedCryptoMaterial"
},
"state": {
"type": "string",
"title": "state",
"description": "The key state according to NIST SP 800-57",
"enum": [
"preActivation",
"active",
"suspended",
"deactivated",
"compromised",
"destroyed"
]
},
"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 relatedCryptoMaterial was created."
},
"activationDate": {
"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 relatedCryptoMaterial was updated."
},
"expirationDate": {
"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"
},
"size": {
"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)"
},
"securedBy": {
"$ref": "#/definitions/securedBy",
"title": "Crypto asset is secured by"
}
}
},
"protocolProperties": {
Expand Down

0 comments on commit 17dba3d

Please sign in to comment.