X509CertifiedExplicit
constructor(certChain: X509CertChain, privateKey: PrivateKey, algorithm: Algorithm = when (privateKey) {
is EcPrivateKey -> privateKey.curve.defaultSigningAlgorithmFullySpecified
is RsaPrivateKey -> Algorithm.RS256
is MlDsaPrivateKey -> privateKey.algorithm
is MlKemPrivateKey -> privateKey.algorithm
})