Class BuiltInCertificateProfileCatalog
java.lang.Object
zeroecho.pki.api.profile.BuiltInCertificateProfileCatalog
Loader for the fixed built-in certificate-profile resource catalogue.
The catalogue is stateless and thread-safe. Every load reparses the packaged manifest and profiles, verifies canonical resource bytes, and computes SHA-256 over canonical JSON. Built-in templates are provisioning inputs, not implicit runtime defaults; this loader performs no persistence or activation.
Loading takes linear time in the total bounded resource size and retains one immutable canonical copy per returned template.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionload(ClassLoader classLoader) Loads and validates the packaged built-in profile templates.
-
Field Details
-
MANIFEST_RESOURCE
-
-
Method Details
-
load
Loads and validates the packaged built-in profile templates.- Parameters:
classLoader- explicit resource-loading boundary- Returns:
- immutable templates in manifest order
- Throws:
PkiException- if the manifest or any profile resource is missing, duplicated, malformed, noncanonical, or inconsistent
-