Lines Matching refs:str
53 if isinstance(key_type, str):
75 def __init__(self, name: Optional[str] = None, argument
76 domains: Optional[List[str]] = None, argument
77 email: Optional[str] = None, argument
78 key_type: Optional[str] = None, argument
97 def name(self) -> Optional[str]:
105 def type(self) -> Optional[str]:
118 name: str, argument
132 def name(self) -> str:
174 def set_files(self, cert_file: str, pkey_file: Optional[str] = None, argument
175 combined_file: Optional[str] = None): argument
181 def cert_file(self) -> str:
185 def pkey_file(self) -> Optional[str]:
189 def combined_file(self) -> Optional[str]:
231 def __init__(self, fpath: str): argument
238 def path(self) -> str:
241 def save(self, creds: Credentials, name: Optional[str] = None, argument
269 def save_chain(self, creds: Credentials, infix: str, with_root=False): argument
282 def _add_credentials(self, name: str, creds: Credentials): argument
290 def get_cert_file(self, name: str, key_type=None) -> str: argument
294 def get_pkey_file(self, name: str, key_type=None) -> str: argument
298 def get_combined_file(self, name: str, key_type=None) -> str: argument
301 def load_pem_cert(self, fpath: str) -> x509.Certificate: argument
305 def load_pem_pkey(self, fpath: str): argument
309 def load_credentials(self, name: str, key_type=None, argument
342 def create_root(cls, name: str, store_dir: str, key_type: str = "rsa2048") -> Credentials: argument
378 …def _make_x509_name(org_name: Optional[str] = None, common_name: Optional[str] = None, parent: x50… argument
448 def _add_leaf_usages(csr: Any, domains: List[str], issuer: Credentials) -> Any: argument
475 def _add_client_usages(csr: Any, issuer: Credentials, rfc82name: Optional[str] = None) -> Any: argument
522 def _make_server_credentials(name: str, domains: List[str], issuer: Credentials, argument
539 def _make_client_credentials(name: str, argument
540 issuer: Credentials, email: Optional[str], argument