Skip to content

Commit a6feb56

Browse files
committed
add certificate extensions, rename certificateExtensions to certificateFileExtentsions
Signed-off-by: Nicklas Körtge <[email protected]>
1 parent 2959cc9 commit a6feb56

File tree

1 file changed

+41
-6
lines changed

1 file changed

+41
-6
lines changed

schema/bom-1.7.schema.json

Lines changed: 41 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5390,6 +5390,18 @@
53905390
"p12"
53915391
]
53925392
},
5393+
"certificateFileExtension": {
5394+
"type": "string",
5395+
"title": "Certificate File Extension",
5396+
"description": "The file extension of the certificate.",
5397+
"examples": [
5398+
"crt",
5399+
"pem",
5400+
"cer",
5401+
"der",
5402+
"p12"
5403+
]
5404+
},
53935405
"fingerprint": {
53945406
"type": "object",
53955407
"$ref": "#/definitions/hash",
@@ -5494,19 +5506,42 @@
54945506
"oneOf": [
54955507
{
54965508
"title": "Common Extensions",
5497-
"required": ["extension"],
5509+
"required": ["name", "value"],
54985510
"additionalProperties": false,
54995511
"properties": {
5500-
"extension": {
5512+
"name": {
55015513
"type": "string",
5502-
"title": "Extension",
5503-
"description": "",
5514+
"title": "name",
5515+
"description": "Extention name",
55045516
"enum": [
5505-
"",
5517+
"basicConstraints",
5518+
"keyUsage",
5519+
"extendedKeyUsage",
5520+
"subjectAlternativeName",
5521+
"authorityKeyIdentifier",
5522+
"subjectKeyIdentifier",
5523+
"authorityInformationAccess",
5524+
"certificatePolicies",
5525+
"crlDistributionPoints",
5526+
"signedCertificateTimestamp"
55065527
],
55075528
"meta:enum": {
5508-
"": "",
5529+
"basicConstraints": "Specifies whether a certificate can be used as a CA certificate or not.",
5530+
"keyUsage": "Specifies the allowed uses of the public key in the certificate.",
5531+
"extendedKeyUsage": "Specifies additional purposes for which the public key can be used.",
5532+
"subjectAlternativeName": "Allows inclusion of additional names to identify the entity associated with the certificate.",
5533+
"authorityKeyIdentifier": "Identifies the public key of the CA that issued the certificate.",
5534+
"subjectKeyIdentifier": "Identifies the public key associated with the entity the certificate was issued to.",
5535+
"authorityInformationAccess": "Contains CA issuers and OCSP information.",
5536+
"certificatePolicies": "Defines the policies under which the certificate was issued and can be used.",
5537+
"crlDistributionPoints": "Contains one or more URLs where a Certificate Revocation List (CRL) can be obtained.",
5538+
"signedCertificateTimestamp": "Shows that the certificate has been publicly logged, which helps prevent the issuance of rogue certificates by a CA. Log ID, timestamp and signature as proof.",
55095539
},
5540+
},
5541+
"value": {
5542+
"type": "string",
5543+
"title": "Value",
5544+
"description": ""
55105545
}
55115546
}
55125547
},

0 commit comments

Comments
 (0)