Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildTLSProtocolComponents ¶
func BuildTLSProtocolComponents(version string, suiteNames []string, srcPath string) ([]cdx.Component, *cdx.Component, map[cdx.BOMReference][]string)
BuildTLSProtocolComponents constructs a TLS protocol component and its dependency map.
Inputs:
- version: TLS version string (e.g., "1.2", "1.3").
- suiteNames: TLS cipher suite names like "TLS_AES_128_GCM_SHA256".
- srcPath: evidence location for the protocol/algorithms.
Output:
- algoComps: algorithm components referenced by the cipher suites (deduplicated, deterministic order).
- proto: TLS protocol component (nil if no recognized suites).
- depMap: dependencies mapping (protocol → algorithms; signature → hash heuristic).
func MapOpenSSLNamesToTLS ¶
MapOpenSSLNamesToTLS maps OpenSSL cipher names (e.g., "ECDHE-ECDSA-AES256-GCM-SHA384") to standard TLS_* names used by our DB (e.g., "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"). Unknown names are ignored. The result is deduplicated and sorted.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.