Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cryptography WG #543

Draft
wants to merge 1 commit into
base: 1.7-dev
Choose a base branch
from
Draft
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
37 changes: 27 additions & 10 deletions schema/bom-1.7.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5315,7 +5315,7 @@
},
"nistQuantumSecurityLevel": {
"type": "integer",
"title": "NIST security strength category",
"title": "NIST security strength category.",
"description": "The NIST security strength category as defined in https://csrc.nist.gov/projects/post-quantum-cryptography/post-quantum-cryptography-standardization/evaluation-criteria/security-(evaluation-criteria). A value of 0 indicates that none of the categories are met.",
"minimum": 0,
"maximum": 6
Expand All @@ -5325,45 +5325,50 @@
"certificateProperties": {
"type": "object",
"title": "Certificate Properties",
"description": "Properties for cryptographic assets of asset type 'certificate'",
"description": "Properties for cryptographic assets of asset type 'certificate'.",
"additionalProperties": false,
"properties": {
"serialNumber": {
"type": "string",
"title": "Serial Number",
"description": "The serial number is a unique identifier for the certificate issued by a CA." // TODO: add pattern to validate serial number input
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • TODO needs to be resolved

},
"subjectName": {
"type": "string",
"title": "Subject Name",
"description": "The subject name for the certificate"
"description": "The subject name for the certificate."
},
"issuerName": {
"type": "string",
"title": "Issuer Name",
"description": "The issuer name for the certificate"
"description": "The issuer name for the certificate."
},
"notValidBefore": {
"type": "string",
"format": "date-time",
"title": "Not Valid Before",
"description": "The date and time according to ISO-8601 standard from which the certificate is valid"
"description": "The date and time according to ISO-8601 standard from which the certificate is valid."
},
"notValidAfter": {
"type": "string",
"format": "date-time",
"title": "Not Valid After",
"description": "The date and time according to ISO-8601 standard from which the certificate is not valid anymore"
"description": "The date and time according to ISO-8601 standard from which the certificate is not valid anymore."
},
"signatureAlgorithmRef": {
"$ref": "#/definitions/refType",
"title": "Algorithm Reference",
"description": "The bom-ref to signature algorithm used by the certificate"
"description": "The bom-ref to signature algorithm used by the certificate."
},
"subjectPublicKeyRef": {
"$ref": "#/definitions/refType",
"title": "Key reference",
"description": "The bom-ref to the public key of the subject"
"description": "The bom-ref to the public key of the subject."
},
"certificateFormat": {
"type": "string",
"title": "Certificate Format",
"description": "The format of the certificate",
"description": "The format of the certificate.",
"examples": [
"X.509",
"PEM",
Expand All @@ -5374,14 +5379,20 @@
"certificateExtension": {
"type": "string",
"title": "Certificate File Extension",
"description": "The file extension of the certificate",
"description": "The file extension of the certificate.",
"examples": [
"crt",
"pem",
"cer",
"der",
"p12"
]
},
"fingerprint": {
"type": "object",
"$ref": "#/definitions/hash",
"title": "Certificate Fingerprint",
"description": "The fingerprint is a cryptographic hash of the certificate excluding it's signature."
}
}
},
Expand Down Expand Up @@ -5504,6 +5515,12 @@
"$ref": "#/definitions/securedBy",
"title": "Secured By",
"description": "The mechanism by which the cryptographic asset is secured by."
},
"fingerprint": {
"type": "object",
"$ref": "#/definitions/hash",
"title": "Fingerprint",
"description": "The fingerprint is a cryptographic hash of the asset."
}
}
},
Expand Down