nvflare.fuel.sec.admin_cert module
- exception AdminCertValidationError[source]
Bases:
ValueErrorRaised when an admin certificate is not acceptable to a FLARE relying party.
- validate_admin_leaf_cert(cert: Certificate, reject_placeholder_cn: bool = True)[source]
Validate the FLARE admin certificate fields that relying parties consume.
Legacy FLARE leaf certs may omit KeyUsage and EKU. Treat absent extensions as unrestricted for compatibility, but enforce admin-client usage constraints when the issuer includes them.