Industry-standard PKI for every agent.
Standard X.509 v3 certificates with ES256 (ECDSA P-256) keys. Full chain of trust from Custodex root CA through intermediate CAs to agent certificates. Certificate verification validates the complete chain including CRL/OCSP status.
from custodex.identity import CertificateAuthority
ca = CertificateAuthority()
# Issue certificate for agent
cert = ca.issue_certificate(
agent_id="agent_123",
agent_name="Customer Service Bot",
organization="Acme Corp",
valid_days=365,
key_algorithm="ES256"
)
print(f"Thumbprint: {cert.thumbprint}")
print(f"DID: {cert.did}")