Lines Matching refs:csr
402 def _add_ca_usages(csr: Any) -> Any:
403 return csr.add_extension(
428 def _add_leaf_usages(csr: Any, domains: List[str], issuer: Credentials) -> Any:
429 return csr.add_extension(
448 def _add_client_usages(csr: Any, issuer: Credentials, rfc82name: str = None) -> Any:
449 cert = csr.add_extension(
485 csr = TestCA._make_csr(subject=subject,
488 csr = TestCA._add_ca_usages(csr)
489 cert = csr.sign(private_key=issuer_key,
503 csr = TestCA._make_csr(subject=subject,
506 csr = TestCA._add_leaf_usages(csr, domains=domains, issuer=issuer)
507 cert = csr.sign(private_key=issuer.private_key,
521 csr = TestCA._make_csr(subject=subject,
524 csr = TestCA._add_client_usages(csr, issuer=issuer, rfc82name=email)
525 cert = csr.sign(private_key=issuer.private_key,