pub trait SessionCertificateSigner {
// Required method
fn sign(
&self,
profile: &SessionCertificateProfile,
) -> Result<SignedSessionCertificate, SessionCertificateError>;
}Expand description
CA adapter used by the session certificate issuer.
Production implementations should call managed CA/KMS/HSM services. The policy layer does not accept filesystem signer paths or private keys.
Required Methods§
Sourcefn sign(
&self,
profile: &SessionCertificateProfile,
) -> Result<SignedSessionCertificate, SessionCertificateError>
fn sign( &self, profile: &SessionCertificateProfile, ) -> Result<SignedSessionCertificate, SessionCertificateError>
Signs a pre-validated certificate profile.