Skip to content
Open
Show file tree
Hide file tree
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
42 changes: 41 additions & 1 deletion schema/bom-1.7.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -8295,8 +8295,48 @@ limitations under the License.
</xs:element>
<xs:element name="cryptoRef" type="bom:refType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A protocol-related cryptographic assets</xs:documentation>
<xs:documentation>
DEPRECATED - DO NOT USE. This will be removed in a future version. Use `./relatedCryptographicAssets` instead.
A protocol-related cryptographic asset.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="relatedCryptographicAssets" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
A list of cryptographic assets related to this component.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="relatedCryptographicAsset" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>
A cryptographic asset related to this component.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="type" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Specifies the mechanism by which the cryptographic asset is secured by.
Examples: "publicKey", "privateKey", "algorithm"
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ref" type="bom:refType" minOccurs="0">
<xs:annotation>
<xs:documentation>
The bom-ref to cryptographic asset.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,13 @@
"algorithm": "ecdsa_secp256r1_sha256"
}
]
}
},
"relatedCryptographicAssets": [
{
"type": "publicKey",
"ref": "asset-4"
}
]
},
"oid": "oid:1.3.6.1.5.5.7.3.1"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,12 @@ components: {
algorithm: "ecdsa_secp256r1_sha256"
}
}
relatedCryptographicAssets: {
assets: {
type: "publicKey"
ref: "asset-4"
}
}
}
oid: "oid:1.3.6.1.5.5.7.3.1"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,12 @@
<algorithm>ecdsa_secp256r1_sha256</algorithm>
</auth>
</ikev2TransformTypes>
<relatedCryptographicAssets>
<relatedCryptographicAsset>
<type>publicKey</type>
<ref>asset-4</ref>
</relatedCryptographicAsset>
</relatedCryptographicAssets>
</protocolProperties>
<oid>oid:1.3.6.1.5.5.7.3.1</oid>
</cryptoProperties>
Expand Down