CALI research

Proposed architecture

The CALI responsibility planes, contracts, trust boundaries and exact network traffic between the application, broker, policy authority and provider.

Two contracts

The north contract is the Common Crypto API. It carries an operation, intent, typed input and minimum constraints from an authenticated application to the broker.

The south contract is the provider interface. It carries the resolved operation, opaque key or certificate reference and exact algorithm profile from the broker to one provider adapter.

Neither contract replaces a cryptographic standard. The broker can dispatch through OpenSSL, JCA, PKCS #11, KMIP or a cloud KMS adapter.

Five responsibility planes

Network traffic flow

Where policy enters the broker

The reference service accepts CALI_POLICY_FILE at startup. It parses the JSON document before opening the HTTP listener. Invalid status, a future effective time, an expired policy or malformed fields stop the process.

Each request includes expectedPolicy. The broker compares the caller’s expected profile and version with the active document. It finds the single rule for the operation and hostname then intersects the approved choices with current provider capability.

This makes policy observable. A reviewer can identify the file, version, rule, selected profile and evidence identifier used for each decision.

Failure paths

The broker records non secret failure evidence. It does not modify the active Apache certificate fragment when selection fails.

Current and proposed boundaries

The current implementation uses a local policy file and a local Apache deployment helper. The proposed architecture allows a separate policy authority and remote providers. That future topology must authenticate policy distribution, protect rollback, preserve policy pinning and keep the same failure categories.