Class BcX509CredentialFrameworkProvider

java.lang.Object
zeroecho.pki.impl.framework.x509.bc.BcX509CredentialFrameworkProvider
All Implemented Interfaces:
ConfigurableProvider<CredentialFramework>, CredentialFrameworkProvider

public final class BcX509CredentialFrameworkProvider extends Object implements CredentialFrameworkProvider
ServiceLoader provider for the Bouncy Castle backed X.509 credential framework.

This provider exposes the internal X.509 framework implementation to the PKI runtime through the CredentialFrameworkProvider SPI. It is responsible for identifying the backend, advertising any provider-specific configuration keys it supports, and allocating a new CredentialFramework instance when selected by bootstrap or runtime wiring logic.

The allocated framework instance is BcX509CredentialFramework in its default partially wired form. In that state, the framework provides X.509 CSR parsing, proof-of-possession verification, and attribute mapping, while issuance and status-object generation remain intentionally unsupported until a caller supplies concrete backend components through the framework's wired(...) methods.

Service registration

This class is intended to be discovered through ServiceLoader via the CredentialFrameworkProvider SPI registration in META-INF/services.

Configuration model

The current implementation does not consume any provider-specific configuration keys beyond backend selection through ProviderConfig.backendId(). Consequently, supportedKeys() returns an empty set and bootstrap will reject any zeroecho.pki.framework.* configuration keys other than the backend selector itself.

Thread-safety

This class is stateless and thread-safe.

  • Constructor Details

    • BcX509CredentialFrameworkProvider

      public BcX509CredentialFrameworkProvider()
      Creates a provider that supplies the Bouncy Castle X.509 framework.
  • Method Details